From 9b1ae44b28d23f67420d90ec6b60cc346d54832a Mon Sep 17 00:00:00 2001 From: Angel Pons Date: Sat, 16 Mar 2019 16:12:21 +0100 Subject: util/autoport: fix default headers Change-Id: I1b46d76a86f5db02ebc452d43472b51f0414ad96 Signed-off-by: Angel Pons Reviewed-on: https://review.coreboot.org/c/coreboot/+/31927 Tested-by: build bot (Jenkins) Reviewed-by: HAOUAS Elyes --- util/autoport/bd82x6x.go | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'util') diff --git a/util/autoport/bd82x6x.go b/util/autoport/bd82x6x.go index c4dcf0dd28..265cb6f4b3 100644 --- a/util/autoport/bd82x6x.go +++ b/util/autoport/bd82x6x.go @@ -302,23 +302,21 @@ func (b bd82x6x) Scan(ctx Context, addr PCIDevData) { sb := Create(ctx, "romstage.c") defer sb.Close() Add_gpl(sb) - sb.WriteString(`#include + sb.WriteString(`/* FIXME: Check if all includes are needed. */ + +#include #include -#include #include #include #include -#include -#include -#include -#include +#include +#include +#include #include #include #include #include #include -#include -#include void pch_enable_lpc(void) { -- cgit v1.2.3