diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2020-06-17 08:15:39 +0300 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2021-01-10 11:18:05 +0000 |
commit | 82f6b932e904429c1903e2c13345451340f7c51b (patch) | |
tree | ae8ede8def53d8993e4b14ffe1ab5d93c4af21ad /src/include | |
parent | d77b5e9f991dddda5278393cd1336d6659f6f703 (diff) |
mb/x/acpi_tables: Move EC_RW detection
These boards without ChromeEC do not set ACTIVE_EC_RW
flag as part of the gnvs_assign_chromeos() function.
Create abstraction to avoid <vendorcode/chromeos/x> include.
Change-Id: Ic6029e1807fcfe7dd2c766ce8221e347b6b096f9
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/48777
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/acpi/acpi_gnvs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/acpi/acpi_gnvs.h b/src/include/acpi/acpi_gnvs.h index 1da6fd493a..9953e6a69d 100644 --- a/src/include/acpi/acpi_gnvs.h +++ b/src/include/acpi/acpi_gnvs.h @@ -10,6 +10,7 @@ void *gnvs_get_or_create(void); void acpi_inject_nvsa(void); void gnvs_assign_chromeos(void); +void gnvs_set_ecfw_rw(void); /* Platform code must implement these. */ struct global_nvs; |