Move memory type information out of some AMD sockets.

Signed-off-by: Myles Watson <mylesgw@gmail.com>
Acked-by: Peter Stuge <peter@stuge.se>


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5800 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Myles Watson 2010-09-10 18:33:24 +00:00
parent 17daf9a941
commit 6ea2115cea
32 changed files with 114 additions and 36 deletions

View File

@ -10,9 +10,3 @@ config CPU_SOCKET_TYPE
default 0x11 default 0x11
depends on CPU_AMD_SOCKET_AM2 depends on CPU_AMD_SOCKET_AM2
# DDR2 and REG
config DIMM_SUPPORT
hex
default 0x0004
depends on CPU_AMD_SOCKET_AM2

View File

@ -9,12 +9,6 @@ config CPU_SOCKET_TYPE
default 0x11 default 0x11
depends on CPU_AMD_SOCKET_AM2R2 depends on CPU_AMD_SOCKET_AM2R2
# DDR2 and REG
config DIMM_SUPPORT
hex
default 0x0104
depends on CPU_AMD_SOCKET_AM2R2
config EXT_RT_TBL_SUPPORT config EXT_RT_TBL_SUPPORT
bool bool
default n default n

View File

@ -9,12 +9,6 @@ config CPU_SOCKET_TYPE
default 0x11 default 0x11
depends on CPU_AMD_SOCKET_AM3 depends on CPU_AMD_SOCKET_AM3
# DDR3 and REG
config DIMM_SUPPORT
hex
default 0x0005
depends on CPU_AMD_SOCKET_AM3
config EXT_RT_TBL_SUPPORT config EXT_RT_TBL_SUPPORT
bool bool
default n default n

View File

@ -9,12 +9,6 @@ config CPU_SOCKET_TYPE
default 0x13 default 0x13
depends on CPU_AMD_SOCKET_ASB2 depends on CPU_AMD_SOCKET_ASB2
# DDR3 and REG
config DIMM_SUPPORT
hex
default 0x0005
depends on CPU_AMD_SOCKET_ASB2
config EXT_RT_TBL_SUPPORT config EXT_RT_TBL_SUPPORT
bool bool
default n default n

View File

@ -9,9 +9,3 @@ config CPU_SOCKET_TYPE
default 0x10 default 0x10
depends on CPU_AMD_SOCKET_F depends on CPU_AMD_SOCKET_F
# DDR2 and REG
config DIMM_SUPPORT
hex
default 0x0104
depends on CPU_AMD_SOCKET_F

View File

@ -8,12 +8,6 @@ config CPU_SOCKET_TYPE
default 0x10 default 0x10
depends on CPU_AMD_SOCKET_F_1207 depends on CPU_AMD_SOCKET_F_1207
# DDR2 and REG
config DIMM_SUPPORT
hex
default 0x0104
depends on CPU_AMD_SOCKET_F_1207
config EXT_RT_TBL_SUPPORT config EXT_RT_TBL_SUPPORT
bool bool
default n default n

View File

@ -4,6 +4,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy
def_bool y def_bool y
select ARCH_X86 select ARCH_X86
select CPU_AMD_SOCKET_AM2 select CPU_AMD_SOCKET_AM2
select DIMM_DDR2
select NORTHBRIDGE_AMD_AMDK8 select NORTHBRIDGE_AMD_AMDK8
select NORTHBRIDGE_AMD_AMDK8_ROOT_COMPLEX select NORTHBRIDGE_AMD_AMDK8_ROOT_COMPLEX
select SOUTHBRIDGE_AMD_RS780 select SOUTHBRIDGE_AMD_RS780

View File

@ -4,6 +4,8 @@ config BOARD_SPECIFIC_OPTIONS # dummy
def_bool y def_bool y
select ARCH_X86 select ARCH_X86
select CPU_AMD_SOCKET_AM2R2 select CPU_AMD_SOCKET_AM2R2
select DIMM_DDR2
select DIMM_REGISTERED
select NORTHBRIDGE_AMD_AMDFAM10 select NORTHBRIDGE_AMD_AMDFAM10
select SOUTHBRIDGE_AMD_RS780 select SOUTHBRIDGE_AMD_RS780
select SOUTHBRIDGE_AMD_SB700 select SOUTHBRIDGE_AMD_SB700

View File

