[PATCH v3 2/2] spl: Add support for booting from ESP

2024-01-22 Thread Mayuresh Chitale
Some platforms as described by EBBR specification may store images in the FIRMWARE directory of the UEFI system partition(ESP). Add support to boot from the EFI system partition if it is enabled for a platform. Signed-off-by: Mayuresh Chitale Reviewed-by: Heinrich Schuchardt --- Changes in v3

[PATCH v3 1/2] part: Add a function to find ESP partition

2024-01-22 Thread Mayuresh Chitale
If a disk has an EFI system partition (ESP) then it can be used to locate the boot files. Add a function to find the ESP. Signed-off-by: Mayuresh Chitale Reviewed-by: Heinrich Schuchardt --- Changes in v3: - Fix part_get_esp signature and header in part.h disk/part.c| 16

[PATCH v3 0/2] SPL EBBR - EFI System Partition support

2024-01-22 Thread Mayuresh Chitale
in case of ESP boot failure Mayuresh Chitale (2): part: Add a function to find ESP partition spl: Add support for booting from ESP common/spl/Kconfig | 8 ++ common/spl/spl_blk_fs.c | 60 ++--- common/spl/spl_fat.c| 34

Re: [PATCH v2 1/2] part: Add a function to find ESP partition

2024-01-22 Thread Mayuresh Chitale
On Wed, Jan 17, 2024 at 6:43 AM Sean Anderson wrote: > On 1/16/24 07:36, Mayuresh Chitale wrote: > > If a disk has an EFI system partition (ESP) then it can be used to > > locate the boot files. Add a function to find the ESP. > > > > Signed-off-by: Mayuresh Chitale

Re: [PATCH v2 1/2] part: Add a function to find ESP partition

2024-01-22 Thread Mayuresh Chitale
On Tue, Jan 16, 2024 at 7:15 PM Heinrich Schuchardt < heinrich.schucha...@canonical.com> wrote: > On 16.01.24 13:36, Mayuresh Chitale wrote: > > If a disk has an EFI system partition (ESP) then it can be used to > > locate the boot files. Add a function to find the ES

Re: [PATCH v2 2/2] spl: Add support for booting from ESP

2024-01-22 Thread Mayuresh Chitale
On Tue, Jan 16, 2024 at 7:09 PM Heinrich Schuchardt wrote: > On 16.01.24 13:36, Mayuresh Chitale wrote: > > Some platforms as described by EBBR specification may store images in > > the FIRMWARE directory of the UEFI system partition(ESP). Add support > > to boot from the

[PATCH v2 2/2] spl: Add support for booting from ESP

2024-01-16 Thread Mayuresh Chitale
Some platforms as described by EBBR specification may store images in the FIRMWARE directory of the UEFI system partition(ESP). Add support to boot from the EFI system partition if it is enabled for a platform. Signed-off-by: Mayuresh Chitale --- common/spl/Kconfig | 8 +++ common/spl

[PATCH v2 1/2] part: Add a function to find ESP partition

2024-01-16 Thread Mayuresh Chitale
If a disk has an EFI system partition (ESP) then it can be used to locate the boot files. Add a function to find the ESP. Signed-off-by: Mayuresh Chitale Reviewed-by: Heinrich Schuchardt --- disk/part.c| 16 include/part.h | 11 +++ 2 files changed, 27 insertions

[PATCH v2 0/2] SPL EBBR - EFI System Partition support

2024-01-16 Thread Mayuresh Chitale
booting from ESP and fall back to the configured parition in case of a failure. Changes in v2: - Rebase on latest next branch - Enable SPL_ESP_BOOT by default - For NVMe boot, remove fallback in case of ESP boot failure Mayuresh Chitale (2): part: Add a function to find ESP partition spl: Add

[PATCH v2] fs: Fix SPL build if FS_LOADER is enabled

2023-11-16 Thread Mayuresh Chitale
' fs/fs.o:(.data.rel.fstypes+0x150): undefined reference to `smh_fs_write' Fix the error by populating the semihosting entry in the fs_types array only for non-SPL builds. Signed-off-by: Mayuresh Chitale --- Changes in v2: - Use CONFIG_IS_ENABLED instead of CONFIG_SPL_BUILD fs/fs.c | 2 +- 1 file

[PATCH v3 1/2] pci: xilinx: Fix "reg" not found error

2023-11-16 Thread Mayuresh Chitale
Fix the driver to use the dev_read_addr_size API to fetch the reg property from the DT. Signed-off-by: Mayuresh Chitale --- drivers/pci/pcie_xilinx.c | 29 - 1 file changed, 12 insertions(+), 17 deletions(-) diff --git a/drivers/pci/pcie_xilinx.c b/drivers/pci

[PATCH v3 2/2] pci: xilinx: Enable MMIO region

2023-11-16 Thread Mayuresh Chitale
The host bridge MMIO region is disabled by default due to which MMIO accesses cause an exception. Fix it by setting the bridge enable bit. This change is ported from the linux pcie-xilinx driver. Signed-off-by: Mayuresh Chitale Reviewed-by: Michal Simek --- drivers/pci/pcie_xilinx.c | 8

[PATCH v3 0/2] Xilinx PCI driver fixes

2023-11-16 Thread Mayuresh Chitale
This series fixes couple issues with the Xilinx PCIe host controller driver. Changes in v3: - Add error checking and improve commit title of patch 1 - Rebase patch 2 on modified patch 1 Mayuresh Chitale (2): pci: xilinx: Fix "reg" not found error pci: xilinx: Enable MMIO region d

[PATCH v2 0/3] Xilinx SPI driver enhancements

2023-11-16 Thread Mayuresh Chitale
This series makes the Xilinx XPS SPI driver compatible with the MMC_SPI driver and also includes an enhacement from the corresponding Linux driver. Changes in v2: - Improve comment and add reviewed-by tag in patch 3 Mayuresh Chitale (3): drivers: xilinx_spi: Use udevice in start_tranfer

[PATCH v2 3/3] drivers: xilinx_spi: Probe fifo_depth at runtime

2023-11-16 Thread Mayuresh Chitale
If the fifo-size DT parameter is not provided then probe the controller's fifo depth at runtime. This is ported from a patch in the Linux Xilinx SPI driver. Signed-off-by: Mayuresh Chitale Reviewed-by: Michal Simek Link: https://lore.kernel.org/r/1422029330-10971-5-git-send-email-ricardo.riba

[PATCH v2 2/3] drivers: xilinx_spi: Add xfer callback

2023-11-16 Thread Mayuresh Chitale
Add the xfer callback which is used by the MMC_SPI driver and generally by the dm_spi_xfer callback. Signed-off-by: Mayuresh Chitale --- drivers/spi/xilinx_spi.c | 13 + 1 file changed, 13 insertions(+) diff --git a/drivers/spi/xilinx_spi.c b/drivers/spi/xilinx_spi.c index

[PATCH v2 1/3] drivers: xilinx_spi: Use udevice in start_tranfer

2023-11-16 Thread Mayuresh Chitale
Modify start_transfer and related functions to take a udevice parameter as input instead of spi_slave. This is needed so that start_transfer can be used directly via the xfer callback. Also fix a compiler warning. Signed-off-by: Mayuresh Chitale --- drivers/spi/xilinx_spi.c | 32

[PATCH v2] net: axi_emac: Use reg property for DMA registers

2023-11-16 Thread Mayuresh Chitale
; property. Signed-off-by: Mayuresh Chitale Reviewed-by: Michal Simek --- Changes in v2: Add Reviewed-by Tag. drivers/net/xilinx_axi_emac.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/net/xilinx_axi_emac.c b/drivers/net/xilinx_axi_emac.c index

[PATCH v2] pci: xilinx: Enable MMIO region

2023-11-11 Thread Mayuresh Chitale
The host bridge MMIO region is disabled by default due to which MMIO accesses cause an exception. Fix it by setting the bridge enable bit. This change is ported from the linux pcie-xilinx driver. Signed-off-by: Mayuresh Chitale Reviewed-by: Michal Simek --- Changes in v2: Add Reviewed

