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 void mpc512x_restart(char *cmd); 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 28 #endif /* __MPC512X_H__ */ 29