soc/intel/common/dmi: Move DMI defines into DMI driver header
Move definitions of DMI control register and Secure Register Lock (SRL) bit into common/block/dmi driver header file. BUG=b:171534504 Signed-off-by: Srinidhi N Kaushik <srinidhi.n.kaushik@intel.com> Change-Id: Iefee818f58f399d4a127662a300b6e132494bad0 Reviewed-on: https://review.coreboot.org/c/coreboot/+/48257 Reviewed-by: Furquan Shaikh <furquan@google.com> Reviewed-by: Duncan Laurie <dlaurie@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
640f0ce93f
commit
876b422641
|
@ -9,6 +9,7 @@
|
|||
#include <device/mmio.h>
|
||||
#include <device/device.h>
|
||||
#include <device/pci_ops.h>
|
||||
#include <intelblocks/dmi.h>
|
||||
#include <intelblocks/fast_spi.h>
|
||||
#include <intelblocks/gspi.h>
|
||||
#include <intelblocks/lpc_lib.h>
|
||||
|
@ -34,9 +35,6 @@
|
|||
#define PCR_PSFX_TO_SHDW_PCIEN_IOEN 0x01
|
||||
#define PCR_PSFX_T0_SHDW_PCIEN 0x1C
|
||||
|
||||
#define PCR_DMI_DMICTL 0x2234
|
||||
#define PCR_DMI_DMICTL_SRLOCK (1 << 31)
|
||||
|
||||
#define PCR_DMI_ACPIBA 0x27B4
|
||||
#define PCR_DMI_ACPIBDID 0x27B8
|
||||
#define PCR_DMI_PMBASEA 0x27AC
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
#include <device/mmio.h>
|
||||
#include <device/device.h>
|
||||
#include <device/pci_ops.h>
|
||||
#include <intelblocks/dmi.h>
|
||||
#include <intelblocks/fast_spi.h>
|
||||
#include <intelblocks/gspi.h>
|
||||
#include <intelblocks/lpc_lib.h>
|
||||
|
@ -32,9 +33,6 @@
|
|||
#define PCR_PSFX_TO_SHDW_PCIEN_IOEN 0x01
|
||||
#define PCR_PSFX_T0_SHDW_PCIEN 0x1C
|
||||
|
||||
#define PCR_DMI_DMICTL 0x2234
|
||||
#define PCR_DMI_DMICTL_SRLOCK (1 << 31)
|
||||
|
||||
#define PCR_DMI_ACPIBA 0x27B4
|
||||
#define PCR_DMI_ACPIBDID 0x27B8
|
||||
#define PCR_DMI_PMBASEA 0x27AC
|
||||
|
|
|
@ -5,6 +5,9 @@
|
|||
|
||||
#include <types.h>
|
||||
|
||||
#define PCR_DMI_DMICTL 0x2234
|
||||
#define PCR_DMI_DMICTL_SRLOCK (1 << 31)
|
||||
|
||||
/*
|
||||
* Takes base, size and destination ID and configures the GPMR
|
||||
* for accessing the region.
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
#include <device/device.h>
|
||||
#include <device/mmio.h>
|
||||
#include <device/pci_ops.h>
|
||||
#include <intelblocks/dmi.h>
|
||||
#include <intelblocks/fast_spi.h>
|
||||
#include <intelblocks/gspi.h>
|
||||
#include <intelblocks/lpc_lib.h>
|
||||
|
@ -31,9 +32,6 @@
|
|||
#define PCR_PSFX_TO_SHDW_PCIEN_IOEN 0x01
|
||||
#define PCR_PSFX_T0_SHDW_PCIEN 0x1C
|
||||
|
||||
#define PCR_DMI_DMICTL 0x2234
|
||||
#define PCR_DMI_DMICTL_SRLOCK (1 << 31)
|
||||
|
||||
#define PCR_DMI_ACPIBA 0x27B4
|
||||
#define PCR_DMI_ACPIBDID 0x27B8
|
||||
#define PCR_DMI_PMBASEA 0x27AC
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
#include <device/mmio.h>
|
||||
#include <device/device.h>
|
||||
#include <device/pci_ops.h>
|
||||
#include <intelblocks/dmi.h>
|
||||
#include <intelblocks/fast_spi.h>
|
||||
#include <intelblocks/gspi.h>
|
||||
#include <intelblocks/lpc_lib.h>
|
||||
|
@ -27,9 +28,6 @@
|
|||
#define PCR_PSFX_TO_SHDW_PCIEN_IOEN 0x01
|
||||
#define PCR_PSFX_T0_SHDW_PCIEN 0x1C
|
||||
|
||||
#define PCR_DMI_DMICTL 0x2234
|
||||
#define PCR_DMI_DMICTL_SRLOCK (1 << 31)
|
||||
|
||||
#define PCR_DMI_ACPIBA 0x27B4
|
||||
#define PCR_DMI_ACPIBDID 0x27B8
|
||||
#define PCR_DMI_PMBASEA 0x27AC
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
#include <device/mmio.h>
|
||||
#include <device/device.h>
|
||||
#include <device/pci_ops.h>
|
||||
#include <intelblocks/dmi.h>
|
||||
#include <intelblocks/fast_spi.h>
|
||||
#include <intelblocks/gspi.h>
|
||||
#include <intelblocks/lpc_lib.h>
|
||||
|
@ -31,9 +32,6 @@
|
|||
#define PCR_PSFX_TO_SHDW_PCIEN_IOEN 0x01
|
||||
#define PCR_PSFX_T0_SHDW_PCIEN 0x1C
|
||||
|
||||
#define PCR_DMI_DMICTL 0x2234
|
||||
#define PCR_DMI_DMICTL_SRLOCK (1 << 31)
|
||||
|
||||
#define PCR_DMI_ACPIBA 0x27B4
|
||||
#define PCR_DMI_ACPIBDID 0x27B8
|
||||
#define PCR_DMI_PMBASEA 0x27AC
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
#include <device/device.h>
|
||||
#include <device/pci_def.h>
|
||||
#include <intelblocks/cse.h>
|
||||
#include <intelblocks/dmi.h>
|
||||
#include <intelblocks/fast_spi.h>
|
||||
#include <intelblocks/itss.h>
|
||||
#include <intelblocks/lpc_lib.h>
|
||||
|
@ -20,8 +21,6 @@
|
|||
#include <soc/pmc.h>
|
||||
#include "../chip.h"
|
||||
|
||||
#define PCR_DMI_DMICTL 0x2234
|
||||
#define PCR_DMI_DMICTL_SRLOCK (1 << 31)
|
||||
#define PCR_DMI_ACPIBA 0x27B4
|
||||
#define PCR_DMI_ACPIBDID 0x27B8
|
||||
#define PCR_DMI_PMBASEA 0x27AC
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
#include <device/mmio.h>
|
||||
#include <device/device.h>
|
||||
#include <device/pci_ops.h>
|
||||
#include <intelblocks/dmi.h>
|
||||
#include <intelblocks/fast_spi.h>
|
||||
#include <intelblocks/gspi.h>
|
||||
#include <intelblocks/lpc_lib.h>
|
||||
|
@ -36,9 +37,6 @@
|
|||
#define PCR_PSFX_TO_SHDW_PCIEN_IOEN 0x01
|
||||
#define PCR_PSFX_T0_SHDW_PCIEN 0x1C
|
||||
|
||||
#define PCR_DMI_DMICTL 0x2234
|
||||
#define PCR_DMI_DMICTL_SRLOCK (1 << 31)
|
||||
|
||||
#define PCR_DMI_ACPIBA 0x27B4
|
||||
#define PCR_DMI_ACPIBDID 0x27B8
|
||||
#define PCR_DMI_PMBASEA 0x27AC
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
#include <device/pci_ops.h>
|
||||
#include <soc/pci_devs.h>
|
||||
#include <soc/pcr_ids.h>
|
||||
#include <intelblocks/dmi.h>
|
||||
#include <intelblocks/pcr.h>
|
||||
#include <intelblocks/rtc.h>
|
||||
#include <intelblocks/p2sb.h>
|
||||
|
@ -11,8 +12,6 @@
|
|||
#include <soc/pmc.h>
|
||||
#include <console/console.h>
|
||||
|
||||
#define PCR_DMI_DMICTL 0x2234
|
||||
#define PCR_DMI_DMICTL_SRLOCK (1 << 31)
|
||||
#define PCR_DMI_ACPIBA 0x27B4
|
||||
#define PCR_DMI_ACPIBDID 0x27B8
|
||||
#define PCR_DMI_PMBASEA 0x27AC
|
||||
|
|
Loading…
Reference in New Issue