Convert CONFIG_SYS_83XX_DDR_USES_CS0 to Kconfig
This converts the following to Kconfig: CONFIG_SYS_83XX_DDR_USES_CS0 Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
4
README
4
README
@@ -2074,10 +2074,6 @@ Low Level (hardware related) configuration options:
|
|||||||
- CONFIG_FSL_DDR_BIST
|
- CONFIG_FSL_DDR_BIST
|
||||||
Enable built-in memory test for Freescale DDR controllers.
|
Enable built-in memory test for Freescale DDR controllers.
|
||||||
|
|
||||||
- CONFIG_SYS_83XX_DDR_USES_CS0
|
|
||||||
Only for 83xx systems. If specified, then DDR should
|
|
||||||
be configured using CS0 and CS1 instead of CS2 and CS3.
|
|
||||||
|
|
||||||
- CONFIG_RMII
|
- CONFIG_RMII
|
||||||
Enable RMII mode for all FECs.
|
Enable RMII mode for all FECs.
|
||||||
Note that this is a global option, we can't
|
Note that this is a global option, we can't
|
||||||
|
@@ -11,6 +11,11 @@ config E300
|
|||||||
config SYS_CPU
|
config SYS_CPU
|
||||||
default "mpc83xx"
|
default "mpc83xx"
|
||||||
|
|
||||||
|
config SYS_83XX_DDR_USES_CS0
|
||||||
|
bool
|
||||||
|
help
|
||||||
|
DDR should be configured using CS0 and CS1 instead of CS2 and CS3.
|
||||||
|
|
||||||
choice
|
choice
|
||||||
prompt "Target select"
|
prompt "Target select"
|
||||||
optional
|
optional
|
||||||
@@ -19,6 +24,7 @@ config TARGET_MPC837XERDB
|
|||||||
bool "Support MPC837XERDB"
|
bool "Support MPC837XERDB"
|
||||||
select ARCH_MPC837X
|
select ARCH_MPC837X
|
||||||
select BOARD_EARLY_INIT_F
|
select BOARD_EARLY_INIT_F
|
||||||
|
select SYS_83XX_DDR_USES_CS0
|
||||||
|
|
||||||
config TARGET_IDS8313
|
config TARGET_IDS8313
|
||||||
bool "Support ids8313"
|
bool "Support ids8313"
|
||||||
|
@@ -61,7 +61,6 @@
|
|||||||
*/
|
*/
|
||||||
#define CONFIG_SYS_SDRAM_BASE 0x00000000 /* DDR is system memory */
|
#define CONFIG_SYS_SDRAM_BASE 0x00000000 /* DDR is system memory */
|
||||||
#define CONFIG_SYS_DDR_SDRAM_CLK_CNTL 0x03000000
|
#define CONFIG_SYS_DDR_SDRAM_CLK_CNTL 0x03000000
|
||||||
#define CONFIG_SYS_83XX_DDR_USES_CS0
|
|
||||||
|
|
||||||
#define CONFIG_SYS_DDRCDR_VALUE (DDRCDR_DHC_EN | DDRCDR_ODT | DDRCDR_Q_DRN)
|
#define CONFIG_SYS_DDRCDR_VALUE (DDRCDR_DHC_EN | DDRCDR_ODT | DDRCDR_Q_DRN)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user