util/autoport: Rename to mainboard_fill_gnvs()
Change-Id: Ia8d7083ca2f21abbb5f184c1b55dcf1bf047a7be Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/49231 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
This commit is contained in:
parent
388c16a7e8
commit
732eaf20c3
|
@ -359,10 +359,11 @@ void mainboard_get_spd(spd_raw_data *spd, bool id_only)
|
||||||
defer gnvs.Close()
|
defer gnvs.Close()
|
||||||
|
|
||||||
Add_gpl(gnvs)
|
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. */
|
/* 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. */
|
/* The lid is open by default. */
|
||||||
gnvs->lids = 1;
|
gnvs->lids = 1;
|
||||||
|
|
|
@ -335,7 +335,7 @@ this value is correct. This can also be determined from the board's schematics.
|
||||||
|
|
||||||
## GNVS
|
## GNVS
|
||||||
|
|
||||||
`acpi_create_gnvs` sets values in GNVS, which then ACPI makes use of for
|
`mainboard_fill_gnvs` sets values in GNVS, which then ACPI makes use of for
|
||||||
various power-related functions. Normally, there is no need to modify it
|
various power-related functions. Normally, there is no need to modify it
|
||||||
on laptops (desktops have no "lid"!) but it makes sense to proofread it.
|
on laptops (desktops have no "lid"!) but it makes sense to proofread it.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue