[U-Boot-Users] memory probe

Matej Kupljen matej.kupljen at ultra.si
Wed May 11 20:31:41 CEST 2005


Hi

> what if we want same image to work on 2 different memory configuration
> hardware ?

We had such board. One with 32MB and other with 64MB of SDRAM.
We used DIP switches, which were read early in a U-Boot, in
memsetup.S. On the position of this DIP switch we then decided
which path in the mesetup.S to take.
Then, in out dram_init function for our board, we again read the
DIP switch and decide what to report as DRAM size.

BR,
Matej





More information about the U-Boot mailing list