summaryrefslogtreecommitdiffstats
path: root/util/autoport/bd82x6x.go
diff options
context:
space:
mode:
authorVladimir Serbinenko <phcoder@gmail.com>2016-01-02 01:47:26 +0100
committerVladimir Serbinenko <phcoder@gmail.com>2016-01-03 21:22:41 +0100
commit42d55e0caf9999be461ef5c5029d11fb8f4c5593 (patch)
tree42d171c030224814626fb4f39ac9b5928e576b50 /util/autoport/bd82x6x.go
parent5aaeb27de97e2badba469229df9b2af9e33619e4 (diff)
downloadcoreboot-42d55e0caf9999be461ef5c5029d11fb8f4c5593.tar.gz
coreboot-42d55e0caf9999be461ef5c5029d11fb8f4c5593.tar.bz2
coreboot-42d55e0caf9999be461ef5c5029d11fb8f4c5593.zip
sb/intel/bd82x6x: Add missing PCIIDs for variants .
Change-Id: I917b8167a028aa9412b0cc6dedf8f09a1d1fae7f Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com> Reviewed-on: https://review.coreboot.org/12820 Tested-by: build bot (Jenkins) Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'util/autoport/bd82x6x.go')
-rw-r--r--util/autoport/bd82x6x.go11
1 files changed, 2 insertions, 9 deletions
diff --git a/util/autoport/bd82x6x.go b/util/autoport/bd82x6x.go
index 8756d0751d4e..a1513e8b0d0f 100644
--- a/util/autoport/bd82x6x.go
+++ b/util/autoport/bd82x6x.go
@@ -396,19 +396,12 @@ void acpi_create_gnvs(global_nvs_t *gnvs)
func init() {
/* BD82X6X LPC */
- for _, id := range []uint16{
- 0x1c46, 0x1c47, 0x1c49, 0x1c4a,
- 0x1c4b, 0x1c4c, 0x1c4d, 0x1c4e,
- 0x1c4f, 0x1c50, 0x1c52, 0x1c54,
- 0x1c56, 0x1c5c,
- } {
+ for id := 0x1c40; id <= 0x1c5f; id++ {
RegisterPCI(0x8086, id, bd82x6x{variant: "BD82X6X"})
}
/* C216 LPC */
- for _, id := range []uint16{
- 0x1e55, 0x1e57, 0x1e5d, 0x1e5e, 0x1e5f, 0x1e49,
- } {
+ for id := 0x1e41; id <= 0x1e5f; id++ {
RegisterPCI(0x8086, id, bd82x6x{variant: "C216"})
}