aboutsummaryrefslogtreecommitdiff
path: root/util/autoport/bd82x6x.go
diff options
context:
space:
mode:
Diffstat (limited to 'util/autoport/bd82x6x.go')
-rw-r--r--util/autoport/bd82x6x.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/util/autoport/bd82x6x.go b/util/autoport/bd82x6x.go
index 5d943e43fe..e2a84e4c51 100644
--- a/util/autoport/bd82x6x.go
+++ b/util/autoport/bd82x6x.go
@@ -359,10 +359,11 @@ void mainboard_get_spd(spd_raw_data *spd, bool id_only)
defer gnvs.Close()
Add_gpl(gnvs)
- gnvs.WriteString(`#include <southbridge/intel/bd82x6x/nvs.h>
+ gnvs.WriteString(`#include <acpi/acpi_gnvs.h>
+#include <southbridge/intel/bd82x6x/nvs.h>
/* FIXME: check this function. */
-void acpi_create_gnvs(struct global_nvs *gnvs)
+void mainboard_fill_gnvs(struct global_nvs *gnvs)
{
/* The lid is open by default. */
gnvs->lids = 1;