[PATCH 6/7] ARM: dts: rockchip: rock5b: enable pcie2x1l2 and associated combphy

2023-04-17 Thread Eugen Hristev
From: Christopher Obbard Enable the pciE 2x1l 2 device and associated combphy. On this bus, the Rock5B has an Ethernet transceiver connected. Signed-off-by: Christopher Obbard [eugen.hris...@collabora.com: minor tweaks] Signed-off-by: Eugen Hristev --- arch/arm/dts/rk3588-rock-5b-u-boot.dtsi

[PATCH 7/7] configs: rock5b-rk3588: add pci drivers and command

2023-04-17 Thread Eugen Hristev
Add drivers for pciE , phy, and command. Signed-off-by: Eugen Hristev --- configs/rock5b-rk3588_defconfig | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/configs/rock5b-rk3588_defconfig b/configs/rock5b-rk3588_defconfig index 8c097ab3a109..a14fcd2ee924 100644 ---

[PATCH 3/7] phy: rockchip: naneng-combphy: Add support for multiple resets

2023-04-17 Thread Eugen Hristev
Some variants of the PHY have more than just one reset. To cover all cases, request the rests in bulk rather than just the reset at index 0. Co-developed-by: Ren Jianing Signed-off-by: Ren Jianing Signed-off-by: Eugen Hristev --- drivers/phy/rockchip/phy-rockchip-naneng-combphy.c | 8

[PATCH 2/7] pci: pcie_dw_rockchip: Support max_link_speed dts property

2023-04-17 Thread Eugen Hristev
From: Jon Lin Add support for max_link_speed specified in the PCI DT binding. Signed-off-by: Jon Lin [eugen.hris...@collabora.com: port to latest API, set default correctly, align to 80 chars] Signed-off-by: Eugen Hristev --- drivers/pci/pcie_dw_rockchip.c | 11 ++- 1 file changed,

[PATCH 1/7] pci: pcie_dw_rockchip: Add rk3588 compatible

2023-04-17 Thread Eugen Hristev
From: Jon Lin Add compatible for RK3588 SoC. Signed-off-by: Jon Lin --- drivers/pci/pcie_dw_rockchip.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pci/pcie_dw_rockchip.c b/drivers/pci/pcie_dw_rockchip.c index 6155710a9f5f..ff121046604a 100644 ---

Re: [PATCH v1 1/6] drivers/nvmxip: introduce NVM XIP block storage emulation

2023-04-17 Thread Abdellatif El Khlifi
On Tue, Feb 07, 2023 at 11:38:57AM -0700, Simon Glass wrote: > Hi, > > On Mon, 16 Jan 2023 at 10:28, wrote: > > > > From: Abdellatif El Khlifi > > > > add block storage emulation for NVM XIP flash devices > > > > Some paltforms such as Corstone-1000 need to see NVM XIP raw flash > > as a block

[PATCH v2 7/7] sandbox64: add a test case for UCLASS_NVMXIP

2023-04-17 Thread Abdellatif El Khlifi
provide a test for NVM XIP devices The test case allows to make sure of the following: - The NVM XIP QSPI devices are probed - The DT entries are read correctly - the data read from the flash by the NVMXIP block driver is correct Signed-off-by: Abdellatif El Khlifi --- Changelog:

[PATCH v2 6/7] corstone1000: enable NVM XIP QSPI flash

2023-04-17 Thread Abdellatif El Khlifi
add the QSPI flash device with block storage capability Signed-off-by: Abdellatif El Khlifi --- configs/corstone1000_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/corstone1000_defconfig b/configs/corstone1000_defconfig index 383317fefe..35f763596a 100644 ---

[PATCH v2 5/7] corstone1000: add NVM XIP QSPI device tree node

2023-04-17 Thread Abdellatif El Khlifi
add QSPI flash device node for block storage access Signed-off-by: Abdellatif El Khlifi --- arch/arm/dts/corstone1000.dtsi | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/arch/arm/dts/corstone1000.dtsi b/arch/arm/dts/corstone1000.dtsi index 4e46826f88..533dfdf8e1

