a9b6aae496
Tested on MPC5125 Tower evaluation board with mpc512x_defconfig compile configuration. In detail, supports for: - PSC / UART - RTC - ETH - DIU - I2C Signed-off-by: Matteo Facchinetti <matteo.facchinetti@sirius-es.it> Signed-off-by: Anatolij Gustschin <agust@denx.de>
29 lines
931 B
C
29 lines
931 B
C
/*
|
|
* Copyright (C) 2007 Freescale Semiconductor, Inc. All rights reserved.
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
* under the terms of the GNU General Public License as published by the
|
|
* Free Software Foundation; either version 2 of the License, or (at your
|
|
* option) any later version.
|
|
*
|
|
* Prototypes for MPC512x shared code
|
|
*/
|
|
|
|
#ifndef __MPC512X_H__
|
|
#define __MPC512X_H__
|
|
extern void __init mpc512x_init_IRQ(void);
|
|
extern void __init mpc512x_init(void);
|
|
extern int __init mpc5121_clk_init(void);
|
|
void __init mpc512x_declare_of_platform_devices(void);
|
|
extern const char *mpc512x_select_psc_compat(void);
|
|
extern void mpc512x_restart(char *cmd);
|
|
|
|
#if defined(CONFIG_FB_FSL_DIU) || defined(CONFIG_FB_FSL_DIU_MODULE)
|
|
void mpc512x_init_diu(void);
|
|
void mpc512x_setup_diu(void);
|
|
#else
|
|
#define mpc512x_init_diu NULL
|
|
#define mpc512x_setup_diu NULL
|
|
#endif
|
|
|
|
#endif /* __MPC512X_H__ */
|