From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Fri, 26 Jan 2007 22:11:24 +0100 Subject: [U-Boot-Users] [PATCH] Add support for the MPC8349E-mITX-GP In-Reply-To: Your message of "Fri, 26 Jan 2007 11:19:17 CST." <20070126111917.50cf05ed.kim.phillips@freescale.com> Message-ID: <20070126211124.9ED4635342C@atlas.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de In message <20070126111917.50cf05ed.kim.phillips@freescale.com> you wrote: > > My reluctance is stemmed from the prediction of the growing number of ifdefs in the config file. Perhaps the best thing to do here is have the main config file have a single set of ifdefs for each individual board, and include that board's delta config > from a sub-board config file. All common elements remain in the main config file, and if a board define is not matched, #error out. Distributing the necessary configuration information for one board over several files does not improve anything. On contrary, it just makes it more difficult to get an overview of which configuration is doing what. Best regards, Wolfgang Denk -- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Documentation is like sex: when it is good, it is very, very good; and when it is bad, it is better than nothing. - Dick Brandon