|
@@ -6,8 +6,6 @@
|
|
|
|
|
|
#define OLPC_OFW_SIG 0x2057464F /* aka "OFW " */
|
|
|
|
|
|
-#ifdef CONFIG_OLPC_OPENFIRMWARE
|
|
|
-
|
|
|
extern bool olpc_ofw_is_installed(void);
|
|
|
|
|
|
/* run an OFW command by calling into the firmware */
|
|
@@ -26,15 +24,6 @@ extern void setup_olpc_ofw_pgd(void);
|
|
|
/* check if OFW was detected during boot */
|
|
|
extern bool olpc_ofw_present(void);
|
|
|
|
|
|
-#else /* !CONFIG_OLPC_OPENFIRMWARE */
|
|
|
-
|
|
|
-static inline bool olpc_ofw_is_installed(void) { return false; }
|
|
|
-static inline void olpc_ofw_detect(void) { }
|
|
|
-static inline void setup_olpc_ofw_pgd(void) { }
|
|
|
-static inline bool olpc_ofw_present(void) { return false; }
|
|
|
-
|
|
|
-#endif /* !CONFIG_OLPC_OPENFIRMWARE */
|
|
|
-
|
|
|
#ifdef CONFIG_OLPC_OPENFIRMWARE_DT
|
|
|
extern void olpc_dt_build_devicetree(void);
|
|
|
#else
|