diff options
author | Stefan Roese <sr@denx.de> | 2010-05-25 15:23:07 +0200 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2010-07-01 10:26:10 +0200 |
commit | 066003b2c5540bde3c29ac6f8a4fbde24dd0b2f0 (patch) | |
tree | 2b36d6c6acabfb81e9eebc721e04e7cc9bebe850 /arch/powerpc/include/asm/ppc4xx-sdram.h | |
parent | db643773fcea431c9dcc7f2bdb3bc337d2b268b4 (diff) | |
download | u-boot-imx-066003b2c5540bde3c29ac6f8a4fbde24dd0b2f0.zip u-boot-imx-066003b2c5540bde3c29ac6f8a4fbde24dd0b2f0.tar.gz u-boot-imx-066003b2c5540bde3c29ac6f8a4fbde24dd0b2f0.tar.bz2 |
ppc4xx: Enable overwriting of default scan window for IBM DDR2 controller
This patch makes it possible to overwrite the default auto-calibration
scan window (SDRAM_WRDTR.[WDTR], SDRAM_CLKTR.[CKTR] values) with
board specific values. The parameters of the weak default function are
corrected as well. This way we don't need the casts any more.
This feature will be used by an upcoming PPC460GT board port.
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'arch/powerpc/include/asm/ppc4xx-sdram.h')
-rw-r--r-- | arch/powerpc/include/asm/ppc4xx-sdram.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/ppc4xx-sdram.h b/arch/powerpc/include/asm/ppc4xx-sdram.h index 92be514..66cf509 100644 --- a/arch/powerpc/include/asm/ppc4xx-sdram.h +++ b/arch/powerpc/include/asm/ppc4xx-sdram.h @@ -1394,6 +1394,11 @@ #endif /* CONFIG_SDRAM_PPC4xx_DENALI_DDR2 */ #ifndef __ASSEMBLY__ +struct sdram_timing { + u32 wrdtr; + u32 clktr; +}; + /* * Prototypes */ |