[PATCH v2] net: axi_emac: Use reg property for DMA registers

2023-11-11 Thread Mayuresh Chitale
; property. Signed-off-by: Mayuresh Chitale Reviewed-by: Michal Simek --- Changes in v2: Add Reviewed-by Tag. drivers/net/xilinx_axi_emac.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/net/xilinx_axi_emac.c b/drivers/net/xilinx_axi_emac.c index

[PATCH v2] drivers: pcie_xilinx: Fix "reg" not found error

2023-11-11 Thread Mayuresh Chitale
Fix the driver to use the dev_read_addr_size API to fetch the reg property from the DT. Signed-off-by: Mayuresh Chitale --- Changes in v2: - Remove global_data.h from include - Use devm_ioremap instead of map_phsymem drivers/pci/pcie_xilinx.c | 26 +- 1 file

[PATCH v1 3/3] drivers: xilinx_spi: Probe fifo_depth at runtime

2023-11-11 Thread Mayuresh Chitale
If the fifo-size DT parameter is not provided then probe the controller's fifo depth at runtime. This is ported from a patch in the Linux Xilinx SPI driver. Signed-off-by: Mayuresh Chitale Link: https://lore.kernel.org/r/1422029330-10971-5-git-send-email-ricardo.riba...@gmail.com --- drivers

[PATCH v1 2/3] drivers: xilinx_spi: Add xfer callback

2023-11-11 Thread Mayuresh Chitale
Add the xfer callback which is used by the MMC_SPI driver and generally by the dm_spi_xfer callback. Signed-off-by: Mayuresh Chitale --- drivers/spi/xilinx_spi.c | 13 + 1 file changed, 13 insertions(+) diff --git a/drivers/spi/xilinx_spi.c b/drivers/spi/xilinx_spi.c index

[PATCH v1 1/3] drivers: xilinx_spi: Use udevice in start_tranfer

2023-11-11 Thread Mayuresh Chitale
Modify start_transfer and related functions to take a udevice parameter as input instead of spi_slave. This is needed so that start_transfer can be used directly via the xfer callback. Also fix a compiler warning. Signed-off-by: Mayuresh Chitale --- drivers/spi/xilinx_spi.c | 32

[PATCH v1 0/3] Xilinx SPI driver enhancements

2023-11-11 Thread Mayuresh Chitale
This series makes the Xilinx XPS SPI driver compatible with the MMC_SPI driver and also includes an enhacement from the corresponding Linux driver. Mayuresh Chitale (3): drivers: xilinx_spi: Use udevice in start_tranfer drivers: xilinx_spi: Add xfer callback drivers: xilinx_spi: Probe

[PATCH] pci: xilinx: Enable MMIO region

2023-11-02 Thread Mayuresh Chitale
The host bridge MMIO region is disabled by default due to which MMIO accesses cause an exception. Fix it by setting the bridge enable bit. This change is ported from the linux pcie-xilinx driver. Signed-off-by: Mayuresh Chitale --- drivers/pci/pcie_xilinx.c | 8 1 file changed, 8

[PATCH] net: axi_emac: Use reg property for DMA registers

2023-11-02 Thread Mayuresh Chitale
; property. Signed-off-by: Mayuresh Chitale --- drivers/net/xilinx_axi_emac.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/net/xilinx_axi_emac.c b/drivers/net/xilinx_axi_emac.c index 54f2232768..ef151ee51b 100644 --- a/drivers/net/xilinx_axi_emac.c +++ b/d

[PATCH] drivers: xilinx_spi: Fixes for MMC_SPI

2023-11-02 Thread Mayuresh Chitale
Add the xfer callback which is used by the MMC_SPI driver and generally by the dm_spi_xfer callback. Also probe the fifo_depth during init as is done in the linux spi-xilinx driver and fix a compiler warning while at it. Signed-off-by: Mayuresh Chitale --- drivers/spi/xilinx_spi.c | 70

[PATCH] drivers: pcie_xilinx: Fix "reg" not found error

2023-11-02 Thread Mayuresh Chitale
Fix the driver to use the dev_read_addr_size API to fetch the reg property from the DT. Signed-off-by: Mayuresh Chitale --- drivers/pci/pcie_xilinx.c | 22 -- 1 file changed, 8 insertions(+), 14 deletions(-) diff --git a/drivers/pci/pcie_xilinx.c b/drivers/pci/pcie_xilinx.c

[PATCH] riscv: binman: Fix compilation error

2023-10-11 Thread Mayuresh Chitale
. Signed-off-by: Mayuresh Chitale --- arch/riscv/dts/binman.dtsi | 14 ++ 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/arch/riscv/dts/binman.dtsi b/arch/riscv/dts/binman.dtsi index 156cb00971..b448b2a712 100644 --- a/arch/riscv/dts/binman.dtsi +++ b/arch/riscv/dts

[PATCH v1] fs: Fix SPL build if FS_LOADER is enabled

2023-09-14 Thread Mayuresh Chitale
' fs/fs.o:(.data.rel.fstypes+0x150): undefined reference to `smh_fs_write' Fix the error by populating the semihosting entry in the fs_types array only for non-SPL builds. Reviewed-by: Heinrich Schuchardt Signed-off-by: Mayuresh Chitale --- fs/fs.c | 2 ++ 1 file changed, 2 insertions(+) diff

[PATCH v1 2/2] spl: Add support for booting from ESP

2023-09-14 Thread Mayuresh Chitale
Some platforms as described by EBBR specification may store images in the FIRMWARE directory of the UEFI system partition(ESP). Add support to boot from the EFI system partition if it is enabled for a platform. Signed-off-by: Mayuresh Chitale --- common/spl/Kconfig | 7 + common/spl

[PATCH v1 1/2] part: Add a function to find ESP partition

2023-09-14 Thread Mayuresh Chitale
If a disk has an EFI system partition (ESP) then it can be used to locate the boot files. Add a function to find the ESP. Signed-off-by: Mayuresh Chitale Reviewed-by: Heinrich Schuchardt --- disk/part.c| 16 include/part.h | 10 ++ 2 files changed, 26 insertions

[PATCH v1 0/2] SPL EBBR - EFI System Partition support

2023-09-14 Thread Mayuresh Chitale
/854ba0e68590102667b84a5ba4e0b076a3f5f2cb/source/chapter4-firmware-media.rst The patches are also present in the branch below: https://github.com/mdchitale/u-boot/tree/mchitale_spl_ebbr_v1 Mayuresh Chitale (2): part: Add a function to find ESP partition spl: Add support for booting from ESP common/spl/Kconfig | 7

[PATCH v4 4/4] common: spl: Add spl NVMe boot support

2023-06-03 Thread Mayuresh Chitale
Add support to load the next stage image from an NVMe disk which may be formatted as an EXT or FAT filesystem. Also protect the call to env_get in blk_get_device_part_str with CONFIG_SPL_ENV_SUPPORT macro to avoid link error when SPL_ENV_SUPPORT is not enabled. Signed-off-by: Mayuresh Chitale

[PATCH v4 3/4] nvme: pci: Enable for SPL

2023-06-03 Thread Mayuresh Chitale
Enable NVME and PCI NVMe drivers for SPL builds. Also enable PCI_PNP for SPL which is required to auto configure the PCIe devices. Signed-off-by: Mayuresh Chitale --- drivers/Makefile | 1 + drivers/nvme/Makefile | 2 +- drivers/pci/Kconfig | 6 ++ 3 files changed, 8 insertions(+), 1

[PATCH v4 2/4] spl: blk: Support loading images from fs

2023-06-03 Thread Mayuresh Chitale
Add a generic API to support loading of SPL payload from any supported filesystem on a given partition of a block device. Signed-off-by: Mayuresh Chitale --- common/spl/Kconfig | 1 + common/spl/Makefile | 1 + common/spl/spl_blk_fs.c | 134

[PATCH v4 1/4] spl: Add Kconfig options for NVME

2023-06-03 Thread Mayuresh Chitale
Add kconfig options to enable NVME and PCI NVMe support in SPL Signed-off-by: Mayuresh Chitale Reviewed-by: Simon Glass --- common/spl/Kconfig | 26 ++ 1 file changed, 26 insertions(+) diff --git a/common/spl/Kconfig b/common/spl/Kconfig index 2c042ad306..94b13f7a7f

[PATCH v4 0/4] SPL NVMe support

2023-06-03 Thread Mayuresh Chitale
in v2: - Rebase on v2023.07-rc1 - Use uclass ID for blk APIs - Add support to load FIT images from ext filesystem Mayuresh Chitale (5): spl: Add Kconfig options for NVME spl: blk: Support loading images from fs nvme: pci: Enable for SPL spl: Support loading a FIT from ext FS common: spl

Re: [PATCH v3 4/5] spl: Support loading a FIT from ext FS

2023-06-03 Thread Mayuresh Chitale
On Wed, May 17, 2023 at 8:11 PM Tom Rini wrote: > > On Thu, May 04, 2023 at 03:23:26PM +0530, Mayuresh Chitale wrote: > > > Detect a FIT when loading from an ext File system and handle it using > > the FIT SPL support. > > > > Signed-off-by: Mayuresh Chitale

Re: [PATCH v3 4/5] spl: Support loading a FIT from ext FS

2023-06-03 Thread Mayuresh Chitale
On Fri, May 5, 2023 at 6:11 AM Simon Glass wrote: > > Hi Mayuresh, > > On Thu, 4 May 2023 at 03:53, Mayuresh Chitale > wrote: > > > > Detect a FIT when loading from an ext File system and handle it using > > the FIT SPL support. > > > > Signed-off-

Re: [PATCH v3 3/5] nvme: pci: Enable for SPL

2023-06-03 Thread Mayuresh Chitale
On Fri, May 5, 2023 at 6:11 AM Simon Glass wrote: > > On Thu, 4 May 2023 at 03:53, Mayuresh Chitale > wrote: > > > > Enable NVME and PCI NVMe drivers for SPL builds. Also enable PCI_PNP > > for SPL which is required to auto configure the PCIe devices. > > &g

Re: [PATCH v3 2/5] spl: blk: Support loading images from fs

2023-06-03 Thread Mayuresh Chitale
Hi Simon, On Fri, May 5, 2023 at 6:11 AM Simon Glass wrote: > > Hi Mayuresh, > > On Thu, 4 May 2023 at 03:53, Mayuresh Chitale > wrote: > > > > Add a generic API to support loading of SPL payload from EXT or FAT > > filesystem on a given partition of a

Re: [PATCH] pci: ecm generic: use dev_read_() interface

2023-05-08 Thread Mayuresh Chitale
On Thu, May 4, 2023 at 2:04 AM Tom Rini wrote: > > On Sat, Feb 18, 2023 at 05:55:25PM +0530, Mayuresh Chitale wrote: > > > Use dev_read_() api instead of the fdtdec API to fetch the host > > controller's reg property value. This is similar to the other host > > contro

[PATCH v3 5/5] common: spl: Add spl NVMe boot support

2023-05-04 Thread Mayuresh Chitale
Add support to load the next stage image from an NVMe disk which may be formatted as an EXT or FAT filesystem. Signed-off-by: Mayuresh Chitale --- arch/riscv/include/asm/spl.h | 1 + common/spl/Kconfig | 10 ++ common/spl/Makefile | 1 + common/spl/spl_nvme.c

[PATCH v3 4/5] spl: Support loading a FIT from ext FS

2023-05-04 Thread Mayuresh Chitale
Detect a FIT when loading from an ext File system and handle it using the FIT SPL support. Signed-off-by: Mayuresh Chitale --- common/spl/spl_ext.c | 33 + 1 file changed, 33 insertions(+) diff --git a/common/spl/spl_ext.c b/common/spl/spl_ext.c index f117c630bf

