Re: [PATCH v3] cmd: sf/nand: Print and return failure when 0 length is passed

2023-06-02 Thread Jagan Teki
On Fri, Jun 2, 2023 at 12:03 PM Marek Vasut wrote: > > On 6/2/23 08:28, Jagan Teki wrote: > > On Tue, May 30, 2023 at 7:07 PM Marek Vasut wrote: > >> > >> On 5/30/23 14:23, Michal Simek wrote: > >>> > >>> > >>> On 5/16/23 13:52, Ashok Reddy Soma wrote: > For sf commands, when '0' length is

Re: [PATCH 1/1] Makefile: clean lib/efi_loader/helloworld_efi.S

2023-06-02 Thread Simon Glass
On Fri, 2 Jun 2023 at 14:23, Heinrich Schuchardt wrote: > > lib/efi_loader/helloworld_efi.S is a generated file and shall be removed by > 'make clean'. > > Signed-off-by: Heinrich Schuchardt > --- > Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Simon Glass

Re: The latest U-boot reports an error when running on StarFive visionfive2 1.3B board

2023-06-02 Thread Simon Glass
Hi, On Thu, 1 Jun 2023 at 19:16, yanhong wang wrote: > > > > On 2023/5/31 2:11, Simon Glass wrote: > > Hi Yanhong, > > > > Please can you send this to the mailing list and cc me? > > > > Regards, > > Simon > > > > On Tue, 16 May 2023 at 20:48, yanhong wang > > wrote: > >> > >> Hi Simon Glass, >

Re: [PATCH v4 1/7] dt-bindings: clock: Add StarFive JH7110 PLL clock generator

2023-06-02 Thread Xingyu Wu
On 2023/5/26 20:23, Conor Dooley wrote: > On Fri, May 26, 2023 at 09:34:32AM +0200, Torsten Duwe wrote: >> On Wed, 24 May 2023 11:19:48 +0100 >> Conor Dooley wrote: >> >> > On Wed, May 24, 2023 at 05:00:02PM +0800, Xingyu Wu wrote: >> > > On 2023/5/23 19:28, Conor Dooley wrote: >> > > > On Tue,

RE: [PATCH v1 0/3] Add pcf2131 rtc support

2023-06-02 Thread Joy Zou
> -Original Message- > From: Peng Fan (OSS) > Sent: 2023年5月31日 9:38 > To: Joy Zou ; Peng Fan ; Ye Li > ; sba...@denx.de; feste...@gmail.com; s...@chromium.org; > sap...@gmail.com; judge.pack...@gmail.com > Cc: dl-uboot-imx ; u-boot@lists.denx.de > Subject: Re: [PATCH v1 0/3] Add pcf2131

RE: [PATCH v1 2/3] imx: imx93_evk: add rtc pcf2131

2023-06-02 Thread Joy Zou
> -Original Message- > From: Peng Fan (OSS) > Sent: 2023年5月31日 9:37 > To: Joy Zou ; Peng Fan ; Ye Li > ; sba...@denx.de; feste...@gmail.com; s...@chromium.org; > sap...@gmail.com; judge.pack...@gmail.com > Cc: dl-uboot-imx ; u-boot@lists.denx.de > Subject: Re: [PATCH v1 2/3] imx:

RE: [PATCH v1 3/3] drivers: rtc: add pcf2131 rtc driver

2023-06-02 Thread Joy Zou
> -Original Message- > From: Peng Fan (OSS) > Sent: 2023年5月31日 9:35 > To: Joy Zou ; Peng Fan ; Ye Li > ; sba...@denx.de; feste...@gmail.com; s...@chromium.org; > sap...@gmail.com; judge.pack...@gmail.com > Cc: dl-uboot-imx ; u-boot@lists.denx.de > Subject: Re: [PATCH v1 3/3] drivers:

[PATCH v2 3/3] configs: Enable RTC pcf2131 support

2023-06-02 Thread Joy Zou
Enable CONFIG_RTC_PCF2131 configs to support pcf2131. Disable CONFIG_RTC_EMULATION configs. The default rtc0 change into pcf2131. Signed-off-by: Joy Zou --- configs/imx93_11x11_evk_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/imx93_11x11_evk_defconfig

[PATCH v2 2/3] imx: imx93_evk: add rtc pcf2131

