coreboot-kgpe-d16/src/ec/google/wilco/Kconfig
Duncan Laurie 21dde8b25f ec/google/wilco: Add Wilco EC mailbox interface
The Google "Wilco" Embedded Controller is a new embedded controller that
will be used in some future devices.  The mailbox interface is simliar
to the existing Chromium EC protocol version 3, but not close enough
that it was convenient to re-use the full Chrome EC driver.

This commit adds the basic mailbox interface for ramstage which will be
used by future commits to send varous mailbox commands during the boot
process.  The IO base addresses for the mailbox interface are defined in
Kconfig so they can be changed by the mainboard if needed.

Change-Id: I8520dadfa982c9d14357cf2aa644e255cef425c2
Signed-off-by: Duncan Laurie <dlaurie@google.com>
Reviewed-on: https://review.coreboot.org/29113
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
2018-10-31 18:29:00 +00:00

47 lines
1.3 KiB
Text

config EC_GOOGLE_WILCO
bool
default n
select EC_GOOGLE_COMMON_MEC
help
Google Wilco Embedded Controller interface.
config EC_BASE_ACPI_DATA
hex
default 0x930
help
This option provides the 16-bit IO base address for the ACPI
data interface. This is the standard ACPI EC interface that
is used by the ACPI EC drivers in the OS.
config EC_BASE_ACPI_COMMAND
hex
default 0x934
help
This option provides the 16-bit IO base address for the ACPI
EC command interface. This is the standard ACPI EC interface
that is used by the ACPI EC drivers in the OS.
config EC_BASE_HOST_DATA
hex
default 0x940
help
This option provides the 16-bit IO base address for the host
data interface. This is the interface that is used to drive
the mailbox protocol.
config EC_BASE_HOST_COMMAND
hex
default 0x944
help
This option provides the 16-bit IO base address for the host
command interface. This is the interface that is used to drive
the mailbox protocol.
config EC_BASE_PACKET
hex
default 0x950
help
This option provides the 16-bit IO base address for the EC
mailbox interface data region. This data buffer is used along
with the host command and data registers to drive the EC
mailbox interface. This is also the MEC EMI base address.