[PATCH v3 3/5] nvme: pci: Enable for SPL

2023-05-04 Thread Mayuresh Chitale
Enable NVME and PCI NVMe drivers for SPL builds. Also enable PCI_PNP for SPL which is required to auto configure the PCIe devices. Signed-off-by: Mayuresh Chitale --- drivers/Makefile | 1 + drivers/nvme/Makefile | 2 +- drivers/pci/Kconfig | 7 +++ 3 files changed, 9 insertions

[PATCH v3 2/5] spl: blk: Support loading images from fs

2023-05-04 Thread Mayuresh Chitale
Add a generic API to support loading of SPL payload from EXT or FAT filesystem on a given partition of a block device. Signed-off-by: Mayuresh Chitale --- common/spl/Makefile | 1 + common/spl/spl_blk_fs.c | 54 + drivers/block/Kconfig | 7

[PATCH v3 1/5] spl: Add Kconfig options for NVME

2023-05-04 Thread Mayuresh Chitale
Add kconfig options to enable NVME and PCI NVMe support in SPL Signed-off-by: Mayuresh Chitale --- common/spl/Kconfig | 21 + 1 file changed, 21 insertions(+) diff --git a/common/spl/Kconfig b/common/spl/Kconfig index 2c042ad306..515e8f2c66 100644 --- a/common/spl/Kconfig

[PATCH v3 0/5] SPL NVMe support

2023-05-04 Thread Mayuresh Chitale
support to load FIT images from ext filesystem Mayuresh Chitale (5): spl: Add Kconfig options for NVME spl: blk: Support loading images from fs nvme: pci: Enable for SPL spl: Support loading a FIT from ext FS common: spl: Add spl NVMe boot support arch/riscv/include/asm/spl.h | 1 + common

Re: [PATCH v2 4/4] common: spl: Add spl NVMe boot support

2023-05-04 Thread Mayuresh Chitale
Hi Simon, On Wed, May 3, 2023 at 6:58 AM Simon Glass wrote: > > Hi Mayuresh, > > On Tue, 2 May 2023 at 10:19, Mayuresh Chitale > wrote: > > > > Add support to load the next stage image from an NVMe disk which may > > be formatted as an EXT or FAT filesystem

Re: [PATCH v2 2/4] nvme: pci: Enable for SPL

2023-05-04 Thread Mayuresh Chitale
Hi Simon, On Wed, May 3, 2023 at 6:58 AM Simon Glass wrote: > > Hi Mayuresh, > > On Tue, 2 May 2023 at 10:19, Mayuresh Chitale > wrote: > > > > Enable NVME and PCI NVMe drivers for SPL builds. Also enable PCI_PNP > > for SPL which is required to auto configure

[PATCH v2 4/4] common: spl: Add spl NVMe boot support

2023-05-02 Thread Mayuresh Chitale
Add support to load the next stage image from an NVMe disk which may be formatted as an EXT or FAT filesystem. Signed-off-by: Mayuresh Chitale --- arch/riscv/include/asm/spl.h | 1 + common/spl/Kconfig | 10 +++ common/spl/Makefile | 1 + common/spl/spl_nvme.c

[PATCH v2 3/4] spl: Support loading a FIT from ext FS

2023-05-02 Thread Mayuresh Chitale
Detect a FIT when loading from an ext File system and handle it using the FIT SPL support. Signed-off-by: Mayuresh Chitale --- common/spl/spl_ext.c | 33 + 1 file changed, 33 insertions(+) diff --git a/common/spl/spl_ext.c b/common/spl/spl_ext.c index 2bf3434439

[PATCH v2 2/4] nvme: pci: Enable for SPL

2023-05-02 Thread Mayuresh Chitale
Enable NVME and PCI NVMe drivers for SPL builds. Also enable PCI_PNP for SPL which is required to auto configure the PCIe devices. Signed-off-by: Mayuresh Chitale --- drivers/Makefile | 1 + drivers/nvme/Makefile| 2 +- drivers/pci/Kconfig | 7 +++ drivers/pci/pci-uclass.c

