Patchwork kconfig dcache options

login
register
about
Submitter Patrick Georgi
Date 2009-08-27 08:57:39
Message ID <1251363459.12206.14.camel@tetris>
Download mbox | patch
Permalink /patch/204/
State Accepted
Headers show

Comments

Patrick Georgi - 2009-08-27 08:57:39
Hi,

attached patch cleans up some DCACHE related options.
in amd/serengeti_cheetah there were duplicates, and USE_DCACHE_RAM is a
boolean value, so make it so.


Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de>
ron minnich - 2009-08-27 12:03:24
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
Uwe Hermann - 2009-08-28 12:50:16
On Thu, Aug 27, 2009 at 05:03:24AM -0700, ron minnich wrote:
> Acked-by: Ronald G. Minnich <rminnich@gmail.com>

r4596


Uwe.

Patch

Index: src/cpu/Kconfig
===================================================================
--- src/cpu/Kconfig	(Revision 4591)
+++ src/cpu/Kconfig	(Arbeitskopie)
@@ -5,6 +5,10 @@ 
 source src/cpu/x86/Kconfig
 source src/cpu/ppc/Kconfig
 
+config USE_DCACHE_RAM
+	bool
+	default n
+
 config DCACHE_RAM_BASE
 	hex
 	default 0xffdf8000 if CPU_INTEL_CORE
Index: src/mainboard/amd/serengeti_cheetah/Kconfig
===================================================================
--- src/mainboard/amd/serengeti_cheetah/Kconfig	(Revision 4591)
+++ src/mainboard/amd/serengeti_cheetah/Kconfig	(Arbeitskopie)
@@ -14,6 +14,7 @@ 
 	select SUPERIO_WINBOND_W83627HF
 	select HAVE_PIRQ_TABLE
 	select USE_PRINTK_IN_CAR
+	select USE_DCACHE_RAM
 	help
 	 AMD Serengeti Cheetah mainboard.
 endchoice
@@ -23,11 +24,6 @@ 
 	default amd/serengeti_cheetah
 	depends on BOARD_AMD_SERENGETI_CHEETAH
 
-config USE_DCACHE_RAM
-	int
-	default 1
-	depends on BOARD_AMD_SERENGETI_CHEETAH
-
 config DCACHE_RAM_BASE
 	hex
 	default 0xc8000
@@ -83,26 +79,6 @@ 
 	default 0
 	depends on BOARD_AMD_SERENGETI_CHEETAH
 
-config USE_DCACHE_RAM
-	int
-	default 1
-	depends on BOARD_AMD_SERENGETI_CHEETAH
-
-config DCACHE_RAM_BASE
-	hex
-	default 0xc8000
-	depends on BOARD_AMD_SERENGETI_CHEETAH
-
-config DCACHE_RAM_SIZE
-	hex
-	default 0x08000
-	depends on BOARD_AMD_SERENGETI_CHEETAH
-
-config DCACHE_RAM_GLOBAL_VAR_SIZE
-	hex
-	default 0x01000
-	depends on BOARD_AMD_SERENGETI_CHEETAH
-
 config USE_FAILOVER_IMAGE
 	int
 	default 0
Index: src/mainboard/asus/m2v-mx_se/Kconfig
===================================================================
--- src/mainboard/asus/m2v-mx_se/Kconfig	(Revision 4591)
+++ src/mainboard/asus/m2v-mx_se/Kconfig	(Arbeitskopie)
@@ -29,6 +29,7 @@ 
 	select SOUTHBRIDGE_VIA_K8T890
 	select SUPERIO_ITE_IT8712F
 	select USE_PRINTK_IN_CAR
+	select USE_DCACHE_RAM
 	help
 	  Asus M2V-MX-SE mainboard.
 
@@ -37,11 +38,6 @@ 
 	default asus/m2v-mx_se
 	depends on BOARD_ASUS_M2V_MX_SE
 
-config USE_DCACHE_RAM
-	bool
-	dafault y
-	depends on BOARD_ASUS_M2V_MX_SE
-
 config DCACHE_RAM_BASE
 	hex
 	default 0xcc000