diff options
-rw-r--r-- | plat/imx/imx8m/imx8m_csu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plat/imx/imx8m/imx8m_csu.c b/plat/imx/imx8m/imx8m_csu.c index 3405fa59..b1f6886e 100644 --- a/plat/imx/imx8m/imx8m_csu.c +++ b/plat/imx/imx8m/imx8m_csu.c @@ -34,14 +34,14 @@ void imx_csu_init(const struct imx_csu_cfg *csu_cfg) if (val & CSU_SA_LOCK(csu->idx)) break; mmio_clrsetbits_32(CSU_SA_REG(csu->idx), CSU_SA_CFG(0x1, csu->idx), - CSU_SA_CFG(csu->hp | (csu->lock << 0x1), csu->idx)); + CSU_SA_CFG(csu->sa | (csu->lock << 0x1), csu->idx)); break; case CSU_HPCONTROL: val = mmio_read_32(CSU_HPCONTROL_REG(csu->idx)); if (val & CSU_HPCONTROL_LOCK(csu->idx)) break; mmio_clrsetbits_32(CSU_HPCONTROL_REG(csu->idx), CSU_HPCONTROL_CFG(0x1, csu->idx), - CSU_HPCONTROL_CFG(csu->hp | (csu->lock << 0x1), csu->idx)); + CSU_HPCONTROL_CFG(csu->hpctrl | (csu->lock << 0x1), csu->idx)); break; default: break; |