[U-Boot-Users] Re: Patch: Support for PQ27e (8247/48/71/72) chips and MPC8272ADS board

Wolfgang Denk wd at denx.de
Mon Mar 15 14:37:16 CET 2004


In message <16469.44734.573362.958637 at gargle.gargle.HOWL> you wrote:
> 
> No, no, it's just E-mail formatting of the excerpt after several
> replies. There is no redundant code in the patch.

You are right. Sorry for the confusion.

> This would require that, for every PQ27e-based board, it would be
> defined in the board configuration file that it's PQ27e and not just
> 8260. Then CPM_DATAONLY_SIZE can be defined conditionally on this
> definition in cpm_8260.h. I personally don't like such compile-time
> definitions because chip version can be easily detected in run-time.

The advantage of compile-time definitions  is  that  they  result  in
smaller code.

>     Wolfgang> PQ27E_FCC_SPECIAL_BASE vs. CPM_FCC_SPECIAL_BASE
...
> Well, the question is if it's better that the CPU-specific code will
> silently handle the differences or we'll make it the user's
> responsibility to define the difference manually. I think automatic
> handling is better but if you insist on #ifdefs, I can implement it too.

Sorry, but I can't follow.



More information about the U-Boot mailing list