|
@@ -13,7 +13,6 @@ struct olpc_platform_t {
|
|
|
|
|
|
#define OLPC_F_PRESENT 0x01
|
|
|
#define OLPC_F_DCON 0x02
|
|
|
-#define OLPC_F_VSA 0x04
|
|
|
|
|
|
#ifdef CONFIG_OLPC
|
|
|
|
|
@@ -50,18 +49,6 @@ static inline int olpc_has_dcon(void)
|
|
|
return (olpc_platform_info.flags & OLPC_F_DCON) ? 1 : 0;
|
|
|
}
|
|
|
|
|
|
-/*
|
|
|
- * The VSA is software from AMD that typical Geode bioses will include.
|
|
|
- * It is used to emulate the PCI bus, VGA, etc. OLPC's Open Firmware does
|
|
|
- * not include the VSA; instead, PCI is emulated by the kernel.
|
|
|
- *
|
|
|
- * The VSA is described further in arch/x86/pci/olpc.c.
|
|
|
- */
|
|
|
-static inline int olpc_has_vsa(void)
|
|
|
-{
|
|
|
- return (olpc_platform_info.flags & OLPC_F_VSA) ? 1 : 0;
|
|
|
-}
|
|
|
-
|
|
|
/*
|
|
|
* The "Mass Production" version of OLPC's XO is identified as being model
|
|
|
* C2. During the prototype phase, the following models (in chronological
|
|
@@ -87,13 +74,10 @@ static inline int olpc_has_dcon(void)
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
|
-static inline int olpc_has_vsa(void)
|
|
|
-{
|
|
|
- return 0;
|
|
|
-}
|
|
|
-
|
|
|
#endif
|
|
|
|
|
|
+extern int pci_olpc_init(void);
|
|
|
+
|
|
|
/* EC related functions */
|
|
|
|
|
|
extern int olpc_ec_cmd(unsigned char cmd, unsigned char *inbuf, size_t inlen,
|