Fix CMOS handling for non-USE_OPTION_TABLE configuration
authorPatrick Georgi <patrick.georgi@secunet.com>
Tue, 22 Nov 2011 09:27:24 +0000 (10:27 +0100)
committerPatrick Georgi <patrick@georgi-clan.de>
Tue, 13 Dec 2011 22:20:49 +0000 (23:20 +0100)
commita27561c3c9c465ac336fafe1b6ca24d2aabc95e9
tree52850d121c83a5589979c9d3d42ce85429dc8b23
parent90ca14d7004a3f53a13bdbe6401171b029baaf3d
Fix CMOS handling for non-USE_OPTION_TABLE configuration

The read_option macro still emitted CMOS_VSTART_*/CMOS_VEND_* symbols,
which fail without an option table (as no option_table.h defines them).

Discard them by using a macro instead of a static inline function.

Change-Id: I8d001f971681277a344b6788725746491546b607
Signed-off-by: Patrick Georgi <patrick.georgi@secunet.com>
Reviewed-on: http://review.coreboot.org/442
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
src/include/pc80/mc146818rtc.h