diff options
author | Faiz Abbas <faiz_abbas@ti.com> | 2020-02-26 13:44:36 +0530 |
---|---|---|
committer | Peng Fan <peng.fan@nxp.com> | 2020-03-09 08:33:16 +0800 |
commit | d45ffb79376a9ab28ddfd2a61111a1732541289a (patch) | |
tree | a6e5559f6801d6a07c542055ec24e7ebd5d16f3a /arch/arm/mach-k3/include | |
parent | cf0082559698765a96f96cb3811db6a91c02ca82 (diff) |
arm: K3: sysfw-loader: Add a config_pm_pre_callback()
System firmware does not guarantee that clocks going out of the device
will be stable during power management configuration. There are some
DCRC errors when SPL tries to get the next stage during eMMC boot after
sysfw pm configuration.
Therefore add a config_pm_pre_callback() to switch off the eMMC clock
before power management and restart it after it is done.
Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Diffstat (limited to 'arch/arm/mach-k3/include')
-rw-r--r-- | arch/arm/mach-k3/include/mach/sysfw-loader.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-k3/include/mach/sysfw-loader.h b/arch/arm/mach-k3/include/mach/sysfw-loader.h index 36eb265348..6f5612b4fd 100644 --- a/arch/arm/mach-k3/include/mach/sysfw-loader.h +++ b/arch/arm/mach-k3/include/mach/sysfw-loader.h @@ -7,6 +7,6 @@ #ifndef _SYSFW_LOADER_H_ #define _SYSFW_LOADER_H_ -void k3_sysfw_loader(void (*config_pm_done_callback)(void)); +void k3_sysfw_loader(void (*config_pm_pre_callback)(void), void (*config_pm_done_callback)(void)); #endif |