From 0a4a4f7ae4188bccf4147196f08620453ef0633c Mon Sep 17 00:00:00 2001 From: Patrick Rudolph Date: Sat, 29 Apr 2017 18:39:32 +0200 Subject: mb/*/mainboard.c: Get rid of SPI AFC register MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-on: https://review.coreboot.org/19493 Tested-by: build bot (Jenkins) Reviewed-by: Nico Huber --- util/autoport/bd82x6x.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util') 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]) } -- cgit v1.2.3