blackfin: bf60x: Rename the DDR controller macro
Rename the DDR controller macro from DDR0 to DMC0 to avoid confustion for bf60x. Signed-off-by: Sonic Zhang <sonic.zhang@analog.com> Signed-off-by: Bob Liu <lliubbo@gmail.com>
This commit is contained in:
@@ -856,7 +856,7 @@ static inline int __init get_mem_size(void)
|
||||
ret *= 2;
|
||||
return ret;
|
||||
#elif defined(CONFIG_BF60x)
|
||||
u32 ddrctl = bfin_read_DDR0_CFG();
|
||||
u32 ddrctl = bfin_read_DMC0_CFG();
|
||||
int ret;
|
||||
switch (ddrctl & 0xf00) {
|
||||
case DEVSZ_64:
|
||||
|
Reference in New Issue
Block a user