wtm1/wtm2/baskingridge: Enable TPM ACPI device
This enables the TPM device in ACPI tables so the OS is able to probe for the TPM without needing it be force loaded. Change-Id: I21e660ac1c12e3e1341cf266cf8f0bf03763df5a Signed-off-by: Duncan Laurie <dlaurie@chromium.org> Reviewed-on: http://review.coreboot.org/2968 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
This commit is contained in:
parent
08e3656b51
commit
f6763db83e
|
@ -89,6 +89,9 @@ static void acpi_create_gnvs(global_nvs_t *gnvs)
|
||||||
/* CBMEM TOC */
|
/* CBMEM TOC */
|
||||||
gnvs->cmem = 0;
|
gnvs->cmem = 0;
|
||||||
|
|
||||||
|
/* TPM Present */
|
||||||
|
gnvs->tpmp = 1;
|
||||||
|
|
||||||
/* IGD Displays */
|
/* IGD Displays */
|
||||||
gnvs->ndid = 3;
|
gnvs->ndid = 3;
|
||||||
gnvs->did[0] = 0x80000100;
|
gnvs->did[0] = 0x80000100;
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
* This file is part of the coreboot project.
|
* This file is part of the coreboot project.
|
||||||
*
|
*
|
||||||
* Copyright (C) 2007-2009 coresystems GmbH
|
* Copyright (C) 2007-2009 coresystems GmbH
|
||||||
* Copyright (C) 2011 The ChromiumOS Authors. All rights reserved.
|
* Copyright 2011 Google Inc.
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
@ -18,6 +18,8 @@
|
||||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define ENABLE_TPM
|
||||||
|
|
||||||
DefinitionBlock(
|
DefinitionBlock(
|
||||||
"dsdt.aml",
|
"dsdt.aml",
|
||||||
"DSDT",
|
"DSDT",
|
||||||
|
|
|
@ -86,6 +86,9 @@ static void acpi_create_gnvs(global_nvs_t *gnvs)
|
||||||
/* CBMEM TOC */
|
/* CBMEM TOC */
|
||||||
gnvs->cmem = 0;
|
gnvs->cmem = 0;
|
||||||
|
|
||||||
|
/* TPM Present */
|
||||||
|
gnvs->tpmp = 1;
|
||||||
|
|
||||||
/* IGD Displays */
|
/* IGD Displays */
|
||||||
gnvs->ndid = 3;
|
gnvs->ndid = 3;
|
||||||
gnvs->did[0] = 0x80000100;
|
gnvs->did[0] = 0x80000100;
|
||||||
|
|
|
@ -18,6 +18,8 @@
|
||||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define ENABLE_TPM
|
||||||
|
|
||||||
DefinitionBlock(
|
DefinitionBlock(
|
||||||
"dsdt.aml",
|
"dsdt.aml",
|
||||||
"DSDT",
|
"DSDT",
|
||||||
|
|
|
@ -86,6 +86,9 @@ static void acpi_create_gnvs(global_nvs_t *gnvs)
|
||||||
/* CBMEM TOC */
|
/* CBMEM TOC */
|
||||||
gnvs->cmem = 0;
|
gnvs->cmem = 0;
|
||||||
|
|
||||||
|
/* TPM Present */
|
||||||
|
gnvs->tpmp = 1;
|
||||||
|
|
||||||
/* IGD Displays */
|
/* IGD Displays */
|
||||||
gnvs->ndid = 3;
|
gnvs->ndid = 3;
|
||||||
gnvs->did[0] = 0x80000100;
|
gnvs->did[0] = 0x80000100;
|
||||||
|
|
|
@ -18,6 +18,8 @@
|
||||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define ENABLE_TPM
|
||||||
|
|
||||||
DefinitionBlock(
|
DefinitionBlock(
|
||||||
"dsdt.aml",
|
"dsdt.aml",
|
||||||
"DSDT",
|
"DSDT",
|
||||||
|
|
Loading…
Reference in New Issue