chromeos/gnvs: remove function and naming cleanup

- Remove unused acpi_get_chromeos_acpi_info (see CB:28190)
- Make function naming in gnvs.h consistent (start with "chromeos_")

BUG=b:112288216
TEST=compile and run on eve

Change-Id: I5b0066bc311b0ea995fa30bca1cd9235dc9b7d1b
Signed-off-by: Joel Kitching <kitching@google.com>
Reviewed-on: https://review.coreboot.org/28406
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Furquan Shaikh <furquan@google.com>
This commit is contained in:
Joel Kitching
2018-08-23 14:56:25 +08:00
committed by Patrick Georgi
parent 8e5e9cf1a8
commit 6fbd874391
12 changed files with 15 additions and 23 deletions

View File

@@ -367,7 +367,8 @@ static int smbios_write_type0(unsigned long *current, int handle)
#if IS_ENABLED(CONFIG_HAVE_ACPI_TABLES)
/* SMBIOS offsets start at 1 rather than 0 */
acpi_get_chromeos_acpi()->vbt10 = (u32)t->eos + (version_offset - 1);
chromeos_get_chromeos_acpi()->vbt10 =
(u32)t->eos + (version_offset - 1);
#endif
#endif /* CONFIG_CHROMEOS */