mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-27 23:20:26 +09:00
x86: acpi: Expand the GNVS
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>
This commit is contained in:
parent
55109f1d4e
commit
7924b499a2
@ -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_ */
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user