diff options
author | Gwendal Grignou <gwendal@chromium.org> | 2015-07-25 02:49:00 -0700 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2015-07-30 19:58:09 +0000 |
commit | ff550b0e1abfc97a8531eed5515c75e0f37deba3 (patch) | |
tree | 9a9148a436f719437996d4703e2198942b9b5b3d /include | |
parent | a3a5c90b54670ddc865defc16757f1fef78ca322 (diff) | |
download | chrome-ec-ff550b0e1abfc97a8531eed5515c75e0f37deba3.tar.gz |
stm32: Enable 3rd SPI interface
Remove assumption of only one SPI master going to the SPI flash.
SPI3 can be used as second SPI master.
Define a new module type, SPI_FLASH, that can be turned
on/off when flash is not in used without impacting other
SPI masters.
BRANCH=smaug
BUG=chrome-os-partner:42304
TEST=Test on Ryu board.
Change-Id: Ie72471cea6f0a357ffee055a610d032580a794e7
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/288514
Diffstat (limited to 'include')
-rw-r--r-- | include/module_id.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/include/module_id.h b/include/module_id.h index 0a58eaab78..bc1ef0ab09 100644 --- a/include/module_id.h +++ b/include/module_id.h @@ -35,18 +35,19 @@ enum module_id { MODULE_PWM_KBLIGHT, MODULE_PWM_LED, MODULE_SPI, - MODULE_SPI_MASTER, - MODULE_SWITCH, /* 25 */ + MODULE_SPI_FLASH, + MODULE_SPI_MASTER, /* 25 */ + MODULE_SWITCH, MODULE_SYSTEM, MODULE_TASK, MODULE_THERMAL, - MODULE_UART, - MODULE_USART, /* 30 */ + MODULE_UART, /* 30 */ + MODULE_USART, MODULE_USB, MODULE_USB_DEBUG, MODULE_USB_PD, - MODULE_USB_PORT_POWER, - MODULE_USB_SWITCH, /* 35 */ + MODULE_USB_PORT_POWER, /* 35 */ + MODULE_USB_SWITCH, MODULE_VBOOT, /* Module count; not an actual module */ |