[PATCH v2 4/7] sandbox64: add support for NVMXIP QSPI

2023-04-17 Thread Abdellatif El Khlifi
enable NVMXIP QSPI for sandbox 64-bit Adding two NVM XIP QSPI storage devices. Signed-off-by: Abdellatif El Khlifi Reviewed-by: Simon Glass --- Changelog: === v2: * address nits arch/sandbox/dts/sandbox64.dts | 13 + arch/sandbox/dts/test.dts

[PATCH v2 3/7] sandbox64: fix: return unsigned long in readq()

2023-04-17 Thread Abdellatif El Khlifi
make readq return unsigned long readq should return 64-bit data Signed-off-by: Abdellatif El Khlifi --- arch/sandbox/cpu/cpu.c| 2 +- arch/sandbox/include/asm/io.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/sandbox/cpu/cpu.c b/arch/sandbox/cpu/cpu.c

[PATCH v2 2/7] drivers/mtd/nvmxip: introduce QSPI XIP driver

2023-04-17 Thread Abdellatif El Khlifi
add nvmxip_qspi driver under UCLASS_NVMXIP The device associated with this driver is the parent of the blk# device nvmxip_qspi can be reused by other platforms. If the platform has custom settings to apply before using the flash, then the platform can provide its own parent driver belonging to

[PATCH v2 1/7] drivers/mtd/nvmxip: introduce NVM XIP block storage emulation

2023-04-17 Thread Abdellatif El Khlifi
add block storage emulation for NVM XIP flash devices Some paltforms such as Corstone-1000 need to see NVM XIP raw flash as a block storage device with read only capability. Here NVM flash devices are devices with addressable memory (e.g: QSPI NOR flash). The implementation is generic and can

[PATCH v2 0/7] introduce NVM XIP block storage emulation

2023-04-17 Thread Abdellatif El Khlifi
Adding block storage emulation for NVM XIP flash devices. Some paltforms such as Corstone-1000 need to see NVM XIP raw flash as a block storage device with read only capability. Here NVM flash devices are devices with addressable memory (e.g: QSPI NOR flash). The NVM XIP block storage emulation

Re: [PATCH 1/3] dt-bindings: misc: esm: Add ESM support for TI K3 devices

2023-04-17 Thread Neha Malcom Francis
Hi Krzysztof On 14/04/23 17:10, Krzysztof Kozlowski wrote: On 14/04/2023 12:52, Neha Malcom Francis wrote: Document the binding for TI K3 ESM (Error Signaling Module) block. Signed-off-by: Neha Malcom Francis --- .../devicetree/bindings/misc/esm-k3.yaml | 54 +++ 1

Re: [PATCH] nand: raw: octeontx: Make list static

2023-04-17 Thread Dario Binacchi
Hi Bin, On Wed, Apr 5, 2023 at 8:42 PM Michael Nazzareno Trimarchi wrote: > > Hi > > On Wed, Apr 5, 2023 at 4:38 PM Bin Meng wrote: > > > > octeontx_bch_devices and octeontx_pci_nand_deferred_devices are only > > referenced in the files where they are defined. Make them static. > > > >

Re: [PATCH v2] nand: brcmnand: add iproc support

2023-04-17 Thread Dario Binacchi
Hi Linus, On Sat, Mar 11, 2023 at 2:03 AM William Zhang wrote: > > > > On 03/08/2023 01:42 PM, Linus Walleij wrote: > > Add support for the iproc Broadcom NAND controller, > > used in Northstar SoCs for example. Based on the Linux > > driver. > > > > Cc: Philippe Reynes > > Cc: Dario Binacchi

Re: [PATCH 1/2] MAINTAINERS: Add entry for SPI NAND framework and drivers

2023-04-17 Thread Dario Binacchi
Hi Frieder, On Tue, Mar 28, 2023 at 10:04 AM Dario Binacchi wrote: > > Hi Frieder, > > On Tue, Mar 28, 2023 at 10:00 AM Frieder Schrempf > wrote: > > > > On 28.02.23 15:48, Tom Rini wrote: > > > On Tue, Feb 28, 2023 at 09:52:45AM +0100, Frieder Schrempf wrote: > > >> On 27.02.23 16:24, Dario

Re: [PATCH] arm64: zynqmp: Fix User MTD partition size

2023-04-17 Thread Michal Simek
On 4/12/23 16:30, Michal Simek wrote: The commit c8630167e0dc ("arm64: zynqmp: Add mtd partition for secure OS storage area") didn't update User partition size that's why size was beyond actual device size. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-sm-k26-revA.dts | 2 +- 1

Re: [PATCH] arm64: zynqmp: Fix issue of apps executing from R5 core 1

2023-04-17 Thread Michal Simek
On 4/5/23 15:06, Michal Simek wrote: From: Ashok Reddy Soma In current implementation, applications can execute only on R5 core 0. The boot address for R5 core 1 is not supplied. Pass TCM address for R5 core 1 based on the argument to fix the issue. Remove incomplete comment.

Re: [PATCH] ARM: zynq: Sync Microzed board with Linux kernel

2023-04-17 Thread Michal Simek
On 3/28/23 09:21, Michal Simek wrote: Fix model name, node locations and also add pinctrl description for usb. Signed-off-by: Michal Simek --- --- arch/arm/dts/zynq-microzed.dts | 42 -- 1 file changed, 35 insertions(+), 7 deletions(-) diff --git

Re: [PATCH] ARM: zynq: Switch from earlyprintk to earlycon

2023-04-17 Thread Michal Simek
On 3/28/23 09:17, Michal Simek wrote: Switch to earlycon which is preffered over earlyprintk. It is also sync with Linux kernel (zynq-microzed). Signed-off-by: Michal Simek --- --- arch/arm/dts/zynq-dlc20-rev1.0.dts | 2 +- arch/arm/dts/zynq-microzed.dts | 2 +- 2 files changed, 2

Re: [PATCH v2 2/2] configs: Add CONFIG_DEFAULT_ENV_IS_RW config for armada

2023-04-17 Thread Michal Simek
On 4/17/23 06:28, Venkatesh Yadav Abbarapu wrote: From: Algapally Santosh Sagar The DEFAULT_ENV_IS_RW is moved to the Kconfig for easier configuration. Hence, the CONFIG_DEFAULT_ENV_IS_RW config is added to the defconfig files to allow enabling them for armada boards. Signed-off-by:

Re: [PATCH v2 1/2] serial: zynqmp: Fetch baudrate from dtb and update

2023-04-17 Thread Michal Simek
On 4/17/23 06:28, Venkatesh Yadav Abbarapu wrote: From: Algapally Santosh Sagar The baudrate configured in .config is taken by default by serial. If change of baudrate is required then the .config needs to changed and u-boot recompilation is required or the u-boot environment needs to be

[PATCH 1/1] sandbox: correct posix_types.h define

2023-04-17 Thread Heinrich Schuchardt
arch/arm/include/asm/posix_types.h and arch/sandbox/include/asm/posix_types.h should use different defines. Add SPDX header. Signed-off-by: Heinrich Schuchardt --- arch/sandbox/include/asm/posix_types.h | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git

Re: [PATCH u-boot 2/4] cmd: mvebu/bubt: Validate EXT_CSD[179] eMMC register in mmc_burn_image()

2023-04-17 Thread Pali Rohár
+ Martin On Thursday 13 April 2023 23:10:55 Pali Rohár wrote: > When determining eMMC boot partition for a bootloader, validate that > EXT_CSD[179] eMMC register is set to recognized value. > > This prevent situation that EXT_CSD[179] Boot Enable value is improperly > parsed and passed into

