summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Rigby <john.rigby@linaro.org>2010-10-13 13:57:37 -0600
committerWolfgang Denk <wd@denx.de>2010-10-18 22:54:30 +0200
commitb485556be51d1edae0a2c0065e2f572ca42a1eee (patch)
tree1f89f34aee0807f69f39a79cb9d44a8fabacbfca
parent2d1916e48bd871f29fa4634a69f6ef709b772be5 (diff)
downloadblackbird-obmc-uboot-b485556be51d1edae0a2c0065e2f572ca42a1eee.tar.gz
blackbird-obmc-uboot-b485556be51d1edae0a2c0065e2f572ca42a1eee.zip
ARM: enable device tree for beagle
For testing ARM device tree support Signed-off-by: John Rigby <john.rigby@linaro.org> Acked-by: Wolfgang Denk <wd@denx.de>
-rw-r--r--include/configs/omap3_beagle.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/configs/omap3_beagle.h b/include/configs/omap3_beagle.h
index bbb1073a76..900dbd3f7a 100644
--- a/include/configs/omap3_beagle.h
+++ b/include/configs/omap3_beagle.h
@@ -55,6 +55,15 @@
#undef CONFIG_USE_IRQ /* no support for IRQs */
#define CONFIG_MISC_INIT_R
+#define CONFIG_OF_LIBFDT 1
+/*
+ * The early kernel mapping on ARM currently only maps from the base of DRAM
+ * to the end of the kernel image. The kernel is loaded at DRAM base + 0x8000.
+ * The early kernel pagetable uses DRAM base + 0x4000 to DRAM base + 0x8000,
+ * so that leaves DRAM base to DRAM base + 0x4000 available.
+ */
+#define CONFIG_SYS_BOOTMAPSZ 0x4000
+
#define CONFIG_CMDLINE_TAG 1 /* enable passing of ATAGs */
#define CONFIG_SETUP_MEMORY_TAGS 1
#define CONFIG_INITRD_TAG 1
OpenPOWER on IntegriCloud