[PATCH] ARM: i.MX: nxp-imx8mm-evk: use eMMC update handler

Sascha Hauer s.hauer at pengutronix.de
Fri Oct 2 00:21:38 EDT 2020


On Wed, Sep 30, 2020 at 03:24:34PM +0200, Lucas Stach wrote:
> Use the proper eMMC update handler to write the barebox image into
> the non-active boot partition and switch automatically.
> 
> Signed-off-by: Lucas Stach <l.stach at pengutronix.de>
> ---
>  arch/arm/boards/nxp-imx8mm-evk/board.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks

Sascha

> 
> diff --git a/arch/arm/boards/nxp-imx8mm-evk/board.c b/arch/arm/boards/nxp-imx8mm-evk/board.c
> index 8f5d851a8897..4350abd15793 100644
> --- a/arch/arm/boards/nxp-imx8mm-evk/board.c
> +++ b/arch/arm/boards/nxp-imx8mm-evk/board.c
> @@ -55,7 +55,7 @@ static int nxp_imx8mm_evk_init(void)
>  
>  	imx8mq_bbu_internal_mmc_register_handler("SD", "/dev/mmc1.barebox",
>  						 emmc_sd_flag);
> -	imx8mq_bbu_internal_mmc_register_handler("eMMC", "/dev/mmc2",
> +	imx8mq_bbu_internal_mmcboot_register_handler("eMMC", "/dev/mmc2",
>  						     emmc_bbu_flag);
>  
>  	phy_register_fixup_for_uid(PHY_ID_AR8031, AR_PHY_ID_MASK,
> -- 
> 2.20.1
> 
> 
> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list