]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
ARM: enable device tree for beagle
authorJohn Rigby <john.rigby@linaro.org>
Wed, 13 Oct 2010 19:57:37 +0000 (13:57 -0600)
committerWolfgang Denk <wd@denx.de>
Mon, 18 Oct 2010 20:54:30 +0000 (22:54 +0200)
For testing ARM device tree support

Signed-off-by: John Rigby <john.rigby@linaro.org>
Acked-by: Wolfgang Denk <wd@denx.de>
include/configs/omap3_beagle.h

index bbb1073a76c5a7013bb1cb7f64b6ecfc83bca67a..900dbd3f7a06699828312ad8cc8b758b162d3366 100644 (file)
 #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