summaryrefslogtreecommitdiffstats
path: root/include/configs/db-88f6820-gp.h
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2015-08-06 14:27:36 +0200
committerLuka Perkov <luka.perkov@sartura.hr>2015-08-17 18:49:25 +0200
commit2923c2d2febad412c1d7a955ca1b08c8bdd31cf4 (patch)
tree7f94a5316feb268efaf4b81007bb0a03867db900 /include/configs/db-88f6820-gp.h
parent8a83c65f577093f5f012ddd81cfac9d60658ec0e (diff)
downloadtalos-obmc-uboot-2923c2d2febad412c1d7a955ca1b08c8bdd31cf4.tar.gz
talos-obmc-uboot-2923c2d2febad412c1d7a955ca1b08c8bdd31cf4.zip
arm: mvebu: Move CONFIG_SYS_TEXT_BASE to an address < 16 MiB
This patch moves CONFIG_SYS_TEXT_BASE to 0x00800000 for all Armada XP / 38x boards in mainline U-Boot. This is done in preparation for the ECC SDRAM scrubbing that needs to be done in the main U-Boot. The SPL (previously bin_hdr) has already scrubbed the area: 0x0000.0000 - 0x0100.0000 In this area this main U-Boot needs to get loaded. The main U-Boot then can scrub the remaining SDRAM area while running from this location. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Luka Perkov <luka.perkov@sartura.hr>
Diffstat (limited to 'include/configs/db-88f6820-gp.h')
-rw-r--r--include/configs/db-88f6820-gp.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/configs/db-88f6820-gp.h b/include/configs/db-88f6820-gp.h
index 739c2bf3d5..7c32edb378 100644
--- a/include/configs/db-88f6820-gp.h
+++ b/include/configs/db-88f6820-gp.h
@@ -20,7 +20,12 @@
#define CONFIG_SYS_GENERIC_BOARD
#define CONFIG_DISPLAY_BOARDINFO_LATE
-#define CONFIG_SYS_TEXT_BASE 0x04000000
+/*
+ * TEXT_BASE needs to be below 16MiB, since this area is scrubbed
+ * for DDR ECC byte filling in the SPL before loading the main
+ * U-Boot into it.
+ */
+#define CONFIG_SYS_TEXT_BASE 0x00800000
#define CONFIG_SYS_TCLK 250000000 /* 250MHz */
/*
OpenPOWER on IntegriCloud