Browse Source

Merge "fix(ast2700): fix mpll calculate statement" into integration

pull/1996/merge
Manish V Badarkhe 3 months ago
committed by TrustedFirmware Code Review
parent
commit
5cc5ded833
  1. 2
      plat/aspeed/ast2700/plat_bl31_setup.c

2
plat/aspeed/ast2700/plat_bl31_setup.c

@ -174,7 +174,7 @@ static uint32_t plat_get_pll_rate(int pll_idx)
break;
}
} else {
if (pll_reg.b.bypass != 0U) {
if (pll_reg.b.bypass == 0U) {
if (pll_idx == PLAT_CLK_MPLL) {
/* F = 25Mhz * [M / (n + 1)] / (p + 1) */
mul = (pll_reg.b.m) / ((pll_reg.b.n + 1));

Loading…
Cancel
Save