Skip to content

Commit

Permalink
inka4x0: remove dead code
Browse files Browse the repository at this point in the history
Signed-off-by: Wolfgang Denk <[email protected]>
  • Loading branch information
wdenx committed Jan 25, 2008
1 parent 33dac03 commit 98b7424
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions board/inka4x0/inka4x0.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 98b7424

Please sign in to comment.