u-boot/arch/powerpc/cpu/mpc83xx/elbc/Kconfig
Mario Six fe7d654d04 mpc83xx: Migrate CONFIG_SYS_{BR, OR}*_PRELIM to Kconfig
Migrate the BR/OR settings to Kconfig. These must be known at compile
time, so cannot be configured via DT.

Configuration of this crucial variable should still be somewhat
comfortable. Hence, make its fields configurable in Kconfig, and
assemble the final value from these.

Signed-off-by: Mario Six <mario.six@gdsys.cc>
2019-05-21 07:52:33 +02:00

32 lines
614 B
Text

menu "ELBC register setup"
choice
prompt "OR/BR for NAND SPL"
config ELBC_BR_OR_NAND_PRELIM_NONE
bool "None"
config ELBC_BR_OR_NAND_PRELIM_0
bool "0"
config ELBC_BR_OR_NAND_PRELIM_1
bool "1"
config ELBC_BR_OR_NAND_PRELIM_2
bool "2"
config ELBC_BR_OR_NAND_PRELIM_3
bool "3"
config ELBC_BR_OR_NAND_PRELIM_4
bool "4"
endchoice
source "arch/powerpc/cpu/mpc83xx/elbc/Kconfig.elbc0"
source "arch/powerpc/cpu/mpc83xx/elbc/Kconfig.elbc1"
source "arch/powerpc/cpu/mpc83xx/elbc/Kconfig.elbc2"
source "arch/powerpc/cpu/mpc83xx/elbc/Kconfig.elbc3"
source "arch/powerpc/cpu/mpc83xx/elbc/Kconfig.elbc4"
endmenu