Commit | Line | Data |
---|---|---|
fb180322 JR |
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__ | |
fb180322 | 14 | extern void __init mpc512x_init_IRQ(void); |
284ed66f AG |
15 | extern void __init mpc512x_init(void); |
16 | extern int __init mpc5121_clk_init(void); | |
fb180322 | 17 | void __init mpc512x_declare_of_platform_devices(void); |
a8dbceb7 | 18 | extern void mpc512x_restart(char *cmd); |
6baf1190 TT |
19 | |
20 | #if defined(CONFIG_FB_FSL_DIU) || defined(CONFIG_FB_FSL_DIU_MODULE) | |
21 | void mpc512x_init_diu(void); | |
22 | void mpc512x_setup_diu(void); | |
23 | #else | |
24 | #define mpc512x_init_diu NULL | |
25 | #define mpc512x_setup_diu NULL | |
26 | #endif | |
27 | ||
fb180322 | 28 | #endif /* __MPC512X_H__ */ |