]> git.ipfire.org Git - thirdparty/linux.git/commit
platform/chrome: cros_ec_proto: Allow to build as module
authorSlawomir Rosek <srosek@chromium.org>
Fri, 28 Mar 2025 13:26:12 +0000 (13:26 +0000)
committerTzung-Bi Shih <tzungbi@kernel.org>
Mon, 7 Apr 2025 02:51:00 +0000 (02:51 +0000)
commitccf395bde6aeefac139f4f250287feb139e3355d
tree43b84828ba438ba2a5207e94599c6bd78944c69e
parentda90147bf52b7ab6d8f021418496a7b6f39b2249
platform/chrome: cros_ec_proto: Allow to build as module

Allow to build ChromeOS EC communication protocol helpers as
kernel module which is particularly useful for Android GKI (Generic
Kernel Image) configuration. With this change the ChromeOS Platform
(CONFIG_CHROME_PLATFORMS=y) can be enabled directly from the vendor
kconfig fragment whithout additional configuration in gki_defconfig.

Signed-off-by: Slawomir Rosek <srosek@chromium.org>
Link: https://lore.kernel.org/r/20250328132612.511471-1-srosek@chromium.org
Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>
drivers/platform/chrome/Kconfig
drivers/platform/chrome/Makefile
drivers/platform/chrome/cros_ec_proto.c