No subject
Thu Oct 11 07:38:59 CEST 2012
fine if it's used memory mapped, however it makes it unsuitable for
passing values in the SPL. So at first glance I would extend
config_ddr() with an additional register value, because guessing the
ddr type from the values of the other parameters is, in addition
to being hackish, not guaranteed to work with every weired ram configuration.
However might it be possible, that the second value of config_ddr()
should not hold the value for config_io_ctrl(), but the value of my
desired ddrctrl->ddrioctrl?
The wiki [1] from TI says that the first should _always_ be 0x18B,
whereas the second needs to be set depending on the mem type.
We are talking about a set of registers named DDR_*_IOCTRL and a
single register called DDR_IO_CTRL, so easy to mix up.
Ragards,
Markus
[1] http://processors.wiki.ti.com/index.php/AM335x_EMIF_Configuration_tips
More information about the U-Boot
mailing list