blob: 32c4510660fbbb6a845bc43c9dec29ad0d22e799 [file] [log] [blame]
#ifndef _LINUX_CHROMEOS_PLATFORM_H
#define _LINUX_CHROMEOS_PLATFORM_H
#include <linux/errno.h>
#include <linux/types.h>
#ifdef CONFIG_CHROMEOS
/*
* ChromeOS platform support code. Glue layer between higher level functions
* and per-platform firmware interfaces.
*/
/*
* Set the taint bit telling firmware that the currently running side needs
* recovery (or reinstall).
*/
extern int chromeos_set_need_recovery(void);
#else
static inline int chromeos_set_need_recovery(void)
{
return -ENODEV;
}
#endif /* CONFIG_CHROMEOS */
#endif /* _LINUX_CHROMEOS_PLATFORM_H */