Commit 81709632 authored by Marc Jones's avatar Marc Jones Committed by chrome-bot
Browse files

kahlee: Enable LPC TPM



BRANCH=none
BUG=b:62103024
TEST=Depthcharge reports TPM found.

Change-Id: I35b4643567a3c380e14266678e9882eb271ef59c
Signed-off-by: default avatarMarc Jones <marcj303@gmail.com>
Signed-off-by: default avatarMarc Jones <marc.jones@scarletltd.com>
Reviewed-on: https://chromium-review.googlesource.com/528493


Commit-Ready: Martin Roth <martinroth@chromium.org>
Tested-by: default avatarMartin Roth <martinroth@chromium.org>
Reviewed-by: default avatarStefan Reinauer <reinauer@google.com>
parent f3ac9ecf
......@@ -17,7 +17,6 @@ CONFIG_CROSSYSTEM_ACPI=y
CONFIG_KERNEL_ZIMAGE=y
# Drivers
CONFIG_MOCK_TPM=y
CONFIG_DRIVER_EC_CROS=y
CONFIG_DRIVER_EC_CROS_LPC=y
CONFIG_DRIVER_FLASH_MEMMAPPED=y
......@@ -26,5 +25,5 @@ CONFIG_DRIVER_INPUT_PS2=y
CONFIG_DRIVER_INPUT_USB=y
CONFIG_DRIVER_POWER_FCH=y
CONFIG_DRIVER_AHCI=y
CONFIG_DRIVER_TPM_SPI=y
CONFIG_DRIVER_TPM_LPC=y
CONFIG_DRIVER_SOUND_HDA=y
......@@ -27,6 +27,7 @@
#include "drivers/sound/sound.h"
#include "drivers/storage/ahci.h"
#include "drivers/storage/blockdev.h"
#include "drivers/tpm/lpc.h"
#include "drivers/bus/usb/usb.h"
#include "vboot/util/flag.h"
......@@ -65,6 +66,8 @@ static int board_setup(void)
power_set_ops(&kern_power_ops);
tpm_set_ops(&new_lpc_tpm((void *)(uintptr_t)0xfed40000)->ops);
return 0;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment