[PATCH 7/9] ARM: at91: add sama5d4 soc support #1

Sascha Hauer s.hauer at pengutronix.de
Tue Sep 23 00:54:37 PDT 2014


On Tue, Sep 23, 2014 at 11:02:49AM +0800, Bo Shen wrote:
> Hi Sascha,
> 
> On 09/18/2014 02:10 PM, Sascha Hauer wrote:
> >On Wed, Sep 17, 2014 at 06:21:33PM +0800, Bo Shen wrote:
> >>Signed-off-by: Bo Shen <voice.shen at atmel.com>
> >>---
> >>
> >>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
> >;)
> 
> Use multi-line format, would it be acceptable?

Yes please.

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