[U-Boot] [PATCH 000/172] socfpga: SPL and DDR init

Marek Vasut marex at denx.de
Tue Jul 28 23:08:16 CEST 2015


On Tuesday, July 28, 2015 at 10:28:39 PM, Pavel Machek wrote:
> Hi!
> 
> > > +       rw_mgr_mem_load_user(RW_MGR_MRS0_USER_MIRR, RW_MGR_MRS0_USER,
> > > 1);
> > > +       /*
> > > +        * Need to wait tMOD (12CK or 15ns) time before issuing other
> > > +        * commands, but we will have plenty of NIOS cycles before
> > > actual
> > > +        * handoff so its okay.
> > > +        */
> > > 
> > > I don't understand this comment.
> > 
> > There's plenty of code between issuing the above instruction and
> > triggering the mem handoff, so we don't need to add explicit delay into
> > this function. Also, 15nS is like 15 instructions on the SoCFPGA, so
> > there is zero chance we will trigger the handoff too early.
> 
> What does this have to do with NIOS? CPU cores in FPGA are not
> mandatory, AFAICT.

I think the UniPHY has a NIOS in it, but Dinh might be able to clarify.

> > > It looks much better now, thanks,
> > 
> > It's far from good though and there will be another series after this one
> > I'm afraid. It might be even heftier, but I want to open the door to
> > proper SoCFPGA support this MW even if it means blowing them to shreds
> > ...
> 
> MW?

Merge Window.

Best regards,
Marek Vasut


More information about the U-Boot mailing list