mirror of
https://codeberg.org/canoeboot/cbmk.git
synced 2025-07-31 01:42:25 +01:00
u-boot: gru: Disable INIT_SP_RELATIVE
Recently, gru boards were migrated to use common stack addresses with U-Boot commit 5e7cd8a11995 ("rockchip: Use common bss and stack addresses on RK3399") and commit 49f8131e5594 ("rockchip: rk3399-gru: Use TPL with common bss and stack addresses"). This is done with the ROCKCHIP_COMMON_STACK_ADDR config. With POSITION_INDEPENDENT, INIT_SP_RELATIVE defaults to enabled as well. However, ROCKCHIP_COMMON_STACK_ADDR selects HAS_CUSTOM_SYS_INIT_SP_ADDR, which depends on INIT_SP_RELATIVE being disabled. So this results in a configuration warning: WARNING: unmet direct dependencies detected for HAS_CUSTOM_SYS_INIT_SP_ADDR Depends on [n]: ARM [=y] && ARCH_KIRKWOOD [=n] || ARC [=n] || ARM [=y] && !INIT_SP_RELATIVE [=y] || MIPS [=n] || PPC [=n] || RISCV [=n] Selected by [y]: - ROCKCHIP_COMMON_STACK_ADDR [=y] && ARM [=y] && ARCH_ROCKCHIP [=y] && SPL_SHARES_INIT_SP_ADDR [=y] I'm not sure if adhering to the Rockchip values means we can't be position-independent. Disabling INIT_SP_RELATIVE still appears to keep my kevin board working, so let's do that for now. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
This commit is contained in:
parent
db79c0171e
commit
41dad0d2c2
2 changed files with 2 additions and 4 deletions
|
@ -54,8 +54,7 @@ CONFIG_ARM64=y
|
|||
CONFIG_ARM64_CRC32=y
|
||||
CONFIG_COUNTER_FREQUENCY=24000000
|
||||
CONFIG_POSITION_INDEPENDENT=y
|
||||
CONFIG_INIT_SP_RELATIVE=y
|
||||
CONFIG_SYS_INIT_SP_BSS_OFFSET=524288
|
||||
# CONFIG_INIT_SP_RELATIVE is not set
|
||||
CONFIG_LNX_KRNL_IMG_TEXT_OFFSET_BASE=0x18000000
|
||||
# CONFIG_DRIVER_GICV2 is not set
|
||||
# CONFIG_GIC_V3_ITS is not set
|
||||
|
|
|
@ -54,8 +54,7 @@ CONFIG_ARM64=y
|
|||
CONFIG_ARM64_CRC32=y
|
||||
CONFIG_COUNTER_FREQUENCY=24000000
|
||||
CONFIG_POSITION_INDEPENDENT=y
|
||||
CONFIG_INIT_SP_RELATIVE=y
|
||||
CONFIG_SYS_INIT_SP_BSS_OFFSET=524288
|
||||
# CONFIG_INIT_SP_RELATIVE is not set
|
||||
CONFIG_LNX_KRNL_IMG_TEXT_OFFSET_BASE=0x18000000
|
||||
# CONFIG_DRIVER_GICV2 is not set
|
||||
# CONFIG_GIC_V3_ITS is not set
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue