]> Pileus Git - ~andy/linux/blob - arch/powerpc/platforms/512x/mpc512x.h
Merge remote-tracking branch 'regmap/fix/cache' into regmap-linus
[~andy/linux] / arch / powerpc / platforms / 512x / mpc512x.h
1 /*
2  * Copyright (C) 2007 Freescale Semiconductor, Inc. All rights reserved.
3  *
4  * This program is free software; you can redistribute  it and/or modify it
5  * under  the terms of  the GNU General  Public License as published by the
6  * Free Software Foundation;  either version 2 of the  License, or (at your
7  * option) any later version.
8  *
9  * Prototypes for MPC512x shared code
10  */
11
12 #ifndef __MPC512X_H__
13 #define __MPC512X_H__
14 extern void __init mpc512x_init_IRQ(void);
15 extern void __init mpc512x_init(void);
16 extern int __init mpc5121_clk_init(void);
17 void __init mpc512x_declare_of_platform_devices(void);
18 extern const char *mpc512x_select_psc_compat(void);
19 extern void mpc512x_restart(char *cmd);
20
21 #if defined(CONFIG_FB_FSL_DIU) || defined(CONFIG_FB_FSL_DIU_MODULE)
22 void mpc512x_init_diu(void);
23 void mpc512x_setup_diu(void);
24 #else
25 #define mpc512x_init_diu NULL
26 #define mpc512x_setup_diu NULL
27 #endif
28
29 #endif                          /* __MPC512X_H__ */