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 <[email protected]>
---
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
-- 
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to