[U-Boot] [PATCH 06/15] imx: spl: add MMC BOOT Device for i.MX8M
Troy Kisky
troy.kisky at boundarydevices.com
Fri Nov 9 18:14:45 UTC 2018
On 11/9/2018 1:16 AM, Peng Fan wrote:
> Add MMC BOOT Device for i.MX8M
>
> Signed-off-by: Peng Fan <peng.fan at nxp.com>
> ---
> arch/arm/mach-imx/spl.c | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
> diff --git a/arch/arm/mach-imx/spl.c b/arch/arm/mach-imx/spl.c
> index e82eaa5682..d4852eef92 100644
> --- a/arch/arm/mach-imx/spl.c
> +++ b/arch/arm/mach-imx/spl.c
> @@ -126,6 +126,7 @@ u32 spl_boot_device(void)
> enum boot_device boot_device_spl = get_boot_device();
>
> switch (boot_device_spl) {
> +#if defined(CONFIG_MX7)
This looks weird. Can imx6 no longer boot from SD1_BOOT/MMC1_BOOT ?
> case SD1_BOOT:
> case MMC1_BOOT:
> case SD2_BOOT:
> @@ -133,6 +134,14 @@ u32 spl_boot_device(void)
> case SD3_BOOT:
> case MMC3_BOOT:
> return BOOT_DEVICE_MMC1;
> +#elif defined(CONFIG_IMX8M)
> + case SD1_BOOT:
> + case MMC1_BOOT:
> + return BOOT_DEVICE_MMC1;
> + case SD2_BOOT:
> + case MMC2_BOOT:
> + return BOOT_DEVICE_MMC2;
> +#endif
> case NAND_BOOT:
> return BOOT_DEVICE_NAND;
> case SPI_NOR_BOOT:
>
More information about the U-Boot
mailing list