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: http://review.tizen.org/git/?a=commitdiff_plain;h=12ffdb3b12bd05b8b0d382e3d7195b2b897034d1;hp=673c01c708ed4bf7d4fec1e6ffb266d832b3be85;p=platform%2Fkernel%2Fu-boot.git 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 d0fdceb..9d4e5ba 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 d93e453..67832da 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 4f29eea..c15560e 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 9336a3f..2405ac4 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