projects
/
coreboot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add TPM support to coreboot
[coreboot.git]
/
src
/
arch
/
x86
/
boot
/
acpi.c
diff --git
a/src/arch/x86/boot/acpi.c
b/src/arch/x86/boot/acpi.c
index 168933a7263140870b531b099a77cb5ff7d5c2c4..33d730bc8c2f0eb90d5ade3c9781f9993b29a287 100644
(file)
--- a/
src/arch/x86/boot/acpi.c
+++ b/
src/arch/x86/boot/acpi.c
@@
-32,6
+32,9
@@
#include <device/pci.h>
#include <cbmem.h>
#include <cpu/x86/lapic_def.h>
#include <device/pci.h>
#include <cbmem.h>
#include <cpu/x86/lapic_def.h>
+#if CONFIG_CHROMEOS
+#include <vendorcode/google/chromeos/chromeos.h>
+#endif
u8 acpi_checksum(u8 *table, u32 length)
{
u8 acpi_checksum(u8 *table, u32 length)
{
@@
-524,6
+527,11
@@
void *acpi_find_wakeup_vector(void)
if (!acpi_is_wakeup())
return NULL;
if (!acpi_is_wakeup())
return NULL;
+#if CONFIG_CHROMEOS
+ printk(BIOS_DEBUG, "Verified boot TPM initialization.\n");
+ init_vboot();
+#endif
+
printk(BIOS_DEBUG, "Trying to find the wakeup vector...\n");
/* Find RSDP. */
printk(BIOS_DEBUG, "Trying to find the wakeup vector...\n");
/* Find RSDP. */