2023-06-02 Thread Joy Zou
support rtc pcf2131 for imx93. Signed-off-by: Joy Zou --- Changes in v1: 1. use the flag bootph-pre-ram instead of uboot,dm-spl. --- arch/arm/dts/imx93-11x11-evk-u-boot.dtsi | 8 arch/arm/dts/imx93-11x11-evk.dts | 25 arch/arm/dts/imx93.dtsi

[PATCH v2 1/3] drivers: rtc: add pcf2131 rtc driver

2023-06-02 Thread Joy Zou
Adding support for pcf2131 RTC chip. The pcf2131 is similar to the pcf2127. The driver support rtc register read/write by using rtc cmd and rtc date set/get by using date cmd. Signed-off-by: Joy Zou --- Changes in v1: 1. delete the unnecessary initialization in v2. 2. retrun directly function

[PATCH v2 0/3] Add pcf2131 rtc support

2023-06-02 Thread Joy Zou
The patchset supports pcf2131 rtc. For the details, please check the patch commit log. Joy Zou (3): drivers: rtc: add pcf2131 rtc driver imx: imx93_evk: add rtc pcf2131 configs: Enable RTC pcf2131 support arch/arm/dts/imx93-11x11-evk-u-boot.dtsi | 8 + arch/arm/dts/imx93-11x11-evk.dts

[PATCH 3/3] usb: musb-new: sunxi: make compatible with UDC/DM gadget model

2023-06-02 Thread Sam Edwards
Since many sunxi boards do not implement a `board_usb_init`, it's better if we just make the sunxi USB driver compatible with the DM gadget model, as many other musb-new variants already are. This change has been verified working on a T113s. Signed-off-by: Sam Edwards ---

[PATCH 1/3] usb: musb-new: sunxi: do not attempt to access NULL SRAMC

2023-06-02 Thread Sam Edwards
I believe that some sunxis (ncat2?) lack a SRAMC block, as accessing this region results in a data abort. Checking that it's non-null before accessing it allows this to be set to NULL for SoCs where it's not present. Signed-off-by: Sam Edwards --- drivers/usb/musb-new/sunxi.c | 16

[PATCH 2/3] usb: musb-new: sunxi: fix error check

2023-06-02 Thread Sam Edwards
The `musb_register` function returns some ERR_PTR(...) on failure, not NULL, so update the check here appropriately. Signed-off-by: Sam Edwards --- drivers/usb/musb-new/sunxi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/musb-new/sunxi.c

[PATCH 0/3] Allwinner sunxi USB gadget improvements

