mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-27 16:45:02 +07:00
706f4aa035
New QE doesn't have par_io, it doesn't need to init par_io for new QE. Split function mpc85xx_qe_init() into mpc85xx_qe_init() and mpc85xx_qe_par_io_init(). Call mpc85xx_qe_init() for both new and old while mpc85xx_qe_par_io_init() after mpc85xx_qe_init() for old. Signed-off-by: Zhao Qiang <B45475@freescale.com> Signed-off-by: Scott Wood <scottwood@freescale.com>
20 lines
469 B
C
20 lines
469 B
C
#ifndef MPC85xx_H
|
|
#define MPC85xx_H
|
|
extern int mpc85xx_common_publish_devices(void);
|
|
|
|
#ifdef CONFIG_CPM2
|
|
extern void mpc85xx_cpm2_pic_init(void);
|
|
#else
|
|
static inline void __init mpc85xx_cpm2_pic_init(void) {}
|
|
#endif /* CONFIG_CPM2 */
|
|
|
|
#ifdef CONFIG_QUICC_ENGINE
|
|
extern void mpc85xx_qe_init(void);
|
|
extern void mpc85xx_qe_par_io_init(void);
|
|
#else
|
|
static inline void __init mpc85xx_qe_init(void) {}
|
|
static inline void __init mpc85xx_qe_par_io_init(void) {}
|
|
#endif
|
|
|
|
#endif
|