Skip to content

socfpga: SPL and DDR init

Pavel Machek u-boot 1 version New

Get series with b4
b4 am 20150728202838.GA25040@amd

Versions newest first

  1. v1 Latest0 of 172 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 172 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

Hi!

Quoted 9 lines
Quoted 9 lines

+ rw_mgr_mem_load_user(RW_MGR_MRS0_USER_MIRR, RW_MGR_MRS0_USER,
1);

(quoted diff) +3 -0
+       /*
+        * Need to wait tMOD (12CK or 15ns) time before issuing other
+        * commands, but we will have plenty of NIOS cycles before

actual

(quoted diff) +2 -0
+        * handoff so its okay.
+        */
Quoted 6 lines
Quoted 1 line

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.

Quoted 5 lines
Quoted 1 line

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?

Pavel

Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html