Remove "num-cs" property from device-tree as it is no longer used by
qspi driver anymore.
Also, specify status as "disabled" and enable qspi support in respective
board dts files. This will also help in aligning node properties with
other board properties.
Signed-off-by: Kuld
Hi Harkirat,
> -Original Message-
> From: U-Boot On Behalf Of Harkirat Virk
> Sent: Wednesday, September 15, 2021 12:21 AM
> To: u-boot@lists.denx.de
> Subject: [EXT] S25HS512 not functional with u-boot 2021.10.rc3
>
> Caution: EXT Email
>
> I have a custom board using imx6ul and Spansi
LX2162A-QDS has micron mt35xu512aba flash which requires flag
CONFIG_SPI_FLASH_MT35XU on to probe flash successfully.
Signed-off-by: Kuldeep Singh
---
configs/lx2162aqds_tfa_SECURE_BOOT_defconfig | 1 +
configs/lx2162aqds_tfa_defconfig | 1 +
configs
LS1046A-QDS board requires updation in few environment configs in TFA
defconfigs of the board.
Following are the changes:
- Update CONFIG_ENV_ADDR
- Update CONFIG_ENV_SECT_SIZE
- Enable CONFIG_SYS_RELOC_GD_ENV_ADDR
Signed-off-by: Kuldeep Singh
---
configs/ls1046aqds_tfa_defconfig | 5 +++--
1
LS1046A-QDS has CONFIG_SPI_FLASH_SST, CONFIG_SPI_FLASH_EON and
CONFIG_SPI_FLASH_STMICRO defines present in header. Move these entries
from header to defconfigs.
Signed-off-by: Kuldeep Singh
---
configs/ls1046aqds_SECURE_BOOT_defconfig | 3 +++
configs/ls1046aqds_defconfig
T4240RDB supports booting from 2 nor banks(default and altbank). The
corresponding defconfig can only have one entry defined and therefore,
extend cs4340_get_fw_addr() function to overwrite firmware address which
will be later used in cortina firmware.
Signed-off-by: Kuldeep Singh
---
board
T2080RDB supports booting from 2 nor banks(default and altbank). The
corresponding defconfig can only have one entry defined and therefore,
extend cs4340_get_fw_addr() function to overwrite firmware address which
will be later used in cortina firmware.
Signed-off-by: Kuldeep Singh
---
board
-off-by: Kuldeep Singh
---
board/freescale/ls2080ardb/ls2080ardb.c | 38 +
1 file changed, 38 insertions(+)
diff --git a/board/freescale/ls2080ardb/ls2080ardb.c
b/board/freescale/ls2080ardb/ls2080ardb.c
index 6504cf768f..e8722f20c1 100644
--- a/board/freescale/ls2080ardb
values to get proper addresses as per boot source.
Signed-off-by: Kuldeep Singh
---
drivers/net/phy/cortina.c | 79 ++-
1 file changed, 69 insertions(+), 10 deletions(-)
diff --git a/drivers/net/phy/cortina.c b/drivers/net/phy/cortina.c
index b381a431fd
Use moveconfig.py script to convert below defines to Kconfig and move
these entries to defconfigs.
CONFIG_CORTINA_FW_ADDR
CONFIG_CORTINA_FW_LENGTH
Signed-off-by: Kuldeep Singh
---
configs/T2080RDB_NAND_defconfig | 1 +
configs/T2080RDB_SDCARD_defconfig | 1
Add PHY_CORTINA as default option in SYS_MMC_ENV_DEV Kconfig entry as
PHY_CORTINA require SYS_MMC_ENV_DEV value similar to FMAN_ENET or QE.
This helps in resolving compilation failure.
Signed-off-by: Kuldeep Singh
---
env/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
function.
Kuldeep Singh (6):
env: Kconfig: Add default option for PHY_CORTINA
configs: Migrate CORTINA_FW_ADDR and CORTINA_FW_LENGTH to Kconfig
net: cortina: Add support for tfa boot in cortina firmware
board: ls2088ardb: Extend cs4340_get_fw_addr() functionality
board: t208x: Extend
use IP bus to read entire flash contents and disable AHB path when
platform frequency is 300Mhz.
Signed-off-by: Kuldeep Singh
Reviewed-by: Jagan Teki
---
v2:
- Rebase to top of tree
- Resolve buildman error as imx6ul report compilation failure by
guarding changes under CONFIG_FSL_LAYER
Add support for disabling AHB bus and read entire flash contents via IP
bus only. Please note, this enables IP bus read using a quirk which can
be enabled directly in device-type data or in existence of an errata
where AHB bus may need to be disabled.
Signed-off-by: Kuldeep Singh
Acked-by: Jagan
LX2160A-RDB/QDS has micron mt35xu512aba flash which requires flag
CONFIG_SPI_FLASH_MT35XU on to probe flash successfully.
Signed-off-by: Kuldeep Singh
---
configs/lx2160aqds_tfa_SECURE_BOOT_defconfig | 1 +
configs/lx2160aqds_tfa_defconfig | 1 +
configs
LS1043A-QDS board requires updation in few environment configs in TFA
and QSPI defconfigs.
Following are the changes:
- Define CONFIG_ENV_ADDR
- Unset CONFIG_SPI_FLASH_BAR
- Enable CONFIG_SYS_RELOC_GD_ENV_ADDR
Signed-off-by: Kuldeep Singh
---
configs/ls1043aqds_qspi_defconfig| 1
Hi Stefano,
> -Original Message-
> From: Jagan Teki
> Sent: Monday, April 19, 2021 12:17 PM
> To: Kuldeep Singh
> Cc: U-Boot-Denx
> Subject: [EXT] Re: [PATCH 2/2] spi: nxp_fspi: Implement errata workaround for
> LS1028A
>
> Caution: EXT Email
>
>
Signed-off-by: Kuldeep Singh
---
configs/ls1088aqds_tfa_defconfig | 1 +
configs/ls1088ardb_tfa_defconfig | 1 +
2 files changed, 2 insertions(+)
diff --git a/configs/ls1088aqds_tfa_defconfig b/configs/ls1088aqds_tfa_defconfig
index 5229a351e1..ea308cafef 100644
--- a/configs
+ Ye Li
> -Original Message-
> From: Kuldeep Singh
> Sent: Monday, March 22, 2021 12:00 PM
> To: Jagan Teki ; u-boot@lists.denx.de
> Cc: Kuldeep Singh
> Subject: [PATCH 2/2] spi: nxp_fspi: Implement errata workaround for LS1028A
>
> Errata ERR050568 description
use IP bus to read entire flash contents and disable AHB path when
platform frequency is 300Mhz.
Signed-off-by: Kuldeep Singh
---
drivers/spi/nxp_fspi.c | 49 +-
1 file changed, 44 insertions(+), 5 deletions(-)
diff --git a/drivers/spi/nxp_fspi.c b/d
Add support for disabling AHB bus and read entire flash contents via IP
bus only. Please note, this enables IP bus read using a quirk which can
be enabled directly in device-type data or in existence of an errata
where AHB bus may need to be disabled.
Signed-off-by: Kuldeep Singh
---
drivers
There is no Spansion flash on LS1028A-RDB/QDS boards.
Unset CONFIG_SPI_FLASH_SPANSION option for both the boards.
Signed-off-by: Kuldeep Singh
---
configs/ls1028aqds_tfa_SECURE_BOOT_defconfig | 1 -
configs/ls1028aqds_tfa_defconfig | 1 -
configs/ls1028aqds_tfa_lpuart_defconfig
LS1028A-QDS has CONFIG_SPI_FLASH_SST and CONFIG_SPI_FLASH_EON defines
present in header. Move these entries from header to defconfigs.
Signed-off-by: Kuldeep Singh
---
configs/ls1028aqds_tfa_SECURE_BOOT_defconfig | 2 ++
configs/ls1028aqds_tfa_defconfig | 2 ++
configs
LS1028A-RDB/QDS has Micron "mt35xu02g" nor flash of size 256M with 128K
sector size. Correct CONFIG_ENV_SECT_SIZE value to 128K.
Signed-off-by: Kuldeep Singh
---
configs/ls1028aqds_tfa_defconfig| 2 +-
configs/ls1028aqds_tfa_lpuart_defconfig | 2 +-
configs/ls1028ardb_tfa
It is now safe to remove Flexspi configs NXP_FSPI_FLASH_SIZE and
NXP_FSPI_FLASH_NUM options from headers as they are no longer used by
driver anymore.
Signed-off-by: Kuldeep Singh
---
include/configs/lx2160a_common.h | 6 --
1 file changed, 6 deletions(-)
diff --git a/include/configs
There is no Spansion flash on LX2160A-RDB/QDS boards.
Unset CONFIG_SPI_FLASH_SPANSION option for both the boards.
Signed-off-by: Kuldeep Singh
---
configs/lx2160aqds_tfa_SECURE_BOOT_defconfig | 1 -
configs/lx2160aqds_tfa_defconfig | 1 -
configs/lx2160ardb_tfa_SECURE_BOOT_defconfig
This patch series aim is to make fspi cleanups for ls1028a and lx2160a.
This includes defconfig and header cleanups.
Kuldeep Singh (5):
configs: lx2160a: Unset CONFIG_SPI_FLASH_SPANSION
configs: lx2160a: Remove unused Flexspi config options
configs: ls1028a: Unset CONFIG_SPI_FLASH_SPANSION
> -Original Message-
> From: Priyanka Jain
> Sent: Friday, October 23, 2020 9:22 AM
> To: Kuldeep Singh ; Priyanka Jain (OSS)
> ; u-boot@lists.denx.de
> Subject: RE: [PATCH] configs: ls1043aqds: Configure QSPI related configs
>
> >-Original Message-
&g
> -Original Message-
> From: Sean Anderson
> Sent: Monday, October 5, 2020 7:10 AM
> To: u-boot@lists.denx.de
> Cc: Sean Anderson ; Jagan Teki
> ; Kuldeep Singh
> Subject: [EXT] [PATCH 08/16] spi: nsp_fspi: Include device_compat.h
s/nsp_fspi/nxp_fspi
-Kuldeep
> -Original Message-
> From: Kuldeep Singh
> Sent: Thursday, July 30, 2020 3:38 PM
> To: u-boot@lists.denx.de; Priyanka Jain
> Cc: Kuldeep Singh
> Subject: [Patch v2] configs: ls1012a/ls1046a: Add CONFIG_ENV_OVERWRITE
> in defconfig
>
> CONFIG_ENV_OVERWRITE d
ff-by: Kuldeep Singh
---
drivers/net/pfe_eth/pfe_firmware.c | 16 +---
1 file changed, 5 insertions(+), 11 deletions(-)
diff --git a/drivers/net/pfe_eth/pfe_firmware.c
b/drivers/net/pfe_eth/pfe_firmware.c
index 4ad09dd..d414c75 100644
--- a/drivers/net/pfe_eth/pfe_firmware.c
+++ b/driver
Fix Coverity issue: RESOURCE_LEAK.
leaked_storage: Variable addr going out of scope leaks the storage it
points to.
Fixes: e0152dbed683 ("net: pfe_eth: Use spi_flash_read API to access
flash memory")
Signed-off-by: Kuldeep Singh
---
drivers/net/pfe_eth/pfe_firmware.c | 4
1 file
Hi Meenakshi,
[..]
> This patch add base support for LX2162 QDS board.
> LX2162 is LX2160 based SoC, it has same die as of LX2160
> with different packaging.
> Board support's 4GB ddr memory, i2c, micro-click module, microSD card,
> serial console, qspi nor flash, qsgmii, sgmii, 25g, 40g, 50g netw
> +/* environment */
> +/* allow to overwrite serial and ethaddr */ #define
> +CONFIG_ENV_OVERWRITE
[...]
Hi Michael,
CONFIG_ENV_OVERWRITE is now converted to Kconfig option and has been moved to
defconfigs.
Adam Ford has a patch doing that and is available in latest master.
-Kuldeep
; setenv ethaddr 00:E0:0C:00:06:0
=> setenv ethaddr 00:E0:0C:00:06:1
Error: Can't overwrite "ethaddr"
Error inserting "ethaddr" variable, errno=1
After the change:
=> setenv ethaddr 00:E0:0C:00:06:0
=> setenv ethaddr 00:E0:0C:00:06:1
Signed-off-by: Kuldeep Singh
---
[...]
> Please confirm that all boot-sources will work fine with this change.
Please hold both the patches for a moment. I will test other boot sources and
will let you know the results.
Restore CONFIG_ENV_ADDR value to fix boot hang with IFC-NOR as
default boot source.
Signed-off-by: Ashish Kumar
Signed-off-by: Kuldeep Singh
---
configs/ls2088ardb_tfa_defconfig | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/configs/ls2088ardb_tfa_defconfig b/configs
> > Can you please check if this change can go into defconfig file,
> > instead of adding here?
>
> This will require conversion of CONFIG_ENV_OVERWRITE to Kconfig option
> to add and entry in defconfig.
With little search, I found Adam Ford's patch[1] which convert
CONFIG_ENV_OVERWRITE to Kconf
> -Original Message-
> From: Priyanka Jain (OSS)
> Sent: Tuesday, July 21, 2020 2:49 PM
> To: Kuldeep Singh ; u-boot@lists.denx.de
> Cc: Kuldeep Singh
> Subject: RE: [PATCH] configs: ls1012a/ls1046a: Define
> CONFIG_ENV_OVERWRITE
>
> >-Original Me
; variable.
Before the change:
=> setenv ethaddr 00:E0:0C:00:06:0
=> setenv ethaddr 00:E0:0C:00:06:1
Error: Can't overwrite "ethaddr"
Error inserting "ethaddr" variable, errno=1
After the change:
=> setenv ethaddr 00:E0:0C:00:06:0
=> setenv ethaddr 0
rger value i.e 5M. This size
should be enough as of now to accommodate further memory requirements.
Signed-off-by: Kuldeep Singh
---
Depends on
https://patchwork.ozlabs.org/project/uboot/patch/1590646373-8795-1-git-send-email-kuldeep.si...@nxp.com/
include/configs/ls1012a_common.h | 3 ++-
1 fi
- Restore CONFIG_ENV_ADDR to 0x6050
Signed-off-by: Kuldeep Singh
---
configs/ls1046aqds_tfa_SECURE_BOOT_defconfig | 2 ++
configs/ls1046aqds_tfa_defconfig | 3 ++-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/configs/ls1046aqds_tfa_SECURE_BOOT_defconfig
> -Original Message-
> From: Tom Rini
> Sent: Friday, June 19, 2020 8:07 PM
> To: Priyanka Jain
> Cc: Kuldeep Singh ; Joe Hershberger
> ; u-boot@lists.denx.de; Schrempf Frieder
>
> Subject: Re: [EXT] Re: [RESEND][Patch v4] net: pfe_eth: Use spi_flash_read
>
> -Original Message-
> From: Schrempf Frieder
> Sent: Thursday, May 28, 2020 1:46 PM
> To: Kuldeep Singh ; Joe Hershberger
> ; u-boot@lists.denx.de
> Cc: Priyanka Jain ; Tom Rini
> Subject: [EXT] Re: [RESEND][Patch v4] net: pfe_eth: Use spi_flash_read API to
E
- Enable CONFIG_SYS_RELOC_GD_ENV_ADDR
Signed-off-by: Kuldeep Singh
---
configs/ls1043aqds_qspi_defconfig| 1 +
configs/ls1043aqds_tfa_SECURE_BOOT_defconfig | 1 +
configs/ls1043aqds_tfa_defconfig | 3 ++-
3 files changed, 4 insertions(+), 1 deletion(-)
diff --git
Current PFE firmware access spi-nor memory directly. New spi-mem
framework does not support direct memory access. So, let's use
spi_flash_read API to access memory instead of directly using it.
Signed-off-by: Kuldeep Singh
Reviewed-by: Frieder Schrempf
---
v4:
-Rebase to top
-Use com
> -Original Message-
> From: Priyanka Jain (OSS)
> Sent: Tuesday, May 12, 2020 12:11 PM
> To: Kuldeep Singh ; Joe Hershberger
> ; u-boot@lists.denx.de
> Cc: Thomas Hebb ; Patrick Delaunay
> ; Schrempf Frieder
>
> Subject: RE: [EXT] Re: [Patch v4] net: pfe_eth
V_ADDR and ENV_SECT_SIZE value for QSPI and
TFA defconfigs of the board.
Signed-off-by: Kuldeep Singh
---
v2:
- Reword commit message as per Priyanka's comments.
- Rebase to top
configs/ls1046aqds_qspi_defconfig | 1 +
configs/ls1046aqds_tfa_defconfig | 4 ++--
configs/ls1046ardb_qspi_def
> -Original Message-
> From: Priyanka Jain (OSS)
> Sent: Tuesday, May 12, 2020 11:12 AM
> To: Kuldeep Singh ; u-boot@lists.denx.de
> Subject: RE: [PATCH] configs: ls1046a: Define ENV_ADDR value
>
> >-Original Message-
> >From: U-Boot On B
0x2000
Kuldeep Singh (3):
configs: ls1012a: Increase CONFIG_SYS_MALLOC_LEN size
configs: nxp: Enable CONFIG_SYS_RELOC_GD_ENV_ADDR
configs: ls1012a: Unset ENV_ADDR value
configs/ls1012a2g5rdb_qspi_defconfig | 2 +-
configs/ls1012a2g5rdb_tfa_defconfig| 2 +-
configs
CONFIG_ENV_SIZE value to 0x2000. This also helps in making config
value aligned with other boards environemt size.
Signed-off-by: Kuldeep Singh
Signed-off-by: Ashish Kumar
---
configs/ls1012a2g5rdb_qspi_defconfig | 2 +-
configs/ls1012a2g5rdb_tfa_defconfig| 2 +-
configs
ting crash observed in flash environment.
Signed-off-by: Kuldeep Singh
---
configs/ls1012afrwy_qspi_defconfig | 1 +
configs/ls1012afrwy_tfa_defconfig | 1 +
configs/ls1046afrwy_tfa_defconfig | 1 +
configs/ls1046ardb_tfa_defconfig | 1 +
configs/ls2088aqds_tfa_defconfig | 1
06
elr: 820452c0 lr : 82013f54 (reloc)
elr: b7b932c0 lr : b7b61f54
x0 : x1 : 7604e004
x2 : 0001 x3 :
...
Code: 5480 9100c000 17f7 f9402241 (3860c820)
Resetting CPU ...
Signed-off-b
CONFIG_SYS_MALLOC_LEN is currently set to low value and leaves very less
space to do malloc in flash environmet. Increase the value to get more
memory and also make it align with other boards(ls1046a, ls1043a etc.)
config values.
Signed-off-by: Kuldeep Singh
---
include/configs/ls1012a_common.h
CONFIG_SYS_MALLOC_LEN is currently set to low value and leaves very less
space for QSPI environmet. Increase the value and also make it align
with other boards(ls1046a, ls1043a etc.) value.
Signed-off-by: Kuldeep Singh
---
include/configs/ls1012a_common.h | 2 +-
1 file changed, 1 insertion
From: Ashish Kumar
ENV_SIZE value 0x4 is incorrect. Update to 0x2000 and make it align
with other boards environemt size for all variants of LS1012A.
Signed-off-by: Kuldeep Singh
Signed-off-by: Ashish Kumar
---
configs/ls1012a2g5rdb_qspi_defconfig | 2 +-
configs
adds delay alongwith timeout functionality.
Signed-off-by: Kuldeep Singh
---
v3:
-Reword commit message and use new API instead of adding delay.
-Depends on:
a)
https://patchwork.ozlabs.org/project/uboot/patch/20200425110354.12381-2-ja...@amarulasolutions.com/
b)
https://patchwork.ozlabs.org/pro
> > If you see implementation of " fspi_readl_poll_tout ", it further calls
> "readl_poll_timeout" which includes delay of 1us.
> > And also please see the difference of "readl_poll_timeout" api
> implementation in uboot and Linux.
> > This api adds delay in Linux but skips it in uboot.
>
> Yes, i
> -Original Message-
> From: Jagan Teki
> Sent: Tuesday, April 21, 2020 1:45 PM
> To: Kuldeep Singh
> Cc: U-Boot-Denx
> Subject: [EXT] Re: [Patch v2] spi: nxp-fspi: Add 1us delay to make controller
> ready for next transaction
>
> Caution: EXT Email
>
&
-boot poll_timeout API lacks delay functionality,
add 1us delay so as to make controller ready for other transactions.
Signed-off-by: Kuldeep Singh
---
v1: Add comments above udelay(1) change.
drivers/spi/nxp_fspi.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/drivers/spi
[...]
> It does not impact the NOR boot case and fsl-ls2088a-rdb-qspi.dts provides
> additional nodes for qspi flash and i2c.
> Reviewed .
Priyanka, Since Wasim has reviewed the patch maybe we can proceed with his
"reviewed-by" tag.
-Kuldeep
2s", INFO6(0x010220, 0x4d0081, 256 * 1024, 256...},
Signed-off-by: Kuldeep Singh
---
drivers/mtd/spi/spi-nor-ids.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c
index 973b6f8..42baa84 100644
--- a/drivers
> -Original Message-
> From: Kuldeep Singh
> Sent: Thursday, February 20, 2020 10:58 PM
> To: u-boot@lists.denx.de
> Cc: Frieder Schrempf ; Stefan Roese
> ; Priyanka Jain ; Jagan Teki
> ; Stefano Babic ; Fabio
> Estevam ; Vignesh Raghavendra ;
> K
Hi Vignesh,
> -Original Message-
> From: U-Boot On Behalf Of Rasmus
> Villemoes
> Sent: Tuesday, March 17, 2020 1:49 AM
> To: u-boot@lists.denx.de
> Cc: Jagan Teki ; Vignesh R
> ; Rasmus Villemoes
> Subject: [EXT] [PATCH] mtd: spi-nor-core: call WATCHDOG_RESET() in
> spi_nor_ready()
>
>
LS2088A-RDB has CONFIG_DEFAULT_DEVICE_TREE value correctly set as
"fsl-ls2088a-rdb-qspi" for QSPI secure/non-secure boot and TFA
non-secure boot mode.
Fix the value for TFA secure boot mode.
Signed-off-by: Kuldeep Singh
---
configs/ls2088ardb_tfa_SECURE_BOOT_defconfig | 2 +-
1 file
> -Original Message-
> From: Kuldeep Singh
> Sent: Wednesday, March 18, 2020 5:15 PM
> To: Priyanka Jain (OSS) ; u-boot@lists.denx.de
> Subject: RE: [RESEND Patch v2] configs: lx2160a: Enable FSPI support
>
>
>
> > -Original Message-
> >
> -Original Message-
> From: Priyanka Jain (OSS)
> Sent: Wednesday, March 18, 2020 4:22 PM
> To: Kuldeep Singh ; u-boot@lists.denx.de
> Cc: Kuldeep Singh
> Subject: RE: [RESEND Patch v2] configs: lx2160a: Enable FSPI support
>
> >-Original Message-
> -Original Message-
> From: Priyanka Jain (OSS)
> Sent: Wednesday, March 18, 2020 4:03 PM
> To: Kuldeep Singh ; u-boot@lists.denx.de
> Cc: Kuldeep Singh
> Subject: RE: [Patch v3 2/2] configs: ls2080ardb: Make BOOT command
> access flash memory as per spi-me
BOOT command currently access spi-nor flash memory directly. As per spi-mem
framework, flash memory access via absolute addresses is no more possible.
Use flash APIs to access memory instead of directly using it.
Signed-off-by: Kuldeep Singh
---
v3:
-Rebase
v2:
-Rebase to top
-Reword commit
MC_INIT command currently access spi-nor flash memory directly. As per
spi-mem framework, flash memory access via absolute addresses is no more
possible. Use flash APIs to access memory instead of directly using it.
Signed-off-by: Kuldeep Singh
---
v3:
-Use complete MC size, 1M works but MC has
Ping.
> -Original Message-
> From: Kuldeep Singh
> Sent: Thursday, January 23, 2020 12:43 PM
> To: Joe Hershberger ; u-boot@lists.denx.de
> Cc: Thomas Hebb ; Patrick Delaunay
> ; Priyanka Jain ;
> Schrempf Frieder
> Subject: RE: [EXT] Re: [Patch v4] net: pfe_eth
Enable FSPI controller support. So, flash environment can now be used.
Signed-off-by: Kuldeep Singh
---
v2:
-Rebased to top.
-Drop other patches from series as already accepted.
-Add ENV_SECT_SIZE value as 0x2
configs/lx2160aqds_tfa_SECURE_BOOT_defconfig | 1 +
configs
Configure RX and TX bus-width values to use flexspi in octal I/O mode.
If bus-widths are not specified, then single I/O mode is set by default.
Signed-off-by: Kuldeep Singh
---
v3: Reword commit message.
v2: No change.
arch/arm/dts/fsl-lx2160a-qds.dts | 2 ++
arch/arm/dts/fsl-lx2160a-rdb.dts
Configure RX and TX bus-width values to use flexspi in octal I/O mode.
If bus-widths are not specified, then single I/O mode is set by default.
Signed-off-by: Kuldeep Singh
---
v3: Reword commit message.
v2: No change.
arch/arm/dts/fsl-ls1028a-qds.dts | 2 ++
arch/arm/dts/fsl-ls1028a-rdb.dts
of the patches
-Add lx2160aqds node buswidth in patch3.
-Patch3 has dependency on https://patchwork.ozlabs.org/patch/1236164/.
Kuldeep Singh (3):
mtd: spi-nor-ids: Enable SPI_NOR_OCTAL_READ flag for mt35xu*
arm: dts: ls1028a: Use flexspi in octal I/O mode
arm: dts: lx2160a: Use flexspi in
Commit 658df8bd9464 ("mtd: spi-nor-core: Add octal mode support")
enables octal mode(1-1-8) support in spi-nor framework.
mt35xu512aba and mt35xu02g supports SINGLE and OCTAL I/O. Hence, enable
SPI_NOR_OCTAL_READ flag for these flashes.
Signed-off-by: Kuldeep Singh
Reviewed-b
MC_INIT and BOOT command currently access spi-nor flash memory directly.
As per spi-mem framework, flash memory access via absolute addresses is
no more possible. Use flash APIs to access memory instead of directly
using it.
Signed-off-by: Kuldeep Singh
---
include/configs/lx2160a_common.h | 23
Hi Jagan,
> -Original Message-
> From: Kuldeep Singh
> Sent: Thursday, February 20, 2020 10:58 PM
> To: u-boot@lists.denx.de
> Cc: Frieder Schrempf ; Stefan Roese
> ; Priyanka Jain ; Jagan Teki
> ; Stefano Babic ; Fabio
> Estevam ; Vignesh Raghavendra ;
> K
lx2160a-qds has 2 micron "mt35xu512aba" flashes of size 64M each
connected on A0 and B1 i.e on CS0 and CS3. Since flashes are connected
on different buses, only one flash can be probed at a time.
Add fspi node properties aligned with LX2160A-RDB fspi properties.
Signed-off-by: Kul
-boot poll_timeout API lacks delay functionality,
add 1us delay so as to make controller ready for other transactions.
Signed-off-by: Kuldeep Singh
---
drivers/spi/nxp_fspi.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/spi/nxp_fspi.c b/drivers/spi/nxp_fspi.c
index 0e6c7be..9703642
ies.
Also consolidate spi-max-frequency to 50Mhz treewide.
Signed-off-by: Kuldeep Singh
---
v5: No change
v4: No change
v3: No change
v2: No change
arch/arm/dts/fsl-ls1012a-2g5rdb.dts | 5 ++---
arch/arm/dts/fsl-ls1012a-frdm.dtsi| 5 ++---
arch/arm/dts/fsl-ls1012a-qds.dtsi | 5 ++---
ar
Since CONFIG_FSL_QSPI is already enabled for LS1012A in defconfigs. Also
enable CONFIG_SPI_FLASH_SPANSION for LS1012A boards having spansion
flashes.
Signed-off-by: Ashish Kumar
Signed-off-by: Kuldeep Singh
---
v5: No change
v4: Reword commit message. Add "in defconfigs"
v3: Rew
Some of these options are not used by the driver anymore and some of
them are obsolete as the information is gathered from the dt.
Also consolidating defines in common headers.
Signed-off-by: Frieder Schrempf
Signed-off-by: Ashish Kumar
Signed-off-by: Kuldeep Singh
---
v5: Keep only layerscape
.
Currently tested on LS1088ARDB, LS1012ARDB, LS1046ARDB, LS1046AFRWY,
LS1043AQDS, LS1021ATWR, LS2088ARDB, I.MX6ULL EVK.
Signed-off-by: Frieder Schrempf
Signed-off-by: Ashish Kumar
Signed-off-by: Kuldeep Singh
Reviewed-by: Stefan Roese
Tested-by: Stefan Roese
Acked-by: Vignesh Raghavendra
---
v5
Enable CONFIG_SPI_FLASH_SPANSION in defconfigs of LS1046ARDB and
LS1046AQDS which have two spansion flases i.e s25fs512s each of size
64M.
Signed-off-by: Kuldeep Singh
---
v5: No change
v4: No change
v3: No change
v2: No change
configs/ls1046aqds_qspi_defconfig | 1 +
configs
Move CONFIG_FSL_QSPI to the board defconfigs and while at it also move
CONFIG_SPI_FLASH_SPANSION for LS1043AQDS.
Signed-off-by: Frieder Schrempf
Signed-off-by: Kuldeep Singh
---
v5: No change
v4: Move SPI_FLASH_SPANSION to defconfig
v3: no change
v2: No change
configs
Some of these options are not used by the driver anymore and some of them
are obsolete as the information is gathered from the dt.
So, remove the unused config options now.
Signed-off-by: Frieder Schrempf
Signed-off-by: Ashish Kumar
Signed-off-by: Kuldeep Singh
---
v5: New patch. Only imx
ommit messages.
Patch[1] is required to resolve booting crash observed in LS1012ARDB. Crash
was related to pfe driver as it was accessing flash memory directly.
[1] https://patchwork.ozlabs.org/patch/1219462/
Kuldeep Singh (7):
spi: Transform the FSL QuadSPI driver to use the SPI MEM API
treewide: R
Hi,
> -Original Message-
> From: U-Boot On Behalf Of Kuldeep Singh
> Sent: Tuesday, February 4, 2020 1:09 PM
> To: Jagan Teki ; U-Boot-Denx b...@lists.denx.de>; Priyanka Jain ; Joe
> Hershberger
> Cc: Stefan Roese
> Subject: RE: [EXT] Re: [Patch v4 0/7] Trans
Hi Fabio,
> -Original Message-
> From: Fabio Estevam
> Sent: Wednesday, February 19, 2020 6:31 PM
> To: Priyanka Jain (OSS)
> Cc: Kuldeep Singh ; u-boot@lists.denx.de;
> Stefano Babic ; s...@denx.de
> Subject: [EXT] Re: [Patch v4 4/7] imx: imx6sx: Remove unuse
CONFIG_ENV_ADDR helps in picking environment from flash before DDR init.
QSPI region starts from 0x2000 offset.
Correct the config value i.e 0x8050 -> 0x2050.
Signed-off-by: Kuldeep Singh
---
configs/ls1088aqds_tfa_defconfig | 2 +-
configs/ls1088ardb_tfa_defconfig | 2 +-
2 fi
CONFIG_ENV_ADDR helps in picking environment from flash before DDR init.
QSPI region in LS2088ARDB and LS2088AQDS starts from 0x2000 offset.
Correct the config value i.e 0x8050 -> 0x2050.
Also, define config value as 0x2030 in qspi defconfig.
Signed-off-by: Kuldeep Si
CONFIG_ENV_ADDR helps in picking environment from flash before DDR init.
Define value 0x4030 in QSPI defconfig for LS1046ARDB as value is
already defined in TFA.
Correct ENV_ADDR and ENV_SECT_SIZE value for LS1046AQDS as per defconfig.
Signed-off-by: Kuldeep Singh
---
configs
Commit "658df8bd9464"(mtd: spi-nor-core: Add octal mode support) enables
octal mode(1-1-8) support in spi-nor framework.
mt35xu512aba and mt35xu02g supports SINGLE and OCTAL I/O.
Hence, enable SPI_NOR_OCTAL_READ flag for these flashes.
Signed-off-by: Kuldeep Singh
---
v2: Reword comm
Signed-off-by: Kuldeep Singh
---
Depends on https://patchwork.ozlabs.org/patch/1236164/
v2:
-Add lx2160qds buswidth
-Update dependencies
arch/arm/dts/fsl-lx2160a-qds.dts | 4
arch/arm/dts/fsl-lx2160a-rdb.dts | 4
2 files changed, 8 insertions(+)
diff --git a/arch/arm/dts/fsl-lx2160a
entries to use octal mode for
LS1028ARDB/QDS, LX2160ARDB/QDS.
Kuldeep Singh (3):
mtd: spi-nor-ids: Enable SPI_NOR_OCTAL_READ flag for mt35xu*
arm: dts: ls1028a: Add RX,TX buswidth in qspi to use octal mode
arm: dts: lx2160a: Add RX,TX buswidth in qspi to use octal mode
arch/arm/dts/fsl-ls1028a
Signed-off-by: Kuldeep Singh
---
v2: No change
arch/arm/dts/fsl-ls1028a-qds.dts | 2 ++
arch/arm/dts/fsl-ls1028a-rdb.dts | 2 ++
2 files changed, 4 insertions(+)
diff --git a/arch/arm/dts/fsl-ls1028a-qds.dts b/arch/arm/dts/fsl-ls1028a-qds.dts
index 3fd37be..029a8e3 100644
--- a/arch/arm/dts
Align flexspi node properties with linux device-tree properties.
Signed-off-by: Kuldeep Singh
---
arch/arm/dts/fsl-lx2160a-qds.dts | 24
1 file changed, 24 insertions(+)
diff --git a/arch/arm/dts/fsl-lx2160a-qds.dts b/arch/arm/dts/fsl-lx2160a-qds.dts
index 34df0f5
MC_INIT command currently access spi-nor flash memory directly. As per
spi-mem framework, flash memory access via absolute addresses is no more
possible. Use flash APIs to access memory instead of directly using it.
Signed-off-by: Kuldeep Singh
---
v2:
-Rebase to top
-reword commit message
BOOT command currently access spi-nor flash memory directly. As per spi-mem
framework, flash memory access via absolute addresses is no more possible.
Use flash APIs to access memory instead of directly using it.
Signed-off-by: Kuldeep Singh
---
v2:
-Rebase to top
-Reword commit message
1 - 100 of 191 matches
Mail list logo