From: Mingkai Hu <mingkai...@nxp.com>
Signed-off-by: Mingkai Hu <mingkai...@nxp.com>
Signed-off-by: Gong Qianyu <qianyu.g...@nxp.com>
---
arch/arm/include/asm/arch-fsl-layerscape/soc.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/include/asm/a
It's necessary to set the clock phase and polarity for DSPI
flash or it could not work properly.
Signed-off-by: Gong Qianyu <qianyu.g...@nxp.com>
---
arch/arm/dts/fsl-ls1043a-qds.dtsi | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/arch/arm/dts/fsl-ls1043a-qds.d
From: Mingkai Hu <mingkai...@nxp.com>
Signed-off-by: Mingkai Hu <mingkai...@nxp.com>
Signed-off-by: Gong Qianyu <qianyu.g...@nxp.com>
---
arch/arm/include/asm/arch-fsl-layerscape/cpu.h | 1 +
arch/arm/include/asm/arch-fsl-layerscape/soc.h | 1 +
2 files changed, 2 inserti
It has set the qspi_cfg register earlier through PBI when booting from
QSPI. We'd better not change it.
Signed-off-by: Gong Qianyu <qianyu.g...@nxp.com>
---
arch/arm/cpu/armv8/fsl-layerscape/soc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/cpu/arm
Signed-off-by: Gong Qianyu <qianyu.g...@nxp.com>
---
include/configs/ls1043a_common.h | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/include/configs/ls1043a_common.h b/include/configs/ls1043a_common.h
index 6150bc1..5039241 100644
--- a/include/c
Signed-off-by: Gong Qianyu <qianyu.g...@nxp.com>
---
board/freescale/ls1043aqds/ls1043aqds.c | 8 +++-
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/board/freescale/ls1043aqds/ls1043aqds.c
b/board/freescale/ls1043aqds/ls1043aqds.c
index a72fe52..bd73e4f 100644
--- a
according to the Reference manual.
Signed-off-by: Gong Qianyu <qianyu.g...@nxp.com>
---
board/freescale/ls1043aqds/ls1043aqds.c | 8 +++-
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/board/freescale/ls1043aqds/ls1043aqds.c
b/board/freescale/ls1043aqds/ls1043aqds.c
supported by non-QSPI boot.
Signed-off-by: Gong Qianyu <qianyu.g...@nxp.com>
---
include/configs/ls1043aqds.h | 5 +
1 file changed, 5 insertions(+)
diff --git a/include/configs/ls1043aqds.h b/include/configs/ls1043aqds.h
index 158cf02..93671f0 100644
--- a/include/configs/ls1043aqds.h
To make it take effect to enable MTD driver model for SPI-NOR.
Signed-off-by: Gong Qianyu <qianyu.g...@nxp.com>
---
configs/ls1043aqds_defconfig | 1 +
configs/ls1043aqds_lpuart_defconfig | 1 +
configs/ls1043aqds_nand_defconfig| 1 +
c
Signed-off-by: Gong Qianyu <qianyu.g...@nxp.com>
---
configs/ls1043ardb_SECURE_BOOT_defconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configs/ls1043ardb_SECURE_BOOT_defconfig
b/configs/ls1043ardb_SECURE_BOOT_defconfig
index 4004435..34f7f29 100644
--- a/c
Modify the value as the SPI interface is changed.
Signed-off-by: Gong Qianyu <qianyu.g...@nxp.com>
---
include/configs/ls1043a_common.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/configs/ls1043a_common.h b/include/configs/ls1043a_common.h
index 7018cb5..c
device tree.
Signed-off-by: Gong Qianyu <qianyu.g...@nxp.com>
diff --git a/arch/arm/cpu/armv8/fsl-layerscape/fdt.c
b/arch/arm/cpu/armv8/fsl-layerscape/fdt.c
index 4e4861d..5bb3048 100644
--- a/arch/arm/cpu/armv8/fsl-layerscape/fdt.c
+++ b/arch/arm/cpu/armv8/fsl-layerscape/fdt.c
@@ -204,4 +
Hi all,
This is the version 5 patchset that fixes to:
- move the code changes of fdt_fixup_fman_firmware() to a separate
new patch [3/4].
Tested on LS1043AQDS board and P4080DS board.
Thank you for reviewing the patches.
[Patch V5 1/4] qe: move drivers/qe/qe.h to include/fsl_qe.h
[Patch V5
Use fdt32_to_cpu() to convert the data correctly for both endianness
platforms.
Signed-off-by: Gong Qianyu <qianyu.g...@nxp.com>
---
V5:
- New Patch.
drivers/net/fm/fdt.c | 11 ++-
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/drivers/net/fm/fdt.c b/drivers/net/fm
Add fdt fixup to insert Fman firmware into the device tree.
Signed-off-by: Gong Qianyu <qianyu.g...@nxp.com>
---
V4-V5:
- No change.
V3:
- Remove fman clock fixup.
- Revise commit message too.
V2:
- Removed the duplicated function.
arch/arm/cpu/armv8/fsl-layerscape/fdt.c | 7 +++
As the QE firmware struct is shared with Fman, move the header file
out of drivers/qe/.
Signed-off-by: Gong Qianyu <qianyu.g...@nxp.com>
---
V5:
- No change.
V4:
- Updated and based on the latest commit.
No code changed but fixed "git am" error.
V3:
- Move file cha
Not only powerpc/mpc85xx but also Freescale Layerscape platforms will
use fdt_fixup_fman_firmware() to insert Fman ucode blob into the device
tree. So move the function to Fman driver code.
Signed-off-by: Gong Qianyu <qianyu.g...@nxp.com>
---
V5:
- Move the function changes to a separate
Add USB XHCI support for ls1043qds board.
Signed-off-by: Gong Qianyu <qianyu.g...@nxp.com>
---
V2:
- Move the definition of scfg and usb_pwrfault in #ifdef
CONFIG_HAS_FSL_XHCI_USB.
board/freescale/ls1043aqds/ls1043aqds.c | 17 +
include/configs/ls1043aqds.h
Both Freescale Layerscape and powerpc/mpc85xx platforms are using
fdt_fixup_fman_firmware() to insert Fman ucode blob into the device
tree. So move the function to driver code.
Signed-off-by: Gong Qianyu <qianyu.g...@nxp.com>
---
V4:
- No change.
V3:
- Remove file changes about
Add fdt fixup to insert Fman firmware into the device tree.
Signed-off-by: Gong Qianyu <qianyu.g...@nxp.com>
---
V4:
- No change.
V3:
- Remove fman clock fixup.
- Revise commit message too.
V2:
- Removed the duplicated function.
arch/arm/cpu/armv8/fsl-layerscape/fdt.c | 7 +++
As the QE firmware struct is shared with Fman, move the header file
out of drivers/qe/.
Signed-off-by: Gong Qianyu <qianyu.g...@nxp.com>
---
V4:
- Updated and based on the latest commit.
No code changed but fixed "git am" error.
V3:
- Move file changes about "qe.h"
Add USB XHCI support for ls1043qds board.
Signed-off-by: Gong Qianyu <qianyu.g...@nxp.com>
---
board/freescale/ls1043aqds/ls1043aqds.c | 15 +++
include/configs/ls1043aqds.h| 13 +
2 files changed, 28 insertions(+)
diff --git a/board/freescale/ls10
Fix the lost dts info when merging patches.
Fix DSPI node for 'commit e0579a5852b3 ("armv8/ls1043aqds: add DSPI
support")' and QSPI node for 'commit 166ef1e90ce4 ("armv8/ls1043aqds:
add QSPI support in SD boot")'.
Signed-off-by: Gong Qianyu <qianyu.g...@nxp.com>
---
the "Cannot read bus
configuration: -1" information.
Signed-off-by: Mingkai Hu <mingkai...@freescale.com>
Signed-off-by: Gong Qianyu <qianyu.g...@nxp.com>
---
common/cmd_pci.c | 8
1 file changed, 8 insertions(+)
diff --git a/common/cmd_pci.c b/common/cmd_pci.c
inde
From: Gong Qianyu <qianyu.g...@freescale.com>
In current driver everytime we memcpy 4 bytes to the dest memory
regardless of the remaining length.
This patch adds checking the remaining length before memcpy.
If the length is shorter than 4 bytes, memcpy the actual length of data
to th
From: Gong Qianyu <qianyu.g...@freescale.com>
This patch fixes the following compile warning:
drivers/spi/fsl_qspi.c: In function 'fsl_qspi_probe':
drivers/spi/fsl_qspi.c:937:15:
warning: cast to pointer from integer of different size
[-Wint-to-p
From: Gong Qianyu <qianyu.g...@freescale.com>
In current driver, we always copy 4 bytes to the dest memory.
Actually the dest memory may be shorter than 4 bytes.
Add an argument to indicate the dest memory length.
Avoid writing memory outside of the bounds.
Signed-off-by: Gong Qianyu <
From: Gong Qianyu <qianyu.g...@freescale.com>
It might be missed when converting spi_flash_probe() in cmd_sf.c.
This patch refers to commit fbb099183e3a ("dm: Convert
spi_flash_probe() and 'sf probe' to use driver model").
Signed-off-by: Gong Qianyu <qianyu.g...@frees
As the QE firmware struct is shared with Fman, move the header file
out of drivers/qe/.
Signed-off-by: Gong Qianyu <qianyu.g...@nxp.com>
---
V3:
- Move file changes about "qe.h" to this patch.
V2:
- New Patch.
arch/powerpc/cpu/mpc85xx/cpu_init.c | 2 +-
arch/powerpc/c
Add fdt fixup to insert Fman firmware into the device tree.
Signed-off-by: Gong Qianyu <qianyu.g...@nxp.com>
---
V3:
- Remove fman clock fixup.
- Revise commit message too.
V2:
- Removed the duplicated function.
arch/arm/cpu/armv8/fsl-layerscape/fdt.c | 7 +++
1 file chan
Both Freescale Layerscape and powerpc/mpc85xx platforms are using
fdt_fixup_fman_firmware() to insert Fman ucode blob into the device
tree. So move the function to driver code.
Signed-off-by: Gong Qianyu <qianyu.g...@nxp.com>
---
V3:
- Remove file changes about "qe.h".
From: Gong Qianyu <qianyu.g...@freescale.com>
Enable three DSPI flash memories on board.
Commands:
=> sf probe 1:0
SF: Detected N25Q128A with page size 256 Bytes,
erase size 64 KiB, total 16 MiB
=> sf probe 1:1
SF: Detected SST25WF040B with page si
From: Gong Qianyu <qianyu.g...@freescale.com>
QSPI and IFC are pin-multiplexed on LS1043A. So we use
ls1043aqds_sdcard_ifc_defconfig to support IFC in SD boot and
ls1043aqds_sdcard_qspi_defconfig to support QSPI in SD boot.
Signed-off-by: Gong Qianyu <qianyu.g...@freescale.com&g
This patchset is related with DSPI support, SD boot with QSPI and
QSPI boot support on LS1043AQDS board.
Note that to work well on LS1043AQDS it depends on the QSPI driver
bug fixing and QIXIS related patchsets which I've already sent out
and are under review.
The version 5 patchset has fixed
Enable the U-Boot Driver Model(DM) to use the Freescale QSPI driver.
Signed-off-by: Gong Qianyu <qianyu.g...@nxp.com>
---
V5:
- Print FGPA info later for QSPI boot.
V3-V4:
- No change.
V2:
- Fix blank line issues.
arch/arm/include/asm/arch-fsl-layerscape/cpu.h | 2 ++
board/fre
Add fdt fixup for Fman clock and inserting Fman ucode blob
into the device tree.
Signed-off-by: Gong Qianyu <qianyu.g...@nxp.com>
---
V2:
- Removed the duplicated function.
arch/arm/cpu/armv8/fsl-layerscape/fdt.c | 14 ++
1 file changed, 14 insertions(+)
diff --git a/arch/a
Both Freescale Layerscape and powerpc/mpc85xx platforms are using
fdt_fixup_fman_firmware() to insert Fman ucode blob into the device
tree. So move it to driver code.
Signed-off-by: Gong Qianyu <qianyu.g...@nxp.com>
---
V2:
- New patch.
arch/powerpc/cpu/mpc85xx/cpu_init.c | 2 +-
As the QE firmware struct is shared with Fman, move the header file
out of drivers/qe/.
Signed-off-by: Gong Qianyu <qianyu.g...@nxp.com>
---
V2:
- New patch.
drivers/net/fm/fm.c | 2 +-
drivers/qe/fdt.c| 2 +-
drivers/qe/qe.c
From: Gong Qianyu <qianyu.g...@freescale.com>
In current driver everytime we memcpy 4 bytes to the dest memory
regardless of the remaining length.
This patch adds checking the remaining length before memcpy.
If the length is shorter than 4 bytes, memcpy the actual length of data
to th
This patchset is mainly related with Freescale QSPI and tested
on LS1043AQDS board.
The version 6 patchset has fixes to:
- Use min() to simplify the code in QSPI driver.
[Patch V6 1/4] spi: fsl_qspi: fix compile warning for 64-bit platform
[Patch V6 2/4] spi: fsl_qspi: Fix qspi_op_rdid memcpy
From: Gong Qianyu <qianyu.g...@freescale.com>
In current driver, we always copy 4 bytes to the dest memory.
Actually the dest memory may be shorter than 4 bytes.
Add an argument to indicate the dest memory length.
Avoid writing memory outside of the bounds.
Signed-off-by: Gong Qianyu <
From: Gong Qianyu <qianyu.g...@freescale.com>
This patch fixes the following compile warning:
drivers/spi/fsl_qspi.c: In function 'fsl_qspi_probe':
drivers/spi/fsl_qspi.c:937:15:
warning: cast to pointer from integer of different size
[-Wint-to-p
From: Gong Qianyu <qianyu.g...@freescale.com>
It might be missed when converting spi_flash_probe() in cmd_sf.c.
This patch refers to commit fbb099183e3a ("dm: Convert
spi_flash_probe() and 'sf probe' to use driver model").
Signed-off-by: Gong Qianyu <qianyu.g...@fr
From: Gong Qianyu <qianyu.g...@freescale.com>
It might be missed when converting spi_flash_probe() in cmd_sf.c.
This patch refers to commit fbb099183e3a ("dm: Convert
spi_flash_probe() and 'sf probe' to use driver model").
Signed-off-by: Gong Qianyu <qianyu.g...@freescale.com
From: Gong Qianyu <qianyu.g...@freescale.com>
In current driver, we always copy 4 bytes to the dest memory.
Actually the dest memory may be shorter than 4 bytes.
Add an argument to indicate the dest memory length.
Avoid writing memory outside of the bounds.
Signed-off-by: Gong Qianyu <
From: Gong Qianyu <qianyu.g...@freescale.com>
In current driver everytime we memcpy 4 bytes to the dest memory
regardless of the remaining length.
This patch adds checking the remaining length before memcpy.
If the length is shorter than 4 bytes, memcpy the actual length of data
to th
From: Gong Qianyu <qianyu.g...@freescale.com>
This patch fixes the following compile warning:
drivers/spi/fsl_qspi.c: In function 'fsl_qspi_probe':
drivers/spi/fsl_qspi.c:937:15:
warning: cast to pointer from integer of different size
[-Wint-to-p
1.Add fixup for fman clock.
2.Add fdt_fixup_fman_firmware() to insert the Fman ucode firmware into
the device tree.
Signed-off-by: Gong Qianyu <qianyu.g...@nxp.com>
---
arch/arm/cpu/armv8/fsl-layerscape/fdt.c | 121
1 file changed, 121 insertions(+)
diff
From: Roy Pledge <roy.ple...@freescale.com>
Add support for device tree fixup for the QBMan nodes in ARM platforms
Signed-off-by: Roy Pledge <roy.ple...@freescale.com>
Signed-off-by: Gong Qianyu <qianyu.g...@nxp.com>
---
arch/arm/cpu/armv8/fsl-layerscape/fdt
From: Gong Qianyu <qianyu.g...@freescale.com>
Enable three DSPI flash memories on board.
Commands:
=> sf probe 1:0
SF: Detected N25Q128A with page size 256 Bytes,
erase size 64 KiB, total 16 MiB
=> sf probe 1:1
SF: Detected SST25WF040B with page si
From: Gong Qianyu <qianyu.g...@freescale.com>
QSPI and IFC are pin-multiplexed on LS1043A. So we use
ls1043aqds_sdcard_ifc_defconfig to support IFC in SD boot and
ls1043aqds_sdcard_qspi_defconfig to support QSPI in SD boot.
Signed-off-by: Gong Qianyu <qianyu.g...@freescale.co
Enable the U-Boot Driver Model(DM) to use the Freescale QSPI driver.
Signed-off-by: Gong Qianyu <qianyu.g...@nxp.com>
---
V3-V4:
- No change.
V2:
- Fix blank line issues.
arch/arm/include/asm/arch-fsl-layerscape/cpu.h | 2 ++
board/freescale/ls1043aqds/MAINTAINERS | 1 +
From: Gong Qianyu <qianyu.g...@freescale.com>
Enable three DSPI flash memories on board.
Commands:
=> sf probe 1:0
SF: Detected N25Q128A with page size 256 Bytes,
erase size 64 KiB, total 16 MiB
=> sf probe 1:1
SF: Detected SST25WF040B with page si
Hi all,
The version 3 patchset fixes to:
- remove fdt fixup for IFC when booting with QSPI.
Also note that to work well on LS1043AQDS board, this patchset depends
on the QSPI bug fixing patchset and QIXIS related patchset that I have
already sent out and are still under review.
[Patch V3 1/3]
From: Gong Qianyu <qianyu.g...@freescale.com>
This patch fixes the following compile warning:
drivers/spi/fsl_qspi.c: In function 'fsl_qspi_probe':
drivers/spi/fsl_qspi.c:937:15:
warning: cast to pointer from integer of different size
[-Wint-to-p
Enable the U-Boot Driver Model(DM) to use the Freescale QSPI driver.
Signed-off-by: Gong Qianyu <qianyu.g...@nxp.com>
---
V3:
- No change.
V2:
- Fix blank line issues.
arch/arm/include/asm/arch-fsl-layerscape/cpu.h | 2 ++
board/freescale/ls1043aqds/MAINTAINERS | 1 +
From: Gong Qianyu <qianyu.g...@freescale.com>
QSPI and IFC are pin-multiplexed on LS1043A. So we use
ls1043aqds_sdcard_ifc_defconfig to support IFC in SD boot and
ls1043aqds_sdcard_qspi_defconfig to support QSPI in SD boot.
Signed-off-by: Gong Qianyu <qianyu.g...@freescale.com>
---
V
From: Gong Qianyu <qianyu.g...@freescale.com>
In current driver everytime we memcpy 4 bytes to the dest memory
regardless of the remaining length.
This patch adds checking the remaining length before memcpy.
If the length is shorter than 4 bytes, memcpy the actual length of data
to th
From: Gong Qianyu <qianyu.g...@freescale.com>
In current driver, we always copy 4 bytes to the dest memory.
Actually the dest memory may be shorter than 4 bytes.
Add an argument to indicate the dest memory length.
Avoid writing memory outside of the bounds.
Signed-off-by: Gong Qianyu <
From: Gong Qianyu <qianyu.g...@freescale.com>
It might be missed when converting spi_flash_probe() in cmd_sf.c.
This commit refers to fbb099183e3a53f77a975964cdf2e73d11e565af.
Signed-off-by: Gong Qianyu <qianyu.g...@freescale.com>
---
V4:
- Use CONFIG_ENV_* instead of CONFIG_SF_
From: Gong Qianyu <qianyu.g...@freescale.com>
In current driver everytime we memcpy 4 bytes to the dest memory
regardless of the remaining length.
This patch adds checking the remaining length before memcpy.
If the length is shorter than 4 bytes, memcpy the actual length of data
to th
From: Gong Qianyu <qianyu.g...@freescale.com>
In current driver, we always copy 4 bytes to the dest memory.
Actually the dest memory may be shorter than 4 bytes.
Add an argument to indicate the dest memory length.
Avoid writing memory outside of the bounds.
Signed-off-by: Gong Qianyu <
From: Gong Qianyu <qianyu.g...@freescale.com>
It might be missed when converting spi_flash_probe() in cmd_sf.c.
This commit refers to fbb099183e3a53f77a975964cdf2e73d11e565af.
Signed-off-by: Gong Qianyu <qianyu.g...@freescale.com>
---
V3:
- Remove redundant operations for saveenv(
From: Gong Qianyu <qianyu.g...@freescale.com>
This patch fixes the following compile warning:
drivers/spi/fsl_qspi.c: In function 'fsl_qspi_probe':
drivers/spi/fsl_qspi.c:937:15:
warning: cast to pointer from integer of different size
[-Wint-to-p
From: Gong Qianyu <qianyu.g...@freescale.com>
Signed-off-by: Gong Qianyu <qianyu.g...@freescale.com>
---
V2:
- No change.
include/configs/ls1043aqds.h | 4
1 file changed, 4 insertions(+)
diff --git a/include/configs/ls1043aqds.h b/include/configs/ls1043aqds.h
index bfbf
Hi all,
The version 2 patchset fixed to:
- use qixis_write_i2c() instead of QIXIS_WRITE once QSPI is enabled.
[Patch V2 1/3] freescale/qixis: Add support for booting from SD/QSPI
[Patch V2 2/3] armv8/ls1043aqds: fix qixis_reset command issue
[Patch V2 3/3] armv8/ls1043aqds: enable qixis_reset
From: Gong Qianyu <qianyu.g...@freescale.com>
Signed-off-by: Gong Qianyu <qianyu.g...@freescale.com>
---
V2:
- No change.
include/configs/ls1043aqds.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/configs/ls1043aqds.h b/include/configs/ls1043aqds.h
i
From: Gong Qianyu <qianyu.g...@freescale.com>
1.Use "qixis_reset sd" to boot from SD
2.Use "qixis_reset sd_qspi" to boot from SD with QSPI support
3.Use "qixis_reset qspi" to boot from QSPI flash
On some SoCs such as LS1021A and LS1043A, IFC and QSPI could
From: Gong Qianyu <qianyu.g...@freescale.com>
QSPI and IFC are pin-multiplexed on LS1043A. So we use
ls1043aqds_sdcard_ifc_defconfig to support IFC in SD boot and
ls1043aqds_sdcard_qspi_defconfig to support QSPI in SD boot. If
QSPI is enabled, IFC should be disabled in kernel as well.
Sign
Hi all,
The version 2 patchset has:
- Fixed some format issues according to the comments.
- Changed the core frequency to 1600M for SD boot with QSPI support.
Also note that to apply the patchset and work well on LS1043AQDS board, it
depends on the QSPI driver bug fixing and QIXIS patchsets
From: Gong Qianyu <qianyu.g...@freescale.com>
Enable three DSPI flash memories on board.
Commands:
=> sf probe 1:0
SF: Detected N25Q128A with page size 256 Bytes,
erase size 64 KiB, total 16 MiB
=> sf probe 1:1
SF: Detected SST25WF040B with page si
From: Gong Qianyu <qianyu.g...@freescale.com>
Enable the U-Boot Driver Model(DM) to use the Freescale QSPI driver.
Signed-off-by: Gong Qianyu <qianyu.g...@freescale.com>
---
V2:
- No change.
arch/arm/include/asm/arch-fsl-layerscape/cpu.h | 2 ++
board/freescale/ls1043aqds
. For i.MX platforms, the U-Boot is always running
in DDR.
Actually it causes asynchronous error when the ARM64 system error
report is enabled and the flash write protect is set.
Signed-off-by: Gong Qianyu <qianyu.g...@freescale.com>
---
V2:
- Modified the commit title and message.
. For i.MX platforms, the U-Boot is always running
in DDR.
Actually it causes asynchronous error when the ARM64 system error
report is enabled and the flash write protect is set.
Signed-off-by: Gong Qianyu <qianyu.g...@freescale.com>
---
V3:
- Sorry..Remove an unrelated line in othe
tween SD boot with
IFC support and SD boot with QSPI support. The default booting from
SD is with IFC support.
Signed-off-by: Gong Qianyu <qianyu.g...@freescale.com>
---
board/freescale/common/qixis.c | 36
1 file changed, 36 insertions(+)
diff --git a/bo
Signed-off-by: Gong Qianyu <qianyu.g...@freescale.com>
---
include/configs/ls1043aqds.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/configs/ls1043aqds.h b/include/configs/ls1043aqds.h
index 4aeb238..346a858 100644
--- a/include/configs/ls1043aqds.h
+++ b/i
Signed-off-by: Gong Qianyu <qianyu.g...@freescale.com>
---
include/configs/ls1043aqds.h | 4
1 file changed, 4 insertions(+)
diff --git a/include/configs/ls1043aqds.h b/include/configs/ls1043aqds.h
index 346a858..58c7144 100644
--- a/include/configs/ls1043aqds.h
+++ b/include/c
Hi all,
Here are three QIXIS related patches. I have tested on LS1043AQDS board.
Please help to review. Thanks!
Regards,
Qianyu
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
It might be missed when converting spi_flash_probe() in cmd_sf.c.
This commit refers to fbb099183e3a53f77a975964cdf2e73d11e565af.
Signed-off-by: Gong Qianyu <qianyu.g...@freescale.com>
---
V2:
- New Patch.
common/env_sf.c | 49 +
1 file c
In current driver everytime we memcpy 4 bytes to the dest memory
regardless of the remaining length.
This patch adds checking the remaining length before memcpy.
If the length is shorter than 4 bytes, memcpy the actual length of data
to the dest memory.
Signed-off-by: Gong Qianyu <qiany
egs *)plat->reg_base;
^
Signed-off-by: Gong Qianyu <qianyu.g...@freescale.com>
---
V2:
- No change.
drivers/spi/fsl_qspi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/spi/fsl_qspi.c b/drivers/spi/fsl_qspi.c
index ed39114..9f296c1 100644
--- a
In current driver, we always copy 4 bytes to the dest memory.
Actually the dest memory may be shorter than 4 bytes.
Add an argument to indicate the dest memory length.
Avoid writing memory outside of the bounds.
Signed-off-by: Gong Qianyu <qianyu.g...@freescale.com>
---
V2:
- New
This commit fixes the change of bad490a24212c068c5b718b9189f47ea4075d078.
Signed-off-by: Gong Qianyu <qianyu.g...@freescale.com>
---
drivers/spi/fsl_qspi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/spi/fsl_qspi.c b/drivers/spi/fsl_qspi.c
index ed39114..d
egs *)plat->reg_base;
^
Signed-off-by: Gong Qianyu <qianyu.g...@freescale.com>
Signed-off-by: Gong Qianyu <qianyu.g...@freescale.com>
---
drivers/spi/fsl_qspi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/spi/fsl_qspi.c b/drivers/spi/fsl_qs
In current driver everytime we memcpy 4 bytes to the dest memory
regardless of the remaining length.
This patch add checking the remaining length before memcpy.
If the length is shorter than 4 bytes, memcpy the actual length of data
to the dest memory.
Signed-off-by: Gong Qianyu <qiany
This commit fixes the change of bad490a24212c068c5b718b9189f47ea4075d078.
Signed-off-by: Gong Qianyu <qianyu.g...@freescale.com>
---
drivers/spi/fsl_qspi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/spi/fsl_qspi.c b/drivers/spi/fsl_qspi.c
index ed39114..d
egs *)plat->reg_base;
^
Signed-off-by: Gong Qianyu <qianyu.g...@freescale.com>
Signed-off-by: Gong Qianyu <qianyu.g...@freescale.com>
---
drivers/spi/fsl_qspi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/spi/fsl_qspi.c b/drivers/spi/fsl_qs
it causes asynchronous error when the ARM64 system error report
is enabled and the flash write protect is set.
Signed-off-by: Gong Qianyu <qianyu.g...@freescale.com>
---
drivers/i2c/mxc_i2c.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/i2c/mxc_i2c.c b/drivers/i2c/mxc_i2c.c
This commit fixes the change of bad490a24212c068c5b718b9189f47ea4075d078.
Signed-off-by: Gong Qianyu <qianyu.g...@freescale.com>
---
drivers/spi/fsl_qspi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/spi/fsl_qspi.c b/drivers/spi/fsl_qspi.c
index ed39114..d
egs *)plat->reg_base;
^
Signed-off-by: Gong Qianyu <qianyu.g...@freescale.com>
Signed-off-by: Gong Qianyu <qianyu.g...@freescale.com>
---
drivers/spi/fsl_qspi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/spi/fsl_qspi.c b/drivers/spi/fsl_qs
Use the U-Boot Driver Model. Just enable Freescale DSPI driver
and set DSPI related parameters in dts file.
Signed-off-by: Gong Qianyu <qianyu.g...@freescale.com>
---
V4:
- No change.
V3:
- New Patch.
- Tested on LS1043ARDB board.
arch/arm/dts/fsl-ls1043a-rdb.dts
Reuse the dts files from ls1043a linux kernel.
Signed-off-by: Gong Qianyu <qianyu.g...@freescale.com>
---
V4:
- No change.
V3:
- No change.
V2:
- New Patch.
arch/arm/dts/Makefile| 3 +-
arch/arm/dts/fsl-ls1043a-qds.dts | 124 +++
c
kai Hu <mingkai...@freescale.com>
Signed-off-by: Gong Qianyu <qianyu.g...@freescale.com>
---
V4:
- Use #ifndef CONFIG_LS102XA instead of #ifdef CONFIG_FSL_LAYERSCAPE.
V3:
- No change.
V2:
- Fix compile errors for ls1021a.
arch/arm/include/asm/arch-fsl-layerscape/config.h | 2 ++
ar
Hi all,
Here are the main changes for V4 patchset. LS1043ARDB MAINTAINERS has
already been updated in U-Boot. So remove that patch in V4 patchset.
- Update the code base.
- Use #ifndef CONFIG_LS102XA instead of #ifdef CONFIG_FSL_LAYERSCAPE for
PCIe patch.
- Fix vid support for LS1043AQDS.
The global_data pointer (gd) has been set earlier in crt0_64.S.
So there's no need to assign it again. Remove gdata since it is going
away in U-Boot.
Signed-off-by: Gong Qianyu <qianyu.g...@freescale.com>
---
V4:
- No change.
V3:
- New Patch.
- Fix dead code.
arch/arm/cpu/arm
t;shaohui@freescale.com>
Signed-off-by: Mingkai Hu <mingkai...@freescale.com>
Signed-off-by: Hou Zhiqiang <b48...@freescale.com>
Signed-off-by: Gong Qianyu <qianyu.g...@freescale.com>
---
V4:
- Fix vid macros in config file and add vid support.
- Remove RAW_TIMING definition for DDR3.
Add support for the third USB controller for LS1043A.
Signed-off-by: Gong Qianyu <qianyu.g...@freescale.com>
---
V4:
- No change.
V3:
- New Patch. Tested on LS1043ARDB board.
arch/arm/include/asm/arch-fsl-layerscape/immap_lsch2.h | 6 +++---
board/freescale/ls1043ardb/ls1043
Reuse dts files from ls1043a linux kernel. Some parts in dts files
may not be needed by U-Boot.
Signed-off-by: Gong Qianyu <qianyu.g...@freescale.com>
---
V4:
- No change.
V3:
- Modified the dts file according to ls1043a upstreaming linux kernel.
V2:
- New Patch.
arch/arm/dts/Ma
kai Hu <mingkai...@freescale.com>
Signed-off-by: Gong Qianyu <qianyu.g...@freescale.com>
---
V3:
- No change.
V2:
- Fix compile errors for ls1021a.
arch/arm/include/asm/arch-fsl-layerscape/config.h | 2 ++
arch/arm/include/asm/arch-fsl-layerscape/immap_lsch2.h | 4
arch/arm/in
The global_data pointer (gd) has been set earlier in crt0_64.S.
So there's no need to assign it again. Remove gdata since it is going
away in U-Boot.
Signed-off-by: Gong Qianyu <qianyu.g...@freescale.com>
---
V3:
- New Patch.
- Fix dead code.
arch/arm/cpu/armv8/fsl-layerscape/spl.c | 2
101 - 200 of 360 matches
Mail list logo