2023-06-02 Thread Sam Edwards
Hi list, This patchset improves the musb-new variant used in sunxi for DM support and contains a couple of small fixes. Nothing too exciting here. A note for Andre (as I suspect you'll be the one reviewing this): Could you update your R528/T113s series with: cpu_sunxi_ncat2.h: +#define

Re: [RFC PATCH 4/4] sunxi: psci: implement PSCI on R528

2023-06-02 Thread Maksim Kiselev
Hi, Sam, Thank you for this series! I tested it on my T113s board and got the second core worked. Here is some kernel log: [    0.00] psci: probing for conduit method from DT. [    0.00] psci: Using PSCI v0.1 Function IDs from DT [    0.12] CPU: Testing write buffer coherency: ok [ 

[PATCH 1/1] Makefile: clean lib/efi_loader/helloworld_efi.S

2023-06-02 Thread Heinrich Schuchardt
lib/efi_loader/helloworld_efi.S is a generated file and shall be removed by 'make clean'. Signed-off-by: Heinrich Schuchardt --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 10bfaa52ad..d8b5fb13b8 100644 --- a/Makefile +++ b/Makefile @@

Re: Pull request efi-2023-07-rc4

2023-06-02 Thread Tom Rini
On Fri, Jun 02, 2023 at 12:16:40PM +0200, Heinrich Schuchardt wrote: > Dear Tom, > > The following changes since commit cb4437e530ec1ff3deae85754010344afab8bcc5: > > Merge branch '2023-05-30-TI-fixes-Apple-M2-support' (2023-05-30 > 16:23:41 -0400) > > are available in the Git repository at:

Re: [PATCH v2 0/9] spi: bcm63xx-hsspi: driver and doc updates

2023-06-02 Thread William Zhang
Hi Jagan, On 06/01/2023 11:01 PM, Jagan Teki wrote: On Wed, May 3, 2023 at 12:29 AM William Zhang wrote: This patch series is the u-boot port from the recently accepted kernel Broadcom HSSPI driver patch series here [1]. It includes the accumulative updates and fixes for the driver from

Re: [PATCH v2 8/9] spi: bcmbca-hsspi: Add driver for newer HSSPI controller

2023-06-02 Thread William Zhang
Hi Jagan, On 06/01/2023 10:54 PM, Jagan Teki wrote: On Wed, May 3, 2023 at 12:29 AM William Zhang wrote: The newer BCMBCA SoCs such as BCM6756, BCM4912 and BCM6855 include an updated SPI controller that add the capability to allow the driver to control chip select explicitly. Driver can

[RFC] riscv: JH7110: move pll clocks to their own device node (Was: The latest U-boot...) visionfive2 1.3B board

2023-06-02 Thread Torsten Duwe
> On 2023/5/31 2:11, Simon Glass wrote: > > Hi Yanhong, > > > > Please can you send this to the mailing list and cc me? > > Yes, that would have prevented some grief. [...] > >> DRAM: 8 GiB > >> initcall sequence fffe08b0 failed at call 4021611e > >> (err=-19) > >> ### ERROR

Re: [PATCH 1/1] fs: fix smh_fs_read_at()

2023-06-02 Thread Sean Anderson
On 6/2/23 12:54, Heinrich Schuchardt wrote: > On 6/2/23 18:43, Sean Anderson wrote: >> On 6/2/23 12:21, Heinrich Schuchardt wrote: >>> On 6/2/23 17:56, Sean Anderson wrote: On 6/2/23 04:48, Heinrich Schuchardt wrote: > > > On 5/18/23 17:17, Sean Anderson wrote: >> On 5/17/23

Re: [PATCH 1/1] fs: fix smh_fs_read_at()

2023-06-02 Thread Heinrich Schuchardt
On 6/2/23 18:43, Sean Anderson wrote: On 6/2/23 12:21, Heinrich Schuchardt wrote: On 6/2/23 17:56, Sean Anderson wrote: On 6/2/23 04:48, Heinrich Schuchardt wrote: On 5/18/23 17:17, Sean Anderson wrote: On 5/17/23 06:23, Heinrich Schuchardt wrote: The return value of smh_flen() is written

Re: [PATCH 1/1] fs: fix smh_fs_read_at()

2023-06-02 Thread Sean Anderson
On 6/2/23 12:21, Heinrich Schuchardt wrote: > On 6/2/23 17:56, Sean Anderson wrote: >> On 6/2/23 04:48, Heinrich Schuchardt wrote: >>> >>> >>> On 5/18/23 17:17, Sean Anderson wrote: On 5/17/23 06:23, Heinrich Schuchardt wrote: > The return value of smh_flen() is written to size and not to

Re: [PATCH 1/1] fs: fix smh_fs_read_at()

2023-06-02 Thread Heinrich Schuchardt
On 6/2/23 17:56, Sean Anderson wrote: On 6/2/23 04:48, Heinrich Schuchardt wrote: On 5/18/23 17:17, Sean Anderson wrote: On 5/17/23 06:23, Heinrich Schuchardt wrote: The return value of smh_flen() is written to size and not to ret. But ret is checked. We can avoid calling smh_flen() by

Re: [PATCH 1/1] fs: fix smh_fs_read_at()

2023-06-02 Thread Sean Anderson
On 6/2/23 04:48, Heinrich Schuchardt wrote: > > > On 5/18/23 17:17, Sean Anderson wrote: >> On 5/17/23 06:23, Heinrich Schuchardt wrote: >>> The return value of smh_flen() is written to size and not to ret. But ret >>> is checked. We can avoid calling smh_flen() by setting maxsize to LONG_MAX

Re: [EXTERNAL] Re: [PATCH 0/8] Updats SPL splashscreen framework for AM62x

2023-06-02 Thread Tom Rini
On Fri, Jun 02, 2023 at 11:49:49AM +0530, Nikhil M Jain wrote: > Hi Tom, > > On 02/06/23 10:09, Nikhil M Jain wrote: > > Hi Tom, > > > > On 01/06/23 22:10, Tom Rini wrote: > > > On Thu, May 11, 2023 at 03:29:50PM +0530, Nikhil M Jain wrote: > > > > > > > This patch series aims at updating SPL

Re: [PATCH 1/8] common: spl: spl: Update stack pointer address

2023-06-02 Thread Tom Rini
On Fri, May 12, 2023 at 01:39:29PM +0530, Devarsh Thakkar wrote: > Hi Nikhil, Vignesh, Tom, > > Nikhil, > Thanks for the patch. > > On 11/05/23 15:29, Nikhil M Jain wrote: > > I think more apt subject would be "Update stack pointer after relocation" > > At SPL stage when stack is relocated, the

Re: [PATCH v2] dfu: mtd: mark bad the MTD block on erase error

2023-06-02 Thread Michael Nazzareno Trimarchi
Hi On Fri, Jun 2, 2023 at 3:23 PM Patrick Delaunay wrote: > > In the MTD DFU backend, it is needed to mark the NAND block bad when the > erase failed with the -EIO error, as it is done in UBI and JFFS2 code. > > This operation is not done in the MTD framework, but the bad block > tag (in BBM or

[PATCH 7/7] configs: rockchip: Enable USB2PHY for RK3328 boards

2023-06-02 Thread Jagan Teki
Enable USB2PHY for all RK3328 boards. Cc: Tianling Shen Cc: David Bauer Cc: Loic Devulder Cc: Chen-Yu Tsai Cc: Banglang Huang Cc: Matwey V. Kornilov Signed-off-by: Jagan Teki --- configs/evb-rk3328_defconfig| 1 + configs/nanopi-r2c-rk3328_defconfig | 1 +

[PATCH 6/7] clk: rockchip: rk3328: Return zero for USB480M clocks

2023-06-02 Thread Jagan Teki
RK3328 u2phy has assigned-clock-rates on USB480M, return zero for them since the default rates will work fine. Cc: Lukasz Majewski Cc: Sean Anderson Signed-off-by: Jagan Teki --- drivers/clk/rockchip/clk_rk3328.c | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH 5/7] phy: rockchip-inno-usb2: Add USB2 PHY for RK3328

2023-06-02 Thread Jagan Teki
USB2.0 Host and OTG controllers in RK3328 are using USB2PHY. Add support for it. Signed-off-by: Jagan Teki --- drivers/phy/rockchip/phy-rockchip-inno-usb2.c | 33 +++ 1 file changed, 33 insertions(+) diff --git a/drivers/phy/rockchip/phy-rockchip-inno-usb2.c

[PATCH 4/7] configs: Enable DWC3 USB 3.0 on RK3328 boards

2023-06-02 Thread Jagan Teki
Enable USB 3.0 in all RK3328 boards. => usb start starting USB... Bus usb@ff5c: ehci_generic usb@ff5c: Failed to get clocks (ret=-19) Port not available. Bus usb@ff5d: USB OHCI 1.0 Bus usb@ff60: Register 2000140 NbrPorts 2 Starting the controller USB XHCI 1.10 Bus usb@ff58: 1

[PATCH 3/7] usb: dwc3-generic: Restrict single ctrl node for RK3328

2023-06-02 Thread Jagan Teki
Like Rockchip RK3568, the RK3328 also have single node to represent the glue and ctrl for USB 3.0. So, use the driver data to use single ctrl for RK3328 DWC3. Cc: Marek Vasut Signed-off-by: Jagan Teki --- Note: It has dependency with

[PATCH 2/7] configs: Drop unused XHCI_DWC3 for RK3328 boards

2023-06-02 Thread Jagan Teki
Driver support for rk3328 is not supported so drop this unused XHCI_DWC3. Cc: Tianling Shen Cc: David Bauer Cc: Loic Devulder Cc: Chen-Yu Tsai Cc: Banglang Huang Cc: Matwey V. Kornilov Signed-off-by: Jagan Teki --- configs/evb-rk3328_defconfig| 1 -

[PATCH 1/7] arm64: dts: rockchip: Drop unused rk3328-xhci node

2023-06-02 Thread Jagan Teki
rk3328-xhci has been added due to the fact that the upstream dwc3 is unsupported. Moreover, the driver for rk3328-xhci is not added to the code tree. By considering these facts and unsupported rk3328-xhci this patch is dropping all related code from DT. However, the DWC3 is fixed now in

[PATCH 0/7] rockchip: Fix RK3328 USB support

2023-06-02 Thread Jagan Teki
This series support fixes for RK3328 USB. It has few dependencies and nits. 1. dependencies https://patchwork.ozlabs.org/project/uboot/patch/20230530102617.3413183-5-jo...@kwiboo.se/ https://patchwork.ozlabs.org/project/uboot/patch/Y5IWpjYLB4aXMy9o@localhost/ 2. USB2PHY still working on

Re: [PATCH v1 2/6] net: mv88e61xx: Configure PHY ports to also pass packets between them

2023-06-02 Thread Lukasz Majewski
Hi Vladimir, > Hi Lukasz, > > On Thu, Jun 01, 2023 at 01:44:30PM +0200, Marek Vasut wrote: > > I think after two years, it would be good to drop the RB tags and > > do another round of reviews. > > To expand on Marek's point. > > In those past 2 years, Tim Harvey has put in a considerable

Re: [PATCH v2] PCI: zynqmp: Add ZynqMP NWL PCIe root port driver

2023-06-02 Thread Michal Simek
Hi Pali, On 5/25/23 11:49, Stefan Roese wrote: This patch adds the PCIe controller driver for the Xilinx / AMD ZynqMP NWL PCIe Bridge as root port. The driver source is partly copied from the Linux PCI driver and modified to enable usage in U-Boot (e.g. simplified and interrupt support

Re: [PATCH v5 1/5] firmware: zynqmp: Remove extraordinary return value

2023-06-02 Thread Michal Simek
On 5/23/23 14:42, Stefan Herbrechtsmeier wrote: From: Stefan Herbrechtsmeier Return a common -EACCES error value instead of a positive private error value XST_PM_NO_ACCESS (2002) in zynqmp_pmufw_load_config_object function if the config object is not loadable to simplify the error checking.

[PATCH v2] dfu: mtd: mark bad the MTD block on erase error

2023-06-02 Thread Patrick Delaunay
In the MTD DFU backend, it is needed to mark the NAND block bad when the erase failed with the -EIO error, as it is done in UBI and JFFS2 code. This operation is not done in the MTD framework, but the bad block tag (in BBM or in BBT) is required to avoid to write data on this block in the next

Re: [PATCH] ARM: dts: stm32: fix display pinmux for stm32f746-disco

2023-06-02 Thread Dario Binacchi
On Thu, Jun 1, 2023 at 7:11 PM Tom Rini wrote: > > On Thu, Jun 01, 2023 at 07:06:02PM +0200, Dario Binacchi wrote: > > As reported by the datasheet (DocID027590 Rev 4) for PG12: > > - AF9 -> LCD_B4 > > - AF14 -> LCD_B1 > > > > So replace AF14 with AF9 for PG12 in the dts. > > > > Fixes:

Pull request efi-2023-07-rc4

2023-06-02 Thread Heinrich Schuchardt
Dear Tom, The following changes since commit cb4437e530ec1ff3deae85754010344afab8bcc5: Merge branch '2023-05-30-TI-fixes-Apple-M2-support' (2023-05-30 16:23:41 -0400) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-efi.git tags/efi-2023-07-rc4 for

Re: [SPAM] Re: [PATCH v5 0/2] arm: dts: rockchip: rk3399: usb: ehci: Fix EHCI probe in rk3399 to access peripherals by USB 2.

2023-06-02 Thread Jagan Teki
On Fri, Jun 2, 2023 at 2:54 PM Xavier Drudis Ferran wrote: > > El Fri, Jun 02, 2023 at 12:11:13PM +0530, Jagan Teki deia: > > > > Any news about the next revision of this patch? RK3399 has broken > > since release due to this issue. This fix might make upcoming release > > workable. > > > >

Running u-boot and linux on qemu arm64 virt machine, linux shell does not respond..

2023-06-02 Thread Chan Kim
Hello all, I'm trying to run u-boot and linux on qemu arm64 virt machine preferably without changing any source code. (u-boot v2022.07, linux 5.15.68, qemu 6.2.0, busybox 1.32.1) I have built u-boot using qemu_arm64_defconfig and I got u-boot(elf) and u-boot.bin. I built linux using

Re: [SPAM] Re: [PATCH v5 0/2] arm: dts: rockchip: rk3399: usb: ehci: Fix EHCI probe in rk3399 to access peripherals by USB 2.

2023-06-02 Thread Xavier Drudis Ferran
El Fri, Jun 02, 2023 at 12:11:13PM +0530, Jagan Teki deia: > > Any news about the next revision of this patch? RK3399 has broken > since release due to this issue. This fix might make upcoming release > workable. > > Please let us know. > Sorry, I'm not sure you meant to send this to me ? For

Re: [PATCH 1/1] fs: fix smh_fs_read_at()

2023-06-02 Thread Heinrich Schuchardt
On 5/18/23 17:17, Sean Anderson wrote: On 5/17/23 06:23, Heinrich Schuchardt wrote: The return value of smh_flen() is written to size and not to ret. But ret is checked. We can avoid calling smh_flen() by setting maxsize to LONG_MAX if it is not set yet. Check input parameters. Fixes:

Re: [PATCH 2/2] test/py: replace 'tpm2 init, startup, selftest' sequences

2023-06-02 Thread Ilias Apalodimas
On Fri, 2 Jun 2023 at 00:51, Simon Glass wrote: > > On Thu, 1 Jun 2023 at 00:21, Ilias Apalodimas > wrote: > > > > Instead of copy pasting the commands needed to start a TPM consisting > > of: > > - tpm init > > - tpm startup TPM2_SU_CLEAR > > - tpm2 self_test full > > use the newly added

Re: [PATCH 1/2] tpm: Add 'tpm autostart' shell command

2023-06-02 Thread Ilias Apalodimas
On Fri, 2 Jun 2023 at 00:51, Simon Glass wrote: > > Hi Ilias, > > On Thu, 1 Jun 2023 at 00:21, Ilias Apalodimas > wrote: > > > > For a TPM device to be operational we need to initialize it and > > perform its startup sequence. The 'tpm init' command currently calls > > tpm_init() which ends up

Re: [PATCH] test: fix comment indentation on tpm tests

2023-06-02 Thread Ilias Apalodimas
Thanks Simon On Fri, 2 Jun 2023 at 00:51, Simon Glass wrote: > > On Thu, 1 Jun 2023 at 00:18, Ilias Apalodimas > wrote: > > > > One out comments is off by one, adjust it > > > > Signed-off-by: Ilias Apalodimas > > --- > > test/dm/tpm.c | 9 + > > 1 file changed, 5 insertions(+), 4

Re: [PATCH v1 2/2] net: designware: Add bitbang feature for designware driver

2023-06-02 Thread Jim Liu
Hi Ramon Please help to review this patch or provide some suggestions. Nuvoton BMC NPCM845 EVB needs this patch, and customers will use it to test. If you have any questions please let me know. Best regards, Jim On Tue, Feb 14, 2023 at 4:20 PM Jim Liu wrote: > > Add bb_miiphy_bus function

Re: [PATCH v5 0/2] arm: dts: rockchip: rk3399: usb: ehci: Fix EHCI probe in rk3399 to access peripherals by USB 2.

2023-06-02 Thread Jagan Teki
On Fri, Mar 3, 2023 at 3:57 PM Xavier Drudis Ferran wrote: > > El Fri, Mar 03, 2023 at 10:42:20AM +0100, Christoph Fritz deia: > > >Changes: > > > > > >v5: fixes a bug that Christoph Fritz discovered, consisting in the > > >wrong eror code returned when enabling or disabling the

Re: [PATCH 21/30] imx: bootaux: change names of MACROs used to boot MCU on iMX devices

2023-06-02 Thread Marek Vasut
On 6/2/23 08:45, Peng Fan (OSS) wrote: From: Peng Fan i.MX8MN/P has Cortex-M7, i.MX93 has Cortex-M33, so use "M4" is a bit misleading, so update the name of the macro Signed-off-by: faqiang.zhu Signed-off-by: Peng Fan --- arch/arm/include/asm/arch-imx8m/imx-regs.h | 2 +-

Re: [PATCH v3] cmd: sf/nand: Print and return failure when 0 length is passed

2023-06-02 Thread Marek Vasut
On 6/2/23 08:28, Jagan Teki wrote: On Tue, May 30, 2023 at 7:07 PM Marek Vasut wrote: On 5/30/23 14:23, Michal Simek wrote: On 5/16/23 13:52, Ashok Reddy Soma wrote: For sf commands, when '0' length is passed for erase, update, write or read, there might be undesired results. Ideally '0'

Re: [PATCH v3] cmd: sf/nand: Print and return failure when 0 length is passed

2023-06-02 Thread Jagan Teki
On Tue, May 30, 2023 at 7:07 PM Marek Vasut wrote: > > On 5/30/23 14:23, Michal Simek wrote: > > > > > > On 5/16/23 13:52, Ashok Reddy Soma wrote: > >> For sf commands, when '0' length is passed for erase, update, write or > >> read, there might be undesired results. Ideally '0' length means > >>

Re: [EXTERNAL] Re: [PATCH 0/8] Updats SPL splashscreen framework for AM62x

2023-06-02 Thread Nikhil M Jain
Hi Tom, On 02/06/23 10:09, Nikhil M Jain wrote: Hi Tom, On 01/06/23 22:10, Tom Rini wrote: On Thu, May 11, 2023 at 03:29:50PM +0530, Nikhil M Jain wrote: This patch series aims at updating SPL splashscreen framework for AM62x. Nikhil M Jain (8):    common: spl: spl: Update stack pointer

Re: [PATCH v2 0/9] spi: bcm63xx-hsspi: driver and doc updates

2023-06-02 Thread Jagan Teki
On Wed, May 3, 2023 at 12:29 AM William Zhang wrote: > > This patch series is the u-boot port from the recently accepted kernel > Broadcom HSSPI driver patch series here [1]. It includes the > accumulative updates and fixes for the driver from Broadcom. It also > added a new driver for the

[PATCH 30/30] imx: fsl_sec: preprocessor casting issue with addresses involving math

2023-06-02 Thread Peng Fan (OSS)
From: Utkarsh Gupta The sec_in32 preprocessor is defined as follows in include/fsl_sec.h file: When address "a" is calculated using math for ex: addition of base address and an offset, then casting is applied only to the first address which in this example is base address. caam_ccbvid_reg =

[PATCH 29/30] imx: priblob: Update to use structure

2023-06-02 Thread Peng Fan (OSS)
From: Maximus Sun Use structure to avoid define CAAM_SCFGR for each platform Signed-off-by: Maximus Sun Signed-off-by: Peng Fan --- arch/arm/mach-imx/priblob.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-imx/priblob.c

[PATCH 27/30] imx: imx8: ahab: sha256: enable image verification using ARMv8 crypto extension

2023-06-02 Thread Peng Fan (OSS)
From: Gaurav Jain add support for SHA-256 secure hash algorithm using the ARM v8 SHA-256 instructions for verifying image hash. Signed-off-by: Gaurav Jain Signed-off-by: Peng Fan --- arch/arm/mach-imx/imx8/ahab.c | 28 1 file changed, 24 insertions(+), 4

[PATCH 28/30] imx: imx8m: add CAAM_BASE_ADDR

2023-06-02 Thread Peng Fan (OSS)
From: Peng Fan Add CAAM_BASE_ADDR which will be used by priblob.c Signed-off-by: Peng Fan --- arch/arm/include/asm/arch-imx8m/imx-regs.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/include/asm/arch-imx8m/imx-regs.h b/arch/arm/include/asm/arch-imx8m/imx-regs.h index

[PATCH 26/30] imx: ahab: Update AHAB for iMX8 and iMX8ULP

2023-06-02 Thread Peng Fan (OSS)
From: Ye Li Abstract common interfaces for AHAB authentication operations. Then share some common codes for AHAB and SPL container authentication Signed-off-by: Ye Li Signed-off-by: Peng Fan --- arch/arm/include/asm/mach-imx/ahab.h | 15 arch/arm/mach-imx/imx8/ahab.c| 129

[PATCH 25/30] imx: parse-container: Use malloc for container processing

2023-06-02 Thread Peng Fan (OSS)
From: Nitin Garg If the container has image which conflicts with spl_get_load_buffer address, there are processing failures. Use malloc instead of spl_get_load_buffer. Reviewed-by: Ye Li Signed-off-by: Nitin Garg Signed-off-by: Peng Fan --- arch/arm/mach-imx/parse-container.c | 38

[PATCH 24/30] imx: imx8m: clock: not configure reserved SRC register

2023-06-02 Thread Peng Fan (OSS)
From: Peng Fan i.MX8M[M,N,P] SRC not has 0x1004 offset register, so drop it. Reviewed-by: Ye Li Signed-off-by: Peng Fan --- arch/arm/mach-imx/imx8m/clock_imx8mm.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/mach-imx/imx8m/clock_imx8mm.c