> -Original Message-
> From: Vignesh Raghavendra
> Sent: Wednesday, April 24, 2019 10:08 PM
> To: Rajat Srivastava ; u-boot@lists.denx.de;
> ja...@openedev.com
> Cc: Ashish Kumar
> Subject: [EXT] Re: [PATCH 1/2] drivers/mtd/spi: Enable 4B opcodes for
> SPANSIO
the framework has been updated to send 4-byte opcodes
and FSL QSPI driver needs correction. This change will be
applicable for the following defconfig where we disable
CONFIG_FLASH_BAR:
LS1088A, LS1046A, LS1043A, LS1012A, LS2088A defconfigs
Signed-off-by: Ashish Kumar
Signed-off-by: Rajat Srivastava
> -Original Message-
> From: Vignesh Raghavendra
> Sent: Wednesday, April 24, 2019 10:17 PM
> To: Rajat Srivastava ; u-boot@lists.denx.de;
> ja...@openedev.com
> Cc: Ashish Kumar
> Subject: [EXT] Re: [PATCH 2/2] fsl_qspi: Improve QSPI driver to incorpor
Change env location to SPI_FLASH.
Signed-off-by: Rajesh Bhagat
Signed-off-by: Rajat Srivastava
---
configs/lx2160ardb_tfa_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/lx2160ardb_tfa_defconfig b/configs/lx2160ardb_tfa_defconfig
index 2dc49c7f5d..2a2609f80b 100644
Enable config in LS1088A boards to send only 16 bytes aligned
data to TxFIFO while writing to flash.
Signed-off-by: Pankit Garg
Signed-off-by: Rajat Srivastava
---
configs/ls1088ardb_tfa_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/ls1088ardb_tfa_defconfig b/configs
From: Ashish Kumar
This config makes driver send only 16 bytes aligned data
to TxFIFO while writing on flash.
Signed-off-by: Rajat Srivastava
Signed-off-by: Ashish Kumar
---
drivers/spi/Kconfig | 9 +
1 file changed, 9 insertions(+)
diff --git a/drivers/spi/Kconfig b/drivers/spi
From: Ashish Kumar
Enable config in LS2088A boards to send only 16 bytes aligned
data to TxFIFO while writing to flash.
Signed-off-by: Rajat Srivastava
Signed-off-by: Ashish Kumar
---
configs/ls2088ardb_qspi_SECURE_BOOT_defconfig | 1 +
configs/ls2088ardb_qspi_defconfig | 1 +
2
From: Ashish Kumar
Enable config in LS2080A boards to send only 16 bytes aligned
data to TxFIFO while writing to flash.
Signed-off-by: Rajat Srivastava
Signed-off-by: Ashish Kumar
---
configs/ls2080aqds_nand_defconfig | 1 +
configs/ls2080aqds_qspi_defconfig | 1 +
configs
From: Ashish Kumar
Enable config in LS1088A boards to send only 16 bytes aligned
data to TxFIFO while writing to flash.
Signed-off-by: Rajat Srivastava
Signed-off-by: Ashish Kumar
---
configs/ls1088aqds_qspi_SECURE_BOOT_defconfig| 1 +
configs/ls1088aqds_qspi_defconfig
this behaviour of controller is still not clear and
discussion with hardware team is ongoing. The patch will be updated
before sending it to upstream.
Signed-off-by: Rajat Srivastava
---
drivers/spi/fsl_qspi.c | 29 ++---
1 file changed, 22 insertions(+), 7 deletions
From: Ashish Kumar
Signed-off-by: Ashish Kumar
Signed-off-by: Rajat Srivastava
---
configs/ls1088aqds_qspi_SECURE_BOOT_defconfig| 1 +
configs/ls1088aqds_qspi_defconfig| 1 +
configs/ls1088aqds_sdcard_qspi_defconfig | 1 +
configs
Signed-off-by: Rajat Srivastava
---
configs/ls2080aqds_nand_defconfig | 1 +
configs/ls2080aqds_qspi_defconfig | 1 +
configs/ls2080aqds_sdcard_defconfig | 1 +
configs/ls2081ardb_defconfig | 1 +
configs/ls2088ardb_qspi_SECURE_BOOT_defconfig
Signed-off-by: Rajat Srivastava
---
configs/ls1046aqds_qspi_defconfig | 1 +
configs/ls1046aqds_sdcard_qspi_defconfig| 1 +
configs/ls1046aqds_tfa_defconfig| 1 +
configs/ls1046ardb_emmc_defconfig | 1 +
configs
Signed-off-by: Ashish Kumar
Signed-off-by: Rajat Srivastava
---
drivers/spi/fsl_qspi.c | 38 +-
1 file changed, 25 insertions(+), 13 deletions(-)
diff --git a/drivers/spi/fsl_qspi.c b/drivers/spi/fsl_qspi.c
index 1598c4f698..1d26c6344b 100644
--- a/drivers
From: Ashish Kumar
Signed-off-by: Ashish Kumar
---
drivers/mtd/spi/spi-nor-ids.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c
index ec929760ee..a89c1910d9 100644
--- a/drivers/mtd/spi/spi-nor-ids.c
+++
.
It was sent to flash at page offsets only.
Signed-off-by: Rajat Srivastava
---
Changes in v2:
Incorporating review comments given by Vignesh.
[PATCH v1]: https://patchwork.ozlabs.org/patch/1078183/
drivers/mtd/spi/spi-nor-core.c | 28 ++--
1 file changed, 10 insertions
Enable AHB support for Flexspi controller interface meaning
memory can be accessed via md command using absolute addresses
Signed-off-by: Yogesh Gaur
Signed-off-by: Ashish Kumar
Signed-off-by: Rajat Srivastava
---
v4:
- Remove unnecessary dependencies of FSPI_AHB_EN_4BYTE config
- Enable
Signed-off-by: Priyanka Jain
Signed-off-by: Sriram Dash
Signed-off-by: Ashish Kumar
Signed-off-by: Rajat Srivastava
---
v3: No change. Rebased to top.
arch/arm/include/asm/arch-fsl-layerscape/immap_lsch3.h | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/include/asm/arch
> -Original Message-
> From: Vignesh Raghavendra
> Sent: Wednesday, April 17, 2019 6:18 PM
> To: Rajat Srivastava ; u-boot@lists.denx.de;
> tr...@konsulko.com; marek.va...@gmail.com;
> marek.vasut+rene...@gmail.com; ja...@openedev.com
> Cc: Ashish Kumar
> Subj
.
It was sent to flash at page offsets only.
Signed-off-by: Rajat Srivastava
---
Changes in v2:
Incorporating review comments given by Vignesh.
[PATCH v1]: https://patchwork.ozlabs.org/patch/1078183
drivers/mtd/spi/spi-nor-core.c | 28 ++--
1 file changed, 10 insertions
.
It was sent to flash at page offsets only.
Signed-off-by: Rajat Srivastava
---
Changes in v2:
Incorporating review comments given by Vignesh.
[PATCH v1]: https://patchwork.ozlabs.org/patch/1078183/
drivers/mtd/spi/spi-nor-core.c | 28 ++--
1 file changed, 10 insertions
> -Original Message-
> From: Vignesh Raghavendra
> Sent: Friday, April 12, 2019 1:01 PM
> To: Rajat Srivastava ; u-boot@lists.denx.de;
> tr...@konsulko.com; marek.va...@gmail.com;
> marek.vasut+rene...@gmail.com; ja...@openedev.com
> Cc: Ashish Kumar
> Subjec
.
It was sent to flash at page offsets only.
Signed-off-by: Rajat Srivastava
---
Changes in v2:
Incorporating review comments given by Vignesh.
[PATCH v1]: https://patchwork.ozlabs.org/patch/1078183/
drivers/mtd/spi/spi-nor-core.c | 28 ++--
1 file changed, 10 insertions
Incorporate write enable and status check in the write data
function itself.
Formerly, Write data function used to break the data to be
written into smaller chunks and used to send the smaller
chunks without write enable or status check for every iteration.
Signed-off-by: Rajat Srivastava
> -Original Message-
> From: Vignesh R
> Sent: Friday, November 16, 2018 8:56 PM
> To: Rajat Srivastava ; Simon Goldschmidt
> ; U-Boot Mailing List b...@lists.denx.de>
> Cc: Jagan Teki
> Subject: Re: [U-Boot] [PATCH v2 1/2] mtd/spi: Add JEDEC SFDP support in SP
> -Original Message-
> From: Simon Goldschmidt
> Sent: Friday, November 16, 2018 3:53 PM
> To: vigne...@ti.com
> Cc: Rajat Srivastava ; U-Boot Mailing List b...@lists.denx.de>; Jagan Teki
> Subject: Re: [U-Boot] [PATCH v2 1/2] mtd/spi: Add JEDEC SFDP suppo
> -Original Message-
> From: Vignesh R
> Sent: Thursday, November 15, 2018 2:52 PM
> To: Rajat Srivastava ; u-boot@lists.denx.de
> Cc: ja...@openedev.com
> Subject: Re: [U-Boot] [PATCH v2 1/2] mtd/spi: Add JEDEC SFDP support in SPI
> framework
>
> Hi Raja
-by: Rajat Srivastava
---
Changes in v2:
- Make SFDP parsing the default method.
- Change SPI_FLASH_USE_SFDP flag to SPI_FLASH_USE_SFDP to
provide an option to skip SFDP parsing for a particular flash.
---
drivers/mtd/spi/sf_internal.h | 4 +
drivers/mtd/spi/spi_flash.c | 301
Add functionality to read SFDP parameters in fsl_qspi driver.
Also, use the address width information from SFDP to enable
flash access above 16 MB.
Introduce a way to access parent structure by adding pointer
to struct spi_slave in struct fsl_qspi_priv.
Signed-off-by: Rajat Srivastava
:
- Make SFDP parsing the default way to read flash parameters.
- Change SPI_FLASH_USE_SFDP flag to SPI_FLASH_SKIP_SFDP to provide an
option to skip SFDP parsing for a particular flash.
- Convert patch-set of 3 patches to 2 patches.
---
Rajat Srivastava (2):
mtd/spi: Add JEDEC SFDP support in SPI
> -Original Message-
> From: Simon Goldschmidt
> Sent: Wednesday, October 31, 2018 1:09 PM
> To: Rajat Srivastava ; U-Boot Mailing List b...@lists.denx.de>
> Cc: Jagan Teki
> Subject: Re: [U-Boot] [PATCH 0/3] Read SFDP parameters and access flash
> above 16MB
&
> -Original Message-
> From: Simon Goldschmidt
> Sent: Wednesday, October 31, 2018 2:51 PM
> To: Rajat Srivastava
> Cc: vigne...@ti.com; U-Boot Mailing List ; Jagan Teki
>
> Subject: Re: [U-Boot] [PATCH 1/3] mtd/spi: Add JEDEC SFDP support in SPI
> framework
&
> -Original Message-
> From: Vignesh R
> Sent: Wednesday, October 31, 2018 1:47 PM
> To: Rajat Srivastava ; u-boot@lists.denx.de
> Cc: ja...@openedev.com
> Subject: Re: [U-Boot] [PATCH 1/3] mtd/spi: Add JEDEC SFDP support in SPI
> framework
>
>
>
> -Original Message-
> From: Simon Goldschmidt
> Sent: Wednesday, October 31, 2018 2:06 AM
> To: Rajat Srivastava ; u-boot@lists.denx.de
> Cc: ja...@openedev.com
> Subject: Re: [U-Boot] [PATCH 0/3] Read SFDP parameters and access flash
> above 16MB
>
>
Hi Stefan
> -Original Message-
> From: Stefan Roese
> Sent: Friday, October 26, 2018 3:42 PM
> To: Rajat Srivastava ; York Sun
> ; Jagan Teki
> Cc: u-boot@lists.denx.de; simon.k.r.goldschm...@gmail.com; Ashish Kumar
>
> Subject: Re: [U-Boot] [PATCH v3] sf: Add
Hi Jagan
> -Original Message-
> From: Rajat Srivastava
> Sent: Thursday, October 25, 2018 2:59 PM
> To: 'Stefan Roese' ; ja...@openedev.com;
> simon.k.r.goldschm...@gmail.com
> Cc: Ashish Kumar ; u-boot@lists.denx.de; York Sun
>
> Subject: RE: [U-Boot] [PATCH v3
> -Original Message-
> From: York Sun
> Sent: Thursday, October 25, 2018 9:20 PM
> To: Stefan Roese
> Cc: u-boot@lists.denx.de; Jagan Teki ; Rajat
> Srivastava ; simon.k.r.goldschm...@gmail.com;
> Ashish Kumar
> Subject: Re: [U-Boot] [PATCH v3] sf: Add auto dete
Hi Stefan
> -Original Message-
> From: Stefan Roese
> Sent: Tuesday, October 23, 2018 10:31 PM
> To: Rajat Srivastava ; ja...@openedev.com;
> simon.k.r.goldschm...@gmail.com
> Cc: Ashish Kumar ; u-boot@lists.denx.de
> Subject: Re: [U-Boot] [PATCH v3] sf: Add auto det
Hi Stefan
> -Original Message-
> From: Stefan Roese [mailto:s...@denx.de]
> Sent: Monday, October 22, 2018 12:45 PM
> To: Rajat Srivastava ; ja...@openedev.com;
> simon.k.r.goldschm...@gmail.com
> Cc: Ashish Kumar ; u-boot@lists.denx.de
> Subject: Re: [U-Boot] [P
Hi Stefan
Sorry for top-posting.
Why can't we read SFDP parameters from flash and auto-detect 3-byte/4-byte
addressing mode?
Using address width information we can support both types of flash i.e. flashes
supporting 3-byte addressing mode as well as flashes supporting 4-byte
addressing mode.
Add functionality to read SFDP parameters in fsl_qspi driver.
Also, use the address width information from SFDP to enable
flash access above 16 MB.
Introduce a way to access parent structure by adding pointer
to struct spi_slave in struct fsl_qspi_priv.
Signed-off-by: Rajat Srivastava
Signed-off-by: Rajat Srivastava
---
drivers/mtd/spi/spi_flash_ids.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/mtd/spi/spi_flash_ids.c b/drivers/mtd/spi/spi_flash_ids.c
index ad0a0c8150..db4a93c7f5 100644
--- a/drivers/mtd/spi/spi_flash_ids.c
+++ b/drivers/mtd
on the
SFDP data read. Add pointer to struct spi_flash in struct
spi_slave so that driver can have access to SFDP data.
Introduce new structures and functions to read and parse
SFDP data. This is loosely based on Linux SFDP framework.
Signed-off-by: Rajat Srivastava
---
drivers/mtd/spi/sf_internal.h
and parsing of SFDP parameters for Spansion's
s25fs512 flash to auto-detect its size, its page size and the
addressing mode it supports.
Rajat Srivastava (3):
mtd/spi: Add JEDEC SFDP support in SPI framework
fsl_qspi: Access flash above 16MB using SFDP
spi_flash_ids: Enable SFDP parsing
Some SoCs have different endianness of QSPI IP if compared
to endianness of core. The function is_controller_busy()
checks if the QSPI controller is busy or not, considering
the endianness of the QSPI IP.
Signed-off-by: Rajat Srivastava <rajat.srivast...@nxp.com>
Reviewed-by: York Sun
> -Original Message-
> From: York Sun
> Sent: Tuesday, February 06, 2018 10:38 PM
> To: Rajat Srivastava <rajat.srivast...@nxp.com>; u-boot@lists.denx.de
> Subject: Re: [PATCH] ls1088a: qspi: Enable XIP mode above 16 MB addresses
>
> On 02/06/2018 02:59
> -Original Message-
> From: York Sun
> Sent: Monday, February 05, 2018 10:20 PM
> To: Rajat Srivastava <rajat.srivast...@nxp.com>; u-boot@lists.denx.de
> Subject: Re: [PATCH] ls1088a: qspi: Enable XIP mode above 16 MB addresses
>
> On 02/04/2018 09:37
> -Original Message-
> From: York Sun
> Sent: Friday, February 02, 2018 9:29 PM
> To: Rajat Srivastava <rajat.srivast...@nxp.com>; u-boot@lists.denx.de
> Subject: Re: [PATCH] ls1088a: qspi: Enable XIP mode above 16 MB addresses
>
> On 02/02/2018 04:07
> -Original Message-
> From: Jagan Teki [mailto:jagannadh.t...@gmail.com]
> Sent: Tuesday, October 31, 2017 1:32 PM
> To: Rajat Srivastava <rajat.srivast...@nxp.com>
> Cc: u-boot@lists.denx.de; York Sun <york@nxp.com>; Suresh Gupta
> <suresh.gu...@n
> On Mon, Oct 30, 2017 at 11:52 AM, Jagan Teki <jagannadh.t...@gmail.com>
> wrote:
> > On Mon, Oct 16, 2017 at 12:54 PM, Rajat Srivastava
> > <rajat.srivast...@nxp.com> wrote:
> >> The S25FS-S family physical sectors may be configured as a hybrid
> >
As per data sheet, S25FS512S support uniform sector option
or erase size of 256 kbytes and Page Programming buffer of
256 or 512 Bytes. So, flag SECT_4K has no significance for
this flash.
Signed-off-by: Suresh Gupta <suresh.gu...@nxp.com>
Signed-off-by: Rajat Srivastava <rajat.srivast..
<yao.y...@nxp.com>
Signed-off-by: Suresh Gupta <suresh.gu...@nxp.com>
Signed-off-by: Rajat Srivastava <rajat.srivast...@nxp.com>
---
drivers/mtd/spi/sf_internal.h | 7 +
drivers/mtd/spi/spi_flash.c | 65 +++
2 files changed, 72 i
are of uniform size (256 kbytes). This set of patches disables
the above mentioned hybrid mode in Spansion S25FS-S family of flashes.
Rajat Srivastava (2):
sf: Disable hybrid mode for SPANSION S25FS-S family
sf: Fix s25fs512s erase size and remove SECT_4K flag
drivers/mtd/spi/sf_internal.h
From: Rajesh Bhagat <rajesh.bha...@nxp.com>
Adds support for dwc3 gadget driver for ARM v8 platform of layerscape
series. Currently this patch has been tested for LS1043A
Rajat Srivastava (3):
usb: dwc3: Add helper functions to enable snooping and burst settings
armv8/fsl-layerscap
From: Rajesh Bhagat <rajesh.bha...@nxp.com>
Adds a new field in fsg_common namely controller_index to support
multiple controllers usb gadget support.
Signed-off-by: Rajat Srivastava <rajat.srivast...@nxp.com>
Signed-off-by: Rajesh Bhagat <rajesh.bha...@nxp.com>
Acked-b
Implements the dwc3 gadget driver support for LS1043
platform, and performs below operations:
1. Enables snooping support for DWC3 controller.
2. Enables cache coherency in LS1043 platform.
Signed-off-by: Rajat Srivastava <rajat.srivast...@nxp.com>
Signed-off-by: Rajesh Bhagat <r
Adds helper functions to enable snooping and outstanding burst beat
settings.
Signed-off-by: Rajat Srivastava <rajat.srivast...@nxp.com>
Signed-off-by: Rajesh Bhagat <rajesh.bha...@nxp.com>
---
Changes in v3:
- Changed operator for code cleanup
Changes in v2:
- Removes SoC sp
Enables dwc3 gadget driver support on LS1043QDS platform.
Signed-off-by: Rajat Srivastava <rajat.srivast...@nxp.com>
Signed-off-by: Rajesh Bhagat <rajesh.bha...@nxp.com>
Reviewed-by: Lukasz Majewski <l.majew...@samsung.com>
---
Changes in v3:
- None
Changes in v2:
- None
Implements the dwc3 gadget driver support for LS1043
platform, and performs below operations:
1. Enables snooping support for DWC3 controller.
2. Enables cache coherency in LS1043 platform.
Signed-off-by: Rajat Srivastava <rajat.srivast...@nxp.com>
Signed-off-by: Rajesh Bhagat <r
Adds helper functions to enable snooping and outstanding burst beat
settings.
Signed-off-by: Rajat Srivastava <rajat.srivast...@nxp.com>
Signed-off-by: Rajesh Bhagat <rajesh.bha...@nxp.com>
---
Changes in v2:
- Removes SoC specific flags and added helper functions
drivers/usb/dwc3
Enables dwc3 gadget driver support on LS1043QDS platform.
Signed-off-by: Rajat Srivastava <rajat.srivast...@nxp.com>
Signed-off-by: Rajesh Bhagat <rajesh.bha...@nxp.com>
---
Changes in v2:
- None
include/configs/ls1043aqds.h | 15 +++
1 file changed, 15 insertions(+)
From: Rajesh Bhagat <rajesh.bha...@nxp.com>
Adds a new field in fsg_common namely controller_index to support
multiple controllers usb gadget support.
Signed-off-by: Rajat Srivastava <rajat.srivast...@nxp.com>
Signed-off-by: Rajesh Bhagat <rajesh.bha...@nxp.com>
---
Changes
From: Rajesh Bhagat <rajesh.bha...@nxp.com>
Adds support for dwc3 gadget driver for ARM v8 platform of layerscape
series. Currently this patch has been tested for LS1043A
Rajat Srivastava (3):
usb: dwc3: Add helper functions to enable snooping and burst settings
armv8/fsl-layerscap
From: Rajesh Bhagat <rajesh.bha...@nxp.com>
Adds a new field in fsg_common namely controller_index to support
multiple controllers usb gadget support.
Signed-off-by: Rajat Srivastava <rajat.srivast...@nxp.com>
Signed-off-by: Rajesh Bhagat <rajesh.bha...@nxp.com>
---
cmd/
From: Rajesh Bhagat <rajesh.bha...@nxp.com>
Implements the dwc3 gadget driver support for LS1043
platform, and performs below operations:
1. Enables snooping support for DWC3 controller.
2. Enables cache coherency in LS1043 platform.
Signed-off-by: Rajat Srivastava <rajat.srivast..
Adds support for dwc3 gadget driver for ARM v8 platform of layerscape
series. Currently this patch has been tested for LS1043A.
Rajat Srivastava (3):
usb: ums: support multiple controllers using controller_index
armv8/fsl-layerscape: add dwc3 gadget driver support
armv8/fsl-layerscape
From: Rajesh Bhagat <rajesh.bha...@nxp.com>
Enables dwc3 gadget driver support on LS1043QDS platform.
Signed-off-by: Rajat Srivastava <rajat.srivast...@nxp.com>
Signed-off-by: Rajesh Bhagat <rajesh.bha...@nxp.com>
---
include/configs/ls1043aqds.h | 15 +++
536 blocks write: OK
USB read: device 0 block # 0, count 65536 ... 65536 blocks read: OK
stopping USB..
verifying data on addresses 0x8100 and 0x8200
Total of 65536 word(s) were the same
Signed-off-by: Rajat Srivastava <rajat.srivast...@nxp.com>
Signed-off-by: Rajesh Bhagat &l
68 matches
Mail list logo