[coreboot] typo in amdk8/raminit_f.c

Peter Stuge peter at stuge.se
Mon Apr 13 18:15:31 CEST 2009


ron minnich wrote:
> I think this is one reason the Bell Labs crowd started using:
> if (preprocessor_symbol == value)
> 
> That's the C compilers job, after all ...
> 
> The more code I see, the more I agree with them.

I can see the point. But I also think excluding code from compilation
is a big feature, especially in firmware.

If we can do it in a smarter way, that could be good, but on the
other hand things can be too smart as well.

It's a balance..


//Peter




More information about the coreboot mailing list