diff --git a/src/cpu/amd/Kconfig b/src/cpu/amd/Kconfig index cec49160da..2cd1761acb 100644 --- a/src/cpu/amd/Kconfig +++ b/src/cpu/amd/Kconfig @@ -1,8 +1,10 @@ #source src/cpu/amd/socket_754/Kconfig #source src/cpu/amd/socket_939/Kconfig #source src/cpu/amd/socket_940/Kconfig -#source src/cpu/amd/socket_AM2/Kconfig +source src/cpu/amd/socket_AM2/Kconfig #source src/cpu/amd/socket_AM2r2/Kconfig source src/cpu/amd/socket_F/Kconfig #source src/cpu/amd/socket_F_1207/Kconfig #source src/cpu/amd/socket_S1G1/Kconfig + +source src/cpu/amd/model_fxx/Kconfig diff --git a/src/cpu/amd/Makefile.inc b/src/cpu/amd/Makefile.inc index c63bc2bb86..578de4f732 100644 --- a/src/cpu/amd/Makefile.inc +++ b/src/cpu/amd/Makefile.inc @@ -1 +1,2 @@ subdirs-$(CONFIG_CPU_AMD_SOCKET_F) += socket_F +subdirs-$(CONFIG_CPU_AMD_SOCKET_AM2) += socket_AM2 diff --git a/src/cpu/amd/microcode/Makefile.inc b/src/cpu/amd/microcode/Makefile.inc new file mode 100644 index 0000000000..26513df8f7 --- /dev/null +++ b/src/cpu/amd/microcode/Makefile.inc @@ -0,0 +1 @@ +obj-y += microcode.o diff --git a/src/cpu/amd/socket_AM2/Kconfig b/src/cpu/amd/socket_AM2/Kconfig new file mode 100644 index 0000000000..d3afbab3a4 --- /dev/null +++ b/src/cpu/amd/socket_AM2/Kconfig @@ -0,0 +1,26 @@ +config CPU_AMD_SOCKET_AM2 + bool + default false + +config CPU_SOCKET_TYPE + hex + default 0x11 + depends on CPU_AMD_SOCKET_AM2 + +config K8_REV_F_SUPPORT + hex + default 1 + depends on CPU_AMD_SOCKET_AM2 + +#Opteron K8 1G HT Support +config K8_HT_FREQ_1G_SUPPORT + hex + default 1 + depends on CPU_AMD_SOCKET_AM2 + +#DDR2 and REG +config DIMM_SUPPORT + hex + default 0x0004 + depends on CPU_AMD_SOCKET_AM2 + diff --git a/src/cpu/amd/socket_AM2/Makefile.inc b/src/cpu/amd/socket_AM2/Makefile.inc new file mode 100644 index 0000000000..b5d8059fd4 --- /dev/null +++ b/src/cpu/amd/socket_AM2/Makefile.inc @@ -0,0 +1,15 @@ +obj-y += socket_AM2.o +subdirs-y += ../model_fxx +subdirs-y += ../dualcore +subdirs-y += ../mtrr +subdirs-y += ../microcode +subdirs-y += ../../x86/tsc +subdirs-y += ../../x86/mtrr +subdirs-y += ../../x86/fpu +subdirs-y += ../../x86/mmx +subdirs-y += ../../x86/sse +subdirs-y += ../../x86/lapic +subdirs-y += ../../x86/cache +subdirs-y += ../../x86/mtrr +subdirs-y += ../../x86/pae +subdirs-y += ../../x86/smm diff --git a/src/cpu/amd/socket_F/Kconfig b/src/cpu/amd/socket_F/Kconfig index c933400398..30e90807b6 100644 --- a/src/cpu/amd/socket_F/Kconfig +++ b/src/cpu/amd/socket_F/Kconfig @@ -29,4 +29,3 @@ config CPU_SOCKET_TYPE default 0x10 depends on CPU_AMD_SOCKET_F -source src/cpu/amd/model_fxx/Kconfig