powerpc: T4160RDB: Separate from T4240RDB in Kconfig
authorYork Sun <york.sun@nxp.com>
Mon, 21 Nov 2016 21:26:52 +0000 (13:26 -0800)
committerYork Sun <york.sun@nxp.com>
Thu, 24 Nov 2016 07:42:15 +0000 (23:42 -0800)
Use TARGET_T4160RDB to simplify Kconfig options.

Signed-off-by: York Sun <york.sun@nxp.com>
arch/powerpc/cpu/mpc85xx/Kconfig
board/freescale/t4rdb/Kconfig
board/freescale/t4rdb/Makefile
configs/T4160RDB_defconfig

index d0fdcebc04983f63835e801d14524fdf3e1726ff..9d4e5ba24736fd90d8aaf9b823a0fa2c3cf08614 100644 (file)
@@ -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
index d93e4532ac4a4db8bb6619c140dce231d4f81453..67832da30bed6e3d2459a2feec7a8b953a0e4044 100644 (file)
@@ -1,4 +1,4 @@
-if TARGET_T4240RDB
+if TARGET_T4160RDB || TARGET_T4240RDB
 
 config SYS_BOARD
        default "t4rdb"
index 4f29eea0f45985da2f263ae5bdb74183347dd980..c15560e5eb9b2cce0fe10ea0a9da4a00984ce7cd 100644 (file)
@@ -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
index 9336a3fd9d6fa66665c73519c8929f53cc6d8b8b..2405ac4e046381919a51b9e17bc638b253f24743 100644 (file)
@@ -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