summaryrefslogtreecommitdiffstats
path: root/board
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2008-01-05 10:13:40 +0100
committerStefan Roese <sr@denx.de>2008-01-05 10:13:40 +0100
commit6399b23d60300e91b4e724a622b6819660f6044f (patch)
tree661c39d5bcd0a14fec3f5be48ab5653186944276 /board
parent49db47b8ae6afff2b898be312948ff501357dc80 (diff)
parent5ba576c01602fd328800a427964c36a0a05c5dce (diff)
downloadtalos-obmc-uboot-6399b23d60300e91b4e724a622b6819660f6044f.tar.gz
talos-obmc-uboot-6399b23d60300e91b4e724a622b6819660f6044f.zip
Merge branch 'katmai-ddr-gda'
Diffstat (limited to 'board')
-rw-r--r--board/amcc/katmai/katmai.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/board/amcc/katmai/katmai.c b/board/amcc/katmai/katmai.c
index 25c9a22fea..e41caaf344 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)
{
OpenPOWER on IntegriCloud