divers: clock_control: npcx: HFCBCD3 in CDCG is only available in npcx4
As title. Signed-off-by: Alvis Sun <yfsun@nuvoton.com>
This commit is contained in:
parent
87b95be52a
commit
421ca39cf0
1 changed files with 2 additions and 0 deletions
|
@ -232,7 +232,9 @@ static int npcx_clock_control_init(const struct device *dev)
|
|||
inst_cdcg->HFCBCD = VAL_HFCBCD;
|
||||
inst_cdcg->HFCBCD1 = VAL_HFCBCD1;
|
||||
inst_cdcg->HFCBCD2 = VAL_HFCBCD2;
|
||||
#if defined(CONFIG_SOC_SERIES_NPCX4)
|
||||
inst_cdcg->HFCBCD3 = VAL_HFCBCD3;
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Power-down (turn off clock) the modules initially for better
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue