powerpc: P1020UTM: Separate from P1_P2_RDB_P2 in Kconfig
authorYork Sun <york.sun@nxp.com>
Thu, 17 Nov 2016 21:53:54 +0000 (13:53 -0800)
committerYork Sun <york.sun@nxp.com>
Thu, 24 Nov 2016 07:42:08 +0000 (23:42 -0800)
Use TARGET_P1020UTM instead of sharing with TARGET_P1_P2_RDB_PC
to simplify Kconfig and config macros.

Remove macro CONFIG_P1020UTM.

Signed-off-by: York Sun <york.sun@nxp.com>
arch/powerpc/cpu/mpc85xx/Kconfig
board/freescale/p1_p2_rdb_pc/Kconfig
board/freescale/p1_p2_rdb_pc/ddr.c
configs/P1020UTM-PC_36BIT_SDCARD_defconfig
configs/P1020UTM-PC_36BIT_defconfig
configs/P1020UTM-PC_SDCARD_defconfig
configs/P1020UTM-PC_defconfig
include/configs/p1_p2_rdb_pc.h
scripts/config_whitelist.txt

index d7414e216bd1700bfd25c4b3f96f0833b9dd8b82..14ef053e9089c09f45d735a2ebaae4d5d5d9cfa2 100644 (file)
@@ -130,6 +130,10 @@ config TARGET_P1020RDB_PD
        select SUPPORT_SPL
        select SUPPORT_TPL
 
+config TARGET_P1020UTM
+       bool "Support P1020UTM"
+       select SUPPORT_SPL
+       select SUPPORT_TPL
 
 config TARGET_P1_P2_RDB_PC
        bool "Support p1_p2_rdb_pc"
index c46e04e08dc63e0977285ab7d0658242486dfd84..7deb2ae9f6c7338fbe8b44dad146b8007502d5bf 100644 (file)
@@ -1,7 +1,8 @@
 if TARGET_P1_P2_RDB_PC         || \
        TARGET_P1020MBG         || \
        TARGET_P1020RDB_PC      || \
-       TARGET_P1020RDB_PD
+       TARGET_P1020RDB_PD      || \
+       TARGET_P1020UTM
 
 config SYS_BOARD
        default "p1_p2_rdb_pc"
index 8291c188465659f6bdf632570b75a8d40bcacbd2..6dc3957f2c67226521dad2d2543c96c44de8e2a5 100644 (file)
@@ -16,7 +16,7 @@
 #ifdef CONFIG_SYS_DDR_RAW_TIMING
 #if    defined(CONFIG_P1020RDB_PROTO) || \
        defined(CONFIG_P1021RDB) || \
