summaryrefslogtreecommitdiffstats
path: root/drivers/ddr/imx/imx8m/ddr_init.c
diff options
context:
space:
mode:
authorSean Anderson <seanga2@gmail.com>2020-10-17 08:36:27 -0400
committerPeng Fan <peng.fan@nxp.com>2020-11-28 10:39:44 +0800
commitda129170600e33bdcea1762ebe4ea0a2c9312a9e (patch)
treeaf1a9e9cfbb06107a215bb05151f44d7c618c62e /drivers/ddr/imx/imx8m/ddr_init.c
parent7889951d0f56eab746a7c8fde350a022ba0361ca (diff)
downloadu-boot-da129170600e33bdcea1762ebe4ea0a2c9312a9e.tar.gz
u-boot-da129170600e33bdcea1762ebe4ea0a2c9312a9e.tar.xz
u-boot-da129170600e33bdcea1762ebe4ea0a2c9312a9e.zip
mmc: Add some helper functions for retrying on error
All of the existing quirks add retries to various calls of mmc_send_cmd. mmc_send_cmd_quirks is a helper function to do this retrying behavior. It checks if quirks mode is enabled, and if a specific quirk is activated it retries on error. This also adds mmc_send_cmd_retry, which retries on error every time (instead of if a quirk is activated). Signed-off-by: Sean Anderson <seanga2@gmail.com> Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com> Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
Diffstat (limited to 'drivers/ddr/imx/imx8m/ddr_init.c')
0 files changed, 0 insertions, 0 deletions