summaryrefslogtreecommitdiff
path: root/board/amcc/katmai
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-01-08 13:41:42 +0100
committerWolfgang Denk <wd@denx.de>2008-01-08 13:41:42 +0100
commit207f83f102b07cb186a2da0678c51ed954f1b431 (patch)
tree7a225a6e0d30cc5231a5a13aa6bd70ab505e9af7 /board/amcc/katmai
parent8b0c5c127690335758100c25eaec2b84db97c101 (diff)
parente05329516a13616b53240cd85b739217c2bf87f1 (diff)
downloadu-boot-imx-207f83f102b07cb186a2da0678c51ed954f1b431.zip
u-boot-imx-207f83f102b07cb186a2da0678c51ed954f1b431.tar.gz
u-boot-imx-207f83f102b07cb186a2da0678c51ed954f1b431.tar.bz2
Merge branch 'master' of git://www.denx.de/git/u-boot-ppc4xx
Diffstat (limited to 'board/amcc/katmai')
-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 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)
{