mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-24 04:34:22 +08:00
powerpc: P1024RDB: Separate from P1_P2_RDB_PC in Kconfig
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>
This commit is contained in:
parent
da439db35a
commit
4eedabfe93
@ -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
|
||||
|
@ -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"
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -118,7 +118,7 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_P1024RDB)
|
||||
#if defined(CONFIG_TARGET_P1024RDB)
|
||||
#define CONFIG_BOARDNAME "P1024RDB"
|
||||
#define CONFIG_NAND_FSL_ELBC
|
||||
#define CONFIG_P1024
|
||||
|
@ -3386,7 +3386,6 @@ CONFIG_OVERWRITE_ETHADDR_ONCE
|
||||
CONFIG_P1020
|
||||
CONFIG_P1021
|
||||
CONFIG_P1024
|
||||
CONFIG_P1024RDB
|
||||
CONFIG_P1025
|
||||
CONFIG_P1025RDB
|
||||
CONFIG_P2020
|
||||
|
Loading…
Reference in New Issue
Block a user