aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2010-05-25 15:23:07 +0200
committerStefan Roese <sr@denx.de>2010-07-01 10:26:10 +0200
commit066003b2c5540bde3c29ac6f8a4fbde24dd0b2f0 (patch)
tree2b36d6c6acabfb81e9eebc721e04e7cc9bebe850 /arch/powerpc/include/asm
parentdb643773fcea431c9dcc7f2bdb3bc337d2b268b4 (diff)
downloadu-boot-linaro-stable-066003b2c5540bde3c29ac6f8a4fbde24dd0b2f0.tar.gz
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')
-rw-r--r--arch/powerpc/include/asm/ppc4xx-sdram.h5
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 92be514b4..66cf50902 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
*/