summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIru Cai <mytbk920423@gmail.com>2019-01-12 21:05:10 +0800
committerNico Huber <nico.h@gmx.de>2019-01-15 23:15:38 +0000
commit1e2676bf1bd0c2c0083239f29164048eb7645496 (patch)
tree389ffd8665164a0126618e3a8094c9ee19068cb9
parent5ce4c342a0503037a7f2a8336c8e57e232e3523a (diff)
downloadcoreboot-1e2676bf1bd0c2c0083239f29164048eb7645496.tar.xz
autoport: move the generated gnvs.c to acpi_tables.c
Change-Id: I8f6eea579f69060608639b1c50255acd8ab5a4a2 Signed-off-by: Iru Cai <mytbk920423@gmail.com> Reviewed-on: https://review.coreboot.org/c/30889 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tristan Corrick <tristan@corrick.kiwi> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
-rw-r--r--util/autoport/bd82x6x.go4
-rw-r--r--util/autoport/main.go4
2 files changed, 1 insertions, 7 deletions
diff --git a/util/autoport/bd82x6x.go b/util/autoport/bd82x6x.go
index 887a520d9a..29b1c21aaa 100644
--- a/util/autoport/bd82x6x.go
+++ b/util/autoport/bd82x6x.go
@@ -391,7 +391,7 @@ void mainboard_get_spd(spd_raw_data *spd, bool id_only)
}
sb.WriteString("}\n")
- gnvs := Create(ctx, "gnvs.c")
+ gnvs := Create(ctx, "acpi_tables.c")
defer gnvs.Close()
Add_gpl(gnvs)
@@ -415,8 +415,6 @@ void acpi_create_gnvs(global_nvs_t *gnvs)
gnvs->tpsv = 90;
}
`)
-
- AddRAMStageFile("gnvs.c", "")
}
func init() {
diff --git a/util/autoport/main.go b/util/autoport/main.go
index ee269661db..05a829be4c 100644
--- a/util/autoport/main.go
+++ b/util/autoport/main.go
@@ -789,10 +789,6 @@ func main() {
}
}
- at := Create(ctx, "acpi_tables.c")
- defer at.Close()
- at.WriteString("/* dummy */\n")
-
bi := Create(ctx, "board_info.txt")
defer bi.Close()