aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/geode.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/include/asm/geode.h')
-rw-r--r--arch/x86/include/asm/geode.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/arch/x86/include/asm/geode.h b/arch/x86/include/asm/geode.h
index 976b3f11c009..df1eaf87426a 100644
--- a/arch/x86/include/asm/geode.h
+++ b/arch/x86/include/asm/geode.h
@@ -95,16 +95,6 @@ extern int geode_get_dev_base(unsigned int dev);
95#define PM_AWKD 0x50 95#define PM_AWKD 0x50
96#define PM_SSC 0x54 96#define PM_SSC 0x54
97 97
98/* VSA2 magic values */
99
100#define VSA_VRC_INDEX 0xAC1C
101#define VSA_VRC_DATA 0xAC1E
102#define VSA_VR_UNLOCK 0xFC53 /* unlock virtual register */
103#define VSA_VR_SIGNATURE 0x0003
104#define VSA_VR_MEM_SIZE 0x0200
105#define AMD_VSA_SIG 0x4132 /* signature is ascii 'VSA2' */
106#define GSW_VSA_SIG 0x534d /* General Software signature */
107
108static inline u32 geode_gpio(unsigned int nr) 98static inline u32 geode_gpio(unsigned int nr)
109{ 99{
110 BUG_ON(nr > 28); 100 BUG_ON(nr > 28);
@@ -148,15 +138,6 @@ static inline int is_geode(void)
148 return (is_geode_gx() || is_geode_lx()); 138 return (is_geode_gx() || is_geode_lx());
149} 139}
150 140
151#ifdef CONFIG_MGEODE_LX
152extern int geode_has_vsa2(void);
153#else
154static inline int geode_has_vsa2(void)
155{
156 return 0;
157}
158#endif
159
160static inline void geode_mfgpt_write(int timer, u16 reg, u16 value) 141static inline void geode_mfgpt_write(int timer, u16 reg, u16 value)
161{ 142{
162 u32 base = geode_get_dev_base(GEODE_DEV_MFGPT); 143 u32 base = geode_get_dev_base(GEODE_DEV_MFGPT);