projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33dac03
)
inka4x0: remove dead code
author
Wolfgang Denk
<wd@denx.de>
Fri, 25 Jan 2008 08:56:17 +0000
(09:56 +0100)
committer
Wolfgang Denk
<wd@denx.de>
Fri, 25 Jan 2008 08:56:17 +0000
(09:56 +0100)
Signed-off-by: Wolfgang Denk <wd@denx.de>
board/inka4x0/inka4x0.c
patch
|
blob
|
history
diff --git
a/board/inka4x0/inka4x0.c
b/board/inka4x0/inka4x0.c
index 5157f7d81dec188f89f3d439a62cbb1ac37ab152..46074e4649dacbc127dec224ab58fd821a104289 100644
(file)
--- a/
board/inka4x0/inka4x0.c
+++ b/
board/inka4x0/inka4x0.c
@@
-149,18
+149,8
@@
long int initdram (int board_type)
} else {
dramsize = 0;
}
-
- /* retrieve size of memory connected to SDRAM CS1 */
- dramsize2 = *(vu_long *)MPC5XXX_SDRAM_CS1CFG & 0xFF;
- if (dramsize2 >= 0x13) {
- dramsize2 = (1 << (dramsize2 - 0x13)) << 20;
- } else {
- dramsize2 = 0;
- }
-
#endif /* CFG_RAMBOOT */
-/* return dramsize + dramsize2; */
return dramsize;
}