mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-15 09:03:59 +08:00
7b3d4f44ab
This EC is an incompatible variant of the typical Chrome OS embedded controller. It uses the same low-level communication and a similar protocol with some significant differences. The EC firmware does not support the same mailbox commands so it is not registered as a cros_ec device type. This commit exports the wilco_ec_mailbox() function so that other modules can use it to communicate with the EC. Signed-off-by: Duncan Laurie <dlaurie@google.com> Signed-off-by: Nick Crews <ncrews@chromium.org> [Fix the sparse warning: symbol 'wilco_ec_transfer' was not declared] Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> [Fix Kconfig dependencies for wilco_ec] Reported-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
19 lines
786 B
Makefile
19 lines
786 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
obj-$(CONFIG_CHROMEOS_LAPTOP) += chromeos_laptop.o
|
|
obj-$(CONFIG_CHROMEOS_PSTORE) += chromeos_pstore.o
|
|
obj-$(CONFIG_CHROMEOS_TBMC) += chromeos_tbmc.o
|
|
obj-$(CONFIG_CROS_EC_I2C) += cros_ec_i2c.o
|
|
obj-$(CONFIG_CROS_EC_SPI) += cros_ec_spi.o
|
|
cros_ec_lpcs-objs := cros_ec_lpc.o cros_ec_lpc_reg.o
|
|
cros_ec_lpcs-$(CONFIG_CROS_EC_LPC_MEC) += cros_ec_lpc_mec.o
|
|
obj-$(CONFIG_CROS_EC_LPC) += cros_ec_lpcs.o
|
|
obj-$(CONFIG_CROS_EC_PROTO) += cros_ec_proto.o
|
|
obj-$(CONFIG_CROS_KBD_LED_BACKLIGHT) += cros_kbd_led_backlight.o
|
|
obj-$(CONFIG_CROS_EC_LIGHTBAR) += cros_ec_lightbar.o
|
|
obj-$(CONFIG_CROS_EC_VBC) += cros_ec_vbc.o
|
|
obj-$(CONFIG_CROS_EC_DEBUGFS) += cros_ec_debugfs.o
|
|
obj-$(CONFIG_CROS_EC_SYSFS) += cros_ec_sysfs.o
|
|
|
|
obj-$(CONFIG_WILCO_EC) += wilco_ec/
|