Skip to content
Snippets Groups Projects
Commit 8ce58093 authored by Javier Martinez Canillas's avatar Javier Martinez Canillas Committed by Olof Johansson
Browse files

platform/chrome: cros_ec_lpc - Depend on X86 || COMPILE_TEST


The ChromeOS EC is connected by LPC only on x86 platforms and no others,
so add a dependency describing that.

But also build the driver if the COMPILE_TEST option is enabled
to have build coverage in other architectures.

Signed-off-by: default avatarJavier Martinez Canillas <javier.martinez@collabora.co.uk>
[olof: reworded commit message]
Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
parent 18d0dc24
No related branches found
No related tags found
No related merge requests found
...@@ -49,7 +49,7 @@ config CROS_EC_CHARDEV ...@@ -49,7 +49,7 @@ config CROS_EC_CHARDEV
config CROS_EC_LPC config CROS_EC_LPC
tristate "ChromeOS Embedded Controller (LPC)" tristate "ChromeOS Embedded Controller (LPC)"
depends on MFD_CROS_EC depends on MFD_CROS_EC && (X86 || COMPILE_TEST)
help help
If you say Y here, you get support for talking to the ChromeOS EC If you say Y here, you get support for talking to the ChromeOS EC
over an LPC bus. This uses a simple byte-level protocol with a over an LPC bus. This uses a simple byte-level protocol with a
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment