mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-07 05:13:21 +09:00
![Mario Six](/assets/img/avatar_default.png)
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>
33 lines
614 B
Plaintext
33 lines
614 B
Plaintext
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
|