aboutsummaryrefslogtreecommitdiff
path: root/src/vendorcode/google/chromeos/gnvs.h
diff options
context:
space:
mode:
authorStefan Reinauer <reinauer@chromium.org>2012-06-13 13:12:19 -0700
committerPatrick Georgi <patrick@georgi-clan.de>2012-07-25 08:31:39 +0200
commitbe1ef2329e21a2d9bc1b83e23769346832de2d81 (patch)
treeed93f4d29553b18163c2d248ccaafbeb35a121aa /src/vendorcode/google/chromeos/gnvs.h
parentd59d62484db7020c12438d2e7e308c81e46a4c9e (diff)
chromeos: Pass pointer to ChromeOS ACPI structure instead of VB Shared Data
coreboot used to pass some information to u-boot in the coreboot table and other information in a modified flat device tree. Since the FDT code was never upstreamed and removed from our tree, u-boot was changed to get the information it needs from the coreboot table alone. However, in the process of this change only the vboot shared data structure was passed on by coreboot, so when u-boot tried to update the ChromeOS specific ACPI entries, it would accidently overwrite the vboot data. This patch passes on the ChromeOS specific ACPI data structure instead of the vboot shared data. Another change to u-boot will teach it how to get to the vboot shared data from there. Change-Id: Ifbb64eafc0d9967887b4cdeebf97d0c4ce019290 Signed-off-by: Stefan Reinauer <reinauer@google.com> Reviewed-on: http://review.coreboot.org/1282 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'src/vendorcode/google/chromeos/gnvs.h')
-rw-r--r--src/vendorcode/google/chromeos/gnvs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vendorcode/google/chromeos/gnvs.h b/src/vendorcode/google/chromeos/gnvs.h
index 6dd740fb77..40674944fa 100644
--- a/src/vendorcode/google/chromeos/gnvs.h
+++ b/src/vendorcode/google/chromeos/gnvs.h
@@ -64,5 +64,6 @@ typedef struct {
extern chromeos_acpi_t *vboot_data;
void chromeos_init_vboot(chromeos_acpi_t *chromeos);
void chromeos_set_me_hash(u32*, int);
+void acpi_get_vdat_info(void **vdat_addr, uint32_t *vdat_size);
#endif