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
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
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:
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
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
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
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
: 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
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
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
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
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
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
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
@@ -
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
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:
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 +++-
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
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
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 +
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
[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
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
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
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
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
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
: 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
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
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
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
@@ -
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
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
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
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
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
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/
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
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
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
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
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
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
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
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
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
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
: 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
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
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
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/
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
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
@@ -
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
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
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
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
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 +
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
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 @@
301 - 360 of 360 matches
Mail list logo