From mboxrd@z Thu Jan 1 00:00:00 1970 From: Zac Wheeler Date: Fri, 4 Apr 2008 16:32:32 -0700 Subject: [U-Boot-Users] AT91 Header File Clarification In-Reply-To: <1207347950.3762.3.camel@voyager.dsnet> References: <206b9e70804041332w695212f3me41cfa8f7f182f11@mail.gmail.com> <1207347950.3762.3.camel@voyager.dsnet> Message-ID: <206b9e70804041632o391fc02fscac580e81b4bec7c@mail.gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, Apr 4, 2008 at 3:25 PM, Stelian Pop 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