[U-Boot-Users] AT91 Header File Clarification
Zac Wheeler
zac.wheeler at gmail.com
Sat Apr 5 01:32:32 CEST 2008
On Fri, Apr 4, 2008 at 3:25 PM, Stelian Pop <stelian at popies.net> wrote:
>
> Le vendredi 04 avril 2008 à 13:32 -0700, Zac Wheeler a écrit :
>
> > I have a question about the arrangement of include files for the
> > at91sam9 family.
> >
> > Is the intention that asm/arch/at91_xxx.h be applicable for all
> > at91sam9 microcontrollers, or should they be broken down into subarch
> > folders (e.g. asm/arch/at91sam9261/at91_pmc.h)?
>
> They are supposed to be shareable for all at91sam microcontrollers, in
> the same way it's done in Linux.
So should things like AT91_ECC as defined in at91sam960.h be
AT91SAM9260_ECC instead or moved to an at91_sys.h file? It seems
somewhat dangerous to define an AT91_ in a AT91SAM9260-specific file.
Sorry for my lack of understanding if I'm missing the point.
Zac
More information about the U-Boot
mailing list