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>
This commit is contained in:
Arthur Heymans 2018-01-29 10:51:45 +01:00 committed by Martin Roth
parent 9b31ced509
commit c32e6cb34a
1 changed files with 2 additions and 6 deletions

View File

@ -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")