From: Wolfgang Denk Date: Mon, 31 Mar 2008 17:27:35 +0200 Subject: [U-Boot-Users] [PATCH 3/3] QE IO - Add pario command In-Reply-To: Your message of "Mon, 31 Mar 2008 18:19:11 +0300." Message-ID: <20080331152735.9F60F248BE@gemini.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 you wrote: > > It is indeed a general feature, whose first implementation is for the > QE. It can (and should) be extended for other CPU types. I wanted to add > the CPM2 I/O setup, but I don't have a board to check this. > If desired I can wrap the QE related calls with #ifdef QE... I don't think is a good idea. The code as presented is actually not suited for such an extension. And I definitly don't want to plan for another #ifdef maze. Are you aware of the "reginfo" command? Few people seem to know it. Maybe you should add such code there. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de When choosing between two evils, I always like to take the one I've never tried before. -- Mae West, "Klondike Annie"