diff options
Diffstat (limited to 'arch/blackfin/kernel/setup.c')
-rw-r--r-- | arch/blackfin/kernel/setup.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/blackfin/kernel/setup.c b/arch/blackfin/kernel/setup.c index 8671d1db1f99..102a9db98559 100644 --- a/arch/blackfin/kernel/setup.c +++ b/arch/blackfin/kernel/setup.c | |||
@@ -700,6 +700,8 @@ static inline int __init get_mem_size(void) | |||
700 | case DEVWD_8: ret *= 2; | 700 | case DEVWD_8: ret *= 2; |
701 | case DEVWD_16: break; | 701 | case DEVWD_16: break; |
702 | } | 702 | } |
703 | if ((ddrctl & 0xc000) == 0x4000) | ||
704 | ret *= 2; | ||
703 | return ret; | 705 | return ret; |
704 | #endif | 706 | #endif |
705 | BUG(); | 707 | BUG(); |