[U-Boot-Users] memory probe

Wolfgang Denk
2005-05-12T09:43:25Z

In message <1115888767.9698.6.camel@orionlinux.starfleet.com> you wrote:
>
> But how can you determine the number of Column/Row address bits and the
> number of internal SDRAM banks?

Just try it out :-)

See for example function initdram() in "board/tqm8xx/tqm8xx.c" - here
we assume to have a maximum of 2 banks of SRAM, and try out both
banks both with 8, 9 and 10 columns each.

Of course we assume that you know which chips and how many banks are
theoretically possible on your board.

Best regards,

Wolfgang Denk

--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Where there's no emotion, there's no motive for violence.
-- Spock, "Dagger of the Mind", stardate 2715.1