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 1eMxy2-0004DR-Re for barebox@lists.infradead.ORG; Thu, 07 Dec 2017 15:20:09 +0000 Date: Thu, 7 Dec 2017 16:19:42 +0100 From: Sascha Hauer Message-ID: <20171207151942.wmz7nicr2gozjjib@pengutronix.de> References: <20171206151233.29342-1-r.hieber@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20171206151233.29342-1-r.hieber@pengutronix.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH] ARM: dts: bcm2835-rpi: re-enable booting from SD card To: Roland Hieber Cc: barebox@lists.infradead.org, Alexander Dahl , Roland Hieber On Wed, Dec 06, 2017 at 04:12:33PM +0100, Roland Hieber wrote: > From: Roland Hieber > > Kernel commit a19adf8d86e822eba502486524127595372c85f6 [0] changed the > RPi1 device tree from &sdhci to &sdhost, which was imported in barebox > commit d14b844b08635c717fb52a294ed8d6872e260315. It seems that barebox > does not have a driver for brcm,bcm2835-sdhost (yet), which resulted in > barebox unable to boot from SD card. However, the driver for > brcm,bcm2835-sdhci worked fine in the past. > > Although the upstream change was made for good reasons, the simplest > change for barebox for now is to revert to using &sdhci and disable > &sdhost. > > Thanks to Alexander Dahl for raising this issue on the DistroKit > mailing list! > > [0]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a19adf8d86e822eba502486524127595372c85f6 > > Cc: Alexander Dahl > Signed-off-by: Roland Hieber > --- > arch/arm/dts/bcm2835-rpi.dts | 7 +++++++ > 1 file changed, 7 insertions(+) Applied, thanks Sascha > > diff --git a/arch/arm/dts/bcm2835-rpi.dts b/arch/arm/dts/bcm2835-rpi.dts > index 0095f58a3c..ab2d6dff64 100644 > --- a/arch/arm/dts/bcm2835-rpi.dts > +++ b/arch/arm/dts/bcm2835-rpi.dts > @@ -9,3 +9,10 @@ > reg = <0x0 0x0>; > }; > }; > +&sdhci { > + status = "okay"; > +}; > + > +&sdhost { > + status = "disabled"; > +}; > -- > 2.11.0 > > > _______________________________________________ > barebox mailing list > barebox@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/barebox > -- 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