@ -4,6 +4,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy
def_bool y def_bool y
select ARCH_X86 select ARCH_X86
select CPU_AMD_SOCKET_AM2 select CPU_AMD_SOCKET_AM2
select DIMM_DDR2
select NORTHBRIDGE_AMD_AMDK8 select NORTHBRIDGE_AMD_AMDK8
select NORTHBRIDGE_AMD_AMDK8_ROOT_COMPLEX select NORTHBRIDGE_AMD_AMDK8_ROOT_COMPLEX
select SOUTHBRIDGE_AMD_RS690 select SOUTHBRIDGE_AMD_RS690

View File

@ -4,6 +4,8 @@ config BOARD_SPECIFIC_OPTIONS # dummy
def_bool y def_bool y
select ARCH_X86 select ARCH_X86
select CPU_AMD_SOCKET_F select CPU_AMD_SOCKET_F
select DIMM_DDR2
select DIMM_REGISTERED
select NORTHBRIDGE_AMD_AMDK8 select NORTHBRIDGE_AMD_AMDK8
select NORTHBRIDGE_AMD_AMDK8_ROOT_COMPLEX select NORTHBRIDGE_AMD_AMDK8_ROOT_COMPLEX
select SOUTHBRIDGE_AMD_AMD8111 select SOUTHBRIDGE_AMD_AMD8111

View File

@ -4,6 +4,8 @@ config BOARD_SPECIFIC_OPTIONS # dummy
def_bool y def_bool y
select ARCH_X86 select ARCH_X86
select CPU_AMD_SOCKET_F_1207 select CPU_AMD_SOCKET_F_1207
select DIMM_DDR2
select DIMM_REGISTERED
select NORTHBRIDGE_AMD_AMDFAM10 select NORTHBRIDGE_AMD_AMDFAM10
select SOUTHBRIDGE_AMD_AMD8111 select SOUTHBRIDGE_AMD_AMD8111
select SOUTHBRIDGE_AMD_AMD8132 select SOUTHBRIDGE_AMD_AMD8132

View File

@ -4,6 +4,8 @@ config BOARD_SPECIFIC_OPTIONS # dummy
def_bool y def_bool y
select ARCH_X86 select ARCH_X86
select CPU_AMD_SOCKET_AM3 select CPU_AMD_SOCKET_AM3
select DIMM_DDR3
select DIMM_REGISTERED
select NORTHBRIDGE_AMD_AMDFAM10 select NORTHBRIDGE_AMD_AMDFAM10
select SOUTHBRIDGE_AMD_RS780 select SOUTHBRIDGE_AMD_RS780
select SOUTHBRIDGE_AMD_SB700 select SOUTHBRIDGE_AMD_SB700

View File

@ -22,6 +22,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy
def_bool y def_bool y
select ARCH_X86 select ARCH_X86
select CPU_AMD_SOCKET_AM2 select CPU_AMD_SOCKET_AM2
select DIMM_DDR2
select NORTHBRIDGE_AMD_AMDK8 select NORTHBRIDGE_AMD_AMDK8
select NORTHBRIDGE_AMD_AMDK8_ROOT_COMPLEX select NORTHBRIDGE_AMD_AMDK8_ROOT_COMPLEX
select SOUTHBRIDGE_VIA_VT8237R select SOUTHBRIDGE_VIA_VT8237R

View File

@ -4,6 +4,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy
def_bool y def_bool y
select ARCH_X86 select ARCH_X86
select CPU_AMD_SOCKET_AM2 select CPU_AMD_SOCKET_AM2
select DIMM_DDR2
select NORTHBRIDGE_AMD_AMDK8 select NORTHBRIDGE_AMD_AMDK8
select NORTHBRIDGE_AMD_AMDK8_ROOT_COMPLEX select NORTHBRIDGE_AMD_AMDK8_ROOT_COMPLEX
select SOUTHBRIDGE_SIS_SIS966 select SOUTHBRIDGE_SIS_SIS966

View File

@ -4,6 +4,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy
def_bool y def_bool y
select ARCH_X86 select ARCH_X86
select CPU_AMD_SOCKET_AM2 select CPU_AMD_SOCKET_AM2
select DIMM_DDR2
select NORTHBRIDGE_AMD_AMDK8 select NORTHBRIDGE_AMD_AMDK8
select NORTHBRIDGE_AMD_AMDK8_ROOT_COMPLEX select NORTHBRIDGE_AMD_AMDK8_ROOT_COMPLEX
select SOUTHBRIDGE_NVIDIA_MCP55 select SOUTHBRIDGE_NVIDIA_MCP55

