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

Scott Wood scottwood at freescale.com
Mon May 19 23:15:26 CEST 2008


Wolfgang Denk wrote:
> In message <4831E665.3030003 at 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




More information about the U-Boot mailing list