summaryrefslogtreecommitdiff
path: root/arch/x86/cpu/ivybridge/sdram.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-11-12 22:42:07 -0700
committerSimon Glass <sjg@chromium.org>2014-11-21 07:34:11 +0100
commit8ef07571a0300e6ae84931c63d5eb3b2310c8aba (patch)
tree609c66ebe81b00690783e881a28c1bfb266670c2 /arch/x86/cpu/ivybridge/sdram.c
parentc03c951b065f2b9f98caf913192a41a8f8200fd4 (diff)
downloadu-boot-imx-8ef07571a0300e6ae84931c63d5eb3b2310c8aba.zip
u-boot-imx-8ef07571a0300e6ae84931c63d5eb3b2310c8aba.tar.gz
u-boot-imx-8ef07571a0300e6ae84931c63d5eb3b2310c8aba.tar.bz2
x86: Add chromebook_link board
This board is a 'bare' version of the existing 'link 'board. It does not require coreboot to run, but is intended to start directly from the reset vector. This initial commit has place holders for a wide range of features. These will be added in follow-on patches and series. So far it cannot be booted as there is no ROM image produced, but it does build without errors. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86/cpu/ivybridge/sdram.c')
-rw-r--r--arch/x86/cpu/ivybridge/sdram.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/x86/cpu/ivybridge/sdram.c b/arch/x86/cpu/ivybridge/sdram.c
new file mode 100644
index 0000000..5f9ae5e
--- /dev/null
+++ b/arch/x86/cpu/ivybridge/sdram.c
@@ -0,0 +1,20 @@
+/*
+ * Copyright (c) 2011 The Chromium OS Authors.
+ * (C) Copyright 2010,2011
+ * Graeme Russ, <graeme.russ@gmail.com>
+ *
+ * Portions from Coreboot mainboard/google/link/romstage.c
+ * Copyright (C) 2007-2010 coresystems GmbH
+ * Copyright (C) 2011 Google Inc.
+ *
+ * SPDX-License-Identifier: GPL-2.0
+ */
+
+#include <common.h>
+
+int dram_init(void)
+{
+ /* TODO: Set up DRAM */
+
+ return 0;
+}