Nico Huber has submitted this change and it was merged. ( https://review.coreboot.org/c/coreboot/+/30889 )
Change subject: autoport: move the generated gnvs.c to acpi_tables.c ......................................................................
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 --- M util/autoport/bd82x6x.go M util/autoport/main.go 2 files changed, 1 insertion(+), 7 deletions(-)
Approvals: build bot (Jenkins): Verified Tristan Corrick: Looks good to me, approved Angel Pons: Looks good to me, approved
diff --git a/util/autoport/bd82x6x.go b/util/autoport/bd82x6x.go index 887a520..29b1c21 100644 --- a/util/autoport/bd82x6x.go +++ b/util/autoport/bd82x6x.go @@ -391,7 +391,7 @@ } sb.WriteString("}\n")
- gnvs := Create(ctx, "gnvs.c") + gnvs := Create(ctx, "acpi_tables.c") defer gnvs.Close()
Add_gpl(gnvs) @@ -415,8 +415,6 @@ gnvs->tpsv = 90; } `) - - AddRAMStageFile("gnvs.c", "") }
func init() { diff --git a/util/autoport/main.go b/util/autoport/main.go index ee26966..05a829b 100644 --- a/util/autoport/main.go +++ b/util/autoport/main.go @@ -789,10 +789,6 @@ } }
- at := Create(ctx, "acpi_tables.c") - defer at.Close() - at.WriteString("/* dummy */\n") - bi := Create(ctx, "board_info.txt") defer bi.Close()