mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 07:04:28 +00:00
Convert CONFIG_SYS_FSL_DDR_INTLV_256B to Kconfig
This converts the following to Kconfig: CONFIG_SYS_FSL_DDR_INTLV_256B Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
7da6a9e7df
commit
78475d2572
26 changed files with 29 additions and 8 deletions
5
README
5
README
|
@ -413,11 +413,6 @@ The following options need to be configured:
|
|||
same as CONFIG_SYS_DDR_SDRAM_BASE for all Power SoCs. But
|
||||
it could be different for ARM SoCs.
|
||||
|
||||
CONFIG_SYS_FSL_DDR_INTLV_256B
|
||||
DDR controller interleaving on 256-byte. This is a special
|
||||
interleaving mode, handled by Dickens for Freescale layerscape
|
||||
SoCs with ARM core.
|
||||
|
||||
CONFIG_SYS_FSL_DDR_MAIN_NUM_CTRLS
|
||||
Number of controllers used as main memory.
|
||||
|
||||
|
|
|
@ -56,6 +56,7 @@ CONFIG_DYNAMIC_DDR_CLK_FREQ=y
|
|||
CONFIG_DIMM_SLOTS_PER_CTLR=2
|
||||
CONFIG_DDR_ECC=y
|
||||
CONFIG_ECC_INIT_VIA_DDRCONTROLLER=y
|
||||
CONFIG_SYS_FSL_DDR_INTLV_256B=y
|
||||
CONFIG_SYS_I2C_LEGACY=y
|
||||
CONFIG_SYS_I2C_EEPROM_ADDR=0x57
|
||||
CONFIG_FSL_ESDHC=y
|
||||
|
|
|
@ -59,6 +59,7 @@ CONFIG_DYNAMIC_DDR_CLK_FREQ=y
|
|||
CONFIG_DIMM_SLOTS_PER_CTLR=2
|
||||
CONFIG_DDR_ECC=y
|
||||
CONFIG_ECC_INIT_VIA_DDRCONTROLLER=y
|
||||
CONFIG_SYS_FSL_DDR_INTLV_256B=y
|
||||
CONFIG_SYS_I2C_LEGACY=y
|
||||
CONFIG_SYS_I2C_EEPROM_ADDR=0x57
|
||||
CONFIG_FSL_ESDHC=y
|
||||
|
|
|
@ -79,6 +79,7 @@ CONFIG_DYNAMIC_DDR_CLK_FREQ=y
|
|||
CONFIG_DIMM_SLOTS_PER_CTLR=2
|
||||
CONFIG_DDR_ECC=y
|
||||
CONFIG_ECC_INIT_VIA_DDRCONTROLLER=y
|
||||
CONFIG_SYS_FSL_DDR_INTLV_256B=y
|
||||
CONFIG_SYS_I2C_LEGACY=y
|
||||
CONFIG_SYS_I2C_EARLY_INIT=y
|
||||
CONFIG_SYS_I2C_EEPROM_ADDR=0x57
|
||||
|
|
|
@ -60,6 +60,7 @@ CONFIG_DYNAMIC_DDR_CLK_FREQ=y
|
|||
CONFIG_DIMM_SLOTS_PER_CTLR=2
|
||||
CONFIG_DDR_ECC=y
|
||||
CONFIG_ECC_INIT_VIA_DDRCONTROLLER=y
|
||||
CONFIG_SYS_FSL_DDR_INTLV_256B=y
|
||||
CONFIG_SYS_I2C_LEGACY=y
|
||||
CONFIG_SYS_I2C_EARLY_INIT=y
|
||||
CONFIG_SYS_I2C_EEPROM_ADDR=0x57
|
||||
|
|
|
@ -74,6 +74,7 @@ CONFIG_DYNAMIC_DDR_CLK_FREQ=y
|
|||
CONFIG_DIMM_SLOTS_PER_CTLR=2
|
||||
CONFIG_DDR_ECC=y
|
||||
CONFIG_ECC_INIT_VIA_DDRCONTROLLER=y
|
||||
CONFIG_SYS_FSL_DDR_INTLV_256B=y
|
||||
CONFIG_SYS_I2C_LEGACY=y
|
||||
CONFIG_SYS_I2C_EARLY_INIT=y
|
||||
CONFIG_SYS_I2C_EEPROM_ADDR=0x57
|
||||
|
|
|
@ -60,6 +60,7 @@ CONFIG_DDR_CLK_FREQ=133333333
|
|||
CONFIG_DIMM_SLOTS_PER_CTLR=2
|
||||
CONFIG_DDR_ECC=y
|
||||
CONFIG_ECC_INIT_VIA_DDRCONTROLLER=y
|
||||
CONFIG_SYS_FSL_DDR_INTLV_256B=y
|
||||
CONFIG_SYS_I2C_LEGACY=y
|
||||
CONFIG_SYS_I2C_EEPROM_ADDR=0x57
|
||||
CONFIG_FSL_ESDHC=y
|
||||
|
|
|
@ -63,6 +63,7 @@ CONFIG_DDR_CLK_FREQ=133333333
|
|||
CONFIG_DIMM_SLOTS_PER_CTLR=2
|
||||
CONFIG_DDR_ECC=y
|
||||
CONFIG_ECC_INIT_VIA_DDRCONTROLLER=y
|
||||
CONFIG_SYS_FSL_DDR_INTLV_256B=y
|
||||
CONFIG_SYS_I2C_LEGACY=y
|
||||
CONFIG_SYS_I2C_EEPROM_ADDR=0x57
|
||||
CONFIG_FSL_ESDHC=y
|
||||
|
|
|
@ -83,6 +83,7 @@ CONFIG_DDR_CLK_FREQ=133333333
|
|||
CONFIG_DIMM_SLOTS_PER_CTLR=2
|
||||
CONFIG_DDR_ECC=y
|
||||
CONFIG_ECC_INIT_VIA_DDRCONTROLLER=y
|
||||
CONFIG_SYS_FSL_DDR_INTLV_256B=y
|
||||
CONFIG_SYS_I2C_LEGACY=y
|
||||
CONFIG_SYS_I2C_EEPROM_ADDR=0x57
|
||||
CONFIG_FSL_ESDHC=y
|
||||
|
|
|
@ -61,6 +61,7 @@ CONFIG_DDR_CLK_FREQ=133333333
|
|||
CONFIG_DIMM_SLOTS_PER_CTLR=2
|
||||
CONFIG_DDR_ECC=y
|
||||
CONFIG_ECC_INIT_VIA_DDRCONTROLLER=y
|
||||
CONFIG_SYS_FSL_DDR_INTLV_256B=y
|
||||
CONFIG_SYS_I2C_LEGACY=y
|
||||
CONFIG_SYS_I2C_EARLY_INIT=y
|
||||
CONFIG_SYS_I2C_EEPROM_ADDR=0x57
|
||||
|
|
|
@ -66,6 +66,7 @@ CONFIG_DYNAMIC_DDR_CLK_FREQ=y
|
|||
CONFIG_DIMM_SLOTS_PER_CTLR=2
|
||||
CONFIG_DDR_ECC=y
|
||||
CONFIG_ECC_INIT_VIA_DDRCONTROLLER=y
|
||||
CONFIG_SYS_FSL_DDR_INTLV_256B=y
|
||||
CONFIG_MPC8XXX_GPIO=y
|
||||
CONFIG_DM_I2C=y
|
||||
CONFIG_I2C_SET_DEFAULT_BUS_NUM=y
|
||||
|
|
|
@ -56,6 +56,7 @@ CONFIG_DDR_CLK_FREQ=133333333
|
|||
CONFIG_DIMM_SLOTS_PER_CTLR=2
|
||||
CONFIG_DDR_ECC=y
|
||||
CONFIG_ECC_INIT_VIA_DDRCONTROLLER=y
|
||||
CONFIG_SYS_FSL_DDR_INTLV_256B=y
|
||||
CONFIG_MPC8XXX_GPIO=y
|
||||
CONFIG_SYS_I2C_LEGACY=y
|
||||
CONFIG_SYS_I2C_EARLY_INIT=y
|
||||
|
|
|
@ -63,6 +63,7 @@ CONFIG_DDR_CLK_FREQ=133333333
|
|||
CONFIG_DIMM_SLOTS_PER_CTLR=2
|
||||
CONFIG_DDR_ECC=y
|
||||
CONFIG_ECC_INIT_VIA_DDRCONTROLLER=y
|
||||
CONFIG_SYS_FSL_DDR_INTLV_256B=y
|
||||
CONFIG_MPC8XXX_GPIO=y
|
||||
CONFIG_SYS_I2C_LEGACY=y
|
||||
CONFIG_SYS_I2C_EARLY_INIT=y
|
||||
|
|
|
@ -61,6 +61,7 @@ CONFIG_DDR_CLK_FREQ=133333333
|
|||
CONFIG_DIMM_SLOTS_PER_CTLR=2
|
||||
CONFIG_DDR_ECC=y
|
||||
CONFIG_ECC_INIT_VIA_DDRCONTROLLER=y
|
||||
CONFIG_SYS_FSL_DDR_INTLV_256B=y
|
||||
CONFIG_MPC8XXX_GPIO=y
|
||||
CONFIG_DM_I2C=y
|
||||
CONFIG_I2C_SET_DEFAULT_BUS_NUM=y
|
||||
|
|
|
@ -68,6 +68,7 @@ CONFIG_DDR_CLK_FREQ=133333333
|
|||
CONFIG_DIMM_SLOTS_PER_CTLR=2
|
||||
CONFIG_DDR_ECC=y
|
||||
CONFIG_ECC_INIT_VIA_DDRCONTROLLER=y
|
||||
CONFIG_SYS_FSL_DDR_INTLV_256B=y
|
||||
CONFIG_MPC8XXX_GPIO=y
|
||||
CONFIG_DM_I2C=y
|
||||
CONFIG_I2C_SET_DEFAULT_BUS_NUM=y
|
||||
|
|
|
@ -61,6 +61,7 @@ CONFIG_DYNAMIC_DDR_CLK_FREQ=y
|
|||
CONFIG_DIMM_SLOTS_PER_CTLR=2
|
||||
CONFIG_DDR_ECC=y
|
||||
CONFIG_ECC_INIT_VIA_DDRCONTROLLER=y
|
||||
CONFIG_SYS_FSL_DDR_INTLV_256B=y
|
||||
CONFIG_MPC8XXX_GPIO=y
|
||||
CONFIG_DM_I2C=y
|
||||
CONFIG_I2C_SET_DEFAULT_BUS_NUM=y
|
||||
|
|
|
@ -68,6 +68,7 @@ CONFIG_DYNAMIC_DDR_CLK_FREQ=y
|
|||
CONFIG_DIMM_SLOTS_PER_CTLR=2
|
||||
CONFIG_DDR_ECC=y
|
||||
CONFIG_ECC_INIT_VIA_DDRCONTROLLER=y
|
||||
CONFIG_SYS_FSL_DDR_INTLV_256B=y
|
||||
CONFIG_MPC8XXX_GPIO=y
|
||||
CONFIG_DM_I2C=y
|
||||
CONFIG_I2C_SET_DEFAULT_BUS_NUM=y
|
||||
|
|
|
@ -59,6 +59,7 @@ CONFIG_DYNAMIC_DDR_CLK_FREQ=y
|
|||
CONFIG_DIMM_SLOTS_PER_CTLR=2
|
||||
CONFIG_DDR_ECC=y
|
||||
CONFIG_ECC_INIT_VIA_DDRCONTROLLER=y
|
||||
CONFIG_SYS_FSL_DDR_INTLV_256B=y
|
||||
CONFIG_MPC8XXX_GPIO=y
|
||||
CONFIG_DM_I2C=y
|
||||
CONFIG_I2C_SET_DEFAULT_BUS_NUM=y
|
||||
|
|
|
@ -67,6 +67,7 @@ CONFIG_DYNAMIC_DDR_CLK_FREQ=y
|
|||
CONFIG_DIMM_SLOTS_PER_CTLR=2
|
||||
CONFIG_DDR_ECC=y
|
||||
CONFIG_ECC_INIT_VIA_DDRCONTROLLER=y
|
||||
CONFIG_SYS_FSL_DDR_INTLV_256B=y
|
||||
CONFIG_MPC8XXX_GPIO=y
|
||||
CONFIG_DM_I2C=y
|
||||
CONFIG_I2C_SET_DEFAULT_BUS_NUM=y
|
||||
|
|
|
@ -67,6 +67,7 @@ CONFIG_DYNAMIC_DDR_CLK_FREQ=y
|
|||
CONFIG_DIMM_SLOTS_PER_CTLR=2
|
||||
CONFIG_DDR_ECC=y
|
||||
CONFIG_ECC_INIT_VIA_DDRCONTROLLER=y
|
||||
CONFIG_SYS_FSL_DDR_INTLV_256B=y
|
||||
CONFIG_MPC8XXX_GPIO=y
|
||||
CONFIG_DM_I2C=y
|
||||
CONFIG_I2C_SET_DEFAULT_BUS_NUM=y
|
||||
|
|
|
@ -63,6 +63,7 @@ CONFIG_DYNAMIC_DDR_CLK_FREQ=y
|
|||
CONFIG_DIMM_SLOTS_PER_CTLR=2
|
||||
CONFIG_DDR_ECC=y
|
||||
CONFIG_ECC_INIT_VIA_DDRCONTROLLER=y
|
||||
CONFIG_SYS_FSL_DDR_INTLV_256B=y
|
||||
CONFIG_MPC8XXX_GPIO=y
|
||||
CONFIG_DM_I2C=y
|
||||
CONFIG_I2C_SET_DEFAULT_BUS_NUM=y
|
||||
|
|
|
@ -70,6 +70,7 @@ CONFIG_DYNAMIC_DDR_CLK_FREQ=y
|
|||
CONFIG_DIMM_SLOTS_PER_CTLR=2
|
||||
CONFIG_DDR_ECC=y
|
||||
CONFIG_ECC_INIT_VIA_DDRCONTROLLER=y
|
||||
CONFIG_SYS_FSL_DDR_INTLV_256B=y
|
||||
CONFIG_MPC8XXX_GPIO=y
|
||||
CONFIG_DM_I2C=y
|
||||
CONFIG_I2C_SET_DEFAULT_BUS_NUM=y
|
||||
|
|
|
@ -71,6 +71,7 @@ CONFIG_DYNAMIC_DDR_CLK_FREQ=y
|
|||
CONFIG_DIMM_SLOTS_PER_CTLR=2
|
||||
CONFIG_DDR_ECC=y
|
||||
CONFIG_ECC_INIT_VIA_DDRCONTROLLER=y
|
||||
CONFIG_SYS_FSL_DDR_INTLV_256B=y
|
||||
CONFIG_MPC8XXX_GPIO=y
|
||||
CONFIG_DM_I2C=y
|
||||
CONFIG_I2C_SET_DEFAULT_BUS_NUM=y
|
||||
|
|
|
@ -182,6 +182,13 @@ config SYS_DDR_RAW_TIMING
|
|||
timing parameters are extracted from datasheet and hard-coded into
|
||||
header files or board specific files.
|
||||
|
||||
config SYS_FSL_DDR_INTLV_256B
|
||||
bool "Enforce 256-byte interleave"
|
||||
help
|
||||
DDR controller interleaving on 256-byte. This is a special
|
||||
interleaving mode, handled by Dickens for Freescale layerscape SoCs
|
||||
with ARM core.
|
||||
|
||||
endif
|
||||
|
||||
menu "PowerPC / M68K initial memory controller definitions (FLASH, SDRAM, etc)"
|
||||
|
|
|
@ -16,8 +16,6 @@
|
|||
|
||||
/* Link Definitions */
|
||||
|
||||
#define CONFIG_SYS_FSL_DDR_INTLV_256B /* force 256 byte interleaving */
|
||||
|
||||
#define CONFIG_VERY_BIG_RAM
|
||||
#define CONFIG_SYS_DDR_SDRAM_BASE 0x80000000UL
|
||||
#define CONFIG_SYS_FSL_DDR_SDRAM_BASE_PHY 0
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
#define CONFIG_SYS_FLASH_BASE 0x20000000
|
||||
|
||||
/* DDR */
|
||||
#define CONFIG_SYS_FSL_DDR_INTLV_256B /* force 256 byte interleaving */
|
||||
#define CONFIG_VERY_BIG_RAM
|
||||
#define CONFIG_SYS_DDR_SDRAM_BASE 0x80000000UL
|
||||
#define CONFIG_SYS_FSL_DDR_SDRAM_BASE_PHY 0
|
||||
|
|
Loading…
Reference in a new issue