From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:6f8:1178:4:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XUUve-0000Bb-7e for barebox@lists.infradead.org; Thu, 18 Sep 2014 06:10:55 +0000 Date: Thu, 18 Sep 2014 08:10:28 +0200 From: Sascha Hauer Message-ID: <20140918061028.GY4992@pengutronix.de> References: <1410949295-30296-1-git-send-email-voice.shen@atmel.com> <1410949295-30296-8-git-send-email-voice.shen@atmel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1410949295-30296-8-git-send-email-voice.shen@atmel.com> 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 7/9] ARM: at91: add sama5d4 soc support #1 To: Bo Shen Cc: barebox@lists.infradead.org On Wed, Sep 17, 2014 at 06:21:33PM +0800, Bo Shen wrote: > Signed-off-by: Bo Shen > --- > > diff --git a/arch/arm/mach-at91/sam9_smc.c b/arch/arm/mach-at91/sam9_smc.c > index 9f02807..5df7109 100644 > --- a/arch/arm/mach-at91/sam9_smc.c > +++ b/arch/arm/mach-at91/sam9_smc.c > @@ -19,7 +19,7 @@ > > #define AT91_SAM9_SMC_CS_STRIDE 0x10 > #define AT91_SAMA5_SMC_CS_STRIDE 0x14 > -#define AT91_SMC_CS_STRIDE ((at91_soc_initdata.type == AT91_SOC_SAMA5D3) ? AT91_SAMA5_SMC_CS_STRIDE : AT91_SAM9_SMC_CS_STRIDE) > +#define AT91_SMC_CS_STRIDE ((at91_soc_initdata.type == AT91_SOC_SAMA5D3 || at91_soc_initdata.type == AT91_SOC_SAMA5D4) ? AT91_SAMA5_SMC_CS_STRIDE : AT91_SAM9_SMC_CS_STRIDE) I'm no fan of the 80 character limit, too, but this is really too long ;) 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