diff options
Diffstat (limited to 'include/asm-powerpc/mpc52xx.h')
-rw-r--r-- | include/asm-powerpc/mpc52xx.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/asm-powerpc/mpc52xx.h b/include/asm-powerpc/mpc52xx.h index 568135fe52e..fcb2ebbfddb 100644 --- a/include/asm-powerpc/mpc52xx.h +++ b/include/asm-powerpc/mpc52xx.h | |||
@@ -20,6 +20,11 @@ | |||
20 | 20 | ||
21 | #include <linux/suspend.h> | 21 | #include <linux/suspend.h> |
22 | 22 | ||
23 | /* Variants of the 5200(B) */ | ||
24 | #define MPC5200_SVR 0x80110010 | ||
25 | #define MPC5200_SVR_MASK 0xfffffff0 | ||
26 | #define MPC5200B_SVR 0x80110020 | ||
27 | #define MPC5200B_SVR_MASK 0xfffffff0 | ||
23 | 28 | ||
24 | /* ======================================================================== */ | 29 | /* ======================================================================== */ |
25 | /* Structures mapping of some unit register set */ | 30 | /* Structures mapping of some unit register set */ |
@@ -244,6 +249,7 @@ struct mpc52xx_cdm { | |||
244 | #ifndef __ASSEMBLY__ | 249 | #ifndef __ASSEMBLY__ |
245 | 250 | ||
246 | extern void __iomem * mpc52xx_find_and_map(const char *); | 251 | extern void __iomem * mpc52xx_find_and_map(const char *); |
252 | extern void __iomem * mpc52xx_find_and_map_path(const char *path); | ||
247 | extern unsigned int mpc52xx_find_ipb_freq(struct device_node *node); | 253 | extern unsigned int mpc52xx_find_ipb_freq(struct device_node *node); |
248 | extern void mpc5200_setup_xlb_arbiter(void); | 254 | extern void mpc5200_setup_xlb_arbiter(void); |
249 | extern void mpc52xx_declare_of_platform_devices(void); | 255 | extern void mpc52xx_declare_of_platform_devices(void); |
@@ -253,6 +259,9 @@ extern unsigned int mpc52xx_get_irq(void); | |||
253 | 259 | ||
254 | extern int __init mpc52xx_add_bridge(struct device_node *node); | 260 | extern int __init mpc52xx_add_bridge(struct device_node *node); |
255 | 261 | ||
262 | extern void __init mpc52xx_map_wdt(void); | ||
263 | extern void mpc52xx_restart(char *cmd); | ||
264 | |||
256 | #endif /* __ASSEMBLY__ */ | 265 | #endif /* __ASSEMBLY__ */ |
257 | 266 | ||
258 | #ifdef CONFIG_PM | 267 | #ifdef CONFIG_PM |