[U-Boot-Users] [PATCH] mips: tolerate the MIPS 'CFG_HZ' values in the MHZ range for NAND delays

Scott Wood
2008-05-19T21:15:26Z

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