From c32e6cb34a76fed21dc8e6841fe4a4ee1ebd6803 Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Mon, 29 Jan 2018 10:51:45 +0100 Subject: 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 Reviewed-on: https://review.coreboot.org/23486 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Nico Huber --- util/autoport/bd82x6x.go | 8 ++------ 1 file 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") -- cgit v1.2.3