Intel cpus: apply un-written naming rules

Kconfig directives to select chip drivers for compile literally
match the chip directory names capitalized and underscored.

Note: CPU_INTEL_CORE2 was used on both model_6fx and model_1067x.

Change-Id: I8fa5ba71b14dcce79ab2a2c1c69b3bc36edbdea0
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: http://review.coreboot.org/618
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
Kyösti Mälkki 2012-02-10 13:32:13 +02:00 committed by Stefan Reinauer
parent 9a4114a15a
commit e13632a939
14 changed files with 20 additions and 22 deletions

View File

@ -16,9 +16,9 @@ source src/cpu/intel/model_f3x/Kconfig
source src/cpu/intel/model_f4x/Kconfig source src/cpu/intel/model_f4x/Kconfig
source src/cpu/intel/ep80579/Kconfig source src/cpu/intel/ep80579/Kconfig
# Sockets/Slots # Sockets/Slots
source src/cpu/intel/bga956/Kconfig
source src/cpu/intel/slot_2/Kconfig source src/cpu/intel/slot_2/Kconfig
source src/cpu/intel/slot_1/Kconfig source src/cpu/intel/slot_1/Kconfig
source src/cpu/intel/socket_BGA956/Kconfig
source src/cpu/intel/socket_FC_PGA370/Kconfig source src/cpu/intel/socket_FC_PGA370/Kconfig
source src/cpu/intel/socket_mFCBGA479/Kconfig source src/cpu/intel/socket_mFCBGA479/Kconfig
source src/cpu/intel/socket_mFCPGA478/Kconfig source src/cpu/intel/socket_mFCPGA478/Kconfig

View File

@ -4,7 +4,7 @@
# Therefore: ONLY include Makefile.inc from socket directories! # Therefore: ONLY include Makefile.inc from socket directories!
subdirs-$(CONFIG_CPU_INTEL_SOCKET_441) += socket_441 subdirs-$(CONFIG_CPU_INTEL_SOCKET_441) += socket_441
subdirs-$(CONFIG_CPU_INTEL_SOCKET_BGA956) += bga956 subdirs-$(CONFIG_CPU_INTEL_SOCKET_BGA956) += socket_BGA956
subdirs-$(CONFIG_CPU_INTEL_EP80579) += ep80579 subdirs-$(CONFIG_CPU_INTEL_EP80579) += ep80579
subdirs-$(CONFIG_CPU_INTEL_SOCKET_FC_PGA370) += socket_FC_PGA370 subdirs-$(CONFIG_CPU_INTEL_SOCKET_FC_PGA370) += socket_FC_PGA370
subdirs-$(CONFIG_CPU_INTEL_SOCKET_MFCBGA479) += socket_mFCBGA479 subdirs-$(CONFIG_CPU_INTEL_SOCKET_MFCBGA479) += socket_mFCBGA479

View File

@ -1,7 +0,0 @@
#include <device/device.h>
#include "chip.h"
struct chip_operations cpu_intel_bga956_ops = {
CHIP_NAME("BGA956 CPU")
};

View File

@ -1,4 +0,0 @@
extern struct chip_operations cpu_intel_bga956_ops;
struct cpu_intel_bga956_config {
};

View File

@ -1,4 +1,4 @@
config CPU_INTEL_CORE2 config CPU_INTEL_MODEL_1067X
bool bool
select SMP select SMP
select SSE2 select SSE2

View File

@ -1,4 +1,4 @@
config CPU_INTEL_CORE config CPU_INTEL_MODEL_6EX
bool bool
select SMP select SMP
select SSE2 select SSE2

View File

@ -1,4 +1,4 @@
config CPU_INTEL_CORE2 config CPU_INTEL_MODEL_6FX
bool bool
select SMP select SMP
select SSE2 select SSE2

View File

@ -1,3 +1,3 @@
config CPU_INTEL_SOCKET_BGA956 config CPU_INTEL_SOCKET_BGA956
bool bool
select CPU_INTEL_CORE2 select CPU_INTEL_MODEL_1067X

View File

@ -1,4 +1,4 @@
ramstage-y += bga956.c ramstage-y += socket_BGA956.c
subdirs-y += ../model_1067x subdirs-y += ../model_1067x
subdirs-y += ../../x86/tsc subdirs-y += ../../x86/tsc
subdirs-y += ../../x86/mtrr subdirs-y += ../../x86/mtrr

View File

@ -0,0 +1,4 @@
extern struct chip_operations cpu_intel_socket_BGA956_ops;
struct cpu_intel_socket_BGA956_config {
};

View File

@ -0,0 +1,6 @@
#include <device/device.h>
#include "chip.h"
struct chip_operations cpu_intel_socket_BGA956_ops = {
CHIP_NAME("Socket BGA956 CPU")
};

View File

@ -1,7 +1,6 @@
config CPU_INTEL_SOCKET_LGA771 config CPU_INTEL_SOCKET_LGA771
bool bool
select CPU_INTEL_MODEL_6FX select CPU_INTEL_MODEL_6FX
select CPU_INTEL_CORE2
select SSE2 select SSE2
select MMX select MMX
select AP_IN_SIPI_WAIT select AP_IN_SIPI_WAIT

View File

@ -5,8 +5,8 @@ if CPU_INTEL_SOCKET_MFCPGA478
config SOCKET_SPECIFIC_OPTIONS # dummy config SOCKET_SPECIFIC_OPTIONS # dummy
def_bool y def_bool y
select CPU_INTEL_CORE select CPU_INTEL_MODEL_6EX
select CPU_INTEL_CORE2 select CPU_INTEL_MODEL_6FX
select MMX select MMX
select SSE select SSE
select CACHE_AS_RAM select CACHE_AS_RAM

View File

@ -65,7 +65,7 @@ chip northbridge/intel/i3100
end end
end end
device lapic_cluster 0 on device lapic_cluster 0 on
chip cpu/intel/bga956 chip cpu/intel/socket_BGA956
device lapic 0 on end device lapic 0 on end
end end
end end