[U-Boot] [PATCH v3 1/6] arm: mvf600: Add Vybrid MVF600 CPU support

Wang Huan-B18965 B18965 at freescale.com
Wed May 22 04:59:15 CEST 2013


Hi, Fabio,

> -----Original Message-----
> From: Estevam Fabio-R49496
> Sent: Tuesday, May 21, 2013 9:48 PM
> To: Wang Huan-B18965
> Cc: sbabic at denx.de; u-boot at lists.denx.de; Liu Hui-R64343; Estevam Fabio-
> R49496
> Subject: Re: [PATCH v3 1/6] arm: mvf600: Add Vybrid MVF600 CPU support
> 
> On 05/21/2013 06:02 AM, Alison Wang wrote:
> 
> > +#ifdef CONFIG_MXC_OCOTP
> > +void enable_ocotp_clk(unsigned char enable) {
> > +	struct ccm_reg *ccm = (struct ccm_reg *)CCM_BASE_ADDR;
> > +	u32 reg;
> > +
> > +	reg = readl(&ccm->ccgr6);
> > +	if (enable)
> > +		reg |= CCM_CCGR6_OCOTP_CTRL_MASK;
> > +	else
> > +		reg |= ~CCM_CCGR6_OCOTP_CTRL_MASK;
> 
> Don't you mean: reg &= ~CCM_CCGR6_OCOTP_CTRL_MASK; ?
[Alison Wang] Yes. I will change. Thanks.


Best Regards,
Alison Wang







More information about the U-Boot mailing list