[U-Boot] [PATCH V3 4/6] imx: mx6qp Enable PRG clock for IPU

Fabio Estevam festevam at gmail.com
Mon Jun 29 17:19:33 CEST 2015


On Mon, Jun 29, 2015 at 11:58 AM, Peng Fan <Peng.Fan at freescale.com> wrote:

> +
> +       if (is_mx6dqp()) {
> +               reg = readl(&mxc_ccm->CCGR6);
> +               reg |= MXC_CCM_CCGR6_PRG_CLK0_MASK;
> +               writel(reg, &mxc_ccm->CCGR6);

What about using setbits_le32 instead?

> +
> +               reg = readl(&mxc_ccm->CCGR3);
> +               reg |= MXC_CCM_CCGR3_IPU2_IPU_MASK;
> +               writel(reg, &mxc_ccm->CCGR3);
> +       }

Same here.

Regards,

Fabio Estevam


More information about the U-Boot mailing list