mirror of
https://xff.cz/git/u-boot/
synced 2025-09-04 02:02:08 +02:00
cros_ec: Add MEC_EMI_BASE and size to the header file
Provide these values which are part of the EC interface now. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
This commit is contained in:
@@ -71,6 +71,10 @@
|
|||||||
#define EC_LPC_CMDR_SCI (1 << 5) /* SCI event is pending */
|
#define EC_LPC_CMDR_SCI (1 << 5) /* SCI event is pending */
|
||||||
#define EC_LPC_CMDR_SMI (1 << 6) /* SMI event is pending */
|
#define EC_LPC_CMDR_SMI (1 << 6) /* SMI event is pending */
|
||||||
|
|
||||||
|
/* MEC uses 0x800/0x804 as register/index pair, thus an 8-byte resource */
|
||||||
|
#define MEC_EMI_BASE 0x800
|
||||||
|
#define MEC_EMI_SIZE 8
|
||||||
|
|
||||||
#define EC_LPC_ADDR_MEMMAP 0x900
|
#define EC_LPC_ADDR_MEMMAP 0x900
|
||||||
#define EC_MEMMAP_SIZE 255 /* ACPI IO buffer max is 255 bytes */
|
#define EC_MEMMAP_SIZE 255 /* ACPI IO buffer max is 255 bytes */
|
||||||
#define EC_MEMMAP_TEXT_MAX 8 /* Size of a string in the memory map */
|
#define EC_MEMMAP_TEXT_MAX 8 /* Size of a string in the memory map */
|
||||||
|
Reference in New Issue
Block a user