mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-16 01:38:22 +00:00
c645012aef
The criteria of the AMCC SDRAM Controller DDR autocalibration U-Boot code is to pick the largest passing write/read/compare window that also has the smallest SDRAM_RDCC.[RDSS] Read Sample Cycle Select value. On some Kilauea boards the DDR autocalibration algorithm can find a large passing write/read/compare window with a small SDRAM_RDCC.[RDSS] aggressive value of Read Sample Cycle Select value "T1 Sample". This SDRAM_RDCC.[RDSS] Read Sample Cycle Select value of "T1 Sample" proves to be to aggressive when later on U-Boot relocates into DDR memory and executes. The memory traces on the Kilauea board are short so on some Kilauea boards the SDRAM_RDCC.[RDSS] Read Sample Cycle Select value of "T1 Sample" shows up as a potentially valid value for the DDR autocalibratiion algorithm. The fix is to define a weak default function which provides the minimum SDRAM_RDCC.[RDSS] Read Sample Cycle Select value to accept for DDR autocalibration. The default will be the "T2 Sample" value. A board developer who has a well defined board and chooses to be more aggressive can always provide their own board specific string function with the more aggressive "T1 Sample" value or stick with the default minimum SDRAM_RDCC.[RDSS] value of "T2". Also put in a autocalibration loop fix for case where current write/read/compare passing window size is the same as a prior window size, then in this case choose the write/read/compare result that has the associated smallest RDCC T-Sample value. Signed-off-by: Adam Graham <agraham@amcc.com> Signed-off-by: Stefan Roese <sr@denx.de> |
||
---|---|---|
.. | ||
4xx_pci.h | ||
4xx_pcie.h | ||
5xx_immap.h | ||
8xx_immap.h | ||
atomic.h | ||
bitops.h | ||
byteorder.h | ||
cache.h | ||
config.h | ||
cpm_85xx.h | ||
cpm_8260.h | ||
e300.h | ||
errno.h | ||
fsl_ddr_dimm_params.h | ||
fsl_ddr_sdram.h | ||
fsl_i2c.h | ||
fsl_law.h | ||
fsl_lbc.h | ||
fsl_serdes.h | ||
global_data.h | ||
gpio.h | ||
immap_83xx.h | ||
immap_85xx.h | ||
immap_86xx.h | ||
immap_512x.h | ||
immap_8220.h | ||
immap_8260.h | ||
immap_fsl_pci.h | ||
immap_qe.h | ||
interrupt.h | ||
io.h | ||
iopin_8xx.h | ||
iopin_85xx.h | ||
iopin_8260.h | ||
m8260_pci.h | ||
mc146818rtc.h | ||
mmu.h | ||
mpc8xxx_spi.h | ||
mpc8349_pci.h | ||
pci_io.h | ||
pnp.h | ||
posix_types.h | ||
ppc4xx-ebc.h | ||
ppc4xx-isram.h | ||
ppc4xx-sdram.h | ||
ppc4xx-uic.h | ||
processor.h | ||
ptrace.h | ||
residual.h | ||
sigcontext.h | ||
signal.h | ||
status_led.h | ||
string.h | ||
types.h | ||
u-boot.h | ||
xilinx_irq.h |