[U-Boot] [Patch V4 06/17] net/fm: Make the return value logic consistent with convention

2015-10-14 Thread Gong Qianyu
From: Hou Zhiqiang In convention, the '0' is a normal return value indicating there isn't an error. While some functions of FMan IM driver treat '0' as an error return value. Signed-off-by: Hou Zhiqiang Signed-off-by: Gong Qianyu --- V3: - New patch. V4: - No chang

[U-Boot] [Patch V4 03/17] net/fm: Fix the endian issue to support both endianness platforms

2015-10-14 Thread Gong Qianyu
implemented so far, while for the little-endian platforms it need to swap the byte-order. Signed-off-by: Hou Zhiqiang Signed-off-by: Shaohui Xie Signed-off-by: Mingkai Hu Signed-off-by: Gong Qianyu --- V2: - No change. V3: - Modify the subject to make the aim clear. V4: - No change. drivers

[U-Boot] [Patch V4 05/17] net/fm: Add support for 64-bit platforms

2015-10-14 Thread Gong Qianyu
From: Hou Zhiqiang The FMan IM driver is developed for 32-bit platfroms and isn't friendly to 64-bit platforms, so do the minimal refactor: 1. Refine the MURAM management and access. 2. Correct the initialization and operations for QDs and BDs. Signed-off-by: Hou Zhiqiang Signed-off-by:

[U-Boot] [Patch V4 04/17] net/fm/eth: Use mb() to be compatible for both ARM and PowerPC

2015-10-14 Thread Gong Qianyu
From: Shaohui Xie Use mb() instead of sync() to be compatible for both ARM and PowerPC. Signed-off-by: Shaohui Xie Signed-off-by: Mingkai Hu Signed-off-by: Gong Qianyu --- V3: - New patch. Separated from patch 'net: Move some header files to include/' V4: - No change. driv

[U-Boot] [Patch V4 02/17] common/board_f.c: modify the macro to use get_clocks() more common

2015-10-14 Thread Gong Qianyu
get_clocks() should not be limited by ESDHC. Signed-off-by: Gong Qianyu --- V2: - No change. V3: - Removed defines in PPC configs that have no need to use. V4: - No change. common/board_f.c | 2 +- include/configs/colibri_vf.h | 1 + include/configs/ls1021aqds.h

[U-Boot] [Patch V4 00/17] Add LS1043A platform support

2015-10-14 Thread Gong Qianyu
Hi All, This patchset consilidated the ls1043a platform andls2085 platform into fsl-layerscape. Please help to review the version 4 patchset. Sorry for the delayed response due to one week China National holiday. [Patch V4 01/17] armv7/ls1021a: move ns_access to common file [Patch V4 02/17] comm

[U-Boot] [Patch V4 01/17] armv7/ls1021a: move ns_access to common file

2015-10-14 Thread Gong Qianyu
From: Mingkai Hu Config Security Level Register is different between different SoCs, so put the CSL register definition into the arch specific directory. Signed-off-by: Mingkai Hu Signed-off-by: Gong Qianyu --- V2: - Create include/fsl_csu.h instead of board/freescale/common/ns_access.h V3

[U-Boot] [Patch V3 12/16] armv8/ls1043ardb: Add LS1043ARDB board support

2015-09-25 Thread Gong Qianyu
: Mingkai Hu Signed-off-by: Gong Qianyu --- V3: - Fix message typos. - Add ddr model number in comments. - Fix boot options in README. - Remove some dead code. arch/arm/Kconfig| 7 ++ board/freescale/ls1043ardb/Kconfig | 16 +++ board/freescale/ls1043ardb/MAINTAINERS

[U-Boot] [Patch V3 13/16] armv8/ls1043ardb: Add nand boot support

2015-09-25 Thread Gong Qianyu
Signed-off-by: Gong Qianyu Signed-off-by: Hou Zhiqiang Signed-off-by: Shaohui Xie Signed-off-by: Mingkai Hu --- arch/arm/Kconfig | 1 + arch/arm/cpu/armv8/fsl-lsch2/Makefile | 1 + arch/arm/cpu/armv8/fsl-lsch2/spl.c | 79

[U-Boot] [Patch V3 16/16] armv8/ls1043ardb: Add sd boot support

2015-09-25 Thread Gong Qianyu
Signed-off-by: Gong Qianyu --- board/freescale/ls1043ardb/README| 1 + board/freescale/ls1043ardb/cpld.c| 17 ++ board/freescale/ls1043ardb/cpld.h| 1 + board/freescale/ls1043ardb/ls1043ardb.c | 6 + board/freescale

[U-Boot] [Patch V3 15/16] armv8/ls1043ardb: esdhc: Add esdhc support for ls1043ardb

2015-09-25 Thread Gong Qianyu
From: Yangbo Lu This patch adds esdhc support for ls1043ardb. Signed-off-by: Yangbo Lu Signed-off-by: Gong Qianyu --- arch/arm/cpu/armv8/fsl-lsch2/cpu.c | 10 ++ arch/arm/cpu/armv8/fsl-lsch2/fdt.c | 6 ++ arch/arm/cpu/armv8/fsl-lsch2/speed.c| 18

[U-Boot] [Patch V3 14/16] armv8/ls1043a: Add Fman support

2015-09-25 Thread Gong Qianyu
From: Shaohui Xie Signed-off-by: Hou Zhiqiang Signed-off-by: Shaohui Xie Signed-off-by: Mingkai Hu Signed-off-by: Gong Qianyu --- arch/arm/cpu/armv8/fsl-lsch2/cpu.c | 19 + arch/arm/cpu/armv8/fsl-lsch2/fdt.c | 7 ++ arch/arm/cpu/armv8/fsl-lsch2/speed.c| 23

[U-Boot] [Patch V3 10/16] net/fm: fix MDIO controller base on FMAN2

2015-09-25 Thread Gong Qianyu
Hu Signed-off-by: Gong Qianyu --- include/fm_eth.h | 17 + 1 file changed, 17 insertions(+) diff --git a/include/fm_eth.h b/include/fm_eth.h index 3e1b9f4..d43f801 100644 --- a/include/fm_eth.h +++ b/include/fm_eth.h @@ -45,8 +45,10 @@ enum fm_eth_type { #ifdef CONFIG_SYS_FMAN_V3

[U-Boot] [Patch V3 09/16] net/fm: Add QSGMII PCS init

2015-09-25 Thread Gong Qianyu
ff-by: Mingkai Hu Signed-off-by: Gong Qianyu --- drivers/net/fm/eth.c | 22 +- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/drivers/net/fm/eth.c b/drivers/net/fm/eth.c index a241d27..f3ac7d0 100644 --- a/drivers/net/fm/eth.c +++ b/drivers/net/fm/eth.c @@ -

[U-Boot] [Patch V3 11/16] ARMv8/FSL_LSCH2: Add FSL_LSCH2 SoC

2015-09-25 Thread Gong Qianyu
From: Mingkai Hu Freescale LayerScape with Chassis Generation 2 is a set of SoCs with ARMv8 cores and 2rd generation of Chassis. Signed-off-by: Li Yang Signed-off-by: Hou Zhiqiang Signed-off-by: Mingkai Hu Signed-off-by: Gong Qianyu --- V3: - Update MMU table initialization to match the

[U-Boot] [Patch V3 05/16] net/fm: Add support for 64-bit platforms

2015-09-25 Thread Gong Qianyu
From: Hou Zhiqiang The FMan IM driver is developed for 32-bit platfroms and isn't friendly to 64-bit platforms, so do the minimal refactor: 1. Refine the MURAM management and access. 2. Correct the initialization and operations for QDs and BDs. Signed-off-by: Hou Zhiqiang Signed-off-by:

[U-Boot] [Patch V3 04/16] net/fm/eth: Use mb() to be compatible for both ARM and PowerPC

2015-09-25 Thread Gong Qianyu
From: Shaohui Xie Use mb() instead of sync() to be compatible for both ARM and PowerPC. Signed-off-by: Shaohui Xie Signed-off-by: Mingkai Hu Signed-off-by: Gong Qianyu --- V3: - Separated from patch 'net: Move some header files to include/' drivers/net/fm/eth.c | 14 +++-

[U-Boot] [Patch V3 07/16] net/fm: bug fix when CONFIG_PHYLIB not defined

2015-09-25 Thread Gong Qianyu
From: Shaohui Xie phy_shutdown should be wrapped by CONFIG_PHYLIB. Signed-off-by: Shaohui Xie Signed-off-by: Mingkai Hu Signed-off-by: Gong Qianyu --- drivers/net/fm/eth.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/fm/eth.c b/drivers/net/fm/eth.c index de32814

[U-Boot] [Patch V3 06/16] net/fm: Make the return value logic consistent with convention

2015-09-25 Thread Gong Qianyu
From: Hou Zhiqiang In convention, the '0' is a normal return value indicating there isn't an error. While some functions of FMan IM driver treat '0' as an error return value. Signed-off-by: Hou Zhiqiang Signed-off-by: Gong Qianyu --- V3: - New patch

[U-Boot] [Patch V3 08/16] net: Move some header files to include/

2015-09-25 Thread Gong Qianyu
From: Shaohui Xie 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 Signed-off-by: Gong Qianyu --- arch/powerpc/include/asm/immap_85xx.h | 2 +

[U-Boot] [Patch V3 02/16] common/board_f.c: modify the macro to use get_clocks() more common

2015-09-25 Thread Gong Qianyu
get_clocks() should not be limited by ESDHC. Signed-off-by: Gong Qianyu --- V3: -Removed defines in PPC configs that have no need to use. common/board_f.c | 2 +- include/configs/colibri_vf.h | 1 + include/configs/ls1021aqds.h | 1 + include/configs/ls1021atwr.h

[U-Boot] [Patch V3 00/16] Add LS1043A platform support

2015-09-25 Thread Gong Qianyu
[Patch V3 01/16] armv7/ls1021a: move ns_access to common file [Patch V3 02/16] common/board_f.c: modify the macro to use [Patch V3 03/16] net/fm: Fix the endian issue to support both [Patch V3 04/16] net/fm/eth: Use mb() to be compatible for both ARM [Patch V3 05/16] net/fm: Add support for 64-bit

[U-Boot] [Patch V3 01/16] armv7/ls1021a: move ns_access to common file

2015-09-25 Thread Gong Qianyu
From: Mingkai Hu Config Security Level Register is different between different SoCs, so put the CSL register definition into the arch specific directory. Signed-off-by: Mingkai Hu Signed-off-by: Gong Qianyu --- arch/arm/include/asm/arch-ls102xa/ns_access.h | 103

[U-Boot] [Patch V3 03/16] net/fm: Fix the endian issue to support both

2015-09-25 Thread Gong Qianyu
implemented so far, while for the little-endian platforms it need to swap the byte-order. Signed-off-by: Hou Zhiqiang Signed-off-by: Shaohui Xie Signed-off-by: Mingkai Hu Signed-off-by: Gong Qianyu --- V3: - Modify the subject to make the aim clear. drivers/net/fm/eth.c | 70

[U-Boot] [Patch v2 03/16] net/fm: Fix the endian issue of ucode uploading to IRAM

2015-09-17 Thread Gong Qianyu
From: Shaohui Xie Remove the redundant byte swap of the ucode before uploading to IRAM. Signed-off-by: Hou Zhiqiang Signed-off-by: Shaohui Xie Signed-off-by: Mingkai Hu Signed-off-by: Gong Qianyu --- drivers/net/fm/eth.c | 69 +++- drivers

[U-Boot] [Patch v2 11/16] armv8/ls1043ardb: Add nand boot support

2015-09-17 Thread Gong Qianyu
Signed-off-by: Gong Qianyu Signed-off-by: Hou Zhiqiang Signed-off-by: Shaohui Xie Signed-off-by: Mingkai Hu --- V2: -Removed unecessary NAND_PAGE_SIZE in ls1043a_common.h. -Fixed "select SUPPORT_SPL" in arch/arm/Kconfig. -Used CONFIG_FSL_IFC instead of SPL_NAND_S

[U-Boot] [Patch v2 09/16] ARMv8/FSL_LSCH2: Add FSL_LSCH2 SoC

2015-09-17 Thread Gong Qianyu
From: Mingkai Hu Freescale LayerScape with Chassis Generation 2 is a set of SoCs with ARMv8 cores and 2rd generation of Chassis. Signed-off-by: Li Yang Signed-off-by: Hou Zhiqiang Signed-off-by: Mingkai Hu Signed-off-by: Gong Qianyu --- V2: remove FSL_LS102xA_DEVDISR3_PCIE from immap_lsch2

[U-Boot] [Patch v2 10/16] ARMv8/ls1043ardb: Add LS1043ARDB board support

2015-09-17 Thread Gong Qianyu
: Mingkai Hu Signed-off-by: Gong Qianyu --- V2: Replaced ns_access.h with fsl_csu.h. arch/arm/Kconfig| 7 ++ board/freescale/ls1043ardb/Kconfig | 16 +++ board/freescale/ls1043ardb/MAINTAINERS | 7 ++ board/freescale/ls1043ardb/Makefile | 9 ++ board

[U-Boot] [Patch v2 05/16] net: Move some header files to include/

2015-09-17 Thread Gong Qianyu
From: Shaohui Xie 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 Signed-off-by: Gong Qianyu --- arch/powerpc/include/asm/fsl_dtsec.h

[U-Boot] [Patch v2 04/16] net/fm: bug fix when CONFIG_PHYLIB not defined

2015-09-17 Thread Gong Qianyu
From: Shaohui Xie phy_shutdown should be wrapped by CONFIG_PHYLIB. Signed-off-by: Shaohui Xie Signed-off-by: Mingkai Hu Signed-off-by: Gong Qianyu --- drivers/net/fm/eth.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/fm/eth.c b/drivers/net/fm/eth.c index cd05dbc

[U-Boot] [Patch v2 06/16] net/fm: Add QSGMII PCS init

2015-09-17 Thread Gong Qianyu
ff-by: Mingkai Hu Signed-off-by: Gong Qianyu --- drivers/net/fm/eth.c | 22 +- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/drivers/net/fm/eth.c b/drivers/net/fm/eth.c index a768a90..12eb9b8 100644 --- a/drivers/net/fm/eth.c +++ b/drivers/net/fm/eth.c @@ -

[U-Boot] [Patch v2 15/16] armv8/ls1043ardb: Add sd boot support

2015-09-17 Thread Gong Qianyu
Signed-off-by: Gong Qianyu --- board/freescale/ls1043ardb/ls1043ardb.c | 8 +++ board/freescale/ls1043ardb/ls1043ardb_rcw_sd.cfg | 7 ++ configs/ls1043ardb_sdcard_defconfig | 4 include/configs/ls1043a_common.h | 30

[U-Boot] [Patch v2 16/16] armv8/ls1043ardb: Add cpld command to boot from sd

2015-09-17 Thread Gong Qianyu
Signed-off-by: Gong Qianyu --- board/freescale/ls1043ardb/cpld.c | 17 + board/freescale/ls1043ardb/cpld.h | 1 + 2 files changed, 18 insertions(+) diff --git a/board/freescale/ls1043ardb/cpld.c b/board/freescale/ls1043ardb/cpld.c index 5acb97d..faa0de8 100644 --- a/board

[U-Boot] [Patch v2 14/16] armv8/ls1043ardb: esdhc: Add esdhc support for ls1043ardb

2015-09-17 Thread Gong Qianyu
From: Yangbo Lu This patch adds esdhc support for ls1043ardb. Signed-off-by: Yangbo Lu Signed-off-by: Gong Qianyu --- arch/arm/cpu/armv8/fsl-lsch2/cpu.c | 10 ++ arch/arm/cpu/armv8/fsl-lsch2/fdt.c | 6 ++ arch/arm/cpu/armv8/fsl-lsch2/speed.c | 18 +- drivers

[U-Boot] [Patch v2 12/16] armv8/ls1043ardb: Add cpld command to boot from nand

2015-09-17 Thread Gong Qianyu
Signed-off-by: Gong Qianyu --- board/freescale/ls1043ardb/cpld.c | 18 ++ board/freescale/ls1043ardb/cpld.h | 1 + 2 files changed, 19 insertions(+) diff --git a/board/freescale/ls1043ardb/cpld.c b/board/freescale/ls1043ardb/cpld.c index 3f1101e..5acb97d 100644 --- a/board

[U-Boot] [Patch v2 13/16] armv8/ls1043a: Add Fman support

2015-09-17 Thread Gong Qianyu
From: Shaohui Xie Signed-off-by: Hou Zhiqiang Signed-off-by: Shaohui Xie Signed-off-by: Mingkai Hu Signed-off-by: Gong Qianyu --- arch/arm/cpu/armv8/fsl-lsch2/cpu.c | 19 + arch/arm/cpu/armv8/fsl-lsch2/fdt.c | 7 ++ arch/arm/cpu/armv8/fsl-lsch2/speed.c| 23

[U-Boot] [Patch v2 08/16] net/fm: fix compile warnings for 64-bit platform

2015-09-17 Thread Gong Qianyu
different size [-Wpointer-to-int-cast] u32 base = (u32)reg; Just make the cast explicit for them. Signed-off-by: Gong Qianyu --- drivers/net/fm/eth.c | 31 --- drivers/net/fm/fm.c | 4 ++-- 2 files changed, 18 insertions(+), 17 deletions(-) diff --git a/

[U-Boot] [Patch v2 07/16] net/fm: fix MDIO controller base on FMAN2

2015-09-17 Thread Gong Qianyu
Hu Signed-off-by: Gong Qianyu --- include/fm_eth.h | 17 + 1 file changed, 17 insertions(+) diff --git a/include/fm_eth.h b/include/fm_eth.h index 3e1b9f4..d43f801 100644 --- a/include/fm_eth.h +++ b/include/fm_eth.h @@ -45,8 +45,10 @@ enum fm_eth_type { #ifdef CONFIG_SYS_FMAN_V3

[U-Boot] [Patch v2 02/16] common/board_f.c: modify the macro to use get_clocks() more common

2015-09-17 Thread Gong Qianyu
get_clocks() should not be limited by ESDHC. Signed-off-by: Gong Qianyu --- common/board_f.c | 2 +- include/configs/BSC9132QDS.h | 1 + include/configs/MPC8308RDB.h | 1 + include/configs/MPC837XEMDS.h | 1 + include/configs/MPC837XERDB.h | 1 + include

[U-Boot] [Patch v2 01/16] ARMv7/ls1021a: move ns_access to common file

2015-09-17 Thread Gong Qianyu
From: Mingkai Hu Config Security Level Register is different between different SoCs, so put the CSL register definition into the arch speicific directory. Signed-off-by: Mingkai Hu Signed-off-by: Gong Qianyu --- V2: Create include/fsl_csu.h instead of board/freescale/common/ns_access.h arch

[U-Boot] [PATCH 02/14] net/fm: bug fix when CONFIG_PHYLIB not defined

2015-09-11 Thread Gong Qianyu
From: Shaohui Xie phy_shutdown should be wrapped by CONFIG_PHYLIB. Signed-off-by: Shaohui Xie Signed-off-by: Mingkai Hu Signed-off-by: Gong Qianyu --- drivers/net/fm/eth.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/fm/eth.c b/drivers/net/fm/eth.c index cd05dbc

[U-Boot] [PATCH 03/14] net: Move some header files to include/

2015-09-11 Thread Gong Qianyu
From: Shaohui Xie 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 Signed-off-by: Gong Qianyu --- arch/powerpc/include/asm/fsl_dtsec.h

[U-Boot] [PATCH 14/14] armv8/ls1043ardb: Add cpld command to boot from sd

2015-09-11 Thread Gong Qianyu
Signed-off-by: Gong Qianyu --- board/freescale/ls1043ardb/cpld.c | 17 + board/freescale/ls1043ardb/cpld.h | 1 + 2 files changed, 18 insertions(+) diff --git a/board/freescale/ls1043ardb/cpld.c b/board/freescale/ls1043ardb/cpld.c index 5acb97d..faa0de8 100644 --- a/board

[U-Boot] [PATCH 13/14] armv8/ls1043ardb: Add sd boot support

2015-09-11 Thread Gong Qianyu
Signed-off-by: Gong Qianyu --- board/freescale/ls1043ardb/ls1043ardb.c | 8 +++ board/freescale/ls1043ardb/ls1043ardb_rcw_sd.cfg | 7 ++ configs/ls1043ardb_sdcard_defconfig | 4 include/configs/ls1043a_common.h | 30

[U-Boot] [PATCH 12/14] armv8/ls1043ardb: esdhc: Add esdhc support for ls1043ardb

2015-09-11 Thread Gong Qianyu
From: Yangbo Lu This patch adds esdhc support for ls1043ardb. Signed-off-by: Yangbo Lu Signed-off-by: Gong Qianyu --- arch/arm/cpu/armv8/fsl-lsch2/cpu.c | 10 ++ arch/arm/cpu/armv8/fsl-lsch2/fdt.c | 6 ++ arch/arm/cpu/armv8/fsl-lsch2/speed.c | 18 +- drivers

[U-Boot] [PATCH 07/14] ARMv8/FSL_LSCH2: Add FSL_LSCH2 SoC

2015-09-11 Thread Gong Qianyu
From: Mingkai Hu Freescale LayerScape with Chassis Generation 2 is a set of SoCs with ARMv8 cores and 2rd generation of Chassis. Signed-off-by: Li Yang Signed-off-by: Hou Zhiqiang Signed-off-by: Mingkai Hu Signed-off-by: Gong Qianyu --- arch/arm/cpu/armv8/Makefile

[U-Boot] [PATCH 11/14] armv8/ls1043a: Add Fman support

2015-09-11 Thread Gong Qianyu
From: Shaohui Xie Signed-off-by: Hou Zhiqiang Signed-off-by: Shaohui Xie Signed-off-by: Mingkai Hu Signed-off-by: Gong Qianyu --- arch/arm/cpu/armv8/fsl-lsch2/cpu.c | 19 + arch/arm/cpu/armv8/fsl-lsch2/fdt.c | 7 ++ arch/arm/cpu/armv8/fsl-lsch2/speed.c| 23

[U-Boot] [PATCH 08/14] ARMv8/ls1043ardb: Add LS1043ARDB board support

2015-09-11 Thread Gong Qianyu
: Mingkai Hu Signed-off-by: Gong Qianyu --- arch/arm/Kconfig| 8 ++ board/freescale/ls1043ardb/Kconfig | 16 +++ board/freescale/ls1043ardb/MAINTAINERS | 7 ++ board/freescale/ls1043ardb/Makefile | 9 ++ board/freescale/ls1043ardb/README | 87

[U-Boot] [PATCH 10/14] armv8/ls1043ardb: Add cpld command to boot from nand

2015-09-11 Thread Gong Qianyu
Signed-off-by: Gong Qianyu --- board/freescale/ls1043ardb/cpld.c | 18 ++ board/freescale/ls1043ardb/cpld.h | 1 + 2 files changed, 19 insertions(+) diff --git a/board/freescale/ls1043ardb/cpld.c b/board/freescale/ls1043ardb/cpld.c index 3f1101e..5acb97d 100644 --- a/board

[U-Boot] [PATCH 09/14] armv8/ls1043ardb: Add nand boot support

2015-09-11 Thread Gong Qianyu
Signed-off-by: Gong Qianyu Signed-off-by: Hou Zhiqiang Signed-off-by: Shaohui Xie Signed-off-by: Mingkai Hu --- arch/arm/Kconfig | 1 + arch/arm/cpu/armv8/fsl-lsch2/Makefile | 1 + arch/arm/cpu/armv8/fsl-lsch2/spl.c | 91

[U-Boot] [PATCH 06/14] net/fm: fix compile warnings for 64-bit platform

2015-09-11 Thread Gong Qianyu
different size [-Wpointer-to-int-cast] u32 base = (u32)reg; Just make the cast explicit for them. Signed-off-by: Gong Qianyu --- drivers/net/fm/eth.c | 31 --- drivers/net/fm/fm.c | 4 ++-- 2 files changed, 18 insertions(+), 17 deletions(-) diff --git a/

[U-Boot] [PATCH 05/14] net/fm: fix MDIO controller base on FMAN2

2015-09-11 Thread Gong Qianyu
Hu Signed-off-by: Gong Qianyu --- include/fm_eth.h | 17 + 1 file changed, 17 insertions(+) diff --git a/include/fm_eth.h b/include/fm_eth.h index 3e1b9f4..d43f801 100644 --- a/include/fm_eth.h +++ b/include/fm_eth.h @@ -45,8 +45,10 @@ enum fm_eth_type { #ifdef CONFIG_SYS_FMAN_V3

[U-Boot] [PATCH 04/14] net/fm: Add QSGMII PCS init

2015-09-11 Thread Gong Qianyu
ff-by: Mingkai Hu Signed-off-by: Gong Qianyu --- drivers/net/fm/eth.c | 22 +- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/drivers/net/fm/eth.c b/drivers/net/fm/eth.c index a768a90..12eb9b8 100644 --- a/drivers/net/fm/eth.c +++ b/drivers/net/fm/eth.c @@ -

[U-Boot] [PATCH 01/14] net/fm: Fix the endian issue of ucode uploading to IRAM

2015-09-11 Thread Gong Qianyu
From: Shaohui Xie Remove the redundant byte swap of the ucode before uploading to IRAM. Signed-off-by: Hou Zhiqiang Signed-off-by: Shaohui Xie Signed-off-by: Mingkai Hu Signed-off-by: Gong Qianyu --- drivers/net/fm/eth.c | 69 +++- drivers

[U-Boot] [PATCH] arm/asm: Data types defined for 64 bit Physical Address

2015-09-09 Thread Gong Qianyu
From: Aneesh Bansal Data types and I/O functions have been defined for 64 bit addresses in ARM. Signed-off-by: Aneesh Bansal Signed-off-by: Gong Qianyu --- arch/arm/include/asm/io.h| 4 +++- arch/arm/include/asm/types.h | 13 - 2 files changed, 11 insertions(+), 6 deletions

[U-Boot] [PATCH] ARMv7/ls1021a: move ns_access to common file

2015-09-09 Thread Gong Qianyu
From: Mingkai Hu Config Security Level Register is different between different SoCs, so put the CSL register definition into the arch speicific directory. Signed-off-by: Mingkai Hu Signed-off-by: Gong Qianyu --- arch/arm/include/asm/arch-ls102xa/ns_access.h | 84 - board

[U-Boot] [PATCH] common/board_f.c: modify the macro to use get_clocks() more common

2015-09-09 Thread Gong Qianyu
get_clocks() should not be limited by ESDHC. Signed-off-by: Gong Qianyu --- common/board_f.c | 2 +- include/configs/BSC9132QDS.h | 1 + include/configs/MPC8308RDB.h | 1 + include/configs/MPC837XEMDS.h | 1 + include/configs/MPC837XERDB.h | 1 + include

[U-Boot] [PATCH] net/eth: fix a bug in on_ethaddr()

2015-08-30 Thread Gong Qianyu
The loop should check all ethenet devices, not only the first device, to set each specified ethaddr, or it'll cause failure when we use other devices. Signed-off-by: Gong Qianyu diff --git a/net/eth.c b/net/eth.c index d3ec8d6..e3ef80e 100644 --- a/net/eth.c +++ b/net/eth.c @@ -677,6 +

[U-Boot] [PATCH 2/2] common/cmd_source.c: Fix the source command failure under 64-bit platform

2015-07-30 Thread Gong Qianyu
er 32-bit or 64-bit platform, the difference would cause failure in 64-bit platform. Signed-off-by: Gong Qianyu diff --git a/common/cmd_source.c b/common/cmd_source.c index d2a881d..db7ab7e 100644 --- a/common/cmd_source.c +++ b/common/cmd_source.c @@ -33,7 +33,7 @@ source (ulong addr, const c

[U-Boot] [PATCH 1/2] spl: Fix compile warning for arm64

2015-07-30 Thread Gong Qianyu
Make the cast explicit for "warning: cast to pointer from integer of different size". Signed-off-by: Gong Qianyu diff --git a/common/spl/spl_mmc.c b/common/spl/spl_mmc.c index 494f683..ce58c58 100644 --- a/common/spl/spl_mmc.c +++ b/common/spl/spl_mmc.c @@ -44,7 +44,7 @@

<    1   2   3   4