Patchwork socket 754 kconfig modernization

login
register
about
Submitter Jonathan A. Kollasch
Date 2010-10-05 18:54:42
Message ID <20101005185442.GD12447@tarantulon.kollasch.net>
Download mbox | patch
Permalink /patch/2045/
State Accepted
Headers show

Comments

Jonathan A. Kollasch - 2010-10-05 18:54:42
Modernize socket_754 Kconfig with CAR and address bits information.
Also, update the board that uses this socket to match.

Signed-off-by: Jonathan Kollasch <jakllsch@kollasch.net>
---
Peter Stuge - 2010-10-19 01:19:54
Jonathan A. Kollasch wrote:
> Modernize socket_754 Kconfig with CAR and address bits information.
> Also, update the board that uses this socket to match.
> 
> Signed-off-by: Jonathan Kollasch <jakllsch@kollasch.net>

Acked-by: Peter Stuge <peter@stuge.se>
Jonathan A. Kollasch - 2010-10-19 13:05:54
Committed in r5969.

Patch

Index: src/cpu/amd/socket_754/Kconfig
===================================================================
--- src/cpu/amd/socket_754/Kconfig	(revision 5914)
+++ src/cpu/amd/socket_754/Kconfig	(working copy)
@@ -1,13 +1,31 @@ 
 config CPU_AMD_SOCKET_754
 	bool
+
+if CPU_AMD_SOCKET_754
+
+config SOCKET_SPECIFIC_OPTIONS
+	def_bool y
 	select CPU_AMD_MODEL_FXX
+	select CACHE_AS_RAM
 
 config CPU_SOCKET_TYPE
 	hex
 	default 0x10
-	depends on CPU_AMD_SOCKET_754
 
 config DIMM_SUPPORT
 	hex
 	default 0x108
-	depends on CPU_AMD_SOCKET_754
+
+config CPU_ADDR_BITS
+	int
+	default 40
+
+config DCACHE_RAM_BASE
+	hex
+	default 0xc8000
+
+config DCACHE_RAM_SIZE
+	hex
+	default 0x08000
+
+endif
Index: src/mainboard/msi/ms7135/Kconfig
===================================================================
--- src/mainboard/msi/ms7135/Kconfig	(revision 5914)
+++ src/mainboard/msi/ms7135/Kconfig	(working copy)
@@ -13,7 +13,6 @@ 
 	select HAVE_OPTION_TABLE
 	select HAVE_PIRQ_TABLE
 	select HAVE_MP_TABLE
-	select CACHE_AS_RAM
 	select BOARD_ROMSIZE_KB_512
 	select CK804_USE_NIC
 	select CK804_USE_ACI
@@ -66,12 +65,4 @@ 
 	int
 	default 13
 
-config DCACHE_RAM_BASE
-	hex
-	default 0xc8000
-
-config DCACHE_RAM_SIZE
-	hex
-	default 0x8000
-
 endif # BOARD_MSI_MS7135