From: Simon Kagstrom Date: Thu, 10 Jun 2010 12:25:58 +0200 Subject: [U-Boot] [PATCH] ARM: Kirkwood: Add support for OpenRD-Client & OpenRD-Ultimate In-Reply-To: <4C10B278.5000906@einfochips.com> References: <1276161144-20204-1-git-send-email-tanmay.upadhyay@einfochips.com> <20100610111604.2e4ecfe0@marrow.netinsight.se> <4C10B278.5000906@einfochips.com> Message-ID: <20100610122558.42326b2d@marrow.netinsight.se> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, 10 Jun 2010 15:08:00 +0530 Tanmay Upadhyay wrote: > >> +#define MACH_TYPE_OPENRD_ULTIMATE 2884 > >> > > I don't think this file is supposed to be edited in patches, but rather > > synched from arm-linux by Wolfgang from time to time. > > Sorry, I didn't know about that. However, as the number is already > registered, is that ok to have it here? Probably Wolfgang or Tom Rix (the ARM maintainer) can synch it if you ask them to. > I agree with you. But auto-generated 'config.h' file includes > . So there has to be one for each board. However, there > could be one 'openrd.h' in the configs and three board specific files > include it. This will increase the number of files, but would decrease > LOC. What do you think? Personally I'd prefer to keep the common parts in a common file, so I'd vote for that solution. // Simon