From: Mingkai Hu
Signed-off-by: Mingkai Hu
Signed-off-by: Gong Qianyu
---
arch/arm/include/asm/arch-fsl-layerscape/soc.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/include/asm/arch-fsl-layerscape/soc.h
b/arch/arm/include/asm/arch-fsl-layerscape/soc.h
index
It's necessary to set the clock phase and polarity for DSPI
flash or it could not work properly.
Signed-off-by: Gong Qianyu
---
arch/arm/dts/fsl-ls1043a-qds.dtsi | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/arch/arm/dts/fsl-ls1043a-qds.dtsi
b/arch/arm/dt
From: Mingkai Hu
Signed-off-by: Mingkai Hu
Signed-off-by: Gong Qianyu
---
arch/arm/include/asm/arch-fsl-layerscape/cpu.h | 1 +
arch/arm/include/asm/arch-fsl-layerscape/soc.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/arch/arm/include/asm/arch-fsl-layerscape/cpu.h
b/arch/arm
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
---
arch/arm/cpu/armv8/fsl-layerscape/soc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/cpu/armv8/fsl-layerscape/soc.c
b/arc
Signed-off-by: Gong Qianyu
---
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/configs/ls1043a_common.h
+++ b/include
Signed-off-by: Gong Qianyu
---
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/board/freescale/ls1043aqds
according to the Reference manual.
Signed-off-by: Gong Qianyu
---
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
only supported by non-QSPI boot.
Signed-off-by: Gong Qianyu
---
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
+++ b/include/co
To make it take effect to enable MTD driver model for SPI-NOR.
Signed-off-by: Gong Qianyu
---
configs/ls1043aqds_defconfig | 1 +
configs/ls1043aqds_lpuart_defconfig | 1 +
configs/ls1043aqds_nand_defconfig| 1 +
configs/ls1043aqds_nor_ddr3_defconfig| 1 +
configs
Signed-off-by: Gong Qianyu
---
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/configs
Modify the value as the SPI interface is changed.
Signed-off-by: Gong Qianyu
---
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..c78ba47 100644
--- a/include
device tree.
Signed-off-by: Gong Qianyu
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 +204,11 @@ void ft_cpu_setup
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 2/4]
Use fdt32_to_cpu() to convert the data correctly for both endianness
platforms.
Signed-off-by: Gong Qianyu
---
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/fdt.c
index 830d228
Add fdt fixup to insert Fman firmware into the device tree.
Signed-off-by: Gong Qianyu
---
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 +++
1 file changed, 7
As the QE firmware struct is shared with Fman, move the header file
out of drivers/qe/.
Signed-off-by: Gong Qianyu
---
V5:
- No change.
V4:
- Updated and based on the latest commit.
No code changed but fixed "git am" error.
V3:
- Move file changes about "qe.h" to th
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
---
V5:
- Move the function changes to a separate patch.
V4:
- No change.
V3
Add USB XHCI support for ls1043qds board.
Signed-off-by: Gong Qianyu
---
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| 13 +
2 files
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
---
V4:
- No change.
V3:
- Remove file changes about "qe.h".
(Should be
Add fdt fixup to insert Fman firmware into the device tree.
Signed-off-by: Gong Qianyu
---
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 +++
1 file changed, 7 insertions
As the QE firmware struct is shared with Fman, move the header file
out of drivers/qe/.
Signed-off-by: Gong Qianyu
---
V4:
- Updated and based on the latest commit.
No code changed but fixed "git am" error.
V3:
- Move file changes about "qe.h" to this patch.
V2:
- New P
Add USB XHCI support for ls1043qds board.
Signed-off-by: Gong Qianyu
---
board/freescale/ls1043aqds/ls1043aqds.c | 15 +++
include/configs/ls1043aqds.h| 13 +
2 files changed, 28 insertions(+)
diff --git a/board/freescale/ls1043aqds/ls1043aqds.c
b/board
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
---
ead bus
configuration: -1" information.
Signed-off-by: Mingkai Hu
Signed-off-by: Gong Qianyu
---
common/cmd_pci.c | 8
1 file changed, 8 insertions(+)
diff --git a/common/cmd_pci.c b/common/cmd_pci.c
index 4e0951f..d94f90d 100644
--- a/common/cmd_pci.c
+++ b/common/cmd_pci.c
@@ -32
From: Gong Qianyu
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
---
V6-V7:
- No change.
V5:
- Revise commit
From: Gong Qianyu
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
From: Gong Qianyu
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-pointer-cast]
priv->r
From: Gong Qianyu
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
---
V3-V7:
- No change.
V2:
- New
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
---
V3:
- Remove file changes about "qe.h".
(Should be put in the first pat
Add fdt fixup to insert Fman firmware into the device tree.
Signed-off-by: Gong Qianyu
---
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 changed, 7 insertions(+)
diff --git a
As the QE firmware struct is shared with Fman, move the header file
out of drivers/qe/.
Signed-off-by: Gong Qianyu
---
V3:
- Move file changes about "qe.h" to this patch.
V2:
- New Patch.
arch/powerpc/cpu/mpc85xx/cpu_init.c | 2 +-
arch/powerpc/cpu/mpc85xx/fdt.c | 2
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 to:
Enable the U-Boot Driver Model(DM) to use the Freescale QSPI driver.
Signed-off-by: Gong Qianyu
---
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/freescale/ls1043aqds/MAINTAINERS
From: Gong Qianyu
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 size 256
From: Gong Qianyu
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
---
V4-V5:
- No change.
V3:
- Remove the fixup for IFC.
V2
Add fdt fixup for Fman clock and inserting Fman ucode blob
into the device tree.
Signed-off-by: Gong Qianyu
---
V2:
- Removed the duplicated function.
arch/arm/cpu/armv8/fsl-layerscape/fdt.c | 14 ++
1 file changed, 14 insertions(+)
diff --git a/arch/arm/cpu/armv8/fsl-layerscape
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
---
V2:
- New patch.
arch/powerpc/cpu/mpc85xx/cpu_init.c | 2 +-
arch/powerpc/cpu/mpc85xx
As the QE firmware struct is shared with Fman, move the header file
out of drivers/qe/.
Signed-off-by: Gong Qianyu
---
V2:
- New patch.
drivers/net/fm/fm.c | 2 +-
drivers/qe/fdt.c| 2 +-
drivers/qe/qe.c | 2 +-
drivers/qe/uccf.c
From: Gong Qianyu
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-pointer-cast]
priv->r
From: Gong Qianyu
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
---
V3-V6:
- No change.
V2:
- New
From: Gong Qianyu
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
From: Gong Qianyu
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
---
V6:
- No change.
V5:
- Revise commit
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 is
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
---
arch/arm/cpu/armv8/fsl-layerscape/fdt.c | 121
1 file changed, 121 insertions(+)
diff --git a/arch/arm/cpu/armv8
From: Roy Pledge
Add support for device tree fixup for the QBMan nodes in ARM platforms
Signed-off-by: Roy Pledge
Signed-off-by: Gong Qianyu
---
arch/arm/cpu/armv8/fsl-layerscape/fdt.c| 87 ++
.../arm/cpu/armv8/fsl-layerscape/fsl_lsch2_speed.c | 3
From: Gong Qianyu
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
---
V3-V5:
- No change.
V2:
- New
From: Gong Qianyu
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
From: Gong Qianyu
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-pointer-cast]
priv->r
From: Gong Qianyu
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
---
V5:
- Revise commit message.
V4:
- Use CON
From: Gong Qianyu
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
---
V4:
- No change.
V3:
- Remove the fixup for IFC.
V2:
- Modified
Enable the U-Boot Driver Model(DM) to use the Freescale QSPI driver.
Signed-off-by: Gong Qianyu
---
V3-V4:
- No change.
V2:
- Fix blank line issues.
arch/arm/include/asm/arch-fsl-layerscape/cpu.h | 2 ++
board/freescale/ls1043aqds/MAINTAINERS | 1 +
board/freescale/ls1043aqds
From: Gong Qianyu
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 size 256
From: Gong Qianyu
It might be missed when converting spi_flash_probe() in cmd_sf.c.
This commit refers to fbb099183e3a53f77a975964cdf2e73d11e565af.
Signed-off-by: Gong Qianyu
---
V4:
- Use CONFIG_ENV_* instead of CONFIG_SF_*.
- Remove the variables and call the macros directly.
- Use
Enable the U-Boot Driver Model(DM) to use the Freescale QSPI driver.
Signed-off-by: Gong Qianyu
---
V3:
- No change.
V2:
- Fix blank line issues.
arch/arm/include/asm/arch-fsl-layerscape/cpu.h | 2 ++
board/freescale/ls1043aqds/MAINTAINERS | 1 +
board/freescale/ls1043aqds/README
From: Gong Qianyu
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
---
V3:
- Remove the fixup for IFC.
V2:
- Modified rcw file to change
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] ar
From: Gong Qianyu
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 size 256
From: Gong Qianyu
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
---
V3-V4:
- No change.
V2:
- New
From: Gong Qianyu
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
From: Gong Qianyu
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-pointer-cast]
priv->r
From: Gong Qianyu
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
From: Gong Qianyu
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
---
V3:
- No change.
V2:
- New
From: Gong Qianyu
It might be missed when converting spi_flash_probe() in cmd_sf.c.
This commit refers to fbb099183e3a53f77a975964cdf2e73d11e565af.
Signed-off-by: Gong Qianyu
---
V3:
- Remove redundant operations for saveenv()
V2:
- New patch.
common/env_sf.c | 35
From: Gong Qianyu
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-pointer-cast]
priv->r
From: Gong Qianyu
Signed-off-by: Gong Qianyu
---
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 bfbfcb6..43107b0 100644
--- a/include/configs/ls1043aqds.h
+++ b/include
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 c
From: Gong Qianyu
Signed-off-by: Gong Qianyu
---
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
index 398f1c3..bfbfcb6 100644
--- a/include/configs/ls1043aqds.h
From: Gong Qianyu
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 be
pin-multiplexed. So the switches
From: Gong Qianyu
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.
Signed-off-by: Gong Qianyu
---
V2
From: Gong Qianyu
Enable the U-Boot Driver Model(DM) to use the Freescale QSPI driver.
Signed-off-by: Gong Qianyu
---
V2:
- No change.
arch/arm/include/asm/arch-fsl-layerscape/cpu.h | 2 ++
board/freescale/ls1043aqds/MAINTAINERS | 1 +
board/freescale/ls1043aqds/README
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&I2C driver bug fixing and QIXIS patchset
From: Gong Qianyu
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 size 256
ation. 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
---
V3:
- Sorry..Remove an unrelated line in other file.
drivers/i2c/mxc_i2c.c
ation. 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
---
V2:
- Modified the commit title and message.
- Used a condition to avoid exec
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
Signed-off-by: Gong Qianyu
---
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/configs/ls1043aqds.h
@@ -195,6 +195,10
Signed-off-by: Gong Qianyu
---
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/include/configs/ls1043aqds.h
n 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
---
board/freescale/common/qixis.c | 36
1 file changed, 36 insertions(+)
diff --git a/board/freescale/common/qixis.c b/
It might be missed when converting spi_flash_probe() in cmd_sf.c.
This commit refers to fbb099183e3a53f77a975964cdf2e73d11e565af.
Signed-off-by: Gong Qianyu
---
V2:
- New Patch.
common/env_sf.c | 49 +
1 file changed, 49 insertions(+)
diff
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
---
V2:
- New Patch.
drivers/spi/fsl_qspi.c | 6
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
---
V2:
- No
fsl_qspi_regs *)plat->reg_base;
^
Signed-off-by: Gong Qianyu
---
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/drivers/spi/fsl_qspi.c
+
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
---
drivers/spi
fsl_qspi_regs *)plat->reg_base;
^
Signed-off-by: Gong Qianyu
Signed-off-by: Gong Qianyu
---
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 d8d37cd..755cc27 100644
--- a/drivers/spi/
This commit fixes the change of bad490a24212c068c5b718b9189f47ea4075d078.
Signed-off-by: Gong Qianyu
---
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..d8d37cd 100644
--- a/drivers/spi
fsl_qspi_regs *)plat->reg_base;
^
Signed-off-by: Gong Qianyu
Signed-off-by: Gong Qianyu
---
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 d8d37cd..755cc27 100644
--- a/drivers/spi/
This commit fixes the change of bad490a24212c068c5b718b9189f47ea4075d078.
Signed-off-by: Gong Qianyu
---
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..d8d37cd 100644
--- a/drivers/spi
fsl_qspi_regs *)plat->reg_base;
^
Signed-off-by: Gong Qianyu
Signed-off-by: Gong Qianyu
---
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 d8d37cd..755cc27 100644
--- a/drivers/spi/
This commit fixes the change of bad490a24212c068c5b718b9189f47ea4075d078.
Signed-off-by: Gong Qianyu
---
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..d8d37cd 100644
--- a/drivers/spi
ly it causes asynchronous error when the ARM64 system error report
is enabled and the flash write protect is set.
Signed-off-by: Gong Qianyu
---
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
index fa4c82f..4dddb83 100644
Add support for the third USB controller for LS1043A.
Signed-off-by: Gong Qianyu
---
V4:
- No change.
V3:
- New Patch. Tested on LS1043ARDB board.
arch/arm/include/asm/arch-fsl-layerscape/immap_lsch2.h | 6 +++---
board/freescale/ls1043ardb/ls1043ardb.c| 16
Reuse dts files from ls1043a linux kernel. Some parts in dts files
may not be needed by U-Boot.
Signed-off-by: Gong Qianyu
---
V4:
- No change.
V3:
- Modified the dts file according to ls1043a upstreaming linux kernel.
V2:
- New Patch.
arch/arm/dts/Makefile| 1 +
arch/arm/dts
Zhiqiang
Signed-off-by: Gong Qianyu
---
V4:
- Fix vid macros in config file and add vid support.
- Remove RAW_TIMING definition for DDR3.
- Remove LS1043AQDS_MDIO_10GC related code because LS1043AQDS has no phy for
it.
V3:
- Update the commit message.
- Remove #ifdef in fdt.h.
- Rename
Use the U-Boot Driver Model. Just enable Freescale DSPI driver
and set DSPI related parameters in dts file.
Signed-off-by: Gong Qianyu
---
V4:
- No change.
V3:
- New Patch.
- Tested on LS1043ARDB board.
arch/arm/dts/fsl-ls1043a-rdb.dts| 19 +++
arch/arm/dts/fsl
Reuse the dts files from ls1043a linux kernel.
Signed-off-by: Gong Qianyu
---
V4:
- No change.
V3:
- No change.
V2:
- New Patch.
arch/arm/dts/Makefile| 3 +-
arch/arm/dts/fsl-ls1043a-qds.dts | 124 +++
configs/ls1043aqds_defconfig | 2
From: Mingkai Hu
The endian and base address of PEX LUT register region is different
between Chassis 2 and Chassis 3, so move the base address definition
to chassis specific header file and add pex_lut_* functions to access
LUT register.
Signed-off-by: Mingkai Hu
Signed-off-by: Gong Qianyu
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
---
V4:
- No change.
V3:
- New Patch.
- Fix dead code.
arch/arm/cpu/armv8/fsl-layerscape/spl.c | 2 --
1
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.
Add support for the third USB controller for LS1043A.
Signed-off-by: Gong Qianyu
---
V3:
- New Patch. Tested on LS1043ARDB board.
arch/arm/include/asm/arch-fsl-layerscape/immap_lsch2.h | 6 +++---
board/freescale/ls1043ardb/ls1043ardb.c| 16
include/configs
Zhiqiang
Signed-off-by: Gong Qianyu
---
V3:
- Update the commit message.
- Remove #ifdef in fdt.h.
- Rename ls1043aqds_sdcard_defconfig to ls1043aqds_sdcard_ifc_defconfig.
V2:
- No change.
arch/arm/Kconfig | 9 +
arch/arm/include/asm/arch-fsl-layerscape/fdt.h
101 - 200 of 360 matches
Mail list logo