On 12 June 2016 at 23:30, Simon Glass <s...@chromium.org> wrote: > 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 <s...@chromium.org> > --- > > drivers/mmc/Makefile | 3 ++ > drivers/mmc/mmc.c | 126 +------------------------------------------- > drivers/mmc/mmc_boot.c | 131 > ++++++++++++++++++++++++++++++++++++++++++++++ > drivers/mmc/mmc_private.h | 11 ++++ > 4 files changed, 146 insertions(+), 125 deletions(-) > create mode 100644 drivers/mmc/mmc_boot.c
Applied to u-boot-dm/next. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot