Do you need to call flash_init in both romstage and bootblock?
And could you also mention in the commit message how you tested it.
TEST=Loaded a 20MB image on HiFive unleashed
Thx review. Yes, it needs to be initialized multiple times, because romstage re-initializes the clock, so you need to reconfigure the spi frequency. The test is to write coreboot to the board and reboot.
To view, visit change 30466. To unsubscribe, or for help writing mail filters, visit settings.