[PATCH] cmd: mmc: add mmcboot command
Simon Glass
sjg at chromium.org
Tue Dec 29 04:32:32 CET 2020
On Wed, 23 Dec 2020 at 12:57, Ravik Hasija <rahasij at linux.microsoft.com> wrote:
>
> Similar to usbboot, add command line to boot from raw mmc partition
> using common_diskboot(), which supports legacy or FIT images.
>
> Usage:
> mmcboot loadAaddr dev:part
>
> Where <loadAddr> defaults to CONFIG_SYS_LOAD_ADDR, and <dev:part>
> defaults to ${bootdevice}.
>
> Also fixing config macro usage for CONFIG_SUPPORT_EMMC_BOOT (suggested
> by checkpatch.pl).
>
> Signed-off-by: Ravik Hasija <rahasij at linux.microsoft.com>
> Signed-off-by: Dhananjay Phadke <dphadke at linux.microsoft.com>
> ---
> cmd/mmc.c | 22 +++++++++++++++++++---
> 1 file changed, 19 insertions(+), 3 deletions(-)
>
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list