mirror of
https://github.com/antonblanchard/microwatt.git
synced 2026-02-23 15:42:05 +00:00
When using an FPGA which routes the SPI clock via STARTUPE2 as is done on the Nexys Video (or optionally on Arty), the HW needs at least 3 beats of that clock to complete the switch from the internal config clock to the one we provide. This works around it by having the SPI controller send 8 dummy clocks at boot time with CS held high. Without this, flash identification will fail those boards Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
23 KiB
23 KiB