From 1e2676bf1bd0c2c0083239f29164048eb7645496 Mon Sep 17 00:00:00 2001 From: Iru Cai Date: Sat, 12 Jan 2019 21:05:10 +0800 Subject: [PATCH] autoport: move the generated gnvs.c to acpi_tables.c Change-Id: I8f6eea579f69060608639b1c50255acd8ab5a4a2 Signed-off-by: Iru Cai Reviewed-on: https://review.coreboot.org/c/30889 Tested-by: build bot (Jenkins) Reviewed-by: Tristan Corrick Reviewed-by: Angel Pons --- util/autoport/bd82x6x.go | 4 +--- util/autoport/main.go | 4 ---- 2 files changed, 1 insertion(+), 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()