]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
x86: acpi: Expand the GNVS
authorSimon Glass <sjg@chromium.org>
Tue, 22 Sep 2020 18:44:54 +0000 (12:44 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Fri, 25 Sep 2020 03:27:13 +0000 (11:27 +0800)
Expand this to 4KB so that it is possible to add custom information to it.
On Chromebooks this is used to pass verified-boot information.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/x86/include/asm/acpi/global_nvs.h
arch/x86/include/asm/intel_gnvs.h

index a552cf6374f36690ca21349207c77d4c3d6d1732..46383629cc53f47d8318a3b5e72eccb7f26906c0 100644 (file)
@@ -16,6 +16,6 @@
  * DSDT, since it is created by code, so ACPI_GNVS_ADDR is unused.
  */
 #define ACPI_GNVS_ADDR 0xdeadbeef
-#define ACPI_GNVS_SIZE 0x100
+#define ACPI_GNVS_SIZE 0x1000
 
 #endif /* _ACPI_GNVS_H_ */
index e2d479d4f32d9cb9ff646d8e25562d4d3a0413ac..c1e9d65779f18c1e76adbf9a576bd52f6e63e925 100644 (file)
@@ -36,6 +36,7 @@ struct __packed acpi_global_nvs {
        u8      unused2[0x1000 - 0x100];        /* Pad out to 4096 bytes */
 #endif
 };
+
 #ifdef CONFIG_CHROMEOS
 check_member(acpi_global_nvs, chromeos, GNVS_CHROMEOS_ACPI_OFFSET);
 #endif