summaryrefslogtreecommitdiff
path: root/src/ec
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2019-07-24 10:30:17 +0200
committerMartin Roth <martinroth@google.com>2019-07-25 16:46:17 +0000
commit77f778c0c3170b53e718376df089682e295947f7 (patch)
tree0b6f7044333ad7a8d951b57cdf047a8cae7e720d /src/ec
parentc9c80c69073bb2677b0b2e58b60fcf93822cb2c7 (diff)
ec/google/wilco: Hide wilco symbols when unused
This cleans up .config file from unused wilco symbols. Change-Id: I813d3fe57b97e2c1ba67e1e3674de256c2529029 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/34539 Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-by: Martin Roth <martinroth@google.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/ec')
-rw-r--r--src/ec/google/wilco/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ec/google/wilco/Kconfig b/src/ec/google/wilco/Kconfig
index 4202c1d7b5..25d7cfafc2 100644
--- a/src/ec/google/wilco/Kconfig
+++ b/src/ec/google/wilco/Kconfig
@@ -6,6 +6,8 @@ config EC_GOOGLE_WILCO
help
Google Wilco Embedded Controller interface.
+if EC_GOOGLE_WILCO
+
config EC_BASE_ACPI_DATA
hex
default 0x930
@@ -46,3 +48,5 @@ config EC_BASE_PACKET
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.
+
+endif # EC_GOOGLE_WILCO