[PATCH 3/3] ARM: i.MX: bbu-internal: update board files to make use of new bbu handler

Uwe Kleine-König u.kleine-koenig at pengutronix.de
Mon Oct 23 00:55:20 PDT 2017


Hello Sascha,

On Mon, Oct 23, 2017 at 09:23:56AM +0200, Sascha Hauer wrote:
> On Wed, Oct 18, 2017 at 03:41:17PM +0200, Uwe Kleine-König wrote:
> > diff --git a/arch/arm/boards/dfi-fs700-m60/board.c b/arch/arm/boards/dfi-fs700-m60/board.c
> > index bef4612d9e66..c2c73db8e547 100644
> > --- a/arch/arm/boards/dfi-fs700-m60/board.c
> > +++ b/arch/arm/boards/dfi-fs700-m60/board.c
> > @@ -110,8 +110,7 @@ static int dfi_fs700_m60_init(void)
> >  	else
> >  		flag_mmc |= BBU_HANDLER_FLAG_DEFAULT;
> >  
> > -	imx6_bbu_internal_mmc_register_handler("mmc", "/dev/mmc3.boot0",
> > -		flag_mmc);
> > +	imx6_bbu_internal_mmcboot_register_handler("mmc", "mmc3", flag_mmc);
> 
> This board at least uses the boot1 partition for the environment, so we
> can't use your new handler without moving the environment first.

Good catch, I will drop this board's modifications then.

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |



More information about the barebox mailing list