summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2017-06-09 14:15:01 +0200
committerUlf Hansson <ulf.hansson@linaro.org>2017-06-20 10:30:43 +0200
commit1cf8f7e5af3910781a21b84f13a34851aa228fe3 (patch)
treef062fa75f4aad61bf12b642e0780e45e3bc3e81b /init
parent066d9cc546c20e5f4f3c3c4ca08c107506728dcb (diff)
mmc: core: Move mmc bkops functions from core.c to mmc_ops.c
The mmc_start_bkops(), mmc_stop_bkops() and mmc_read_bkops_status() functions are all specific to eMMCs. To make this clear, let's move them from from core.c to mmc_ops.c and take the opportunity to make mmc_read_bkops_status() static. While moving them, get rid of MMC_BKOPS_MAX_TIMEOUT (4 min) and use the common default timeout MMC_OPS_TIMEOUT_MS (10 min) instead, as there is no need to have specific default timeout for bkops. Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Reviewed-by: Shawn Lin <shawn.lin@rock-chips.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions