cd49cce7b7
This patch is a raw application of find src/ -type f | xargs sed -i -e 's/IS_ENABLED\s*(CONFIG_/CONFIG(/g' Change-Id: I6262d6d5c23cabe23c242b4f38d446b74fe16b88 Signed-off-by: Julius Werner <jwerner@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/31774 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
19 lines
481 B
C
19 lines
481 B
C
#ifndef _OPTION_H_
|
|
#define _OPTION_H_
|
|
|
|
/*
|
|
* FIXME: get_option() needs to be abstracted better so that other non-volatile
|
|
* storage can be used. This will benefit machines without CMOS as well as those
|
|
* without a battery-backed CMOS (e.g. some laptops).
|
|
*/
|
|
#if CONFIG(USE_OPTION_TABLE)
|
|
#include <pc80/mc146818rtc.h>
|
|
#else
|
|
#include <types.h>
|
|
static inline enum cb_err get_option(void *dest, const char *name)
|
|
{
|
|
return CB_CMOS_OTABLE_DISABLED;
|
|
}
|
|
#endif
|
|
|
|
#endif /* _OPTION_H_ */
|