
31 Mar
2008
31 Mar
'08
5:27 p.m.
In message B27D27F93BC429468DBC3B0DA043AA4401FF264C@ILPTEX02.ecitele.com 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@denx.de
When choosing between two evils, I always like to take the one I've
never tried before. -- Mae West, "Klondike Annie"