diff options
author | Stefan Roese <sr@denx.de> | 2008-01-05 09:13:40 (GMT) |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2008-01-05 09:13:40 (GMT) |
commit | 6399b23d60300e91b4e724a622b6819660f6044f (patch) | |
tree | 661c39d5bcd0a14fec3f5be48ab5653186944276 /board/amcc | |
parent | 49db47b8ae6afff2b898be312948ff501357dc80 (diff) | |
parent | 5ba576c01602fd328800a427964c36a0a05c5dce (diff) | |
download | u-boot-6399b23d60300e91b4e724a622b6819660f6044f.tar.xz |
Merge branch 'katmai-ddr-gda'
Diffstat (limited to 'board/amcc')
-rw-r--r-- | board/amcc/katmai/katmai.c | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/board/amcc/katmai/katmai.c b/board/amcc/katmai/katmai.c index 25c9a22..e41caaf 100644 --- a/board/amcc/katmai/katmai.c +++ b/board/amcc/katmai/katmai.c @@ -1,5 +1,5 @@ /* - * (C) Copyright 2007 + * (C) Copyright 2007-2008 * Stefan Roese, DENX Software Engineering, sr@denx.de. * * See file CREDITS for list of people who contributed to this @@ -246,6 +246,18 @@ int checkboard (void) return 0; } +/* + * Override the default functions in cpu/ppc4xx/44x_spd_ddr2.c with + * board specific values. + */ +u32 ddr_wrdtr(u32 default_val) { + return (SDRAM_WRDTR_LLWP_1_CYC | SDRAM_WRDTR_WTR_180_DEG_ADV | 0x823); +} + +u32 ddr_clktr(u32 default_val) { + return (SDRAM_CLKTR_CLKP_90_DEG_ADV); +} + #if defined(CFG_DRAM_TEST) int testdram (void) { |