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:
parent
9b31ced509
commit
c32e6cb34a
|
@ -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")
|
||||
|
||||
|
|
Loading…
Reference in New Issue