The Host Interface Type in the DEVCNT register sets the HIF type (either eSPI or LPC). Currently, it is configured in the host-interface-related drivers like eSPI or SHI. However, some I/O pads sourced from VHIF in the other modules such as GPIO and I3C also rely on this field. It might be problematic when using those I/Os without enabling eSPI or SHI drivers. This commit moves the setting from the specific drivers to the global system initialization function scfg_init(). Signed-off-by: Jun Lin <CHLin56@nuvoton.com> |
||
|---|---|---|
| .. | ||
| ec_host_cmd | ||
| hawkbit | ||
| mcumgr | ||
| osdp | ||
| updatehub | ||
| CMakeLists.txt | ||
| Kconfig | ||