Commit 797e5fed authored by Ben Hutchings's avatar Ben Hutchings

hook-functions: Include cros_ec_spi and SPI drivers when MODULES=most

On some ChromeOS devices the keyboard is attached to an EC which the
host must communicate with over SPI.

Thanks: Alper Nebi Yasak <alpernebiyasak@gmail.com>
Signed-off-by: Ben Hutchings's avatarBen Hutchings <ben@decadent.org.uk>
parent 40f66474
......@@ -562,6 +562,8 @@ auto_add_modules()
hid-speedlink.ko hid-tivo.ko hid-twinhan.ko \
hid-uclogic.ko hid-wacom.ko hid-waltop.ko \
hid-wiimote.ko hid-zydacron.ko
# needed to access keyboard on some ChromeOS devices
modules="$modules cros_ec_spi"
# Any of these might be needed by other drivers
copy_modules_dir kernel/drivers/bus
......@@ -573,6 +575,7 @@ auto_add_modules()
copy_modules_dir kernel/drivers/phy
copy_modules_dir kernel/drivers/pinctrl
copy_modules_dir kernel/drivers/regulator
copy_modules_dir kernel/drivers/spi
copy_modules_dir kernel/drivers/usb/phy
# Needed for periodic fsck
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment