diff options
author | Patrick Rudolph <siro@das-labor.org> | 2017-04-29 18:39:32 +0200 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2017-05-01 14:02:19 +0200 |
commit | 0a4a4f7ae4188bccf4147196f08620453ef0633c (patch) | |
tree | 8b9a6848f450cb6f468ada32f39ccd792400703b /util/autoport/bd82x6x.go | |
parent | db508565d2483394b709654c57533e55eebace51 (diff) | |
download | coreboot-0a4a4f7ae4188bccf4147196f08620453ef0633c.tar.xz |
mb/*/mainboard.c: Get rid of SPI AFC register
The AFC—Additional Flash Control Register is set by
southbridge code.
Remove redundant calls and get rid of it in autoport.
Change-Id: I627082e09dd055e3b3c4dd8e0b90965a9fcb4342
Signed-off-by: Patrick Rudolph <siro@das-labor.org>
Reviewed-on: https://review.coreboot.org/19493
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.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/autoport/bd82x6x.go b/util/autoport/bd82x6x.go index ed94df7798..026ae51f81 100644 --- a/util/autoport/bd82x6x.go +++ b/util/autoport/bd82x6x.go @@ -180,7 +180,7 @@ func (b bd82x6x) Scan(ctx Context, addr PCIDevData) { /* SPI init */ MainboardIncludes = append(MainboardIncludes, "southbridge/intel/bd82x6x/pch.h") /* FIXME:XX Move this to runtime. */ - for _, addr := range []uint16{0x38c8, 0x38c4, 0x38c0} { + for _, addr := range []uint16{0x38c8, 0x38c4} { MainboardInit += fmt.Sprintf("\tRCBA32(0x%04x) = 0x%08x;\n", addr, inteltool.RCBA[addr]) } |