From: Ulf Samuelsson Date: Mon, 28 Jan 2008 18:22:24 +0100 Subject: [U-Boot-Users] [ARM] Add support for AT91CAP9cpu andAT91CAP9A-DK board References: <20080126000142.45A8524781@gemini.denx.de> <1201335882.15422.2.camel@voyager.dsnet> Message-ID: <017801c8620a$d5fde380$030514ac@atmel.com> 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 ? 01:01 +0100, Wolfgang Denk a ?crit : > In message <1201288627.12296.4.camel@voyager.dsnet> you wrote: > > > > As I said in my original posting: > > > > > For size reasons, the patch has been hand edited, splitted in several > > > chunks, and the AT91CAP9.h file (440 kB !) is not in the patch at all. > > Will you pelase check this file? Only the insane > include/asm-arm/mach-types.h has a similar size - al other files are > usually much smaller. > > Is this stuff really all needed? This header file comes directly from Atmel: it contains the register definitions for _all_ the hardware on the AT91CAP9. Of course, u-boot does only need a (small) subset of it. If you prefer, I can simplify it. ==> Which will make it harder to maintain. These files are automatically generated from the chip database, and most of the stuff can conceivably be used by U-Boot. -- Even if they are not used today. If a bug is detected in the file, then the place to update is inside the database. Obviously ansy script generating the data, should be modified to generate something which can be directly used by U-Boot without any further modification. It may make sense to split up the file as well, as Haavard proposes, but preferably, the split should be done at the source. I will forward this request to the AT91 & CAP teams Thanks, Stelian. -- Best Regards Ulf Samuelsson