mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-24 04:34:22 +08:00
powerpc: cyrus: Separate P5020/P5040 config options
Instead of using EXTRA options in defconfig, use two targets in Kconfig to select correct SoC. Signed-off-by: York Sun <york.sun@nxp.com>
This commit is contained in:
parent
6b29a395b6
commit
22a1b99a1d
@ -309,8 +309,14 @@ config TARGET_UCP1020
|
||||
bool "Support uCP1020"
|
||||
select ARCH_P1020
|
||||
|
||||
config TARGET_CYRUS
|
||||
bool "Support Varisys Cyrus"
|
||||
config TARGET_CYRUS_P5020
|
||||
bool "Support Varisys Cyrus P5020"
|
||||
select ARCH_P5020
|
||||
select PHYS_64BIT
|
||||
|
||||
config TARGET_CYRUS_P5040
|
||||
bool "Support Varisys Cyrus P5040"
|
||||
select ARCH_P5040
|
||||
select PHYS_64BIT
|
||||
|
||||
endchoice
|
||||
|
@ -1,4 +1,4 @@
|
||||
if TARGET_CYRUS
|
||||
if TARGET_CYRUS_P5020 || TARGET_CYRUS_P5040
|
||||
|
||||
config SYS_BOARD
|
||||
default "cyrus"
|
||||
|
@ -1,11 +1,11 @@
|
||||
CONFIG_PPC=y
|
||||
CONFIG_MPC85xx=y
|
||||
CONFIG_TARGET_CYRUS=y
|
||||
CONFIG_TARGET_CYRUS_P5020=y
|
||||
# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
|
||||
CONFIG_FIT=y
|
||||
CONFIG_FIT_VERBOSE=y
|
||||
CONFIG_OF_BOARD_SETUP=y
|
||||
CONFIG_SYS_EXTRA_OPTIONS="RAMBOOT_PBL,SYS_TEXT_BASE=0xFFF40000,ARCH_P5020"
|
||||
CONFIG_SYS_EXTRA_OPTIONS="RAMBOOT_PBL,SYS_TEXT_BASE=0xFFF40000"
|
||||
CONFIG_BOOTDELAY=10
|
||||
CONFIG_CONSOLE_MUX=y
|
||||
CONFIG_HUSH_PARSER=y
|
||||
|
@ -1,11 +1,11 @@
|
||||
CONFIG_PPC=y
|
||||
CONFIG_MPC85xx=y
|
||||
CONFIG_TARGET_CYRUS=y
|
||||
CONFIG_TARGET_CYRUS_P5040=y
|
||||
# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
|
||||
CONFIG_FIT=y
|
||||
CONFIG_FIT_VERBOSE=y
|
||||
CONFIG_OF_BOARD_SETUP=y
|
||||
CONFIG_SYS_EXTRA_OPTIONS="RAMBOOT_PBL,SYS_TEXT_BASE=0xFFF40000,ARCH_P5040"
|
||||
CONFIG_SYS_EXTRA_OPTIONS="RAMBOOT_PBL,SYS_TEXT_BASE=0xFFF40000"
|
||||
CONFIG_BOOTDELAY=10
|
||||
CONFIG_CONSOLE_MUX=y
|
||||
CONFIG_HUSH_PARSER=y
|
||||
|
Loading…
Reference in New Issue
Block a user