Nicholas Chin has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/83187?usp=email )
Change subject: util/autoport: Move SPDX header before defines in dsdt.asl ......................................................................
util/autoport: Move SPDX header before defines in dsdt.asl
Macros were being printed before the SPDX header in dsdt.asl, so fix this. Previous output:
/* SPDX-License-Identifier: GPL-2.0-only */
Change-Id: Idebdcf816911af9d262a114c86461e6fa5bfd1f8 Signed-off-by: Nicholas Chin nic.c3.14@gmail.com --- M util/autoport/main.go 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/87/83187/1
diff --git a/util/autoport/main.go b/util/autoport/main.go index 6426dd3..a4982b4 100644 --- a/util/autoport/main.go +++ b/util/autoport/main.go @@ -827,6 +827,7 @@
dsdt := Create(ctx, "dsdt.asl") defer dsdt.Close() + Add_gpl(dsdt)
for _, define := range DSDTDefines { if define.Comment != "" { @@ -835,7 +836,6 @@ dsdt.WriteString("#define " + define.Key + " " + define.Value + "\n") }
- Add_gpl(dsdt) dsdt.WriteString( ` #include <acpi/acpi.h>