summaryrefslogtreecommitdiff
path: root/drivers/mmc/mmc_boot.c
Commit message (Collapse)AuthorAgeLines
* mmc: squash lines for immediate returnMasahiro Yamada2016-09-23-20/+8
| | | | | | | | | | | | | | These functions can be much simpler by squashing lines for immediate return. For *_bind() callbacks, they will be a simple wrapper function of an upper-level bind API. For mmc_set_{boot_bus_width,part_conf}, they will be a wrapper of mmc_switch(). Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
* mmc: Move MMC boot code into its own fileSimon Glass2016-07-11-0/+131
Rather than having an #ifdef in the main mmc.c file, control this feature from the Makefile by moving the code into its own file. Signed-off-by: Simon Glass <sjg@chromium.org>