[U-Boot] [PATCH 06/27] mmc: Move MMC boot code into its own file
Simon Glass
sjg at chromium.org
Mon Jul 4 01:24:52 CEST 2016
On 12 June 2016 at 23:30, Simon Glass <sjg at 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 <sjg at 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.
More information about the U-Boot
mailing list