soc: arm: npcx: move workaround methods for npcx series to its soc.c
Move workaround methods for npcx series to soc init functions. If there's no workaround for this series, drop its soc.c file directly. Signed-off-by: Mulin Chao <mlchao@nuvoton.com>
This commit is contained in:
parent
34fddd8b4c
commit
f942b44c56
6 changed files with 27 additions and 44 deletions
|
@ -275,11 +275,6 @@ static int qspi_npcx_fiu_init(const struct device *dev)
|
|||
}
|
||||
}
|
||||
|
||||
/* Make sure there is no address field (UMA_ADDR_SIZE is zero) in UMA mode */
|
||||
if (IS_ENABLED(CONFIG_SOC_SERIES_NPCX4)) {
|
||||
SET_FIELD(inst->UMA_ECTS, NPCX_UMA_ECTS_UMA_ADDR_SIZE, 0);
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue