diff options
author | Xie Xiaobo <X.Xie@freescale.com> | 2013-11-06 17:08:02 +0800 |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2014-01-07 19:08:53 -0600 |
commit | 72c916ae97ff503b01fa21efe91d4328439ab004 (patch) | |
tree | 3281ef98ab14ea28d806eb34c729b28bb8b4f69d /arch/powerpc/platforms/85xx/mpc85xx.h | |
parent | 3d73eb69fb6dca340e027b9b7a063b2892756a57 (diff) |
powerpc/85xx: Add QE common init function
Define a QE init function in common file, and avoid
the same codes being duplicated in board files.
Signed-off-by: Xie Xiaobo <X.Xie@freescale.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'arch/powerpc/platforms/85xx/mpc85xx.h')
-rw-r--r-- | arch/powerpc/platforms/85xx/mpc85xx.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/85xx/mpc85xx.h b/arch/powerpc/platforms/85xx/mpc85xx.h index 2aa7c5dc2c7..fc51dd4092e 100644 --- a/arch/powerpc/platforms/85xx/mpc85xx.h +++ b/arch/powerpc/platforms/85xx/mpc85xx.h @@ -8,4 +8,10 @@ extern void mpc85xx_cpm2_pic_init(void); static inline void __init mpc85xx_cpm2_pic_init(void) {} #endif /* CONFIG_CPM2 */ +#ifdef CONFIG_QUICC_ENGINE +extern void mpc85xx_qe_init(void); +#else +static inline void __init mpc85xx_qe_init(void) {} +#endif + #endif |