View File

@ -4,6 +4,8 @@ config BOARD_SPECIFIC_OPTIONS # dummy
def_bool y def_bool y
select ARCH_X86 select ARCH_X86
select CPU_AMD_SOCKET_AM3 select CPU_AMD_SOCKET_AM3
select DIMM_DDR3
select DIMM_REGISTERED
select NORTHBRIDGE_AMD_AMDFAM10 select NORTHBRIDGE_AMD_AMDFAM10
select SOUTHBRIDGE_AMD_RS780 select SOUTHBRIDGE_AMD_RS780
select SOUTHBRIDGE_AMD_SB700 select SOUTHBRIDGE_AMD_SB700

View File

@ -4,6 +4,8 @@ config BOARD_SPECIFIC_OPTIONS # dummy
def_bool y def_bool y
select ARCH_X86 select ARCH_X86
select CPU_AMD_SOCKET_AM2R2 select CPU_AMD_SOCKET_AM2R2
select DIMM_DDR2
select DIMM_REGISTERED
select NORTHBRIDGE_AMD_AMDFAM10 select NORTHBRIDGE_AMD_AMDFAM10
select SOUTHBRIDGE_AMD_RS780 select SOUTHBRIDGE_AMD_RS780
select SOUTHBRIDGE_AMD_SB700 select SOUTHBRIDGE_AMD_SB700

View File

@ -4,6 +4,8 @@ config BOARD_SPECIFIC_OPTIONS # dummy
def_bool y def_bool y
select ARCH_X86 select ARCH_X86
select CPU_AMD_SOCKET_F select CPU_AMD_SOCKET_F
select DIMM_DDR2
select DIMM_REGISTERED
select NORTHBRIDGE_AMD_AMDK8 select NORTHBRIDGE_AMD_AMDK8
select NORTHBRIDGE_AMD_AMDK8_ROOT_COMPLEX select NORTHBRIDGE_AMD_AMDK8_ROOT_COMPLEX
select SOUTHBRIDGE_BROADCOM_BCM21000 select SOUTHBRIDGE_BROADCOM_BCM21000

View File

@ -4,6 +4,8 @@ config BOARD_SPECIFIC_OPTIONS # dummy
def_bool y def_bool y
select ARCH_X86 select ARCH_X86
select CPU_AMD_SOCKET_AM2R2 select CPU_AMD_SOCKET_AM2R2
select DIMM_DDR2
select DIMM_REGISTERED
select NORTHBRIDGE_AMD_AMDFAM10 select NORTHBRIDGE_AMD_AMDFAM10
select SOUTHBRIDGE_AMD_RS780 select SOUTHBRIDGE_AMD_RS780
select SOUTHBRIDGE_AMD_SB700 select SOUTHBRIDGE_AMD_SB700

View File

@ -4,6 +4,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy
def_bool y def_bool y
select ARCH_X86 select ARCH_X86
select CPU_AMD_SOCKET_AM2 select CPU_AMD_SOCKET_AM2
select DIMM_DDR2
select NORTHBRIDGE_AMD_AMDK8 select NORTHBRIDGE_AMD_AMDK8
select NORTHBRIDGE_AMD_AMDK8_ROOT_COMPLEX select NORTHBRIDGE_AMD_AMDK8_ROOT_COMPLEX
select SOUTHBRIDGE_NVIDIA_MCP55 select SOUTHBRIDGE_NVIDIA_MCP55

View File

@ -4,6 +4,8 @@ config BOARD_SPECIFIC_OPTIONS # dummy
def_bool y def_bool y
select ARCH_X86 select ARCH_X86
select CPU_AMD_SOCKET_F select CPU_AMD_SOCKET_F
select DIMM_DDR2
select DIMM_REGISTERED
select NORTHBRIDGE_AMD_AMDK8 select NORTHBRIDGE_AMD_AMDK8
select NORTHBRIDGE_AMD_AMDK8_ROOT_COMPLEX select NORTHBRIDGE_AMD_AMDK8_ROOT_COMPLEX
select SOUTHBRIDGE_BROADCOM_BCM5780 select SOUTHBRIDGE_BROADCOM_BCM5780

