mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-18 07:58:52 +09:00
![Simon Glass](/assets/img/avatar_default.png)
Quite a few boards using this SoC family don't use binman, yet CONFIG_BINMAN is enabled for all of them. But the option should only be enabled if we expect binman to produce an image. Calling binman when the device tree is missing, etc. will cause failer. Add a condition so that CONFIG_BINMAN is only enabled as needed. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
54 lines
971 B
Plaintext
54 lines
971 B
Plaintext
menu "PowerPC architecture"
|
|
depends on PPC
|
|
|
|
config SYS_ARCH
|
|
default "powerpc"
|
|
|
|
choice
|
|
prompt "CPU select"
|
|
optional
|
|
|
|
config MPC83xx
|
|
bool "MPC83xx"
|
|
select CREATE_ARCH_SYMLINK
|
|
select SYS_FSL_HAS_SEC
|
|
select SYS_FSL_SEC_BE
|
|
select SYS_FSL_SEC_COMPAT_2
|
|
|
|
config MPC85xx
|
|
bool "MPC85xx"
|
|
select CREATE_ARCH_SYMLINK
|
|
select SYS_FSL_DDR
|
|
select SYS_FSL_DDR_BE
|
|
select BINMAN if OF_SEPARATE
|
|
imply CMD_HASH
|
|
imply CMD_IRQ
|
|
imply USB_EHCI_HCD if USB
|
|
|
|
config MPC86xx
|
|
bool "MPC86xx"
|
|
select SYS_FSL_DDR
|
|
select SYS_FSL_DDR_BE
|
|
imply CMD_REGINFO
|
|
|
|
config MPC8xx
|
|
bool "MPC8xx"
|
|
select BOARD_EARLY_INIT_F
|
|
imply CMD_REGINFO
|
|
imply WDT_MPC8xx
|
|
|
|
endchoice
|
|
|
|
config HIGH_BATS
|
|
bool "Enable high BAT registers"
|
|
help
|
|
Enable BATs (block address translation registers) 4-7 on machines
|
|
that support them.
|
|
|
|
source "arch/powerpc/cpu/mpc83xx/Kconfig"
|
|
source "arch/powerpc/cpu/mpc85xx/Kconfig"
|
|
source "arch/powerpc/cpu/mpc86xx/Kconfig"
|
|
source "arch/powerpc/cpu/mpc8xx/Kconfig"
|
|
|
|
endmenu
|