]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
powerpc: P1024RDB: Separate from P1_P2_RDB_PC in Kconfig
authorYork Sun <york.sun@nxp.com>
Thu, 17 Nov 2016 21:48:39 +0000 (13:48 -0800)
committerYork Sun <york.sun@nxp.com>
Thu, 24 Nov 2016 07:42:09 +0000 (23:42 -0800)
Use TARGET_P1024RDB instead of sharing with TARGET_P1_P2_RDB_PC to
simplify Kconfig and macros.

Remove macro CONFIG_P1024RDB.

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/P1024RDB_36BIT_defconfig
configs/P1024RDB_NAND_defconfig
configs/P1024RDB_SDCARD_defconfig
configs/P1024RDB_SPIFLASH_defconfig
configs/P1024RDB_defconfig
include/configs/p1_p2_rdb_pc.h
scripts/config_whitelist.txt

index 347710999e0ca90c45c5e86d70604bc5d25502c1..a027ea96b00c090dd54c78b9e5bb78a5e06e1dcc 100644 (file)
@@ -140,6 +140,11 @@ config TARGET_P1021RDB
        select SUPPORT_SPL
        select SUPPORT_TPL
 
+config TARGET_P1024RDB
+       bool "Support P1024RDB"
+       select SUPPORT_SPL
+       select SUPPORT_TPL
+
 config TARGET_P1_P2_RDB_PC
        bool "Support p1_p2_rdb_pc"
        select SUPPORT_SPL
index 8160f449bcb330c180ffe8b3c2413626aa466f01..91ba21ecc90aa3db4b3d5fd3e5efe7c67dc5843f 100644 (file)
@@ -3,7 +3,8 @@ if TARGET_P1_P2_RDB_PC          || \
        TARGET_P1020RDB_PC      || \
        TARGET_P1020RDB_PD      || \
        TARGET_P1020UTM         || \
-       TARGET_P1021RDB
+       TARGET_P1021RDB         || \
+       TARGET_P1024RDB
 
 config SYS_BOARD
        default "p1_p2_rdb_pc"
index 59cd89ad424269a974bf940926212578f15a7b11..446935e9f57c6faa58aa5fee15c1e751cead8317 100644 (file)
@@ -146,7 +146,7 @@ dimm_params_t ddr_raw_timing = {
        .refresh_rate_ps = 7800000,
        .tfaw_ps = 37500,
 };
-#elif  defined(CONFIG_P1024RDB) || \
+#elif  defined(CONFIG_TARGET_P1024RDB) || \
        defined(CONFIG_P1025RDB)
 /*
  * Samsung K4B2G0846C-HCH9
index 46cd39167b72f7b2f3e85518538f044c0c3110f0..76724649c68a63cbef2284b736b3f34770b8fd1c 100644 (file)
@@ -1,12 +1,11 @@
 CONFIG_PPC=y
 CONFIG_MPC85xx=y
-CONFIG_TARGET_P1_P2_RDB_PC=y
+CONFIG_TARGET_P1024RDB=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="P1024RDB"
 CONFIG_BOOTDELAY=10
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_MMC=y
index 36d0867a0c50f4bc6b8b6fc338a79663781da151..f4d54851829338db9a3f27c9a76d6b59e4d73339 100644 (file)
@@ -2,12 +2,12 @@ CONFIG_PPC=y
 CONFIG_SPL_NAND_SUPPORT=y
 CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_MPC85xx=y
-CONFIG_TARGET_P1_P2_RDB_PC=y
+CONFIG_TARGET_P1024RDB=y
 CONFIG_FIT=y
 CONFIG_FIT_VERBOSE=y
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_OF_STDOUT_VIA_ALIAS=y
-CONFIG_SYS_EXTRA_OPTIONS="P1024RDB,NAND"
+CONFIG_SYS_EXTRA_OPTIONS="NAND"
 CONFIG_BOOTDELAY=10
 CONFIG_SPL=y
 CONFIG_TPL=y
index 9bbbae19154ea02d9d25ce30db588bfcf148d96d..101647f53b8d607639fd86ca781672468a86ef80 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_P1024RDB=y
 CONFIG_FIT=y
 CONFIG_FIT_VERBOSE=y
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_OF_STDOUT_VIA_ALIAS=y
-CONFIG_SYS_EXTRA_OPTIONS="P1024RDB,SDCARD"
+CONFIG_SYS_EXTRA_OPTIONS="SDCARD"
 CONFIG_BOOTDELAY=10
 CONFIG_SPL=y
 CONFIG_SPL_MPC8XXX_INIT_DDR_SUPPORT=y
index 837b0692c623c561d005d5052c4c141091a56ef7..94c45c0d1a2ea69ad32588588644229c2cec918d 100644 (file)
@@ -7,12 +7,12 @@ CONFIG_SPL_ENV_SUPPORT=y
 CONFIG_SPL_SPI_FLASH_SUPPORT=y
 CONFIG_SPL_SPI_SUPPORT=y
 CONFIG_MPC85xx=y
-CONFIG_TARGET_P1_P2_RDB_PC=y
+CONFIG_TARGET_P1024RDB=y
 CONFIG_FIT=y
 CONFIG_FIT_VERBOSE=y
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_OF_STDOUT_VIA_ALIAS=y
-CONFIG_SYS_EXTRA_OPTIONS="P1024RDB,SPIFLASH"
+CONFIG_SYS_EXTRA_OPTIONS="SPIFLASH"
 CONFIG_BOOTDELAY=10
 CONFIG_SPL=y
 CONFIG_SPL_MPC8XXX_INIT_DDR_SUPPORT=y
index 7dffb2b59a096f804509f535749d9b16e8ae8720..0d204753a6f06972f43f21af07406d2f50b119da 100644 (file)
@@ -1,11 +1,10 @@
 CONFIG_PPC=y
 CONFIG_MPC85xx=y
-CONFIG_TARGET_P1_P2_RDB_PC=y
+CONFIG_TARGET_P1024RDB=y
 CONFIG_FIT=y
 CONFIG_FIT_VERBOSE=y
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_OF_STDOUT_VIA_ALIAS=y
-CONFIG_SYS_EXTRA_OPTIONS="P1024RDB"
 CONFIG_BOOTDELAY=10
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_MMC=y
index f68feb310061e246fa8027caa91990104acb950b..eb885766d4ab70a8b5c0a2d95ea1ba45c2c100c7 100644 (file)
 #endif
 #endif
 
-#if defined(CONFIG_P1024RDB)
+#if defined(CONFIG_TARGET_P1024RDB)
 #define CONFIG_BOARDNAME "P1024RDB"
 #define CONFIG_NAND_FSL_ELBC
 #define CONFIG_P1024
index 3362baf19332fedd274799db2381a561e11c6505..9e630d25af783c0decc091260aa979a576594624 100644 (file)
@@ -3386,7 +3386,6 @@ CONFIG_OVERWRITE_ETHADDR_ONCE
 CONFIG_P1020
 CONFIG_P1021
 CONFIG_P1024
-CONFIG_P1024RDB
 CONFIG_P1025
 CONFIG_P1025RDB
 CONFIG_P2020