
19 May
2008
19 May
'08
11:15 p.m.
Wolfgang Denk wrote:
In message 4831E665.3030003@freescale.com you wrote:
Broken ports should be fixed.
Maybe we should define it in a non-board-specific header, so as to make the intent clear that it not actually be configurable?
Good idea. But the change fill break some 100 boards.
Yeah, I didn't say it'd be painless. :-)
How about something like this:
#ifndef CFG_HZ #define CFG_HZ 1000 #elif CFG_HZ != 1000 #warning CFG_HZ must be 1000 #endif
-Scott