1fb180322SJohn Rigby /* 2fb180322SJohn Rigby * Copyright (C) 2007 Freescale Semiconductor, Inc. All rights reserved. 3fb180322SJohn Rigby * 4fb180322SJohn Rigby * This program is free software; you can redistribute it and/or modify it 5fb180322SJohn Rigby * under the terms of the GNU General Public License as published by the 6fb180322SJohn Rigby * Free Software Foundation; either version 2 of the License, or (at your 7fb180322SJohn Rigby * option) any later version. 8fb180322SJohn Rigby * 9fb180322SJohn Rigby * Prototypes for MPC512x shared code 10fb180322SJohn Rigby */ 11fb180322SJohn Rigby 12fb180322SJohn Rigby #ifndef __MPC512X_H__ 13fb180322SJohn Rigby #define __MPC512X_H__ 14fb180322SJohn Rigby extern void __init mpc512x_init_IRQ(void); 15284ed66fSAnatolij Gustschin extern void __init mpc512x_init(void); 16284ed66fSAnatolij Gustschin extern int __init mpc5121_clk_init(void); 17fb180322SJohn Rigby void __init mpc512x_declare_of_platform_devices(void); 18a8dbceb7SAnatolij Gustschin extern void mpc512x_restart(char *cmd); 196baf1190STimur Tabi 206baf1190STimur Tabi #if defined(CONFIG_FB_FSL_DIU) || defined(CONFIG_FB_FSL_DIU_MODULE) 216baf1190STimur Tabi void mpc512x_init_diu(void); 226baf1190STimur Tabi void mpc512x_setup_diu(void); 236baf1190STimur Tabi #else 246baf1190STimur Tabi #define mpc512x_init_diu NULL 256baf1190STimur Tabi #define mpc512x_setup_diu NULL 266baf1190STimur Tabi #endif 276baf1190STimur Tabi 28fb180322SJohn Rigby #endif /* __MPC512X_H__ */ 29