summaryrefslogtreecommitdiff
path: root/src/cpu/ti
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/ti')
-rw-r--r--src/cpu/ti/am335x/Kconfig16
1 files changed, 11 insertions, 5 deletions
diff --git a/src/cpu/ti/am335x/Kconfig b/src/cpu/ti/am335x/Kconfig
index 472fbe7b34..0c37eefb81 100644
--- a/src/cpu/ti/am335x/Kconfig
+++ b/src/cpu/ti/am335x/Kconfig
@@ -10,6 +10,17 @@ config BOOTBLOCK_BASE
hex
default 0x402f0400
+config CBFS_ROM_OFFSET
+ # Calculated by BL1 + max bootblock size.
+ default 0x4c00
+
+# We need to leave a gap between the bootblock and the ROM stage so that when
+# it is "loaded" to a slightly different place in on chip memory, it doesn't
+# clobber the metadata needed to actually enter it.
+config ROMSTAGE_BASE
+ hex
+ default 0x402f5400
+
# Stack may reside in either IRAM or DRAM. We will define it to live
# at the top of IRAM for now.
#
@@ -27,11 +38,6 @@ config STACK_SIZE
hex
default 0x1000
-config CBFS_ROM_OFFSET
- # Calculated by BL1 + max bootblock size.
- hex "offset of CBFS data in ROM"
- default 0x2800
-
## TODO Change this to some better address not overlapping bootblock when
## cbfstool supports creating header in arbitrary location.
config CBFS_HEADER_ROM_OFFSET