From a5072af67d85344d6428ab6cfddb34318e1a50ca Mon Sep 17 00:00:00 2001 From: Angel Pons Date: Mon, 1 Oct 2018 13:14:03 +0200 Subject: util/autoport: Use romstage.c instead of early_southbridge.c Until now, autoport used to create a dummy "romstage.c", then write romstage code to "early_southbridge.c". While it works, it makes more sense to write to "romstage.c" instead, as virtually all mainboards do. Change-Id: If9f9375f9a659e7e685de5f884163813261fa656 Signed-off-by: Angel Pons Reviewed-on: https://review.coreboot.org/28851 Reviewed-by: Patrick Rudolph Reviewed-by: Paul Menzel Reviewed-by: Nico Huber Tested-by: build bot (Jenkins) --- util/autoport/bd82x6x.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'util/autoport/bd82x6x.go') diff --git a/util/autoport/bd82x6x.go b/util/autoport/bd82x6x.go index 31f7ced273..887a520d9a 100644 --- a/util/autoport/bd82x6x.go +++ b/util/autoport/bd82x6x.go @@ -299,9 +299,8 @@ func (b bd82x6x) Scan(ctx Context, addr PCIDevData) { File: "southbridge/intel/bd82x6x/acpi/pch.asl", }) - sb := Create(ctx, "early_southbridge.c") + sb := Create(ctx, "romstage.c") defer sb.Close() - AddROMStageFile("early_southbridge.c", "") Add_gpl(sb) sb.WriteString(`#include #include -- cgit v1.2.3