PowerPC: Update dependencies on *SYS_MPC85XX_NO_RESETVEC
In96699f097a
("powerpc: mpc85xx: Use binman to embed dtb inside U-Boot") we introduce CONFIG_MPC85XX_HAVE_RESET_VECTOR and do so via Kconfig. However, much later inde47ff5363
("Convert CONFIG_SYS_MPC85XX_NO_RESETVEC to Kconfig") I converted the symbol that is the inverse of this to Kconfig. This should have included a dependency on the first symbol as they are logically opposite. The dependency being missing lead to some platforms being broken at runtime due to discarding the require reset vector. Fixes:de47ff5363
("Convert CONFIG_SYS_MPC85XX_NO_RESETVEC to Kconfig") Reported-by: Pali Rohár <pali@kernel.org> Signed-off-by: Tom Rini <trini@konsulko.com> Tested-by: Pali Rohár <pali@kernel.org>
This commit is contained in:
parent
ec9efcf62a
commit
88c2e9157c
@ -1459,14 +1459,14 @@ config SYS_FSL_USB_DUAL_PHY_ENABLE
|
||||
|
||||
config SYS_MPC85XX_NO_RESETVEC
|
||||
bool "Discard resetvec section and move bootpg section up"
|
||||
depends on MPC85xx
|
||||
depends on MPC85xx && !MPC85XX_HAVE_RESET_VECTOR
|
||||
help
|
||||
If this variable is specified, the section .resetvec is not kept and
|
||||
the section .bootpg is placed in the previous 4k of the .text section.
|
||||
|
||||
config SPL_SYS_MPC85XX_NO_RESETVEC
|
||||
bool "Discard resetvec section and move bootpg section up, in SPL"
|
||||
depends on MPC85xx && SPL
|
||||
depends on MPC85xx && SPL && !MPC85XX_HAVE_RESET_VECTOR
|
||||
help
|
||||
If this variable is specified, the section .resetvec is not kept and
|
||||
the section .bootpg is placed in the previous 4k of the .text section,
|
||||
@ -1474,7 +1474,7 @@ config SPL_SYS_MPC85XX_NO_RESETVEC
|
||||
|
||||
config TPL_SYS_MPC85XX_NO_RESETVEC
|
||||
bool "Discard resetvec section and move bootpg section up, in TPL"
|
||||
depends on MPC85xx && TPL
|
||||
depends on MPC85xx && TPL && !MPC85XX_HAVE_RESET_VECTOR
|
||||
help
|
||||
If this variable is specified, the section .resetvec is not kept and
|
||||
the section .bootpg is placed in the previous 4k of the .text section,
|
||||
|
@ -10,7 +10,6 @@ CONFIG_SYS_INIT_RAM_LOCK=y
|
||||
CONFIG_TARGET_P1010RDB_PA=y
|
||||
CONFIG_MPC85XX_HAVE_RESET_VECTOR=y
|
||||
CONFIG_ENABLE_36BIT_PHYS=y
|
||||
CONFIG_SYS_MPC85XX_NO_RESETVEC=y
|
||||
CONFIG_PCIE1=y
|
||||
CONFIG_PCIE2=y
|
||||
CONFIG_PHYS_64BIT=y
|
||||
|
@ -10,7 +10,6 @@ CONFIG_SYS_INIT_RAM_LOCK=y
|
||||
CONFIG_TARGET_P1010RDB_PA=y
|
||||
CONFIG_MPC85XX_HAVE_RESET_VECTOR=y
|
||||
CONFIG_ENABLE_36BIT_PHYS=y
|
||||
CONFIG_SYS_MPC85XX_NO_RESETVEC=y
|
||||
CONFIG_PCIE1=y
|
||||
CONFIG_PCIE2=y
|
||||
CONFIG_SYS_MONITOR_LEN=786432
|
||||
|
@ -10,7 +10,6 @@ CONFIG_SYS_INIT_RAM_LOCK=y
|
||||
CONFIG_TARGET_P1010RDB_PB=y
|
||||
CONFIG_MPC85XX_HAVE_RESET_VECTOR=y
|
||||
CONFIG_ENABLE_36BIT_PHYS=y
|
||||
CONFIG_SYS_MPC85XX_NO_RESETVEC=y
|
||||
CONFIG_PCIE1=y
|
||||
CONFIG_PCIE2=y
|
||||
CONFIG_PHYS_64BIT=y
|
||||
|
@ -10,7 +10,6 @@ CONFIG_SYS_INIT_RAM_LOCK=y
|
||||
CONFIG_TARGET_P1010RDB_PB=y
|
||||
CONFIG_MPC85XX_HAVE_RESET_VECTOR=y
|
||||
CONFIG_ENABLE_36BIT_PHYS=y
|
||||
CONFIG_SYS_MPC85XX_NO_RESETVEC=y
|
||||
CONFIG_PCIE1=y
|
||||
CONFIG_PCIE2=y
|
||||
CONFIG_SYS_MONITOR_LEN=786432
|
||||
|
@ -11,7 +11,6 @@ CONFIG_SYS_INIT_RAM_LOCK=y
|
||||
CONFIG_TARGET_P1020RDB_PC=y
|
||||
CONFIG_MPC85XX_HAVE_RESET_VECTOR=y
|
||||
CONFIG_ENABLE_36BIT_PHYS=y
|
||||
CONFIG_SYS_MPC85XX_NO_RESETVEC=y
|
||||
CONFIG_PCIE1=y
|
||||
CONFIG_PCIE2=y
|
||||
CONFIG_PHYS_64BIT=y
|
||||
|
@ -11,7 +11,6 @@ CONFIG_SYS_INIT_RAM_LOCK=y
|
||||
CONFIG_TARGET_P1020RDB_PC=y
|
||||
CONFIG_MPC85XX_HAVE_RESET_VECTOR=y
|
||||
CONFIG_ENABLE_36BIT_PHYS=y
|
||||
CONFIG_SYS_MPC85XX_NO_RESETVEC=y
|
||||
CONFIG_PCIE1=y
|
||||
CONFIG_PCIE2=y
|
||||
CONFIG_SYS_MONITOR_LEN=786432
|
||||
|
@ -11,7 +11,6 @@ CONFIG_SYS_INIT_RAM_LOCK=y
|
||||
CONFIG_TARGET_P1020RDB_PD=y
|
||||
CONFIG_MPC85XX_HAVE_RESET_VECTOR=y
|
||||
CONFIG_ENABLE_36BIT_PHYS=y
|
||||
CONFIG_SYS_MPC85XX_NO_RESETVEC=y
|
||||
CONFIG_PCIE1=y
|
||||
CONFIG_PCIE2=y
|
||||
CONFIG_SYS_MONITOR_LEN=786432
|
||||
|
@ -11,7 +11,6 @@ CONFIG_SYS_INIT_RAM_LOCK=y
|
||||
CONFIG_TARGET_P2020RDB=y
|
||||
CONFIG_MPC85XX_HAVE_RESET_VECTOR=y
|
||||
CONFIG_ENABLE_36BIT_PHYS=y
|
||||
CONFIG_SYS_MPC85XX_NO_RESETVEC=y
|
||||
CONFIG_PCIE1=y
|
||||
CONFIG_PCIE2=y
|
||||
CONFIG_PHYS_64BIT=y
|
||||
|
@ -11,7 +11,6 @@ CONFIG_SYS_INIT_RAM_LOCK=y
|
||||
CONFIG_TARGET_P2020RDB=y
|
||||
CONFIG_MPC85XX_HAVE_RESET_VECTOR=y
|
||||
CONFIG_ENABLE_36BIT_PHYS=y
|
||||
CONFIG_SYS_MPC85XX_NO_RESETVEC=y
|
||||
CONFIG_PCIE1=y
|
||||
CONFIG_PCIE2=y
|
||||
CONFIG_SYS_MONITOR_LEN=786432
|
||||
|
Loading…
Reference in New Issue
Block a user