summaryrefslogtreecommitdiff
path: root/src/include/device
diff options
context:
space:
mode:
authorStefan Reinauer <reinauer@chromium.org>2013-02-12 15:20:54 -0800
committerRonald G. Minnich <rminnich@gmail.com>2013-02-14 07:07:20 +0100
commit0aa37c488bf785466e0db9897805ebf287af48eb (patch)
treebbbdb3fd2cd6e9972d44df79e5c1232ba1928111 /src/include/device
parent398e84c71a15b7db8c631bb5b17d1a1a60c91128 (diff)
sconfig: rename lapic_cluster -> cpu_cluster
The name lapic_cluster is a bit misleading, since the construct is not local APIC specific by concept. As implementations and hardware change, be more generic about our naming. This will allow us to support non-x86 systems without adding new keywords. Change-Id: Icd7f5fcf6f54d242eabb5e14ee151eec8d6cceb1 Signed-off-by: Stefan Reinauer <reinauer@google.com> Signed-off-by: David Hendricks <dhendrix@chromium.org> Reviewed-on: http://review.coreboot.org/2377 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src/include/device')
-rw-r--r--src/include/device/path.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/include/device/path.h b/src/include/device/path.h
index c59b49ed24..00fb727009 100644
--- a/src/include/device/path.h
+++ b/src/include/device/path.h
@@ -9,7 +9,7 @@ enum device_path_type {
DEVICE_PATH_I2C,
DEVICE_PATH_APIC,
DEVICE_PATH_DOMAIN,
- DEVICE_PATH_APIC_CLUSTER,
+ DEVICE_PATH_CPU_CLUSTER,
DEVICE_PATH_CPU,
DEVICE_PATH_CPU_BUS,
DEVICE_PATH_IOAPIC,
@@ -50,7 +50,7 @@ struct ioapic_path
unsigned ioapic_id;
};
-struct apic_cluster_path
+struct cpu_cluster_path
{
unsigned cluster;
};
@@ -69,15 +69,15 @@ struct cpu_bus_path
struct device_path {
enum device_path_type type;
union {
- struct pci_path pci;
- struct pnp_path pnp;
- struct i2c_path i2c;
- struct apic_path apic;
- struct ioapic_path ioapic;
- struct domain_path domain;
- struct apic_cluster_path apic_cluster;
- struct cpu_path cpu;
- struct cpu_bus_path cpu_bus;
+ struct pci_path pci;
+ struct pnp_path pnp;
+ struct i2c_path i2c;
+ struct apic_path apic;
+ struct ioapic_path ioapic;
+ struct domain_path domain;
+ struct cpu_cluster_path cpu_cluster;
+ struct cpu_path cpu;
+ struct cpu_bus_path cpu_bus;
};
};