summaryrefslogtreecommitdiff
path: root/zephyr/drivers/cros_shi/cros_shi_npcx.c
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/drivers/cros_shi/cros_shi_npcx.c')
-rw-r--r--zephyr/drivers/cros_shi/cros_shi_npcx.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/zephyr/drivers/cros_shi/cros_shi_npcx.c b/zephyr/drivers/cros_shi/cros_shi_npcx.c
index ba75eecdae..a65fa734f7 100644
--- a/zephyr/drivers/cros_shi/cros_shi_npcx.c
+++ b/zephyr/drivers/cros_shi/cros_shi_npcx.c
@@ -803,14 +803,6 @@ static int shi_npcx_init(const struct device *dev)
struct shi_reg *const inst = HAL_INSTANCE(dev);
const struct device *const clk_dev =
device_get_binding(NPCX_CLK_CTRL_NAME);
- const struct npcx_alt shi_ver_ctrl[] = {
- { .group = SHI_VER_CTRL_ALT_FILED(group),
- .bit = SHI_VER_CTRL_ALT_FILED(bit),
- .inverted = SHI_VER_CTRL_ALT_FILED(inv) }
- };
-
- /* Enable the new version of SHI hardware module. */
- npcx_pinctrl_mux_configure(shi_ver_ctrl, 1, 1);
/* Turn on shi device clock first */
ret = clock_control_on(clk_dev,