summaryrefslogtreecommitdiff
path: root/util/autoport
diff options
context:
space:
mode:
authorNico Huber <nico.huber@secunet.com>2019-05-10 16:48:14 +0200
committerNico Huber <nico.h@gmx.de>2019-05-12 15:03:03 +0000
commit772a154d39025e5f7f30102cca9f935e9b35cb1c (patch)
tree18ed0dd7b83f580f6587403938e967e618b3cff6 /util/autoport
parent47953d0ae066ad05a62e3dc5ae560e3a6796d035 (diff)
nb/intel/snb: Drop NORTHBRIDGE_INTEL_IVYBRIDGE
We keep the support, though. Just now that `libgfxinit` is fixed, we don't need the distinction anymore. Causally, we also don't need CPU_INTEL_MODEL_306AX any more. TEST=Played tint on kontron/ktqm77. Score 606 Change-Id: Id1e33c77f44a66baacba375cbb2aeb71effb7b76 Signed-off-by: Nico Huber <nico.huber@secunet.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32737 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'util/autoport')
-rw-r--r--util/autoport/sandybridge.go11
1 files changed, 5 insertions, 6 deletions
diff --git a/util/autoport/sandybridge.go b/util/autoport/sandybridge.go
index 997259815b..170d197af4 100644
--- a/util/autoport/sandybridge.go
+++ b/util/autoport/sandybridge.go
@@ -1,7 +1,6 @@
package main
type sandybridgemc struct {
- variant string
}
func (i sandybridgemc) Scan(ctx Context, addr PCIDevData) {
@@ -106,7 +105,7 @@ func (i sandybridgemc) Scan(ctx Context, addr PCIDevData) {
PutPCIDev(addr, "Host bridge")
/* FIXME:XX some configs are unsupported. */
- KconfigBool["NORTHBRIDGE_INTEL_"+i.variant+"BRIDGE"] = true
+ KconfigBool["NORTHBRIDGE_INTEL_SANDYBRIDGE"] = true
KconfigBool["USE_NATIVE_RAMINIT"] = true
KconfigBool["INTEL_INT15"] = true
KconfigBool["HAVE_ACPI_TABLES"] = true
@@ -126,10 +125,10 @@ func (i sandybridgemc) Scan(ctx Context, addr PCIDevData) {
}
func init() {
- RegisterPCI(0x8086, 0x0100, sandybridgemc{variant: "SANDY"})
- RegisterPCI(0x8086, 0x0104, sandybridgemc{variant: "SANDY"})
- RegisterPCI(0x8086, 0x0150, sandybridgemc{variant: "IVY"})
- RegisterPCI(0x8086, 0x0154, sandybridgemc{variant: "IVY"})
+ RegisterPCI(0x8086, 0x0100, sandybridgemc{})
+ RegisterPCI(0x8086, 0x0104, sandybridgemc{})
+ RegisterPCI(0x8086, 0x0150, sandybridgemc{})
+ RegisterPCI(0x8086, 0x0154, sandybridgemc{})
for _, id := range []uint16{
0x0102, 0x0106, 0x010a,
0x0112, 0x0116, 0x0122, 0x0126,