summaryrefslogtreecommitdiff
path: root/cpu/ppc4xx/denali_spd_ddr2.c
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2008-02-14 11:46:07 +0100
committerStefan Roese <sr@denx.de>2008-02-14 11:46:07 +0100
commitf90e69c634f0b57e88533ceb36dabfd5b6b4e55a (patch)
treeb959a336b118e054afec34b69a9bbe7021f56983 /cpu/ppc4xx/denali_spd_ddr2.c
parentfe891ecf4d187e9d11dde869ed4623af52b54451 (diff)
parentb7f6193e76651e1fd606e46eb11915b53cb6618b (diff)
downloadolio-uboot-2014.01-f90e69c634f0b57e88533ceb36dabfd5b6b4e55a.tar.xz
olio-uboot-2014.01-f90e69c634f0b57e88533ceb36dabfd5b6b4e55a.zip
Merge branch 'for-1.3.2'
Diffstat (limited to 'cpu/ppc4xx/denali_spd_ddr2.c')
-rw-r--r--cpu/ppc4xx/denali_spd_ddr2.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpu/ppc4xx/denali_spd_ddr2.c b/cpu/ppc4xx/denali_spd_ddr2.c
index 825bc2139..60f89c97f 100644
--- a/cpu/ppc4xx/denali_spd_ddr2.c
+++ b/cpu/ppc4xx/denali_spd_ddr2.c
@@ -3,7 +3,7 @@
* This SPD SDRAM detection code supports AMCC PPC44x CPUs with a Denali-core
* DDR2 controller, specifically the 440EPx/GRx.
*
- * (C) Copyright 2007
+ * (C) Copyright 2007-2008
* Larry Johnson, lrj@acm.org.
*
* Based primarily on cpu/ppc4xx/4xx_spd_ddr2.c, which is...
@@ -77,10 +77,10 @@
* memory.
*
* If at some time this restriction doesn't apply anymore, just define
- * CFG_ENABLE_SDRAM_CACHE in the board config file and this code should setup
+ * CONFIG_4xx_DCACHE in the board config file and this code should setup
* everything correctly.
*/
-#if defined(CFG_ENABLE_SDRAM_CACHE)
+#if defined(CONFIG_4xx_DCACHE)
#define MY_TLB_WORD2_I_ENABLE 0 /* enable caching on SDRAM */
#else
#define MY_TLB_WORD2_I_ENABLE TLB_WORD2_I_ENABLE /* disable caching on SDRAM */