Attached patch adds sane compile-time defaults via Kconfig options for CMOS options 'iommu, ECC_memory, max_mem_clock, hw_scrubber, interleave_chip_selects'. Avoid build error if any of these CMOS options are not defined. Checks the return value of 'get_option(..)', if not done yet, and if CMOS option not exist grab a Kconfig option otherwise a hardcoded value is used.
Signed-off-by: Josef Kellermann seppk@arcor.de mailto://seppk@arcor.de
Am Freitag, den 18.02.2011, 20:24 +0100 schrieb Josef Kellermann:
Attached patch adds sane compile-time defaults via Kconfig options for CMOS options 'iommu, ECC_memory, max_mem_clock, hw_scrubber,
I changed the ramstage code a bit. The romstage code could and should also be very different (all those ifdefs...), but that requires work on the CMOS routines first, which would be beyond the scope of this patch.
Signed-off-by: Josef Kellermann seppk@arcor.de
Acked-by: Patrick Georgi patrick.georgi@secunet.com and r6380
Patrick