[PATCH v2 1/4] spl: Add Kconfig options for NVME

2023-05-02 Thread Mayuresh Chitale
Add kconfig options to enable NVME and PCI NVMe support in SPL Signed-off-by: Mayuresh Chitale Reviewed-by: Simon Glass --- common/spl/Kconfig | 20 1 file changed, 20 insertions(+) diff --git a/common/spl/Kconfig b/common/spl/Kconfig index 2c042ad306..a42774c76d 100644

[PATCH v2 0/4] SPL NVme support

2023-05-02 Thread Mayuresh Chitale
This patchset adds support to load images of the SPL's next booting stage from a NVMe device. Changes in v2: - Rebase on v2023.07-rc1 - Use uclass ID for blk APIs - Add support to load FIT images from ext filesystem Mayuresh Chitale (4): spl: Add Kconfig options for NVME nvme: pci: Enable

[PATCH] spl: ext: Use partition size for mount

2023-05-02 Thread Mayuresh Chitale
Since commit 9905cae65e03 ("fs: ext4: check the minimal partition size to mount"), a valid size needs to be provided when mounting an ext filesystem. Fix the spl ext driver to use the parition size instead of 0 when mounting the filesystem. Signed-off-by: Mayuresh Chitale ---

[PATCH] pci: ecm generic: use dev_read_() interface

2023-02-18 Thread Mayuresh Chitale
is described in the link below: Link: https://source.denx.de/u-boot/custodians/u-boot-dm/-/issues/1 Signed-off-by: Mayuresh Chitale --- drivers/pci/pcie_ecam_generic.c | 21 - 1 file changed, 8 insertions(+), 13 deletions(-) diff --git a/drivers/pci/pcie_ecam_generic.c b/drivers

Re: [RFC PATCH v1 2/3] nvme: pci: Enable for SPL

2022-09-30 Thread Mayuresh Chitale
Hi Simon, On Fri, Sep 30, 2022 at 5:26 AM Simon Glass wrote: > Hi Mayuresh, > > On Thu, 29 Sept 2022 at 03:57, Mayuresh Chitale > wrote: > > > > Build PCI NVMe driver when enabled for SPI and enable dm-pre-reloc for > > the driver. Also enable PCI_PNP for

[RFC PATCH v1 3/3] common: spl: Add spl NVMe boot support

2022-09-29 Thread Mayuresh Chitale
Add spl_nvme to read a fat partition from a bootable NVMe device. Signed-off-by: Mayuresh Chitale --- arch/riscv/include/asm/spl.h | 1 + common/spl/Makefile | 1 + common/spl/spl_nvme.c| 44 3 files changed, 46 insertions(+) create mode

[RFC PATCH v1 2/3] nvme: pci: Enable for SPL

2022-09-29 Thread Mayuresh Chitale
Build PCI NVMe driver when enabled for SPI and enable dm-pre-reloc for the driver. Also enable PCI_PNP for SPL which is required to auto configure the PCIe devices. Signed-off-by: Mayuresh Chitale --- drivers/Makefile | 2 +- drivers/nvme/Makefile| 2 +- drivers/nvme/nvme_pci.c | 1

[RFC PATCH v1 1/3] spl: Add Kconfig options for NVME

2022-09-29 Thread Mayuresh Chitale
This patch adds options to enable PCI NVMe support in SPL Signed-off-by: Mayuresh Chitale --- common/spl/Kconfig | 25 + 1 file changed, 25 insertions(+) diff --git a/common/spl/Kconfig b/common/spl/Kconfig index 70d97815f0..2bc97421f9 100644 --- a/common/spl/Kconfig

[RFC PATCH v1 0/3] SPL NVMe support

2022-09-29 Thread Mayuresh Chitale
This patchset adds support to load images of the SPL's next booting stage from a NVMe device. Mayuresh Chitale (3): spl: Add Kconfig options for NVME nvme: pci: Enable for SPL common: spl: Add spl NVMe boot support arch/riscv/include/asm/spl.h | 1 + common/spl/Kconfig | 25