
11 May
2005
11 May
'05
8:31 p.m.
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