1 #ifndef _LINUX_CHROMEOS_PLATFORM_H
2 #define _LINUX_CHROMEOS_PLATFORM_H
4 #include <linux/errno.h>
5 #include <linux/types.h>
9 * ChromeOS platform support code. Glue layer between higher level functions
10 * and per-platform firmware interfaces.
13 /* Checks to see if the current device is in devmode */
14 extern bool chromeos_is_devmode(void);
17 * Set the taint bit telling firmware that the currently running side needs
18 * recovery (or reinstall).
20 extern int chromeos_set_need_recovery(void);
22 extern u64 phys_window_base;
26 /* Stubbed-out versions so we can keep code common */
27 static inline bool chromeos_is_devmode(void)
32 static inline int chromeos_set_need_recovery(void)
36 #endif /* CONFIG_CHROMEOS */
38 #endif /* _LINUX_CHROMEOS_PLATFORM_H */