Skip to content

Commit 98b7424

Browse files
committed
inka4x0: remove dead code
Signed-off-by: Wolfgang Denk <[email protected]>
1 parent 33dac03 commit 98b7424

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

board/inka4x0/inka4x0.c

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -149,18 +149,8 @@ long int initdram (int board_type)
149149
} else {
150150
dramsize = 0;
151151
}
152-
153-
/* retrieve size of memory connected to SDRAM CS1 */
154-
dramsize2 = *(vu_long *)MPC5XXX_SDRAM_CS1CFG & 0xFF;
155-
if (dramsize2 >= 0x13) {
156-
dramsize2 = (1 << (dramsize2 - 0x13)) << 20;
157-
} else {
158-
dramsize2 = 0;
159-
}
160-
161152
#endif /* CFG_RAMBOOT */
162153

163-
/* return dramsize + dramsize2; */
164154
return dramsize;
165155
}
166156

0 commit comments

Comments
 (0)