Re: [PATCH u-boot 0/3] pci: mpc85xx: Fixes for PCI config space

2023-04-17 Thread Pali Rohár
On Monday 17 April 2023 07:12:16 Heiko Schocher wrote: > Hello Pali, > > On 13.04.23 22:41, Pali Rohár wrote: > > This patch series contains small fixes for mpc85xx old PCI Local Bus driver. > > > > Heiko: Are you able to test these changes? Has your Socrates board > > available old PCI Local

Re: commit 787f04bb6a - imx: add USB2_BOOT type

2023-04-17 Thread Rasmus Villemoes
On 26/10/2022 01.42, Rasmus Villemoes wrote: > On 18/10/2022 02.43, Peng Fan wrote: >> + Stefano & Fabio >> > > > Is there any chance you could make some information on that ROM API > public so it's possible for outsiders to understand what's going on? >> >> What could only help is to

Re: [PATCH V3 2/2] ARM: dts: rockchip: rk3588s-u-boot: Add rng node

2023-04-17 Thread Sughosh Ganu
hi Chris, On Thu, 13 Apr 2023 at 19:43, Chris Morgan wrote: > > From: Chris Morgan > > Add a node for the trng found on RK3588 SoCs. > > Changes in V3: > - Added Reviewed-By tag. > > Changes in V2: > - None Same comment for the changelog lines as in the other patch. Other than that

Re: [PATCH V3 1/2] rockchip: rng: add trngv1 for rk3588

2023-04-17 Thread Sughosh Ganu
hi Chris, On Thu, 13 Apr 2023 at 19:43, Chris Morgan wrote: > > From: Chris Morgan > > This adds support for the TRNG found in the RK3588 SoC to the > rockchip_rng driver so that it can be used for things such as > seeding randomness to Linux. > > Changes in V3: > - Moved notes from commit to

Re: [PATCH v4 3/6] tools: Add mkfwumdata tool for FWU metadata image

2023-04-17 Thread Michal Simek
On 4/14/23 17:02, Jassi Brar wrote: On Fri, Apr 14, 2023 at 8:53 AM Michal Simek wrote: On 4/10/23 06:05, Jassi Brar wrote: On Wed, 29 Mar 2023 at 07:29, Michal Simek wrote: On 3/27/23 23:16, jassisinghb...@gmail.com wrote: diff --git a/tools/mkfwumdata.c b/tools/mkfwumdata.c new

[PATCH] arm: mach-k3: j7200: Fix firewall warnings at boot time

2023-04-17 Thread Manorit Chawdhry
J721E and J7200 have same file j721e_init.c which had the firewall configs for J721E being applied on J7200 causing the warnings. Split the firewalls for both the boards to remove those warnings. Signed-off-by: Manorit Chawdhry --- arch/arm/mach-k3/j721e_init.c | 6 ++ 1 file changed, 6

Re: [PATCH] riscv: Add a 64-bit image type

2023-04-17 Thread Bin Meng
Hi Leo, On Mon, Apr 17, 2023 at 1:22 PM Leo Liang wrote: > > Hi Bin, > > On Thu, Apr 13, 2023 at 06:06:29PM +0800, Bin Meng wrote: > > On Mon, Apr 10, 2023 at 3:25 PM Rick Chen wrote: > > > > > > > From: Simon Glass > > > > Sent: Monday, April 03, 2023 4:28 AM > > > > To: U-Boot Mailing List

Re: [PATCH u-boot 2/4] cmd: mvebu/bubt: Validate EXT_CSD[179] eMMC register in mmc_burn_image()

2023-04-17 Thread Stefan Roese
On 4/13/23 23:10, Pali Rohár wrote: When determining eMMC boot partition for a bootloader, validate that EXT_CSD[179] eMMC register is set to recognized value. This prevent situation that EXT_CSD[179] Boot Enable value is improperly parsed and passed into EXT_CSD[179] Partition Access.

<    1   2