summaryrefslogtreecommitdiff
path: root/util/autoport/main.go
diff options
context:
space:
mode:
authorIru Cai <mytbk920423@gmail.com>2020-09-16 16:23:46 +0800
committerHung-Te Lin <hungte@chromium.org>2020-12-17 06:23:30 +0000
commit16f213a499a033627a4897f808110759cf3d52fa (patch)
tree89a6ac7af5672d86d3d3f086750e2b9727798119 /util/autoport/main.go
parent2e2fc7a4f0e9d14591ce2868840af3043d5147f3 (diff)
autoport: Add a license header to non-empty files
Change-Id: I8078d8babf24feabb22856ee820ab45b7d466f62 Signed-off-by: Iru Cai <mytbk920423@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/45464 Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'util/autoport/main.go')
-rw-r--r--util/autoport/main.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/util/autoport/main.go b/util/autoport/main.go
index 6b02a64e6c..35e21ab6c1 100644
--- a/util/autoport/main.go
+++ b/util/autoport/main.go
@@ -747,6 +747,7 @@ func main() {
if MainboardInit != "" || MainboardEnable != "" || MainboardIncludes != nil {
mainboard := Create(ctx, "mainboard.c")
defer mainboard.Close()
+ Add_gpl(mainboard)
mainboard.WriteString("#include <device/device.h>\n")
for _, include := range MainboardIncludes {
mainboard.WriteString("#include <" + include + ">\n")
@@ -825,9 +826,9 @@ func main() {
dsdt.WriteString("#define " + define.Key + " " + define.Value + "\n")
}
+ Add_gpl(dsdt)
dsdt.WriteString(
`
-
#include <acpi/acpi.h>
DefinitionBlock(