]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
dra7xx: Define common init stack pointer address in Kconfig
authorPaul Kocialkowski <contact@paulk.fr>
Sun, 28 Jul 2024 20:24:56 +0000 (22:24 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 7 Aug 2024 00:32:45 +0000 (18:32 -0600)
The init stack pointer was defined to the same value in each DRA7xx
board defconfig. Move the common definition to the Kconfig option
declaration instead.

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Reviewed-by: Tom Rini <trini@konsulko.com>
Tested-by: Derald D. Woods <woods.technical@gmail.com>
Kconfig
configs/am57xx_evm_defconfig
configs/am57xx_hs_evm_defconfig
configs/am57xx_hs_evm_usb_defconfig
configs/dra7xx_evm_defconfig
configs/dra7xx_hs_evm_defconfig
configs/dra7xx_hs_evm_usb_defconfig

diff --git a/Kconfig b/Kconfig
index 19ce371a9cc2aa710b740d26891ae779616fe61f..70c26b4ce76d29ac101df308b03aae4c5101386b 100644 (file)
--- a/Kconfig
+++ b/Kconfig
@@ -236,7 +236,7 @@ config SYS_BOOT_GET_KBD
 config HAS_CUSTOM_SYS_INIT_SP_ADDR
        bool "Use a custom location for the initial stack pointer address"
        depends on ARC || (ARM && !INIT_SP_RELATIVE) || MIPS || PPC || RISCV
-       default y if OMAP34XX || AM33XX || AM43XX
+       default y if OMAP34XX || AM33XX || AM43XX || DRA7XX
        default y if TFABOOT
        help
          Typically, we use an initial stack pointer address that is calculated
@@ -253,6 +253,7 @@ config CUSTOM_SYS_INIT_SP_ADDR
        default 0x4020ff00 if OMAP34XX
        default 0x4030ff00 if AM33XX
        default 0x4033ff00 if AM43XX
+       default 0x4037ff00 if DRA7XX
        default TEXT_BASE if TFABOOT
 
 config SYS_MALLOC_F
index 7c3ceeb07db0030516c25adbfae3855ecf1e2416..145c6d8e5855049ad1a77b2cb06b7bfefb239fdb 100644 (file)
@@ -2,8 +2,6 @@ CONFIG_ARM=y
 CONFIG_ARCH_OMAP2PLUS=y
 CONFIG_TI_COMMON_CMD_OPTIONS=y
 CONFIG_NR_DRAM_BANKS=2
-CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y
-CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x4037ff00
 CONFIG_SF_DEFAULT_SPEED=76800000
 CONFIG_DM_GPIO=y
 CONFIG_SPL_DM_SPI=y
index 1f7eca4691ee2432b640b96ae77f3ef229977d38..850fce024f1d73f31723d265315938e58fcc5dfe 100644 (file)
@@ -3,8 +3,6 @@ CONFIG_ARCH_OMAP2PLUS=y
 CONFIG_TI_SECURE_DEVICE=y
 CONFIG_TI_COMMON_CMD_OPTIONS=y
 CONFIG_NR_DRAM_BANKS=2
-CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y
-CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x4037ff00
 CONFIG_SF_DEFAULT_SPEED=76800000
 CONFIG_DM_GPIO=y
 CONFIG_SPL_DM_SPI=y
index 807e1d66a6d71951b66bbbd73a9ec54e30044d30..d1ef82b7bcb2ec2aa5c489c79fe8a601f9598a2b 100644 (file)
@@ -3,8 +3,6 @@ CONFIG_ARCH_OMAP2PLUS=y
 CONFIG_TI_SECURE_DEVICE=y
 CONFIG_TI_COMMON_CMD_OPTIONS=y
 CONFIG_NR_DRAM_BANKS=2
-CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y
-CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x4037ff00
 CONFIG_SF_DEFAULT_SPEED=76800000
 CONFIG_DM_GPIO=y
 CONFIG_SPL_DM_SPI=y
index dd2378801249a607badc96d06367575bdf89cbf3..244d5351bd83f63cc763023af350de1a49c163cc 100644 (file)
@@ -3,8 +3,6 @@ CONFIG_ARCH_OMAP2PLUS=y
 CONFIG_SYS_MALLOC_F_LEN=0x18000
 CONFIG_TI_COMMON_CMD_OPTIONS=y
 CONFIG_NR_DRAM_BANKS=2
-CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y
-CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x4037ff00
 CONFIG_SF_DEFAULT_SPEED=76800000
 CONFIG_DM_GPIO=y
 CONFIG_SPL_DM_SPI=y
index b698a36eb8387c997052555d0d88f2b4bba3c9d4..225f279572d5120eb278ba63b577d72bcd38ac87 100644 (file)
@@ -4,8 +4,6 @@ CONFIG_TI_SECURE_DEVICE=y
 CONFIG_SYS_MALLOC_F_LEN=0x18000
 CONFIG_TI_COMMON_CMD_OPTIONS=y
 CONFIG_NR_DRAM_BANKS=2
-CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y
-CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x4037ff00
 CONFIG_SF_DEFAULT_SPEED=76800000
 CONFIG_DM_GPIO=y
 CONFIG_SPL_DM_SPI=y
index 40f47a3adb1eb067d54e27f411ef34c94f06fa8d..3b37355654cecfad939393ee159cf7bfc61b98ee 100644 (file)
@@ -4,8 +4,6 @@ CONFIG_TI_SECURE_DEVICE=y
 CONFIG_SYS_MALLOC_F_LEN=0x18000
 CONFIG_TI_COMMON_CMD_OPTIONS=y
 CONFIG_NR_DRAM_BANKS=2
-CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y
-CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x4037ff00
 CONFIG_SF_DEFAULT_SPEED=76800000
 CONFIG_DM_GPIO=y
 CONFIG_SPL_DM_SPI=y