diff options
author | Wolfgang Denk <wd@denx.de> | 2008-01-25 09:56:17 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-01-25 09:56:17 +0100 |
commit | 98b742489c09780be6a832eeaa4e5eff824792bb (patch) | |
tree | 84404fa4ecb81d82765fc21879a6976c7e87fd4d /board | |
parent | 33dac03b1b5d61e4fed7bad445ba40b4c97feba0 (diff) | |
download | u-boot-imx-98b742489c09780be6a832eeaa4e5eff824792bb.zip u-boot-imx-98b742489c09780be6a832eeaa4e5eff824792bb.tar.gz u-boot-imx-98b742489c09780be6a832eeaa4e5eff824792bb.tar.bz2 |
inka4x0: remove dead code
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'board')
-rw-r--r-- | board/inka4x0/inka4x0.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/board/inka4x0/inka4x0.c b/board/inka4x0/inka4x0.c index 5157f7d..46074e4 100644 --- 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; } |