summaryrefslogtreecommitdiff
path: root/include/configs/coreboot.h
diff options
context:
space:
mode:
authorVadim Bendebury <vbendeb@chromium.org>2011-08-09 09:43:40 -0700
committerSimon Glass <sjg@chromium.org>2011-08-29 10:59:32 -0700
commitb5330c3bc3e2d2240a1d79c6b084d3de0e199d95 (patch)
tree620bf00129f4ee3cc8759941de2280389ee57329 /include/configs/coreboot.h
parentf8dbba10ee02dd18c09d52f94c945e3201a4805b (diff)
Enable OF_CONTROL for Alex.
This change makes the Alex u-boot use configuration settings coming from the device tree supplied by coreboot through the coreboot table. The device tree now includes the necessary console configuration information. Code is added to retrieve the device tree pointer from the coreboot table, the appropriate coreboot structures and tag values are being duplicated in arch/i386/include/asm/ic/coreboot/tables.h. The pointer to the FDT is added to the global data structure, it is initialized as soon as it is retrieved from the coreboot table. For some reason placing the global data structure anywhere but in the .data segment causes the system to crash. This phenomenon will be investigated shortly, this commit is an intermediate step to get the device tree handover used by other coreboot/u-boot contributors. Core retrieving the device tree from CBFS is not needed anymore and gets removed. BUG=chrome-os-partner:5248 TEST=manual . build the new image and program it on Alex . restart the target, observe the console output The target boots all the way to u-boot prompt. Change-Id: I087cf70362ede0873be37fa5a98aa66a0b979d8f Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Reviewed-on: http://gerrit.chromium.org/gerrit/6132 Reviewed-by: Stefan Reinauer <reinauer@google.com>
Diffstat (limited to 'include/configs/coreboot.h')
-rw-r--r--include/configs/coreboot.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/configs/coreboot.h b/include/configs/coreboot.h
index 2e8bd39b8b..3a1eafca9a 100644
--- a/include/configs/coreboot.h
+++ b/include/configs/coreboot.h
@@ -74,6 +74,7 @@
* Serial Configuration
*/
#define CONFIG_SERIAL_MULTI
+#define CONFIG_SYS_NS16550
#define CONFIG_BAUDRATE 9600
#define CONFIG_SYS_BAUDRATE_TABLE {300, 600, 1200, 2400, 4800, \
9600, 19200, 38400, 115200}
@@ -315,4 +316,8 @@
#define CONFIG_LZMA 1
#define CONFIG_SPLASH_SCREEN 1
+ /* FDT stuff */
+#define CONFIG_OF_LIBFDT
+#define CONFIG_OF_CONTROL
+
#endif /* __CONFIG_H */