security/intel/txt: Clean up includes
Sort them alphabetically, and use <types.h> everywhere. Drop unused <intelblocks/systemagent.h> header, too. Change-Id: Ib8f3339e5969cf8552984164fa7e08e070987a24 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/46049 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Rudolph <siro@das-labor.org>
This commit is contained in:
parent
7a04d05f1d
commit
52082be9d6
|
@ -1,15 +1,15 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
|
||||
#include <arch/mmio.h>
|
||||
#include <string.h>
|
||||
#include <console/console.h>
|
||||
#include <types.h>
|
||||
#include <cbfs.h>
|
||||
#include <cpu/x86/lapic.h>
|
||||
#include <cpu/x86/cr.h>
|
||||
#include <cpu/x86/lapic.h>
|
||||
#include <cpu/x86/mp.h>
|
||||
#include <lib.h>
|
||||
#include <smp/node.h>
|
||||
#include <string.h>
|
||||
#include <types.h>
|
||||
|
||||
#if CONFIG(SOC_INTEL_COMMON_BLOCK_SA)
|
||||
#include <soc/intel/common/reset.h>
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
|
||||
#include <stdint.h>
|
||||
#include <cpu/x86/lapic.h>
|
||||
#include <cpu/x86/cr.h>
|
||||
#include <cpu/x86/cache.h>
|
||||
#include <cpu/x86/mp.h>
|
||||
#include <types.h>
|
||||
|
||||
#include "txt_register.h"
|
||||
#include "txt_getsec.h"
|
||||
|
|
|
@ -1,12 +1,9 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
|
||||
#include <console/console.h>
|
||||
#if CONFIG(SOC_INTEL_COMMON_BLOCK_SA)
|
||||
#include <intelblocks/systemagent.h>
|
||||
#endif
|
||||
|
||||
#include <arch/mmio.h>
|
||||
#include <console/console.h>
|
||||
#include <string.h>
|
||||
#include <types.h>
|
||||
|
||||
#include "txt.h"
|
||||
#include "txt_register.h"
|
||||
|
|
|
@ -1,16 +1,15 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
|
||||
#include <arch/mmio.h>
|
||||
#include <acpi/acpi.h>
|
||||
#include <bootstate.h>
|
||||
#include <arch/mmio.h>
|
||||
#include <bootmem.h>
|
||||
#include <console/console.h>
|
||||
#include <stdint.h>
|
||||
#include <bootstate.h>
|
||||
#include <cbfs.h>
|
||||
#include <console/console.h>
|
||||
#include <cpu/intel/common/common.h>
|
||||
#include <cpu/x86/msr.h>
|
||||
|
||||
#include <device/pci_ops.h>
|
||||
#include <types.h>
|
||||
|
||||
#include "txt.h"
|
||||
#include "txt_register.h"
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#ifndef SECURITY_INTEL_TXT_GETSEC_H_
|
||||
#define SECURITY_INTEL_TXT_GETSEC_H_
|
||||
|
||||
#include <stdint.h>
|
||||
#include <types.h>
|
||||
|
||||
bool getsec_parameter(uint32_t *version_mask,
|
||||
uint32_t *version_numbers_supported,
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
#define SECURITY_INTEL_TXT_REGISTER_H_
|
||||
|
||||
#include <types.h>
|
||||
#include <stddef.h>
|
||||
|
||||
/*
|
||||
* Document: 315168-016
|
||||
|
|
Loading…
Reference in New Issue