mpc83xx: Introduce ARCH_MPC836*
Replace CONFIG_MPC836* with proper CONFIG_ARCH_MPC836* Kconfig options. Signed-off-by: Mario Six <mario.six@gdsys.cc>
This commit is contained in:
@@ -169,7 +169,7 @@ static int mpc83xx_sdram_static_init(ofnode node, u32 cs, u32 mapaddr, u32 size)
|
||||
odt_rd_cfg = ofnode_read_u32_default(node, "odt_rd_cfg", 0);
|
||||
switch (odt_rd_cfg) {
|
||||
case ODT_RD_ONLY_OTHER_DIMM:
|
||||
if (!IS_ENABLED(CONFIG_MPC8360) &&
|
||||
if (!IS_ENABLED(CONFIG_ARCH_MPC8360) &&
|
||||
!IS_ENABLED(CONFIG_MPC837x)) {
|
||||
debug("%s: odt_rd_cfg value %d invalid.\n",
|
||||
ofnode_get_name(node), odt_rd_cfg);
|
||||
@@ -181,7 +181,7 @@ static int mpc83xx_sdram_static_init(ofnode node, u32 cs, u32 mapaddr, u32 size)
|
||||
case ODT_RD_ONLY_OTHER_CS:
|
||||
if (!IS_ENABLED(CONFIG_ARCH_MPC830X) &&
|
||||
!IS_ENABLED(CONFIG_ARCH_MPC831X) &&
|
||||
!IS_ENABLED(CONFIG_MPC8360) &&
|
||||
!IS_ENABLED(CONFIG_ARCH_MPC8360) &&
|
||||
!IS_ENABLED(CONFIG_MPC837x)) {
|
||||
debug("%s: odt_rd_cfg value %d invalid.\n",
|
||||
ofnode_get_name(node), odt_rd_cfg);
|
||||
@@ -200,7 +200,7 @@ static int mpc83xx_sdram_static_init(ofnode node, u32 cs, u32 mapaddr, u32 size)
|
||||
odt_wr_cfg = ofnode_read_u32_default(node, "odt_wr_cfg", 0);
|
||||
switch (odt_wr_cfg) {
|
||||
case ODT_WR_ONLY_OTHER_DIMM:
|
||||
if (!IS_ENABLED(CONFIG_MPC8360) &&
|
||||
if (!IS_ENABLED(CONFIG_ARCH_MPC8360) &&
|
||||
!IS_ENABLED(CONFIG_MPC837x)) {
|
||||
debug("%s: odt_wr_cfg value %d invalid.\n",
|
||||
ofnode_get_name(node), odt_wr_cfg);
|
||||
@@ -212,7 +212,7 @@ static int mpc83xx_sdram_static_init(ofnode node, u32 cs, u32 mapaddr, u32 size)
|
||||
case ODT_WR_ONLY_OTHER_CS:
|
||||
if (!IS_ENABLED(CONFIG_ARCH_MPC830X) &&
|
||||
!IS_ENABLED(CONFIG_ARCH_MPC831X) &&
|
||||
!IS_ENABLED(CONFIG_MPC8360) &&
|
||||
!IS_ENABLED(CONFIG_ARCH_MPC8360) &&
|
||||
!IS_ENABLED(CONFIG_MPC837x)) {
|
||||
debug("%s: odt_wr_cfg value %d invalid.\n",
|
||||
ofnode_get_name(node), odt_wr_cfg);
|
||||
|
||||
Reference in New Issue
Block a user