From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1e6X5u-0005pz-Pi for barebox@lists.infradead.org; Mon, 23 Oct 2017 07:24:21 +0000 Date: Mon, 23 Oct 2017 09:23:56 +0200 From: Sascha Hauer Message-ID: <20171023072356.o43u72jsrq7xbngu@pengutronix.de> References: <20171018134117.20289-1-uwe@kleine-koenig.org> <20171018134117.20289-3-uwe@kleine-koenig.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20171018134117.20289-3-uwe@kleine-koenig.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH 3/3] ARM: i.MX: bbu-internal: update board files to make use of new bbu handler To: Uwe =?iso-8859-15?Q?Kleine-K=F6nig?= Cc: barebox@lists.infradead.org, Uwe =?iso-8859-15?Q?Kleine-K=F6nig?= On Wed, Oct 18, 2017 at 03:41:17PM +0200, Uwe Kleine-K=F6nig wrote: > From: Uwe Kleine-K=F6nig > = > Signed-off-by: Uwe Kleine-K=F6nig > --- > Hello, > = > this is only compile tested. There are some boards that write to > mmcX.boot0.barebox. On the board I tested this series on I don't have > such a setup, so I didn't touch these. Probably this series needs > adaption to be able to handle this scenario. > = > Best regards > Uwe > = > arch/arm/boards/dfi-fs700-m60/board.c | 3 +-- > arch/arm/boards/guf-santaro/board.c | 2 +- > arch/arm/boards/karo-tx6x/board.c | 4 ++-- > arch/arm/boards/tqma6x/board.c | 2 +- > 4 files changed, 5 insertions(+), 6 deletions(-) > = > 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 |=3D 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. 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 | _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox