]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
net: Move some header files to include/
authorShaohui Xie <Shaohui.Xie@freescale.com>
Mon, 26 Oct 2015 11:47:47 +0000 (19:47 +0800)
committerYork Sun <yorksun@freescale.com>
Thu, 29 Oct 2015 17:34:00 +0000 (10:34 -0700)
The fsl_dtsec.h & fsl_tgec.h & fsl_fman.h can be shared on both ARM
and PPC, move it out of ppc to include/, and change the path in
drivers accordingly.

Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com>
Signed-off-by: Gong Qianyu <Qianyu.Gong@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
23 files changed:
arch/powerpc/include/asm/immap_85xx.h
board/freescale/b4860qds/eth_b4860qds.c
board/freescale/corenet_ds/eth_hydra.c
board/freescale/corenet_ds/eth_p4080.c
board/freescale/corenet_ds/eth_superhydra.c
board/freescale/p1023rdb/p1023rdb.c
board/freescale/p2041rdb/eth.c
board/freescale/t102xqds/eth_t102xqds.c
board/freescale/t102xrdb/eth_t102xrdb.c
board/freescale/t1040qds/eth.c
board/freescale/t104xrdb/eth.c
board/freescale/t208xqds/eth_t208xqds.c
board/freescale/t208xrdb/eth_t208xrdb.c
board/freescale/t4qds/eth.c
board/freescale/t4rdb/eth.c
drivers/net/fm/dtsec.c
drivers/net/fm/eth.c
drivers/net/fm/fm.h
drivers/net/fm/tgec.c
drivers/net/fm/tgec_phy.c
include/fsl_dtsec.h [moved from arch/powerpc/include/asm/fsl_dtsec.h with 100% similarity]
include/fsl_fman.h [moved from arch/powerpc/include/asm/fsl_fman.h with 100% similarity]
include/fsl_tgec.h [moved from arch/powerpc/include/asm/fsl_tgec.h with 100% similarity]

index 0c9d85ec9669fd2fcf6c1aa9377c78fe242f7580..101b8db0ee455d97593c9fc8b51edeb3bfa9a0f3 100644 (file)
@@ -19,7 +19,7 @@
 #include <fsl_sec.h>
 #include <fsl_sfp.h>
 #include <asm/fsl_lbc.h>
-#include <asm/fsl_fman.h>
+#include <fsl_fman.h>
 #include <fsl_immap.h>
 
 typedef struct ccsr_local {
index 501d4b3aff5d62a412b4180443e995e2b1f6021e..df90476a772c1ca8f97ee8fcae731970019be00c 100644 (file)
@@ -26,7 +26,7 @@
 #include <fsl_mdio.h>
 #include <malloc.h>
 #include <fdt_support.h>
-#include <asm/fsl_dtsec.h>
+#include <fsl_dtsec.h>
 
 #include "../common/ngpixis.h"
 #include "../common/fman.h"
index 396103f9906e1b3b67d3138bdae3d30028e05eee..172a55b9883bff1245bcc3fbea5918f40b2ec6c3 100644 (file)
@@ -55,7 +55,7 @@
 #include <fsl_mdio.h>
 #include <malloc.h>
 #include <fdt_support.h>
-#include <asm/fsl_dtsec.h>
+#include <fsl_dtsec.h>
 
 #include "../common/ngpixis.h"
 #include "../common/fman.h"
index 5cbec7f5f269a7e5b56e97dc0eeed8f5bdcdaaaa..c68dc2c246562c9d61c9255ae3b1e5a7dd02664e 100644 (file)
@@ -24,7 +24,7 @@
 
 #include "../common/ngpixis.h"
 #include "../common/fman.h"
-#include <asm/fsl_dtsec.h>
+#include <fsl_dtsec.h>
 
 #define EMI_NONE       0xffffffff
 #define EMI_MASK       0xf0000000
index ad1bffd74bfc76fdd06a07cfc9742408d109b47f..62b163580b2d38fbb7b2350f5a4aea2694da0696 100644 (file)
@@ -55,7 +55,7 @@
 #include <fsl_mdio.h>
 #include <malloc.h>
 #include <fdt_support.h>
-#include <asm/fsl_dtsec.h>
+#include <fsl_dtsec.h>
 
 #include "../common/ngpixis.h"
 #include "../common/fman.h"
index 56f561a50582f6d76b0e61ee2db540d0709bc970..074b71326f00e59cee4a24d345565f4a1c47a79d 100644 (file)
@@ -26,7 +26,7 @@
 #include <fsl_mdio.h>
 #include <miiphy.h>
 #include <phy.h>
-#include <asm/fsl_dtsec.h>
+#include <fsl_dtsec.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
index 532eeac84bebd78ff9d67b44bc8aa7d7fa2c1b99..95fe85bbfaa224dd9462063218ef94d8b904d865 100644 (file)
@@ -19,7 +19,7 @@
 #include <fm_eth.h>
 #include <fsl_mdio.h>
 #include <malloc.h>
-#include <asm/fsl_dtsec.h>
+#include <fsl_dtsec.h>
 
 #include "cpld.h"
 #include "../common/fman.h"
index 441d6a3e6142ed8903f3886fc03b460eb1397fc2..99c23f79f47114938aef34efc8bf14eb270aaaee 100644 (file)
@@ -21,7 +21,7 @@
 #include <fsl_mdio.h>
 #include <miiphy.h>
 #include <phy.h>
-#include <asm/fsl_dtsec.h>
+#include <fsl_dtsec.h>
 #include <asm/fsl_serdes.h>
 #include "../common/qixis.h"
 #include "../common/fman.h"
index 856ec6e227961d3be13f745ad55ffd82b8e45673..02b283d26ff03be3e537b4ae605da00920b325a3 100644 (file)
@@ -21,7 +21,7 @@
 #include <fsl_mdio.h>
 #include <miiphy.h>
 #include <phy.h>
-#include <asm/fsl_dtsec.h>
+#include <fsl_dtsec.h>
 #include <asm/fsl_serdes.h>
 #include "../common/fman.h"
 
index 8c8293426bb622428bca78ffbd2e7c885f1afc2e..8bf34fa79ac6dfe93afeaeaf76d6b39456743b22 100644 (file)
@@ -17,7 +17,7 @@
 #include <fm_eth.h>
 #include <fsl_mdio.h>
 #include <malloc.h>
-#include <asm/fsl_dtsec.h>
+#include <fsl_dtsec.h>
 #include <vsc9953.h>
 
 #include "../common/fman.h"
index 71d0457d43210db7ff5d4979a40284f6ec85ca01..52cd1122493b272078d2668ebf80ba6eb458e246 100644 (file)
@@ -11,7 +11,7 @@
 #include <fm_eth.h>
 #include <fsl_mdio.h>
 #include <malloc.h>
-#include <asm/fsl_dtsec.h>
+#include <fsl_dtsec.h>
 #include <vsc9953.h>
 
 #include "../common/fman.h"
index b82e9e7540208e49da8311805b563850d5b0e44d..1c0ce2492ca2e5742764f1ec8cfc0e37abc32829 100644 (file)
@@ -21,7 +21,7 @@
 #include <fsl_mdio.h>
 #include <miiphy.h>
 #include <phy.h>
-#include <asm/fsl_dtsec.h>
+#include <fsl_dtsec.h>
 #include <asm/fsl_serdes.h>
 #include <hwconfig.h>
 #include "../common/qixis.h"
index cbbc62583139c7eb2897add7895523d52b88ba2e..ea51195698a86f3ccb2f556b2ebef7268c7f154c 100644 (file)
@@ -21,7 +21,7 @@
 #include <fsl_mdio.h>
 #include <miiphy.h>
 #include <phy.h>
-#include <asm/fsl_dtsec.h>
+#include <fsl_dtsec.h>
 #include <asm/fsl_serdes.h>
 
 int board_eth_init(bd_t *bis)
index 9b416b138ae615872c657bb9e5d80f9eed5ecea9..2dfdcbbd398e126cefd139f8a2d05af5490f4f3e 100644 (file)
@@ -21,7 +21,7 @@
 #include <fsl_mdio.h>
 #include <miiphy.h>
 #include <phy.h>
-#include <asm/fsl_dtsec.h>
+#include <fsl_dtsec.h>
 #include <asm/fsl_serdes.h>
 #include <hwconfig.h>
 #include "../common/qixis.h"
index 879bd1a347b55697f34919d379bd446b6b79d77f..e563a6169aec86dee5fccb78bae346017a1acfd5 100644 (file)
@@ -23,7 +23,7 @@
 #include <fsl_mdio.h>
 #include <miiphy.h>
 #include <phy.h>
-#include <asm/fsl_dtsec.h>
+#include <fsl_dtsec.h>
 #include <asm/fsl_serdes.h>
 #include <hwconfig.h>
 
index 8d3dc0e308cefe2ca2d9f9f7f45b1d178fe4077a..b339a84e59af3efa4b6d2e90d778993058e8393e 100644 (file)
@@ -7,7 +7,7 @@
 #include <common.h>
 #include <asm/types.h>
 #include <asm/io.h>
-#include <asm/fsl_dtsec.h>
+#include <fsl_dtsec.h>
 #include <fsl_mdio.h>
 #include <phy.h>
 
index 2111a1106f90e3a74d6cb20ba458521b40206868..ec0a3cb371e523c81092c87dd1319f2509994e87 100644 (file)
@@ -13,8 +13,8 @@
 #include <fsl_mdio.h>
 #include <miiphy.h>
 #include <phy.h>
-#include <asm/fsl_dtsec.h>
-#include <asm/fsl_tgec.h>
+#include <fsl_dtsec.h>
+#include <fsl_tgec.h>
 #include <fsl_memac.h>
 
 #include "fm.h"
index 73c525e3d744a80bf9b69626c379bd5f18353a37..fa9bc9f42dbcfbb424a8a7be7dc371fbd5527073 100644 (file)
@@ -10,7 +10,7 @@
 #include <common.h>
 #include <phy.h>
 #include <fm_eth.h>
-#include <asm/fsl_fman.h>
+#include <fsl_fman.h>
 
 /* Port ID */
 #define OH_PORT_ID_BASE                0x01
index 50171230ea8fc99d196888310d3771e9efd06815..8d4622ff38ba43d975025b68b95ab87fa2be1555 100644 (file)
@@ -12,7 +12,7 @@
 #include <phy.h>
 #include <asm/types.h>
 #include <asm/io.h>
-#include <asm/fsl_tgec.h>
+#include <fsl_tgec.h>
 
 #include "fm.h"
 
index 095f00cf976858bb79012c87491ee97846c37173..24cb17b6edde1790fe0954e873e70cc8b2413d8e 100644 (file)
@@ -9,7 +9,7 @@
 #include <miiphy.h>
 #include <phy.h>
 #include <asm/io.h>
-#include <asm/fsl_tgec.h>
+#include <fsl_tgec.h>
 #include <fm_eth.h>
 
 /*