mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 15:41:40 +00:00
powerpc: T4160QDS: Separate from T4240QDS in Kconfig
Use TARGET_T4160QDS to simplify Kconfig options. Signed-off-by: York Sun <york.sun@nxp.com>
This commit is contained in:
parent
0f3d80e993
commit
9c21d06c67
9 changed files with 13 additions and 6 deletions
|
@ -260,6 +260,11 @@ config TARGET_T2081QDS
|
|||
select SUPPORT_SPL
|
||||
select PHYS_64BIT
|
||||
|
||||
config TARGET_T4160QDS
|
||||
bool "Support T4160QDS"
|
||||
select SUPPORT_SPL
|
||||
select PHYS_64BIT
|
||||
|
||||
config TARGET_T4240QDS
|
||||
bool "Support T4240QDS"
|
||||
select SUPPORT_SPL
|
||||
|
|
|
@ -391,7 +391,7 @@ const char *serdes_clock_to_string(u32 clock)
|
|||
case SRDS_PLLCR0_RFCK_SEL_161_13:
|
||||
return "161.1328123";
|
||||
default:
|
||||
#if defined(CONFIG_T4240QDS)
|
||||
#if defined(CONFIG_T4240QDS) || defined(CONFIG_TARGET_T4160QDS)
|
||||
return "???";
|
||||
#else
|
||||
return "122.88";
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
|
||||
#if defined(CONFIG_TARGET_B4860QDS) || \
|
||||
defined(CONFIG_TARGET_B4420QDS) || \
|
||||
defined(CONFIG_TARGET_T4160QDS) || \
|
||||
defined(CONFIG_T4240QDS) || \
|
||||
defined(CONFIG_T2080QDS) || \
|
||||
defined(CONFIG_T2080RDB) || \
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
if TARGET_T4240QDS
|
||||
if TARGET_T4160QDS || TARGET_T4240QDS
|
||||
|
||||
config SYS_BOARD
|
||||
default "t4qds"
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
ifdef CONFIG_SPL_BUILD
|
||||
obj-y += spl.o
|
||||
else
|
||||
obj-$(CONFIG_TARGET_T4160QDS) += t4240qds.o eth.o
|
||||
obj-$(CONFIG_T4240QDS) += t4240qds.o eth.o
|
||||
obj-$(CONFIG_PCI) += pci.o
|
||||
endif
|
||||
|
|
|
@ -7,7 +7,7 @@ CONFIG_SPL_SERIAL_SUPPORT=y
|
|||
CONFIG_SPL_ENV_SUPPORT=y
|
||||
CONFIG_SPL_DRIVERS_MISC_SUPPORT=y
|
||||
CONFIG_MPC85xx=y
|
||||
CONFIG_TARGET_T4240QDS=y
|
||||
CONFIG_TARGET_T4160QDS=y
|
||||
CONFIG_FIT=y
|
||||
CONFIG_FIT_VERBOSE=y
|
||||
CONFIG_OF_BOARD_SETUP=y
|
||||
|
|
|
@ -7,7 +7,7 @@ CONFIG_SPL_SERIAL_SUPPORT=y
|
|||
CONFIG_SPL_ENV_SUPPORT=y
|
||||
CONFIG_SPL_DRIVERS_MISC_SUPPORT=y
|
||||
CONFIG_MPC85xx=y
|
||||
CONFIG_TARGET_T4240QDS=y
|
||||
CONFIG_TARGET_T4160QDS=y
|
||||
CONFIG_FIT=y
|
||||
CONFIG_FIT_VERBOSE=y
|
||||
CONFIG_OF_BOARD_SETUP=y
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
CONFIG_PPC=y
|
||||
CONFIG_MPC85xx=y
|
||||
CONFIG_TARGET_T4240QDS=y
|
||||
CONFIG_TARGET_T4160QDS=y
|
||||
# CONFIG_SYS_MALLOC_F is not set
|
||||
CONFIG_FIT=y
|
||||
CONFIG_FIT_VERBOSE=y
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
CONFIG_PPC=y
|
||||
CONFIG_MPC85xx=y
|
||||
CONFIG_TARGET_T4240QDS=y
|
||||
CONFIG_TARGET_T4160QDS=y
|
||||
CONFIG_FIT=y
|
||||
CONFIG_FIT_VERBOSE=y
|
||||
CONFIG_OF_BOARD_SETUP=y
|
||||
|
|
Loading…
Reference in a new issue