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.90_1 #2 (Red Hat Linux)) id 1ggPLW-0004bA-Gd for barebox@lists.infradead.org; Mon, 07 Jan 2019 07:29:16 +0000 Date: Mon, 7 Jan 2019 08:29:07 +0100 From: Sascha Hauer Message-ID: <20190107072907.7eps33ajis3imwh4@pengutronix.de> References: <20190102202611.6530-1-sam@ravnborg.org> <20190102202611.6530-2-sam@ravnborg.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20190102202611.6530-2-sam@ravnborg.org> 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 v1 1/3] arm: at91: fix clock to mci1 for at91sam9263 To: Sam Ravnborg Cc: Barebox List On Wed, Jan 02, 2019 at 09:26:09PM +0100, Sam Ravnborg wrote: > at91_add_device_mci() was missing configuration of PIOA6 > when configuring mci1. > With this fix we can read data from SD card with at91sam9263ek, > when built without DT. > Building without a DT is required when we do a bootstrap build. > > The other at91samxxx_devices was checked - only the 9263 was > missing the CLK configuration for mci1. > > Signed-off-by: Sam Ravnborg > --- Applied (this one), thanks Sascha > arch/arm/mach-at91/at91sam9263_devices.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/arch/arm/mach-at91/at91sam9263_devices.c b/arch/arm/mach-at91/at91sam9263_devices.c > index a67345f05..c7e4962a9 100644 > --- a/arch/arm/mach-at91/at91sam9263_devices.c > +++ b/arch/arm/mach-at91/at91sam9263_devices.c > @@ -396,6 +396,9 @@ void at91_add_device_mci(short mmc_id, struct atmel_mci_platform_data *data) > } else { /* MCI1 */ > start = AT91SAM9263_BASE_MCI1; > > + /* CLK */ > + at91_set_A_periph(AT91_PIN_PA6, 0); > + > if (data->slot_b) { > /* CMD */ > at91_set_A_periph(AT91_PIN_PA21, 1); > -- > 2.12.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