Due to the new layout of Layerscape series, move the QE
firmware to address (512*4A00) in SD Card.
Signed-off-by: Zhao Qiang
---
include/configs/ls1043a_common.h |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/configs/ls1043a_common.h b/include/configs
./Documentation/devicetree/bindings/powerpc/fsl/fman.txt
This patch doesn't affect legacy compatibles support.
Signed-off-by: Zhao Qiang
---
Changes for v2
- add kernel version and commit id modifing the binding
Changes for v3
- put "fsl,fman-xgec" before
./Documentation/devicetree/bindings/powerpc/fsl/fman.txt
This patch doesn't affect legacy compatibles support.
Signed-off-by: Zhao Qiang
---
Changes for v2
- add kernel version and commit id modifing the binding
drivers/net/fm/init.c |3 ++-
1 files changed, 2 insertions(+), 1 dele
doesn't affect legacy compatibles support.
Signed-off-by: Zhao Qiang
---
drivers/net/fm/init.c |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/drivers/net/fm/init.c b/drivers/net/fm/init.c
index 147d043..e3b1a50 100644
--- a/drivers/net/fm/init.c
+++ b/drivers/net/fm/i
should be included when CONFIG_PHYLIB and
CONFIG_TSEC_ENET are defined.
Fixes: 3146f0c017 ("Move PHYLIB to Kconfig")
Signed-off-by: Zhao Qiang
---
arch/powerpc/include/asm/config.h |4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/arch/powerpc/include/asm/c
Signed-off-by: Zhao Qiang
---
drivers/net/phy/atheros.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/phy/atheros.c b/drivers/net/phy/atheros.c
index b34cdd3d87..d7e76deeb7 100644
--- a/drivers/net/phy/atheros.c
+++ b/drivers/net/phy/atheros.c
@@ -19,6 +19,7 @@
static int
QE_IRAM_READY should be set only after successfully uploading the
firmware.
Signed-off-by: Zhao Qiang
---
Changes for v2:
- modify commit msg to make it more understandable
drivers/qe/qe.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/qe/qe.c b/drivers
add if condition to check the return value, if 0, firmware is uploaded
successfully, then mark QE_IRAM as ready.
Signed-off-by: Zhao Qiang
---
drivers/qe/qe.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/qe/qe.c b/drivers/qe/qe.c
index 24e764d..8151068 100644
modify u_qe_init to upload QE firmware from SD card when it is SD
boot
Signed-off-by: Zhao Qiang
---
Changes for v2:
- fix issue of memory leak
Changes for v3:
- add CONFIG_SYS_QE_FMAN_FW_IN_NOR to ls1021a
Changes for v4:
- rebase due to memory-mapping conflict
Changes
modify u_qe_init to upload QE firmware from SD card when it is SD
boot
Signed-off-by: Zhao Qiang
---
Changes for v2:
- fix issue of memory leak
Changes for v3:
- add CONFIG_SYS_QE_FMAN_FW_IN_NOR to ls1021a
Changes for v4:
- rebase due to memory-mapping conflict
drivers
modify u_qe_init to upload QE firmware from SD card when it is SD
boot
Signed-off-by: Zhao Qiang
---
Changes for v2:
- fix issue of memory leak
Changes for v3:
- add CONFIG_SYS_QE_FMAN_FW_IN_NOR to ls1021a
drivers/qe/qe.c | 37
modify u_qe_init to upload QE firmware from SD card when it is SD
boot
Signed-off-by: Zhao Qiang
---
Changes for v2:
- fix issue of memory leak
drivers/qe/qe.c | 37 -
include/configs/ls1043a_common.h | 2 ++
include/configs
modify u_qe_init to upload QE firmware from SD card when it is SD
boot
Signed-off-by: Zhao Qiang
---
drivers/qe/qe.c | 34 +-
include/configs/ls1043a_common.h | 4
include/configs/ls1043ardb.h | 7 ---
3 files changed, 37
PBL flush command is restricted to CCSR memory space.
So use WAIT PBI command to provide enough time for data to get flush in
target memory
Signed-off-by: Zhao Qiang
---
Changes for v2:
- split to two patches
Changes for v3:
- modify commit msg
Changes for v4:
- modify
PBI_SRC=14 for IFC NAND boot
Signed-off-by: Zhao Qiang
---
Changes for v2:
- split to two patches
Changes for v3:
- modify commit msg, explain why modify the PBI_SRC.
Changes for v4:
- modify commit msg
Changes for v5:
- modify commit msg
.../t102xqds
PBI_SRC=14 for IFC NAND boot
Signed-off-by: Zhao Qiang
---
Changes for v2:
- split to two patches
Changes for v3:
- modify commit msg, explain why modify the PBI_SRC.
Changes for v4:
- modify commit msg
.../t102xqds/{t1024_rcw.cfg => t1024_nand_rcw.cfg} |
PBL flush command is restricted to CCSR memory space.
So use WAIT PBI command to provide enough time for data to get flush in
target memory
Signed-off-by: Zhao Qiang
---
Changes for v2:
- split to two patches
Changes for v3:
- modify commit msg
Changes for v4:
- modify
FLUSH command is restricted to CCSR board. So use WAIT
command in case of non-CCSR board.
Signed-off-by: Zhao Qiang
---
Changes for v2:
- split to two patches
Changes for v3:
- modify commit msg
board/freescale/t208xqds/t208x_pbi.cfg | 3 +--
board/freescale/t208xrdb
PBI_SRC=14 for IFC NAND boot
Signed-off-by: Zhao Qiang
---
Changes for v2:
- split to two patches
Changes for v3:
- modify commit msg, explain why modify the PBI_SRC.
.../t102xqds/{t1024_rcw.cfg => t1024_nand_rcw.cfg} | 0
.../t102xqds/{t1024_rcw.
FLUSH command is restricted to CCSR space. So use WAIT
command in case of non-CCSR board.
Signed-off-by: Zhao Qiang
---
board/freescale/t208xqds/t208x_pbi.cfg | 3 +--
board/freescale/t208xrdb/t2080_pbi.cfg | 3 +--
board/freescale/t4qds/t4_pbi.cfg | 3 +--
board/freescale/t4rdb
T series boards use unified RCW for sd, api and nand boot.
Now split txxx_rcw.cfg to txxx_sd_rcw.cfg, txxx_spi_rcw.cfg
and txxx_nand_rcw.cfg for SPI/NAND/SD boot.
Signed-off-by: Zhao Qiang
---
.../t102xqds/{t1024_rcw.cfg => t1024_nand_rcw.cfg} | 0
.../t102xqds/{t1024_rcw.
FLUSH command is restricted to CCSR space. So use WAIT
command in case of non-CCSR board.
And split txxx_rcw.cfg to txxx_sd_rcw.cfg, txxx_spi_rcw.cfg
and txxx_nand_rcw.cfg for SPI/NAND/SD boot.
Signed-off-by: Zhao Qiang
---
.../t102xqds/{t1024_rcw.cfg => t1024_nand_rcw.cfg} | 0
.../t102x
This reverts commit 5066e62847bddf6030262ade2aa3e7bcdc930037.
The reverted patch will block t2080RDB iNiC, it was a workaround for
T2080QDS
down-training issue, we need to revert it and find the root cause for
T2080QDS
down-training issue.
Signed-off-by: Zhao Qiang
---
drivers/pci
There are uQE on ls1043ardb board, add uQE support for the board.
Call u_qe_init in ls1043ardb's board_init.
Signed-off-by: Zhao Qiang
---
Changes for v2:
- get qe_immr directly instead of qe_base
Changes for v3:
- NA
Changes for v4:
- NA
Changes for v5:
- r
Pin-muxing code should be in config_board_mux, move USB muxing
config to config_board_mux.
Signed-off-by: Zhao Qiang
---
Changes for v2:
- NA
Changes for v3:
- split from "[PATCH v2 3/3] QE: assgin pins to QE-HDLC"
Changes for v4:
- NA
Changes for v5:
-
QE-HDLC and USB multi-use the pins, modify the pin-muxing code
for them, when set "hwconfig=qe-hdlc" in uboot, assign the pins
to QE-HDLC, if not, assgin it to USB
Signed-off-by: Zhao Qiang
---
Changes for v2:
- NA
Changes for v3:
- split from "[PATCH v2 3/3] QE:
there are some code in qe.c not used for micro QE,
use "#ifdef CONFIG_QE" to mask them.
Signed-off-by: Zhao Qiang
---
Changes for v2:
- new added
Changes for v3:
- NA
Changes for v4:
- NA
Changes for v5:
- modify commit message
drivers/qe/qe.c | 6
Upload qe microcode on ls1043ardb
Signed-off-by: Zhao Qiang
---
board/freescale/ls1043ardb/ls1043ardb.c | 8
drivers/qe/qe.c | 6 ++
include/configs/ls1043ardb.h| 7 +++
3 files changed, 17 insertions(+), 4 deletions(-)
diff --git a/board
USB pins are muxed with other feature, move USB mux config
to config_board_mux.
Signed-off-by: Zhao Qiang
---
board/freescale/ls1043ardb/ls1043ardb.c | 30 +++---
1 file changed, 15 insertions(+), 15 deletions(-)
diff --git a/board/freescale/ls1043ardb/ls1043ardb.c
b
use "#ifdef CONFIG_QE" to mask the codes
not used for micro QE
Signed-off-by: Zhao Qiang
---
drivers/qe/qe.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/qe/qe.c b/drivers/qe/qe.c
index 08620b2..2a9e61b 100644
--- a/drivers/qe/qe.c
+++ b/drivers/qe/qe.c
@@ -
qe-hdlc and usb multi-use the pins, when set hwconfig=qe-hdlc,
assign the pins to qe-hdlc, if not, assgin it to usb
Signed-off-by: Zhao Qiang
---
board/freescale/ls1043ardb/ls1043ardb.c | 53 ++---
1 file changed, 43 insertions(+), 10 deletions(-)
diff --git a/board
*Changes in v4:
-[PATCH v4 4/4] qe: assgin pins to qe-hdlc
- modify the format of multi-line comments
*Changes in v3:
-split [PATCH v2 3/3] QE: assgin pins to QE-HDLC to two patches:
[PATCH v3 3/4] ls1043rdb: move USB mux config to config_board_mux
and [PATCH v3 4/4] qe: assgin pins to
qe-hdlc and usb multi-use the pins, when set hwconfig=qe-hdlc,
assign the pins to qe-hdlc, if not, assgin it to usb
Signed-off-by: Zhao Qiang
---
board/freescale/ls1043ardb/ls1043ardb.c | 51 ++---
1 file changed, 41 insertions(+), 10 deletions(-)
diff --git a/board
*Changes in v3:
- split [PATCH v2 3/3] QE: assgin pins to QE-HDLC to two patches:
[PATCH v3 3/4] ls1043rdb: move USB mux config to config_board_mux
and [PATCH v3 4/4] qe: assgin pins to qe-hdlc.
*Changes in v2:
- Add new patch in patchset.QE: mask the codes not used for micro QE
- [PATCH v2 2/
USB pins are muxed with other feature, move USB mux config
to config_board_mux.
Signed-off-by: Zhao Qiang
---
board/freescale/ls1043ardb/ls1043ardb.c | 30 +++---
1 file changed, 15 insertions(+), 15 deletions(-)
diff --git a/board/freescale/ls1043ardb/ls1043ardb.c
b
Upload qe microcode on ls1043ardb
Signed-off-by: Zhao Qiang
---
board/freescale/ls1043ardb/ls1043ardb.c | 8
drivers/qe/qe.c | 6 ++
include/configs/ls1043ardb.h| 7 +++
3 files changed, 17 insertions(+), 4 deletions(-)
diff --git a/board
use "#ifdef CONFIG_QE" to mask the codes
not used for micro QE
Signed-off-by: Zhao Qiang
---
drivers/qe/qe.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/qe/qe.c b/drivers/qe/qe.c
index 08620b2..2a9e61b 100644
--- a/drivers/qe/qe.c
+++ b/drivers/qe/qe.c
@@ -
use "#ifdef CONFIG_QE" to mask the codes
not used for micro QE
Signed-off-by: Zhao Qiang
---
Changes for v2:
- this patch is new added to this patchset
drivers/qe/qe.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/qe/qe.c b/drivers/qe/qe.c
index 08620b
Upload qe microcode on ls1043ardb
Signed-off-by: Zhao Qiang
---
Changes for v2:
- get qe_immr and qe_immr directly instead of from qe_base
board/freescale/ls1043ardb/ls1043ardb.c | 8
drivers/qe/qe.c | 6 ++
include/configs/ls1043ardb.h
qe-hdlc and usb multi-use the pins, when set hwconfig=qe-hdlc,
assign the pins to qe-hdlc, if not, assgin it to usb
Signed-off-by: Zhao Qiang
---
Changes for v2:
- NA
board/freescale/ls1043ardb/ls1043ardb.c | 54 -
1 file changed, 39 insertions(+), 15
Upload QE microcode on ls1043ardb
Signed-off-by: Zhao Qiang
---
board/freescale/ls1043ardb/ls1043ardb.c | 8
include/configs/ls1043ardb.h| 7 +++
2 files changed, 15 insertions(+)
diff --git a/board/freescale/ls1043ardb/ls1043ardb.c
b/board/freescale/ls1043ardb
QE-HDLC and USB multi-use the pins, when set "hwconfig=qe-hdlc",
assign the pins to QE-HDLC, if not, assgin to USB
Signed-off-by: Zhao Qiang
---
board/freescale/ls1043ardb/ls1043ardb.c | 54 -
1 file changed, 39 insertions(+), 15 deletions(-)
diff --g
From: Zhao Qiang
the address of uboot changed, so change qe ucode
Signed-off-by: Zhao Qiang
---
include/configs/ls1021aqds.h | 2 +-
include/configs/ls1021atwr.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/configs/ls1021aqds.h b/include/configs/ls1021aqds.h
qe: add qe support MACRO to ls1021a-twr head file
Signed-off-by: Zhao Qiang
---
board/freescale/ls1021atwr/ls1021atwr.c | 7 +++
include/configs/ls1021atwr.h| 6 ++
2 files changed, 13 insertions(+)
diff --git a/board/freescale/ls1021atwr/ls1021atwr.c
b/board/freescale
add qe support MACRO to ls1021aqds head file
Signed-off-by: Zhao Qiang
---
board/freescale/ls1021aqds/ls1021aqds.c | 8
include/configs/ls1021aqds.h| 6 ++
2 files changed, 14 insertions(+)
diff --git a/board/freescale/ls1021aqds/ls1021aqds.c
b/board/freescale
From: Zhao Qiang
ls1021 is arm-core and support qe which is u-qe.
add u-qe init for arm board.
Signed-off-by: Zhao Qiang
---
arch/arm/include/asm/arch-ls102xa/config.h | 4
arch/arm/include/asm/global_data.h | 8
drivers/Makefile | 1
qe-tdm is muxed with diu, if hwconfig setted as qe-tdm,
assign muxed pins to qe-tdm, then delete diu node from
device tree.
Signed-off-by: Zhao Qiang
---
changes for v2
- move fdt_del_diu to arch/powerpc/cpu/mpc85xx/fdt.c
- add new .h file arch/powerpc/include/asm/fsl_fdt.h for
> -Original Message-
> From: Kushwaha Prabhakar-B32579
> Sent: Thursday, August 27, 2015 4:23 PM
> To: Zhao Qiang-B45475
> Cc: u-boot@lists.denx.de; Sun York-R58495; Jain Priyanka-B32167
> Subject: RE: [PATCH] t1040d4rdb: assign muxed pins to qe-tdm when set
On Thu 8/27/2015 2:36 pm, Kushwaha Prabhakar-B32579 wrote:
> -Original Message-
> From: Kushwaha Prabhakar-B32579
> Sent: Thursday, August 27, 2015 2:36 PM
> To: Zhao Qiang-B45475
> Cc: u-boot@lists.denx.de; Sun York-R58495; Jain Priyanka-B32167; Zhao
> Qiang-B45475
>
qe-tdm is muxed with diu, if hwconfig setted as qe-tdm,
assign muxed pins to qe-tdm, then delete diu node from
device tree.
Signed-off-by: Zhao Qiang
---
board/freescale/t104xrdb/cpld.h | 1 +
board/freescale/t104xrdb/t104xrdb.c | 19 +++
2 files changed, 20 insertions
strncpy is safer than strcpy, use it to instead of strcpy.
Signed-off-by: Zhao Qiang
---
drivers/qe/qe.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/qe/qe.c b/drivers/qe/qe.c
index f1df0a4..08620b2 100644
--- a/drivers/qe/qe.c
+++ b/drivers/qe/qe.c
@@ -435,7
when using printf, the parameter type need to be compatible
type, so transform them to compatible type
Signed-off-by: Zhao Qiang
---
drivers/qe/qe.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/qe/qe.c b/drivers/qe/qe.c
index 84e1433..f1df0a4 100644
--- a
Muram will power off during deepsleep, and the microcode of qe
in muram will be lost, it should be reload when resume.
Signed-off-by: Zhao Qiang
---
board/freescale/common/arm_sleep.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/board/freescale/common/arm_sleep.c
b/board/freescale
T2080QDS PEX1/Slot#1 will down-train from x4 to x2,
with SRDS_PRTCL_S1 = 0x66 and SRDS_PRTCL_S2 = 0x15.
Soft reset PCIe can fix this issue.
Signed-off-by: Zhao Qiang
---
changes for v2
- modify the commit message
changes for v3
- use CONFIG_FSL_PCIE_RESET instead of
Muram will power off during deepsleep, and the microcode of qe
in muram will be lost, it should be reload when resume.
Signed-off-by: Zhao Qiang
---
arch/arm/include/asm/arch-ls102xa/config.h | 4 --
board/freescale/common/mpc85xx_sleep.c | 8 +++
drivers/qe/qe.c
T2080QDS PEX1/Slot#1 will down-train from x4 to x2,
Soft reset PCIe can fix this issue, this is a workaround.
Signed-off-by: Zhao Qiang
---
changes for v2
- modify the commit message
drivers/pci/fsl_pci_init.c | 17 +
include/configs/T208xQDS.h | 1 +
2 files changed
T2080QDS PEX1/Slot#1 will down-train from x4 to x2,
with SRDS_PRTCL_S1 = 0x66 and SRDS_PRTCL_S2 = 0x15.
Soft reset PCIe can fix this issue, this is a workaround.
Signed-off-by: Zhao Qiang
---
drivers/pci/fsl_pci_init.c | 17 +
include/configs/T208xQDS.h | 1 +
2 files changed
Deep sleep for generic board is supported now,
modify qe deep-sleep code to adapt it.
Signed-off-by: Zhao Qiang
---
Changes for v2:
- rebase
drivers/qe/qe.c | 11 +++
1 file changed, 11 insertions(+)
diff --git a/drivers/qe/qe.c b/drivers/qe/qe.c
index bc94673..d24651b 100644
Deep sleep for generic board is supported now,
and it use CONFIG_FSL_DEEP_SLEEP instead of CONFIG_DEEP_SLEEP,
so modify it for qe.
Signed-off-by: Zhao Qiang
---
drivers/qe/qe.c | 31 +--
1 file changed, 21 insertions(+), 10 deletions(-)
diff --git a/drivers/qe/qe.c
Deep sleep for generic board is supported now,
and it use CONFIG_FSL_DEEP_SLEEP instead of CONFIG_DEEP_SLEEP,
so modify it for qe.
Signed-off-by: Zhao Qiang
---
drivers/qe/qe.c | 23 +--
1 file changed, 17 insertions(+), 6 deletions(-)
diff --git a/drivers/qe/qe.c b/drivers
IRAM will power off and microcode will lost when system go into
deepsleep, so upload it when resume deepsleep.
Signed-off-by: Zhao Qiang
---
board/freescale/ls1021aqds/ls1021aqds.c | 4 +-
drivers/qe/qe.c | 76 +
drivers/qe/qe.h
Signed-off-by: Zhao Qiang
---
Changes for v2:
- put u_qe functions under "#ifdef CONFIG_U_QE"
drivers/qe/qe.c | 129 +++-
drivers/qe/qe.h | 6 ++-
2 files changed, 133 insertions(+), 2 deletions(-)
diff --git a/drivers
T2080 v1.0 has this errata while v1.1 has fixed
this errata by hardware, add a new function has_errata_a007186
to check the SVR_SOC_VER, SVR_MAJ and SVR_MIN first,
if the sil has errata a007186, then run the errata code,
if not, doesn't run the code.
Signed-off-by: Zhao Qiang
Chan
Signed-off-by: Zhao Qiang
---
drivers/qe/qe.c | 125 +++-
drivers/qe/qe.h | 1 +
2 files changed, 125 insertions(+), 1 deletion(-)
diff --git a/drivers/qe/qe.c b/drivers/qe/qe.c
index 4de1881..5485672 100644
--- a/drivers/qe/qe.c
+++ b
T2080 v1.0 has this errata while v1.1 has fixed
this errata by hardware, add a new function has_errata_a007186
to check the SVR_SOC_VER, SVR_MAJ and SVR_MIN first,
if the sil has errata a007186, then run the errata code,
if not, doesn't run the code.
Signed-off-by: Zhao Qiang
---
Changes f
T2080 v1.0 has this errata while v1.1 has fixed
this errata by hardware, add a new function has_errata_a007186
to check the SVR_SOC_VER, SVR_MAJ and SVR_MIN first,
if the sil has errata a007186, then run the errata code,
if not, doesn't run the code.
Signed-off-by: Zhao Qiang
---
Changes f
T2080 v1.0 has this errata while v1.1 has fixed
this errata by hardware, add a new function has_errata_a007186
to check the SVR_SOC_VER, SVR_MAJ and SVR_MIN first,
if the sil has errata a007186, then run the errata code,
if not, doesn't run the code.
Signed-off-by: Zhao Qiang
---
Changes f
add qe support to ls1021aqds
Signed-off-by: Zhao Qiang
---
board/freescale/ls1021aqds/ls1021aqds.c | 8
include/configs/ls1021aqds.h| 5 +
2 files changed, 13 insertions(+)
diff --git a/board/freescale/ls1021aqds/ls1021aqds.c
b/board/freescale/ls1021aqds/ls1021aqds.c
Signed-off-by: Zhao Qiang
---
board/freescale/ls1021atwr/ls1021atwr.c | 7 +++
include/configs/ls1021atwr.h| 6 ++
2 files changed, 13 insertions(+)
diff --git a/board/freescale/ls1021atwr/ls1021atwr.c
b/board/freescale/ls1021atwr/ls1021atwr.c
index b522ff2..da09d6e 100644
T2080 v1.0 has this errata while v1.1 has fixed
this errata by hardware, add a new function to
check the SVR_SOC_VER, SVR_MAJ and SVR_MIN first,
if the cpu is T2080 and version is not v1.0, doesn't
run the a007186 errata_workaround.
Signed-off-by: Zhao Qiang
---
arch/powerpc/cpu/mp
T2080 v1.0 has this errata while v1.1 has fixed
this errata by hardware, add a new function to
check the SVR_SOC_VER, SVR_MAJ and SVR_MIN first,
if the cpu is T2080 and version is not v1.0, doesn't
run the a007212 errata_workaround.
Signed-off-by: Zhao Qiang
---
arch/powerpc/cpu/mp
ls1021 is arm-core and support qe which is u-qe.
add u-qe init for arm board.
Signed-off-by: Zhao Qiang
---
arch/arm/include/asm/arch-ls102xa/config.h | 4
arch/arm/include/asm/global_data.h | 8
drivers/Makefile | 1 +
drivers/qe/Makefile
ls1021 is arm-core and supports qe too.
Move immap_qe.h into common directory for both arm and powerpc.
Signed-off-by: Zhao Qiang
---
arch/powerpc/cpu/mpc83xx/cpu.c | 2 +-
arch/powerpc/cpu/mpc83xx/fdt.c | 2 +-
drivers/bootcount/bootcount.c
when qe-ucode fails to be uploaded, "deep sleep" will hang.
if there is no qe-ucode, disable qe module for platforms
which support "deep sleep"
Signed-off-by: Zhao Qiang
---
Changes for v2:
- add "#ifdef CONFIG_MPC85xx"
Changes for v3:
- mo
when qe-ucode fails to be uploaded, deep sleep will hang,
so disable qe when there is no qe-ucode.
Only mpc85xx support deep sleep and mpc83xx doesn't,
it doesn't need to disable qe for mpc83xx.
Signed-off-by: Zhao Qiang
---
Changes for v2:
- add "#ifdef CONFIG_MPC85xx&
when qe-ucode fails to be uploaded, disable qe.
Signed-off-by: Zhao Qiang
---
Changes for v2:
- add "#ifdef CONFIG_MPC85xx"
drivers/qe/qe.c | 9 -
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/drivers/qe/qe.c b/drivers/qe/qe.c
index b5ddc4b..c41bfcc 10
when qe-ucode fails to be uploaded, disable qe.
Signed-off-by: Zhao Qiang
---
drivers/qe/qe.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/qe/qe.c b/drivers/qe/qe.c
index b1da75e..c77cc16 100644
--- a/drivers/qe/qe.c
+++ b/drivers/qe/qe.c
@@ -14,6 +14,8 @@
#include &quo
ar8031 has the same config steps with ar8021, so change its
config func to ar8021_config instead of genphy_config.
Signed-off-by: Zhao Qiang
---
drivers/net/phy/atheros.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/phy/atheros.c b/drivers/net/phy/atheros.c
The patch with commit id "020bbcb76b5be0d5406d2ae7c26dbdb013ead812"
adds some init codes for XHCI but not for other usb controllers.
And it will causes a bug for EHCI.
so use macro "#ifdef CONFIG_USB_XHCI" to run it just for XHCI.
Signed-off-by: Zhao Qiang
---
common/usb_hub
The patch with commit id "020bbcb76b5be0d5406d2ae7c26dbdb013ead812"
adds some init codes for XHCI but not for EHCI.
It will causes a bug for EHCI.
so use macro "#ifndef CONFIG_USB_EHCI" to mask
it for EHCI.
Signed-off-by: Zhao Qiang
---
common/usb_hub.c | 5 +
1 file c
Add u-qe support for t1040qds
Signed-off-by: Zhao Qiang
---
Changes for v2:
- modify CONFIG_SYS_QE_FMAN_FW_ADDR to CONFIG_SYS_FMAN_FW_ADDR and
CONFIG_SYS_QE_FW_ADDR
Changes for v3:
- use CONFIG_U_QE instead of CONFIG_PPC_T1040
Changes for v4:
- ifdef CONFIG_U_QE, include
CONFIG_SYS_QE_FMAN_FW_ADDR is used to both Fman and QE for microcode address.
Now using CONFIG_SYS_FMAN_FW_ADDR for Fman microcode address,
and CONFIG_SYS_QE_FW_ADDR for QE microcode address.
Signed-off-by: Zhao Qiang
---
Changes for v2:
- no
Changes for v3:
- no
Changes for v4
Modify code to adapt to both u-qe and qe.
U_QE is a kind of cutted QE.
the differences between U_QE and QE
1. UCC: U_QE supports 2 UCCs while QE supports up to 8 UCCs.
2. IMMR: have different immr base addr.
3. iopin: U_QE doesn't need to config iopin.
Signed-off-by:
usb hub for p1010rdb-pb is not needed to re-power on
when init it.
Signed-off-by: Zhao Qiang
---
common/usb_hub.c | 4
1 file changed, 4 insertions(+)
diff --git a/common/usb_hub.c b/common/usb_hub.c
index ffac0e7..edb1fc0 100644
--- a/common/usb_hub.c
+++ b/common/usb_hub.c
@@ -90,12
add CONFIG_QE, CONFIG_U_QE and CONFIG_SYS_QE_FW_ADDR into
"include/configs/T1040RDB.h"
Signed-off-by: Zhao Qiang
---
include/configs/T1040RDB.h | 4
1 file changed, 4 insertions(+)
diff --git a/include/configs/T1040RDB.h b/include/configs/T1040RDB.h
index 7420db9..f036192 10
CONFIG_SYS_QE_FMAN_FW_ADDR is used to both Fman and QE for microcode address.
Now using CONFIG_SYS_FMAN_FW_ADDR for Fman microcode address,
and CONFIG_SYS_QE_FW_ADDR for QE microcode address.
Signed-off-by: Zhao Qiang
---
Changes for v2:
- no
Changes for v3:
- no
Changes for v4
The u-qe of T1040 has addresses different from qe,
modify those addresses value for both u-qe and qe.
Add function qe_board_setup to mux the bus to tdm or uart
according to hwconfig.
Signed-off-by: Zhao Qiang
---
Changes for v2:
- modify CONFIG_SYS_QE_FMAN_FW_ADDR to
The u-qe of T1040 has addresses different from qe,
modify those addresses value for both u-qe and qe.
Add function qe_board_setup to mux the bus to tdm or uart
according to hwconfig.
Signed-off-by: Zhao Qiang
---
Changes for v2:
- modify CONFIG_SYS_QE_FMAN_FW_ADDR to
CONFIG_SYS_QE_FMAN_FW_ADDR is used to both Fman and QE for microcode address.
Now using CONFIG_SYS_FMAN_FW_ADDR for Fman microcode address,
and CONFIG_SYS_QE_FW_ADDR for QE microcode address.
Signed-off-by: Zhao Qiang
---
Changes for v2:
- no
Changes for v3:
- no
Changes for v4
The u-qe of T1040 has addresses different from qe,
modify those addresses value for both u-qe and qe.
Add function qe_board_setup to mux the bus to tdm or uart
according to hwconfig.
Signed-off-by: Zhao Qiang
---
Changes for v2:
- modify CONFIG_SYS_QE_FMAN_FW_ADDR to
CONFIG_SYS_QE_FMAN_FW_ADDR is used to both Fman and QE for microcode address.
Now using CONFIG_SYS_FMAN_FW_ADDR for Fman microcode address,
and CONFIG_SYS_QE_FW_ADDR for QE microcode address.
Signed-off-by: Zhao Qiang
---
Changes for v2:
- no
Changes for v3:
- no
Changes for v4
The u-qe of T1040 has addresses different from qe,
modify those addresses value for both u-qe and qe.
Add function qe_board_setup to mux the bus to tdm or uart
according to hwconfig.
Signed-off-by: Jiucheng Xu
Signed-off-by: Zhao Qiang
---
Changes for v2:
- modify
CONFIG_SYS_QE_FMAN_FW_ADDR is used to both Fman and QE for microcode address.
Now using CONFIG_SYS_FMAN_FW_ADDR for Fman microcode address,
and CONFIG_SYS_QE_FW_ADDR for QE microcode address.
Signed-off-by: Zhao Qiang
---
Changes for v2:
- no
Changes for v3:
- no
README
CONFIG_SYS_QE_FMAN_FW_ADDR is used to both Fman and QE for microcode address.
Now using CONFIG_SYS_FMAN_FW_ADDR for Fman microcode address,
and CONFIG_SYS_QE_FW_ADDR for QE microcode address.
Signed-off-by: Zhao Qiang
---
README | 9 +++--
arch/powerpc/cpu
T1040 has QE-related addresses different from other boards,
modify those addresses value with macro CONFIG_PPC_T1040
and CONFIG_T1040QDS.
Add function qe_board_setup to mux the bus to tdm or uart
according to hwconfig.
Signed-off-by: Jiucheng Xu
Signed-off-by: Zhao Qiang
---
Changes for v2
T1040 has QE-related addresses different from other boards,
modify those addresses value with macro CONFIG_PPC_T1040
and CONFIG_T1040QDS.
Add function qe_board_setup to mux the bus to tdm or uart
according to hwconfig.
Signed-off-by: Jiucheng Xu
Signed-off-by: Zhao Qiang
---
arch/powerpc/cpu
Function "genphy_parse_link()" used "if (mii_reg & BMSR_ANEGCAPABLE)" before
while "if (phydev->supported & SUPPORTED_Autoneg)" now.
So assign "phydev->supported" to "phydev->drv->features" for ar8031/8033
to enable autonegot
In new board P1010RDB-PB, the interrupt vector table is at
the start of memory. So if the start_address needs to be set
a proper value.
Signed-off-by: Zhao Qiang
---
include/configs/P1010RDB.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/configs/P1010RDB.h b
requested capability from the first capability.
Signed-off-by: Zhao Qiang
---
Changes for v2:
-Put an variable into "#ifdef" and "#endif"
Changes for v3:
-Modify the patch description
Changes for v4:
-Rebase on u-boot master branch
Changes for v5:
requested capability from the first capability.
Signed-off-by: Zhao Qiang
---
Changes for v2:
-Put an variable into "#ifdef" and "#endif"
Changes for v3:
-Modify the patch description
Changes for v4:
-rebase on u-boot master branch
arch/powe
1 - 100 of 109 matches
Mail list logo