Use TARGET_B4420QDS to simplify Kconfig options.
Signed-off-by: York Sun <york.sun@nxp.com>
bool "Support socrates"
select ARCH_MPC8544
+config TARGET_B4420QDS
+ bool "Support B4420QDS"
+ select SUPPORT_SPL
+ select PHYS_64BIT
+
config TARGET_B4860QDS
bool "Support B4860QDS"
select SUPPORT_SPL
-if TARGET_B4860QDS
+if TARGET_B4860QDS || TARGET_B4420QDS
config SYS_BOARD
default "b4860qds"
CONFIG_SPL_ENV_SUPPORT=y
CONFIG_SPL_DRIVERS_MISC_SUPPORT=y
CONFIG_MPC85xx=y
-CONFIG_TARGET_B4860QDS=y
+CONFIG_TARGET_B4420QDS=y
CONFIG_FIT=y
CONFIG_FIT_VERBOSE=y
CONFIG_OF_BOARD_SETUP=y
CONFIG_PPC=y
CONFIG_MPC85xx=y
-CONFIG_TARGET_B4860QDS=y
+CONFIG_TARGET_B4420QDS=y
CONFIG_FIT=y
CONFIG_FIT_VERBOSE=y
CONFIG_OF_BOARD_SETUP=y
CONFIG_PPC=y
CONFIG_MPC85xx=y
-CONFIG_TARGET_B4860QDS=y
+CONFIG_TARGET_B4420QDS=y
CONFIG_FIT=y
CONFIG_FIT_VERBOSE=y
CONFIG_OF_BOARD_SETUP=y