[PATCH 2/7] at91: introduce sama5d3's SMC support
Sascha Hauer
s.hauer at pengutronix.de
Thu Dec 12 03:51:21 EST 2013
On Mon, Dec 09, 2013 at 02:27:21PM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote:
> On 10:36 Sat 07 Dec , Eric B??nard wrote:
> > there is a new register (timings) vs SAM9 and thus a new mapping
> >
> > Signed-off-by: Eric Bénard <eric at eukrea.com>
> > ---
> > arch/arm/mach-at91/generic.h | 7 ++
> > arch/arm/mach-at91/include/mach/sama5_smc.h | 124 +++++++++++++++++++++
> > arch/arm/mach-at91/sama5_smc.c | 161 ++++++++++++++++++++++++++++
> > 3 files changed, 292 insertions(+)
> > create mode 100644 arch/arm/mach-at91/include/mach/sama5_smc.h
> > create mode 100644 arch/arm/mach-at91/sama5_smc.c
>
> nack the sama5 smc share part of the same IP as the sam9 do not duplicate code
> share it
Indeed the code looks very similar. We could use id_table to distinguish
between both.
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