Angel Pons | b04c2f8 | 2020-04-03 01:23:20 +0200 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 | /* This file is part of the coreboot project. */ |
Julien Viard de Galbert | 4f13640 | 2018-02-16 14:40:53 +0100 | [diff] [blame] | 3 | |
| 4 | #include <types.h> |
Julien Viard de Galbert | 4f13640 | 2018-02-16 14:40:53 +0100 | [diff] [blame] | 5 | #include <arch/acpi.h> |
Julien Viard de Galbert | 4f13640 | 2018-02-16 14:40:53 +0100 | [diff] [blame] | 6 | #include <arch/smp/mpspec.h> |
| 7 | #include <device/device.h> |
Julien Viard de Galbert | 4f13640 | 2018-02-16 14:40:53 +0100 | [diff] [blame] | 8 | #include <cpu/x86/msr.h> |
| 9 | |
Julien Viard de Galbert | cf2b72f | 2018-04-05 11:24:45 +0200 | [diff] [blame] | 10 | #include <intelblocks/acpi.h> |
Julien Viard de Galbert | 4f13640 | 2018-02-16 14:40:53 +0100 | [diff] [blame] | 11 | #include <soc/acpi.h> |
| 12 | #include <soc/nvs.h> |
| 13 | |
| 14 | extern const unsigned char AmlCode[]; |
| 15 | |
| 16 | void acpi_create_gnvs(global_nvs_t *gnvs) |
| 17 | { |
| 18 | acpi_init_gnvs(gnvs); |
| 19 | |
| 20 | /* Disable USB ports in S5 */ |
| 21 | gnvs->s5u0 = 0; |
| 22 | gnvs->s5u1 = 0; |
| 23 | |
| 24 | /* TPM Present */ |
| 25 | gnvs->tpmp = 0; |
| 26 | } |