2014-01-28 09:02:53 +01:00
|
|
|
#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).
|
|
|
|
*/
|
2017-06-24 22:13:53 +02:00
|
|
|
#if IS_ENABLED(CONFIG_USE_OPTION_TABLE)
|
2014-01-28 09:02:53 +01:00
|
|
|
#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_ */
|