modules: mec1501: Fix bugs in ACPI EC defines
ACPI EC Status register defines incorrect bit position names corrected. Signed-off-by: Scott Worley <scott.worley@microchip.com>
This commit is contained in:
parent
03c8819ac3
commit
688cb7deeb
|
@ -104,27 +104,27 @@
|
|||
* EC_STS and OS_CMD_STS(read) bit definitions
|
||||
*/
|
||||
#define MCHP_ACPI_EC_STS_OBF_POS 0u
|
||||
#define MCHP_ACPI_EC_STS_OBF (1ul << (ACPI_EC_STS_OBF_POS))
|
||||
#define MCHP_ACPI_EC_STS_OBF (1ul << (MCHP_ACPI_EC_STS_OBF_POS))
|
||||
#define MCHP_ACPI_EC_STS_IBF_POS 1u
|
||||
#define MCHP_ACPI_EC_STS_IBF (1ul << (ACPI_EC_STS_IBF_POS))
|
||||
#define MCHP_ACPI_EC_STS_IBF (1ul << (MCHP_ACPI_EC_STS_IBF_POS))
|
||||
#define MCHP_ACPI_EC_STS_UD1A_POS 2u
|
||||
#define MCHP_ACPI_EC_STS_UD1A (1ul << (ACPI_EC_STS_UD1A_POS))
|
||||
#define MCHP_ACPI_EC_STS_UD1A (1ul << (MCHP_ACPI_EC_STS_UD1A_POS))
|
||||
#define MCHP_ACPI_EC_STS_CMD_POS 3u
|
||||
#define MCHP_ACPI_EC_STS_CMD (1ul << (ACPI_EC_STS_CMD_POS))
|
||||
#define MCHP_ACPI_EC_STS_CMD (1ul << (MCHP_ACPI_EC_STS_CMD_POS))
|
||||
#define MCHP_ACPI_EC_STS_BURST_POS 4u
|
||||
#define MCHP_ACPI_EC_STS_BURST (1ul << (ACPI_EC_STS_BURST_POS))
|
||||
#define MCHP_ACPI_EC_STS_BURST (1ul << (MCHP_ACPI_EC_STS_BURST_POS))
|
||||
#define MCHP_ACPI_EC_STS_SCI_POS 5u
|
||||
#define MCHP_ACPI_EC_STS_SCI (1ul << (ACPI_EC_STS_SCI_POS))
|
||||
#define MCHP_ACPI_EC_STS_SCI (1ul << (MCHP_ACPI_EC_STS_SCI_POS))
|
||||
#define MCHP_ACPI_EC_STS_SMI_POS 6u
|
||||
#define MCHP_ACPI_EC_STS_SMI (1ul << (ACPI_EC_STS_SMI_POS))
|
||||
#define MCHP_ACPI_EC_STS_SMI (1ul << (MCHP_ACPI_EC_STS_SMI_POS))
|
||||
#define MCHP_ACPI_EC_STS_UD0A_POS 7u
|
||||
#define MCHP_ACPI_EC_STS_UD0A (1ul << (ACPI_EC_STS_UD0A_POS))
|
||||
#define MCHP_ACPI_EC_STS_UD0A (1ul << (MCHP_ACPI_EC_STS_UD0A_POS))
|
||||
|
||||
/*
|
||||
* EC_BYTE_CTRL and OS_BYTE_CTRL
|
||||
*/
|
||||
#define MCHP_ACPI_EC_BYTE_CTRL_4B_POS 0u
|
||||
#define MCHP_ACPI_EC_BYTE_CTRL_4B_EN (1ul << (ACPI_EC_BYTE_CTRL_4B_POS))
|
||||
#define MCHP_ACPI_EC_BYTE_CTRL_4B_EN (1ul << (MCHP_ACPI_EC_BYTE_CTRL_4B_POS))
|
||||
|
||||
/**
|
||||
* @brief ACPI EC Registers (ACPI_EC)
|
||||
|
|
Loading…
Reference in New Issue