From: Stelian Pop Date: Sun, 27 Jan 2008 00:49:07 +0100 Subject: [U-Boot-Users] [ARM] Add support for AT91CAP9 cpu andAT91CAP9A-DK board In-Reply-To: <20080126202857.70c2d6fc@siona> References: <20080126000142.45A8524781@gemini.denx.de> <1201335882.15422.2.camel@voyager.dsnet> <20080126202857.70c2d6fc@siona> Message-ID: <1201391347.17917.7.camel@galileo> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Le samedi 26 janvier 2008 ? 20:28 +0100, Haavard Skinnemoen a ?crit : > On Sat, 26 Jan 2008 09:24:42 +0100 > Stelian Pop wrote: > > > This header file comes directly from Atmel: it contains the register > > definitions for _all_ the hardware on the AT91CAP9. > > Most of which are in the tree already. For example, register > definitions for the macb ethernet controller is in macb.h, in the same > directory as the driver using it. Same for UART registers. > > > Of course, u-boot does only need a (small) subset of it. If you prefer, > > I can simplify it. > > IMO, it would be much better if you split it up and put the relevant > bits alongside the code that uses them. > Yes, it does indeed make sense, at least for cross-platform drivers which live in drivers/. I removed all the unused parts of AT91CAP9.h, this downs the size up 37 KB (more than 10 times smaller than before). I'll be submitting a new series of patches shortly. Thanks, Stelian. -- Stelian Pop