Skip to content

Commit 8ce5809

Browse files
Javier Martinez Canillasolofj
authored andcommitted
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: Javier Martinez Canillas <[email protected]> [olof: reworded commit message] Signed-off-by: Olof Johansson <[email protected]>
1 parent 18d0dc2 commit 8ce5809

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/platform/chrome/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ config CROS_EC_CHARDEV
4949

5050
config CROS_EC_LPC
5151
tristate "ChromeOS Embedded Controller (LPC)"
52-
depends on MFD_CROS_EC
52+
depends on MFD_CROS_EC && (X86 || COMPILE_TEST)
5353
help
5454
If you say Y here, you get support for talking to the ChromeOS EC
5555
over an LPC bus. This uses a simple byte-level protocol with a

0 commit comments

Comments
 (0)