From 6b0ade7550196a9e62974833a99d172618cbb56f Mon Sep 17 00:00:00 2001 From: Jonathan Kollasch Date: Tue, 19 Oct 2010 13:03:34 +0000 Subject: [PATCH] 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 Acked-by: Peter Stuge git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5969 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/cpu/amd/socket_754/Kconfig | 20 ++++++++++++++++++++ src/mainboard/msi/ms7135/Kconfig | 9 --------- 2 files changed, 20 insertions(+), 9 deletions(-) diff --git a/src/cpu/amd/socket_754/Kconfig b/src/cpu/amd/socket_754/Kconfig index b6b8260f80..7a353a33c9 100644 --- a/src/cpu/amd/socket_754/Kconfig +++ b/src/cpu/amd/socket_754/Kconfig @@ -1,3 +1,23 @@ 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_ADDR_BITS + int + default 40 + +config DCACHE_RAM_BASE + hex + default 0xc8000 + +config DCACHE_RAM_SIZE + hex + default 0x08000 + +endif # CPU_AMD_SOCKET_754 diff --git a/src/mainboard/msi/ms7135/Kconfig b/src/mainboard/msi/ms7135/Kconfig index 1f8628d2b0..c8614731f0 100644 --- a/src/mainboard/msi/ms7135/Kconfig +++ b/src/mainboard/msi/ms7135/Kconfig @@ -13,7 +13,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy 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 @@ config IRQ_SLOT_COUNT int default 13 -config DCACHE_RAM_BASE - hex - default 0xc8000 - -config DCACHE_RAM_SIZE - hex - default 0x8000 - endif # BOARD_MSI_MS7135