summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2018-01-29 10:51:45 +0100
committerMartin Roth <martinroth@google.com>2018-01-30 23:17:58 +0000
commitc32e6cb34a76fed21dc8e6841fe4a4ee1ebd6803 (patch)
tree1e5142ce2915ebf9e64d0aa6af4ad06d925c72cf
parent9b31ced509fa5efce7f33f66442045336e40759d (diff)
downloadcoreboot-c32e6cb34a76fed21dc8e6841fe4a4ee1ebd6803.tar.xz
autoport: Don't do writes to FD in romstage
ff4025c5f "sb/intel/bd82x6x: Reduce function-disable mess" Removed most of the writes to RCBA(FD) and renamed the function to mainboard_rcba_config. Writes to FD are properly handled in ramstage, so no need to do it in romstage. Change-Id: I4edb75569ceec2d2f1308755a66d286202ca0ae6 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/23486 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Nico Huber <nico.h@gmx.de>
-rw-r--r--util/autoport/bd82x6x.go8
1 files changed, 2 insertions, 6 deletions
diff --git a/util/autoport/bd82x6x.go b/util/autoport/bd82x6x.go
index d342a79d85..26c8b91b82 100644
--- a/util/autoport/bd82x6x.go
+++ b/util/autoport/bd82x6x.go
@@ -334,14 +334,10 @@ void pch_enable_lpc(void)
sb.WriteString(`}
-void rcba_config(void)
+void mainboard_rcba_config(void)
{
- /* Disable devices. */
`)
- RestoreRCBA32(sb, inteltool, 0x3414)
- RestoreRCBA32(sb, inteltool, 0x3418)
-
- sb.WriteString("\n}\n")
+ sb.WriteString("}\n\n")
sb.WriteString("const struct southbridge_usb_port mainboard_usb_ports[] = {\n")