npcx: Inefficient calculations in WoV code |
|
Issue descriptionchip/npcx/wov.c has several inefficient calculations, where the parameter space is exhaustively searched via for() loop instead of calculating directly. For example: wov_calc_pll_div_s() wov_calc_pll_div_l() wov_set_agc_config() The worst-case runtime may be pretty bad. We should fix these calculations to be more efficient. |
|
►
Sign in to add a comment |
|