mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-18 02:38:56 +00:00
5af42eafd7
Building of final u-boot.bin binary for mpc85xx via binman is needed only when inserting DTB binary in the middle of the u-boot ELF binary (before .bootpg and .resetvec ELF sections). These requirements are met when CONFIG_MPC85XX_HAVE_RESET_VECTOR is enabled (= generating .bootpg/.resetvec sections) and CONFIG_OF_SEPARATE is enabled (= inserting DTB binary). So in all other cases use standard build procedure instead of custom mpc85xx u-boot.bin Makefile target via binman. Signed-off-by: Pali Rohár <pali@kernel.org> Signed-off-by: Marek Behún <kabel@kernel.org>
48 lines
921 B
Text
48 lines
921 B
Text
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 SYS_FSL_IFC_BE
|
|
select BINMAN if MPC85XX_HAVE_RESET_VECTOR && OF_SEPARATE
|
|
imply CMD_HASH
|
|
imply CMD_IRQ
|
|
imply USB_EHCI_HCD if USB
|
|
|
|
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/mpc8xx/Kconfig"
|
|
source "arch/powerpc/lib/Kconfig"
|
|
|
|
endmenu
|