[U-Boot-Users] memory probe
Matej Kupljen
matej.kupljen at ultra.si
Thu May 12 10:15:36 CEST 2005
Hi
> > Then, in out dram_init function for our board, we again read the
> > DIP switch and decide what to report as DRAM size.
>
> No need to do this. If implemented correctly, U-Boot will auto-
> matically find out how big your RAM. This is what the RAM size
> detection code in common/memsize.c was made for. Just use it.
Yes, but you still need to read the DIP switch in the memsetup.S
to properly initialise SDRAM. You can use this code only to report
the memory size to U-Boot and the Linux.
BR,
Matej
More information about the U-Boot
mailing list