[PATCH 2/7] at91: introduce sama5d3's SMC support

Eric Bénard eric at eukrea.com
Thu Dec 12 04:53:56 EST 2013


Le Thu, 12 Dec 2013 09:51:21 +0100,
Sascha Hauer <s.hauer at pengutronix.de> a écrit :

> 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.
> 
I was expecting this request ;-)
I'll update the patch in the coming days.

Eric
it.



More information about the barebox mailing list