Skip to content
Snippets Groups Projects
Commit 98b74248 authored by Wolfgang Denk's avatar Wolfgang Denk
Browse files

inka4x0: remove dead code


Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
parent 33dac03b
No related branches found
No related tags found
No related merge requests found
...@@ -149,18 +149,8 @@ long int initdram (int board_type) ...@@ -149,18 +149,8 @@ long int initdram (int board_type)
} else { } else {
dramsize = 0; 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 */ #endif /* CFG_RAMBOOT */
/* return dramsize + dramsize2; */
return dramsize; return dramsize;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment