mmc: Move MMC boot code into its own file
authorSimon Glass <sjg@chromium.org>
Mon, 13 Jun 2016 05:30:18 +0000 (23:30 -0600)
committerSimon Glass <sjg@chromium.org>
Mon, 11 Jul 2016 20:06:44 +0000 (14:06 -0600)
commitc40704f4b13a19a95aa13965c0f1f6a93b5574c0
treed3ed36ea61e7887fa5238c0fb0ff49004784823d
parent5aed4cbba07526d1a575f07f45b4d10d8cdca11e
mmc: Move MMC boot code into its own file

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>
drivers/mmc/Makefile
drivers/mmc/mmc.c
drivers/mmc/mmc_boot.c [new file with mode: 0644]
drivers/mmc/mmc_private.h