Commits
Vignesh Raghavendra committed d7a66669720
arm: mach-k3: sysfw-loader: Fix loading of SYSFW during HyperFlash boot In case of HyperFlash boot on J721E, SYSFW reconfigures HyperFlash bus clock as soon as PM configuration is sent. Therefore it is necessary to reconfigure clocks back to boot frequency, which is currently done in config_pm_done_callback(). But this callback is called after extracting RM configuration pointer from FIT image and before applying it. Since, fit_get_data_by_name() (that is used to extract RM configuration) itself accesses HyperFlash, its necessary that clocks are reconfigured before that. Therefore move call to fit_get_data_by_name() after calling config_pm_done_callback(). With this HyperFlash boot works reliably at 83MHz. Fixes: 1d9fb73cad29 ("arm: mach-k3: sysfw-loader: Call PM config done callback asap") Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>