-       defined(CONFIG_P1020UTM)
+       defined(CONFIG_TARGET_P1020UTM)
 /* Micron MT41J256M8_187E */
 dimm_params_t ddr_raw_timing = {
        .n_ranks = 1,
index 1e7c60872e307d6a0e602786c29a5f98924c052e..19e448d330887102cd0933781e28bde80adf6c7b 100644 (file)
@@ -6,13 +6,13 @@ CONFIG_SPL_MMC_SUPPORT=y
 CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_SPL_ENV_SUPPORT=y
 CONFIG_MPC85xx=y
-CONFIG_TARGET_P1_P2_RDB_PC=y
+CONFIG_TARGET_P1020UTM=y
 CONFIG_PHYS_64BIT=y
 CONFIG_FIT=y
 CONFIG_FIT_VERBOSE=y
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_OF_STDOUT_VIA_ALIAS=y
-CONFIG_SYS_EXTRA_OPTIONS="P1020UTM,SDCARD"
+CONFIG_SYS_EXTRA_OPTIONS="SDCARD"
 CONFIG_BOOTDELAY=10
 CONFIG_SPL=y
 CONFIG_SPL_MPC8XXX_INIT_DDR_SUPPORT=y
index 7044b78103c0b717b053ead2f9b982f266700007..aa266f96d54324ceb24a57c71c7c7f40e83e63c6 100644 (file)
@@ -1,12 +1,11 @@
 CONFIG_PPC=y
 CONFIG_MPC85xx=y
-CONFIG_TARGET_P1_P2_RDB_PC=y
+CONFIG_TARGET_P1020UTM=y
 CONFIG_PHYS_64BIT=y
 CONFIG_FIT=y
 CONFIG_FIT_VERBOSE=y
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_OF_STDOUT_VIA_ALIAS=y
-CONFIG_SYS_EXTRA_OPTIONS="P1020UTM"
 CONFIG_BOOTDELAY=10
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_MMC=y
index 20353a7800298ed096181feca5096928c7ba8db1..c03c7c576b6e9c39e658e21f1e381caea57ed7f8 100644 (file)
@@ -6,12 +6,12 @@ CONFIG_SPL_MMC_SUPPORT=y
 CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_SPL_ENV_SUPPORT=y
 CONFIG_MPC85xx=y
-CONFIG_TARGET_P1_P2_RDB_PC=y
+CONFIG_TARGET_P1020UTM=y
 CONFIG_FIT=y
 CONFIG_FIT_VERBOSE=y
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_OF_STDOUT_VIA_ALIAS=y
-CONFIG_SYS_EXTRA_OPTIONS="P1020UTM,SDCARD"
+CONFIG_SYS_EXTRA_OPTIONS="SDCARD"
 CONFIG_BOOTDELAY=10
 CONFIG_SPL=y
 CONFIG_SPL_MPC8XXX_INIT_DDR_SUPPORT=y
index 9f70afdcab33d742948bd28463dfaff5d5e09709..c47d5143d3e3676ba498fc54ee1ffdf3414f72de 100644 (file)
@@ -1,11 +1,10 @@
 CONFIG_PPC=y
 CONFIG_MPC85xx=y
-CONFIG_TARGET_P1_P2_RDB_PC=y
+CONFIG_TARGET_P1020UTM=y
 CONFIG_FIT=y
 CONFIG_FIT_VERBOSE=y
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_OF_STDOUT_VIA_ALIAS=y
-CONFIG_SYS_EXTRA_OPTIONS="P1020UTM"
 CONFIG_BOOTDELAY=10
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_MMC=y
index 010a9edb93e7fa0d741cecda00d18e2ce1a4a961..97a0b19b6812b88c9b48318f2e13fd759e337bd4 100644 (file)
@@ -21,7 +21,7 @@
 #define CONFIG_SYS_L2_SIZE     (256 << 10)
 #endif
 
-#if defined(CONFIG_P1020UTM)
+#if defined(CONFIG_TARGET_P1020UTM)
 #define CONFIG_BOARDNAME "P1020UTM-PC"
 #define CONFIG_P1020
 #define __SW_BOOT_MASK         0x03
 #if (defined(CONFIG_TARGET_P1020MBG) || defined(CONFIG_TARGET_P1020RDB_PD))
 #define CONFIG_SYS_MAX_FLASH_SECT      512     /* 64M */
 #define CONFIG_SYS_FLASH_BASE          0xec000000
-#elif defined(CONFIG_P1020UTM)
+#elif defined(CONFIG_TARGET_P1020UTM)
 #define CONFIG_SYS_MAX_FLASH_SECT      256     /* 32M */
 #define CONFIG_SYS_FLASH_BASE          0xee000000
 #else
index 6d7b5ffb850e21a94aea4f60ed7d0c4a5715d768..3b705432e18051870bd256602bbf5dfa8476544b 100644 (file)
@@ -3384,7 +3384,6 @@ CONFIG_OS_ENV_ADDR
 CONFIG_OTHBOOTARGS
 CONFIG_OVERWRITE_ETHADDR_ONCE
 CONFIG_P1020
-CONFIG_P1020UTM
 CONFIG_P1021
 CONFIG_P1021RDB
 CONFIG_P1024