mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-17 22:49:02 +00:00
Convert CONFIG_DP_DDR_DIMM_SLOTS_PER_CTLR to Kconfig
This converts the following to Kconfig: CONFIG_DP_DDR_DIMM_SLOTS_PER_CTLR Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
b68ba0e0eb
commit
1f7e2fc324
3 changed files with 5 additions and 6 deletions
|
@ -511,6 +511,11 @@ config DP_DDR_CTRL
|
||||||
depends on SYS_FSL_HAS_DP_DDR
|
depends on SYS_FSL_HAS_DP_DDR
|
||||||
default 2 if ARCH_LS2080A
|
default 2 if ARCH_LS2080A
|
||||||
|
|
||||||
|
config DP_DDR_DIMM_SLOTS_PER_CTLR
|
||||||
|
int
|
||||||
|
depends on SYS_FSL_HAS_DP_DDR
|
||||||
|
default 1 if ARCH_LS2080A
|
||||||
|
|
||||||
config DP_DDR_NUM_CTRLS
|
config DP_DDR_NUM_CTRLS
|
||||||
int
|
int
|
||||||
depends on SYS_FSL_HAS_DP_DDR
|
depends on SYS_FSL_HAS_DP_DDR
|
||||||
|
|
|
@ -25,9 +25,6 @@
|
||||||
#define SPD_EEPROM_ADDRESS6 0x56 /* dummy address */
|
#define SPD_EEPROM_ADDRESS6 0x56 /* dummy address */
|
||||||
#define SPD_EEPROM_ADDRESS SPD_EEPROM_ADDRESS1
|
#define SPD_EEPROM_ADDRESS SPD_EEPROM_ADDRESS1
|
||||||
#define CONFIG_SYS_SPD_BUS_NUM 0 /* SPD on I2C bus 0 */
|
#define CONFIG_SYS_SPD_BUS_NUM 0 /* SPD on I2C bus 0 */
|
||||||
#ifdef CONFIG_SYS_FSL_HAS_DP_DDR
|
|
||||||
#define CONFIG_DP_DDR_DIMM_SLOTS_PER_CTLR 1
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define CONFIG_SYS_NOR0_CSPR_EXT (0x0)
|
#define CONFIG_SYS_NOR0_CSPR_EXT (0x0)
|
||||||
#define CONFIG_SYS_NOR_AMASK IFC_AMASK(128*1024*1024)
|
#define CONFIG_SYS_NOR_AMASK IFC_AMASK(128*1024*1024)
|
||||||
|
|
|
@ -30,9 +30,6 @@
|
||||||
#define SPD_EEPROM_ADDRESS6 0x56 /* dummy address */
|
#define SPD_EEPROM_ADDRESS6 0x56 /* dummy address */
|
||||||
#define SPD_EEPROM_ADDRESS SPD_EEPROM_ADDRESS1
|
#define SPD_EEPROM_ADDRESS SPD_EEPROM_ADDRESS1
|
||||||
#define CONFIG_SYS_SPD_BUS_NUM 0 /* SPD on I2C bus 0 */
|
#define CONFIG_SYS_SPD_BUS_NUM 0 /* SPD on I2C bus 0 */
|
||||||
#ifdef CONFIG_SYS_FSL_HAS_DP_DDR
|
|
||||||
#define CONFIG_DP_DDR_DIMM_SLOTS_PER_CTLR 1
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if !defined(CONFIG_FSL_QSPI) || defined(CONFIG_TFABOOT)
|
#if !defined(CONFIG_FSL_QSPI) || defined(CONFIG_TFABOOT)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue