mirror of
https://xff.cz/git/u-boot/
synced 2025-09-25 20:41:16 +02:00
x86: Fix member check in intel_gnvs
When CONFIG_CHROMEOS is not enabled this currently does not build. Fix it. Reported-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
This commit is contained in:
@@ -107,6 +107,10 @@ struct __packed acpi_global_nvs {
|
|||||||
u8 unused2[0x1000 - 0x100]; /* Pad out to 4096 bytes */
|
u8 unused2[0x1000 - 0x100]; /* Pad out to 4096 bytes */
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
#ifdef CONFIG_CHROMEOS
|
||||||
check_member(acpi_global_nvs, chromeos, GNVS_CHROMEOS_ACPI_OFFSET);
|
check_member(acpi_global_nvs, chromeos, GNVS_CHROMEOS_ACPI_OFFSET);
|
||||||
|
#else
|
||||||
|
check_member(acpi_global_nvs, unused2, GNVS_CHROMEOS_ACPI_OFFSET);
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* _INTEL_GNVS_H_ */
|
#endif /* _INTEL_GNVS_H_ */
|
||||||
|
Reference in New Issue
Block a user