View File

@ -4,6 +4,8 @@ config BOARD_SPECIFIC_OPTIONS # dummy
def_bool y def_bool y
select ARCH_X86 select ARCH_X86
select CPU_AMD_SOCKET_F select CPU_AMD_SOCKET_F
select DIMM_DDR2
select DIMM_REGISTERED
select NORTHBRIDGE_AMD_AMDK8 select NORTHBRIDGE_AMD_AMDK8
select NORTHBRIDGE_AMD_AMDK8_ROOT_COMPLEX select NORTHBRIDGE_AMD_AMDK8_ROOT_COMPLEX
select SOUTHBRIDGE_NVIDIA_MCP55 select SOUTHBRIDGE_NVIDIA_MCP55

View File

@ -4,6 +4,8 @@ config BOARD_SPECIFIC_OPTIONS # dummy
def_bool y def_bool y
select ARCH_X86 select ARCH_X86
select CPU_AMD_SOCKET_F_1207 select CPU_AMD_SOCKET_F_1207
select DIMM_DDR2
select DIMM_REGISTERED
select NORTHBRIDGE_AMD_AMDFAM10 select NORTHBRIDGE_AMD_AMDFAM10
select SOUTHBRIDGE_NVIDIA_MCP55 select SOUTHBRIDGE_NVIDIA_MCP55
select SUPERIO_WINBOND_W83627EHG select SUPERIO_WINBOND_W83627EHG

View File

@ -4,6 +4,8 @@ config BOARD_SPECIFIC_OPTIONS # dummy
def_bool y def_bool y
select ARCH_X86 select ARCH_X86
select CPU_AMD_SOCKET_F select CPU_AMD_SOCKET_F
select DIMM_DDR2
select DIMM_REGISTERED
select NORTHBRIDGE_AMD_AMDK8 select NORTHBRIDGE_AMD_AMDK8
select NORTHBRIDGE_AMD_AMDK8_ROOT_COMPLEX select NORTHBRIDGE_AMD_AMDK8_ROOT_COMPLEX
select SOUTHBRIDGE_NVIDIA_MCP55 select SOUTHBRIDGE_NVIDIA_MCP55

View File

@ -4,6 +4,8 @@ config BOARD_SPECIFIC_OPTIONS # dummy
def_bool y def_bool y
select ARCH_X86 select ARCH_X86
select CPU_AMD_SOCKET_F select CPU_AMD_SOCKET_F
select DIMM_DDR2
select DIMM_REGISTERED
select NORTHBRIDGE_AMD_AMDK8 select NORTHBRIDGE_AMD_AMDK8
select NORTHBRIDGE_AMD_AMDK8_ROOT_COMPLEX select NORTHBRIDGE_AMD_AMDK8_ROOT_COMPLEX
select SOUTHBRIDGE_NVIDIA_MCP55 select SOUTHBRIDGE_NVIDIA_MCP55

View File

@ -4,6 +4,8 @@ config BOARD_SPECIFIC_OPTIONS # dummy
def_bool y def_bool y
select ARCH_X86 select ARCH_X86
select CPU_AMD_SOCKET_F select CPU_AMD_SOCKET_F
select DIMM_DDR2
select DIMM_REGISTERED
select NORTHBRIDGE_AMD_AMDK8 select NORTHBRIDGE_AMD_AMDK8
select NORTHBRIDGE_AMD_AMDK8_ROOT_COMPLEX select NORTHBRIDGE_AMD_AMDK8_ROOT_COMPLEX
select SOUTHBRIDGE_NVIDIA_MCP55 select SOUTHBRIDGE_NVIDIA_MCP55

View File

@ -4,6 +4,8 @@ config BOARD_SPECIFIC_OPTIONS # dummy
def_bool y def_bool y
select ARCH_X86 select ARCH_X86
select CPU_AMD_SOCKET_F_1207 select CPU_AMD_SOCKET_F_1207
select DIMM_DDR2
select DIMM_REGISTERED
select NORTHBRIDGE_AMD_AMDFAM10 select NORTHBRIDGE_AMD_AMDFAM10
select SOUTHBRIDGE_NVIDIA_MCP55 select SOUTHBRIDGE_NVIDIA_MCP55
select SUPERIO_WINBOND_W83627HF select SUPERIO_WINBOND_W83627HF

