diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2020-12-23 05:07:17 +0200 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2021-01-10 11:41:32 +0000 |
commit | 388c16a7e8be048f8d2db11eba305430c03a7647 (patch) | |
tree | 68e6de4315c90f6a4df27f438c2d937e67dc1498 /src/mainboard/google/cyan | |
parent | 98323cd2224fa9c4f7db857da1e4190a9782935f (diff) | |
download | coreboot-388c16a7e8be048f8d2db11eba305430c03a7647.tar.xz |
mb/google/cyan: Move board_id() to mainboard_fill_gnvs()
Only a google/cyan variant evalutes BDID in ASL.
Change-Id: I3d839333333b4762ae5350734c85471a3c12838a
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/49003
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/cyan')
-rw-r--r-- | src/mainboard/google/cyan/acpi_tables.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mainboard/google/cyan/acpi_tables.c b/src/mainboard/google/cyan/acpi_tables.c index a30cd6a2bd..e70290873b 100644 --- a/src/mainboard/google/cyan/acpi_tables.c +++ b/src/mainboard/google/cyan/acpi_tables.c @@ -3,6 +3,7 @@ #include <acpi/acpi.h> #include <acpi/acpi_gnvs.h> #include <arch/ioapic.h> +#include <boardid.h> #include <soc/acpi.h> #include <soc/nvs.h> @@ -22,6 +23,8 @@ void mainboard_fill_gnvs(struct global_nvs *gnvs) /* Disable PMIC I2C port for ACPI for all boards except cyan */ if (!CONFIG(BOARD_GOOGLE_CYAN)) gnvs->dev.lpss_en[LPSS_NVS_I2C2] = 0; + + gnvs->bdid = board_id(); } unsigned long acpi_fill_madt(unsigned long current) |