> -----Original Message-----
> From: york sun
> Sent: Friday, August 26, 2016 11:00 PM
> To: Qianyu Gong <qianyu.g...@nxp.com>; u-boot@lists.denx.de
> Cc: Prabhakar Kushwaha <prabhakar.kushw...@nxp.com>; Mingkai Hu
> <mingkai...@nxp.com>; Shaohui Xie <shaohui....@nxp.com>; Zhiqiang Hou
> <zhiqiang....@nxp.com>; Wenbin Song <wenbin.s...@nxp.com>
> Subject: Re: [PATCH 1/8] drivers/ddr/fsl: add DEBUG_38
> 
> On 08/26/2016 04:40 AM, Gong Qianyu wrote:
> > From: Mingkai Hu <mingkai...@nxp.com>
> >
> > DEBUG_38 is needed for rev2 DDR controller.
> >
> > Signed-off-by: Mingkai Hu <mingkai...@nxp.com>
> > Signed-off-by: Gong Qianyu <qianyu.g...@nxp.com>
> > ---
> >  drivers/ddr/fsl/ctrl_regs.c | 2 ++
> >  1 file changed, 2 insertions(+)
> >
> > diff --git a/drivers/ddr/fsl/ctrl_regs.c b/drivers/ddr/fsl/ctrl_regs.c
> > index 24fd366..4ae8b80 100644
> > --- a/drivers/ddr/fsl/ctrl_regs.c
> > +++ b/drivers/ddr/fsl/ctrl_regs.c
> > @@ -2526,5 +2526,7 @@ compute_fsl_memctl_config_regs(const
> unsigned int ctrl_num,
> >             ddr->debug[2] |= 0x00000200;    /* set bit 22 */
> >  #endif
> >
> > +   ddr->debug[37] = 0x80000000;
> > +
> 
> NAK. You can't simply add a new register without checking if it exists on 
> older
> controllers.
> 
> York

Thanks, York. This is not needed and will remove it in next version.

Thanks,
Mingkai
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to