[coreboot] [PATCH] Make RAM check configurable via Kconfig

ron minnich rminnich at gmail.com
Sat Mar 8 06:11:24 CET 2008


I'm being foolish, forgetting a lesson from Plan 9 style.

This will work fine:
if (RAMTEST) {
    ram_test(0, 640*1024);
    ram_test(whatever);
}

The compiler will optimize out the whole block if RAMTEST is 0.

I think this best.

ron




More information about the coreboot mailing list