From: York Sun Date: Mon, 21 Nov 2016 21:26:52 +0000 (-0800) Subject: powerpc: T4160RDB: Separate from T4240RDB in Kconfig X-Git-Tag: v2017.01-rc1~157^2~11 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=12ffdb3b12bd05b8b0d382e3d7195b2b897034d1;p=u-boot powerpc: T4160RDB: Separate from T4240RDB in Kconfig Use TARGET_T4160RDB to simplify Kconfig options. Signed-off-by: York Sun --- diff --git a/arch/powerpc/cpu/mpc85xx/Kconfig b/arch/powerpc/cpu/mpc85xx/Kconfig index d0fdcebc04..9d4e5ba247 100644 --- a/arch/powerpc/cpu/mpc85xx/Kconfig +++ b/arch/powerpc/cpu/mpc85xx/Kconfig @@ -265,6 +265,11 @@ config TARGET_T4160QDS select SUPPORT_SPL select PHYS_64BIT +config TARGET_T4160RDB + bool "Support T4160RDB" + select SUPPORT_SPL + select PHYS_64BIT + config TARGET_T4240QDS bool "Support T4240QDS" select SUPPORT_SPL diff --git a/board/freescale/t4rdb/Kconfig b/board/freescale/t4rdb/Kconfig index d93e4532ac..67832da30b 100644 --- a/board/freescale/t4rdb/Kconfig +++ b/board/freescale/t4rdb/Kconfig @@ -1,4 +1,4 @@ -if TARGET_T4240RDB +if TARGET_T4160RDB || TARGET_T4240RDB config SYS_BOARD default "t4rdb" diff --git a/board/freescale/t4rdb/Makefile b/board/freescale/t4rdb/Makefile index 4f29eea0f4..c15560e5eb 100644 --- a/board/freescale/t4rdb/Makefile +++ b/board/freescale/t4rdb/Makefile @@ -7,6 +7,7 @@ ifdef CONFIG_SPL_BUILD obj-y += spl.o else +obj-$(CONFIG_TARGET_T4160RDB) += t4240rdb.o obj-$(CONFIG_T4240RDB) += t4240rdb.o obj-y += cpld.o obj-y += eth.o diff --git a/configs/T4160RDB_defconfig b/configs/T4160RDB_defconfig index 9336a3fd9d..2405ac4e04 100644 --- a/configs/T4160RDB_defconfig +++ b/configs/T4160RDB_defconfig @@ -1,6 +1,6 @@ CONFIG_PPC=y CONFIG_MPC85xx=y -CONFIG_TARGET_T4240RDB=y +CONFIG_TARGET_T4160RDB=y CONFIG_FIT=y CONFIG_FIT_VERBOSE=y CONFIG_OF_BOARD_SETUP=y