Skip to content
Commit 1aff2756 authored by Jun Lin's avatar Jun Lin Committed by Fabio Baltieri
Browse files

soc: npcx: scfg: select host interface type in global



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: default avatarJun Lin <CHLin56@nuvoton.com>
parent 2bdc874e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment