summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorPali Rohár <pali@kernel.org>2022-01-12 20:30:09 +0300
committerStefan Roese <sr@denx.de>2022-01-14 13:39:16 +0300
commit5435f6e3fd6c16263debdf9048c8357c7e2e4d31 (patch)
treeaf731f6d9f52e2375232782867db0dfcf26b536d /include/configs
parent32860b00bf2cb441c5b9b396d41c84aac340d7ad (diff)
downloadu-boot-5435f6e3fd6c16263debdf9048c8357c7e2e4d31.tar.xz
arm: mvebu: db-88f6720: Fix CONFIG_SPL_TEXT_BASE and remove wrong memory layout
Memory layout in the comment is from Armada XP platform which uses load address 0x40004030. DB-88f6720 is Armada 375 platform which uses same load address as Armada 38x which is 0x40000030. Currently SPL support for Armada 375 is unfinished and does not work. There is missing Serdes initialization and DDR3 training code. So nobody noticed that CONFIG_SPL_* options are not correct. Fix at least CONFIG_SPL_TEXT_BASE constant and remove incorrect comments about memory layout. So it is not misleading. Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/db-88f6720.h15
1 files changed, 1 insertions, 14 deletions
diff --git a/include/configs/db-88f6720.h b/include/configs/db-88f6720.h
index 19fc669f89..cf9e44d17c 100644
--- a/include/configs/db-88f6720.h
+++ b/include/configs/db-88f6720.h
@@ -32,22 +32,9 @@
*/
#include "mv-common.h"
-/*
- * Memory layout while starting into the bin_hdr via the
- * BootROM:
- *
- * 0x4000.4000 - 0x4003.4000 headers space (192KiB)
- * 0x4000.4030 bin_hdr start address
- * 0x4003.4000 - 0x4004.7c00 BootROM memory allocations (15KiB)
- * 0x4007.fffc BootROM stack top
- *
- * The address space between 0x4007.fffc and 0x400f.fff is not locked in
- * L2 cache thus cannot be used.
- */
-
/* SPL */
/* Defines for SPL */
-#define CONFIG_SPL_MAX_SIZE ((128 << 10) - 0x4030)
+#define CONFIG_SPL_MAX_SIZE ((128 << 10) - 0x0030)
#define CONFIG_SPL_BSS_START_ADDR (0x40000000 + (128 << 10))
#define CONFIG_SPL_BSS_MAX_SIZE (16 << 10)