View File

@ -4,6 +4,8 @@ config BOARD_SPECIFIC_OPTIONS # dummy
def_bool y def_bool y
select ARCH_X86 select ARCH_X86
select CPU_AMD_SOCKET_F_1207 select CPU_AMD_SOCKET_F_1207
select DIMM_DDR2
select DIMM_REGISTERED
select NORTHBRIDGE_AMD_AMDFAM10 select NORTHBRIDGE_AMD_AMDFAM10
select SOUTHBRIDGE_AMD_AMD8132 select SOUTHBRIDGE_AMD_AMD8132
select SOUTHBRIDGE_NVIDIA_MCP55 select SOUTHBRIDGE_NVIDIA_MCP55

View File

@ -4,6 +4,8 @@ config BOARD_SPECIFIC_OPTIONS # dummy
def_bool y def_bool y
select ARCH_X86 select ARCH_X86
select CPU_AMD_SOCKET_F select CPU_AMD_SOCKET_F
select DIMM_DDR2
select DIMM_REGISTERED
select NORTHBRIDGE_AMD_AMDK8 select NORTHBRIDGE_AMD_AMDK8
select NORTHBRIDGE_AMD_AMDK8_ROOT_COMPLEX select NORTHBRIDGE_AMD_AMDK8_ROOT_COMPLEX
select SOUTHBRIDGE_NVIDIA_MCP55 select SOUTHBRIDGE_NVIDIA_MCP55

View File

@ -4,6 +4,8 @@ config BOARD_SPECIFIC_OPTIONS # dummy
def_bool y def_bool y
select ARCH_X86 select ARCH_X86
select CPU_AMD_SOCKET_F_1207 select CPU_AMD_SOCKET_F_1207
select DIMM_DDR2
select DIMM_REGISTERED
select NORTHBRIDGE_AMD_AMDFAM10 select NORTHBRIDGE_AMD_AMDFAM10
select SOUTHBRIDGE_NVIDIA_MCP55 select SOUTHBRIDGE_NVIDIA_MCP55
select SUPERIO_WINBOND_W83627HF select SUPERIO_WINBOND_W83627HF

View File

@ -75,4 +75,52 @@ config SB_HT_CHAIN_UNITID_OFFSET_ONLY
default n default n
depends on NORTHBRIDGE_AMD_AMDFAM10 depends on NORTHBRIDGE_AMD_AMDFAM10
config DIMM_FBDIMM
bool
default n
depends on NORTHBRIDGE_AMD_AMDFAM10
config DIMM_DDR2
bool
default n
depends on NORTHBRIDGE_AMD_AMDFAM10
config DIMM_DDR3
bool
default n
depends on NORTHBRIDGE_AMD_AMDFAM10
config DIMM_REGISTERED
bool
default n
depends on NORTHBRIDGE_AMD_AMDFAM10
if DIMM_FB_DIMM
config DIMM_SUPPORT
hex
default 0x0110
endif
if DIMM_DDR2
if DIMM_REGISTERED
config DIMM_SUPPORT
hex
default 0x0104
endif
if !DIMM_REGISTERED
config DIMM_SUPPORT
hex
default 0x0004
endif
endif
if DIMM_DDR3
if DIMM_REGISTERED
config DIMM_SUPPORT
hex
default 0x0005
endif
endif
source src/northbridge/amd/amdfam10/root_complex/Kconfig source src/northbridge/amd/amdfam10/root_complex/Kconfig

View File

@ -53,4 +53,28 @@ config SB_HT_CHAIN_UNITID_OFFSET_ONLY
default n default n
depends on NORTHBRIDGE_AMD_AMDK8 depends on NORTHBRIDGE_AMD_AMDK8
config DIMM_DDR2
bool
default n
depends on NORTHBRIDGE_AMD_AMDFAM10
config DIMM_REGISTERED
bool
default n
depends on NORTHBRIDGE_AMD_AMDFAM10
if DIMM_DDR2
if DIMM_REGISTERED
config DIMM_SUPPORT
hex
default 0x0104
endif
if !DIMM_REGISTERED
config DIMM_SUPPORT
hex
default 0x0004
endif
endif
source src/northbridge/amd/amdk8/root_complex/Kconfig source src/northbridge/amd/amdk8/root_complex/Kconfig