提交 2459afb1 编写于 作者: Q Qianyu Gong 提交者: York Sun

qe: move drivers/qe/qe.h to include/fsl_qe.h

As the QE firmware struct is shared with Fman, move the header file
out of drivers/qe/.
Signed-off-by: NGong Qianyu <Qianyu.Gong@nxp.com>
Reviewed-by: NYork Sun <york.sun@nxp.com>
上级 9f3e1b8a
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
#include "../../../../drivers/block/fsl_sata.h" #include "../../../../drivers/block/fsl_sata.h"
#ifdef CONFIG_U_QE #ifdef CONFIG_U_QE
#include "../../../../drivers/qe/qe.h" #include <fsl_qe.h>
#endif #endif
DECLARE_GLOBAL_DATA_PTR; DECLARE_GLOBAL_DATA_PTR;
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
#ifdef CONFIG_FSL_ESDHC #ifdef CONFIG_FSL_ESDHC
#include <fsl_esdhc.h> #include <fsl_esdhc.h>
#endif #endif
#include "../../../../drivers/qe/qe.h" /* For struct qe_firmware */ #include <fsl_qe.h> /* For struct qe_firmware */
DECLARE_GLOBAL_DATA_PTR; DECLARE_GLOBAL_DATA_PTR;
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
#include "sleep.h" #include "sleep.h"
#ifdef CONFIG_U_QE #ifdef CONFIG_U_QE
#include "../../../drivers/qe/qe.h" #include <fsl_qe.h>
#endif #endif
DECLARE_GLOBAL_DATA_PTR; DECLARE_GLOBAL_DATA_PTR;
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
#include <asm/immap_85xx.h> #include <asm/immap_85xx.h>
#include "sleep.h" #include "sleep.h"
#ifdef CONFIG_U_QE #ifdef CONFIG_U_QE
#include "../../../drivers/qe/qe.h" #include <fsl_qe.h>
#endif #endif
DECLARE_GLOBAL_DATA_PTR; DECLARE_GLOBAL_DATA_PTR;
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
#include "../common/qixis.h" #include "../common/qixis.h"
#include "ls1021aqds_qixis.h" #include "ls1021aqds_qixis.h"
#ifdef CONFIG_U_QE #ifdef CONFIG_U_QE
#include "../../../drivers/qe/qe.h" #include <fsl_qe.h>
#endif #endif
#define PIN_MUX_SEL_CAN 0x03 #define PIN_MUX_SEL_CAN 0x03
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
#include <spl.h> #include <spl.h>
#include "../common/sleep.h" #include "../common/sleep.h"
#ifdef CONFIG_U_QE #ifdef CONFIG_U_QE
#include "../../../drivers/qe/qe.h" #include <fsl_qe.h>
#endif #endif
#include <fsl_validate.h> #include <fsl_validate.h>
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
#include <asm/errno.h> #include <asm/errno.h>
#include "fm.h" #include "fm.h"
#include "../../qe/qe.h" /* For struct qe_firmware */ #include <fsl_qe.h> /* For struct qe_firmware */
#ifdef CONFIG_SYS_QE_FMAN_FW_IN_NAND #ifdef CONFIG_SYS_QE_FMAN_FW_IN_NAND
#include <nand.h> #include <nand.h>
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
#include <common.h> #include <common.h>
#include <libfdt.h> #include <libfdt.h>
#include <fdt_support.h> #include <fdt_support.h>
#include "qe.h" #include <fsl_qe.h>
#ifdef CONFIG_QE #ifdef CONFIG_QE
DECLARE_GLOBAL_DATA_PTR; DECLARE_GLOBAL_DATA_PTR;
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
#include "asm/errno.h" #include "asm/errno.h"
#include "asm/io.h" #include "asm/io.h"
#include "linux/immap_qe.h" #include "linux/immap_qe.h"
#include "qe.h" #include <fsl_qe.h>
#ifdef CONFIG_LS102XA #ifdef CONFIG_LS102XA
#include <asm/arch/immap_ls102xa.h> #include <asm/arch/immap_ls102xa.h>
#endif #endif
......
...@@ -12,8 +12,8 @@ ...@@ -12,8 +12,8 @@
#include "asm/errno.h" #include "asm/errno.h"
#include "asm/io.h" #include "asm/io.h"
#include "linux/immap_qe.h" #include "linux/immap_qe.h"
#include "qe.h"
#include "uccf.h" #include "uccf.h"
#include <fsl_qe.h>
void ucc_fast_transmit_on_demand(ucc_fast_private_t *uccf) void ucc_fast_transmit_on_demand(ucc_fast_private_t *uccf)
{ {
......
...@@ -11,8 +11,8 @@ ...@@ -11,8 +11,8 @@
#define __UCCF_H__ #define __UCCF_H__
#include "common.h" #include "common.h"
#include "qe.h"
#include "linux/immap_qe.h" #include "linux/immap_qe.h"
#include <fsl_qe.h>
/* Fast or Giga ethernet /* Fast or Giga ethernet
*/ */
......
...@@ -12,11 +12,11 @@ ...@@ -12,11 +12,11 @@
#include "asm/errno.h" #include "asm/errno.h"
#include "asm/io.h" #include "asm/io.h"
#include "linux/immap_qe.h" #include "linux/immap_qe.h"
#include "qe.h"
#include "uccf.h" #include "uccf.h"
#include "uec.h" #include "uec.h"
#include "uec_phy.h" #include "uec_phy.h"
#include "miiphy.h" #include "miiphy.h"
#include <fsl_qe.h>
#include <phy.h> #include <phy.h>
/* Default UTBIPAR SMI address */ /* Default UTBIPAR SMI address */
......
...@@ -10,8 +10,8 @@ ...@@ -10,8 +10,8 @@
#ifndef __UEC_H__ #ifndef __UEC_H__
#define __UEC_H__ #define __UEC_H__
#include "qe.h"
#include "uccf.h" #include "uccf.h"
#include <fsl_qe.h>
#include <phy.h> #include <phy.h>
#define MAX_TX_THREADS 8 #define MAX_TX_THREADS 8
......
...@@ -16,11 +16,11 @@ ...@@ -16,11 +16,11 @@
#include "asm/errno.h" #include "asm/errno.h"
#include "linux/immap_qe.h" #include "linux/immap_qe.h"
#include "asm/io.h" #include "asm/io.h"
#include "qe.h"
#include "uccf.h" #include "uccf.h"
#include "uec.h" #include "uec.h"
#include "uec_phy.h" #include "uec_phy.h"
#include "miiphy.h" #include "miiphy.h"
#include <fsl_qe.h>
#include <phy.h> #include <phy.h>
#define ugphy_printk(format, arg...) \ #define ugphy_printk(format, arg...) \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册