projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9db144f
)
Blackfin arch: check the EXTBANKS field of the DDRCTL1 register to see if we are...
author
Mike Frysinger
<vapier.adi@gmail.com>
Sat, 26 Jul 2008 10:02:05 +0000
(18:02 +0800)
committer
Bryan Wu
<cooloney@kernel.org>
Sat, 26 Jul 2008 10:02:05 +0000
(18:02 +0800)
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
arch/blackfin/kernel/setup.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/blackfin/kernel/setup.c
b/arch/blackfin/kernel/setup.c
index 8671d1db1f994408fb1467a43274be5dc3d618e4..102a9db9855970fb66e8ea6a60666a152dedffb9 100644
(file)
--- a/
arch/blackfin/kernel/setup.c
+++ b/
arch/blackfin/kernel/setup.c
@@
-700,6
+700,8
@@
static inline int __init get_mem_size(void)
case DEVWD_8: ret *= 2;
case DEVWD_16: break;
}
+ if ((ddrctl & 0xc000) == 0x4000)
+ ret *= 2;
return ret;
#endif
BUG();