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>
This commit is contained in:
Iru Cai 2019-01-12 21:05:10 +08:00 committed by Nico Huber
parent 5ce4c342a0
commit 1e2676bf1b
2 changed files with 1 additions and 7 deletions

View File

@ -391,7 +391,7 @@ void mainboard_get_spd(spd_raw_data *spd, bool id_only)
} }
sb.WriteString("}\n") sb.WriteString("}\n")
gnvs := Create(ctx, "gnvs.c") gnvs := Create(ctx, "acpi_tables.c")
defer gnvs.Close() defer gnvs.Close()
Add_gpl(gnvs) Add_gpl(gnvs)
@ -415,8 +415,6 @@ void acpi_create_gnvs(global_nvs_t *gnvs)
gnvs->tpsv = 90; gnvs->tpsv = 90;
} }
`) `)
AddRAMStageFile("gnvs.c", "")
} }
func init() { func init() {

View File

@ -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") bi := Create(ctx, "board_info.txt")
defer bi.Close() defer bi.Close()