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

Sascha Hauer s.hauer at pengutronix.de
Mon Oct 23 01:05:24 PDT 2017


On Mon, Oct 23, 2017 at 09:55:20AM +0200, Uwe Kleine-König wrote:
> 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.

I haven't checked the other boards, they may or may not do the same.

Sascha


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list