Skip to contentSkip to conversation

ppc4xx: Add CONFIG_4xx_DCACHE compile switch to Denali-core SPD code

PATCH New Larry Johnson 2 participants 2 messages Jan 22, 2008 – Feb 14, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ppc4xx: Add CONFIG_4xx_DCACHE compile switch to Denali-core SPD code

---
 cpu/ppc4xx/denali_spd_ddr2.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
cpu/ppc4xx/denali_spd_ddr2.c +3 -3
index 825bc21..60f89c9 100644
@@ -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 at 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 */
Signature · 1 line
1.5.2.5
#1 lore raw

PATCH 1/1 ppc4xx: Add CONFIG_4xx_DCACHE compile switch to Denali-core SPD code

Quoted 1 line · Larry Johnson

Added to for-1.3.2 branch. Thanks.

Best regards,
Stefan

=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================