summaryrefslogtreecommitdiff
path: root/include/linux/kernel.h
diff options
context:
space:
mode:
authorStefan Agner <[email protected]>2019-07-12 12:35:05 +0200
committerStefano Babic <[email protected]>2019-07-19 20:32:24 +0200
commit42a4f182555e095256926630f1ecde0190ded25f (patch)
tree3d7b19f3fc825cacaefa6d2cbd8917d69aa955fc /include/linux/kernel.h
parent5fdef6c4c5cb33ad675b5203eea39230d6f84914 (diff)
toradex: configblock: initialize MMC before switching partition
If the module is in serial downloader mode, we do no longer read the environment from eMMC. Therefor, the eMMC is unitialized when trying to read the config block. Use mmc_init to initialize the selected MMC device before using it. Note: In case the MMC has already been initialized, the mmc_init detects that and returns immediately. Signed-off-by: Stefan Agner <[email protected]> Acked-by: Max Krummenacher <[email protected]> Signed-off-by: Marcel Ziswiler <[email protected]> Reviewed-by: Igor Opaniuk <[email protected]> Reviewed-by: Oleksandr Suvorov <[email protected]>
Diffstat (limited to 'include/linux/kernel.h')
0 files changed, 0 insertions, 0 deletions