summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYork Sun <york.sun@nxp.com>2016-11-21 13:26:52 -0800
committerYork Sun <york.sun@nxp.com>2016-11-23 23:42:15 -0800
commit12ffdb3b12bd05b8b0d382e3d7195b2b897034d1 (patch)
tree72746e950f3912a7b7bd9227e3d181a68c6c0d07
parent673c01c708ed4bf7d4fec1e6ffb266d832b3be85 (diff)
downloadu-boot-imx-12ffdb3b12bd05b8b0d382e3d7195b2b897034d1.zip
u-boot-imx-12ffdb3b12bd05b8b0d382e3d7195b2b897034d1.tar.gz
u-boot-imx-12ffdb3b12bd05b8b0d382e3d7195b2b897034d1.tar.bz2
powerpc: T4160RDB: Separate from T4240RDB in Kconfig
Use TARGET_T4160RDB to simplify Kconfig options. Signed-off-by: York Sun <york.sun@nxp.com>
-rw-r--r--arch/powerpc/cpu/mpc85xx/Kconfig5
-rw-r--r--board/freescale/t4rdb/Kconfig2
-rw-r--r--board/freescale/t4rdb/Makefile1
-rw-r--r--configs/T4160RDB_defconfig2
4 files changed, 8 insertions, 2 deletions
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