Re: [PATCH v3] mtd: parsers: ofpart: add workaround for #size-cells 0

2023-01-24 Thread Francesco Dolcini
On Tue, Jan 24, 2023 at 09:35:00AM +0100, Francesco Dolcini wrote: > From: Francesco Dolcini > > Add a mechanism to handle the case in which partitions are present as > direct child of the nand controller node and #size-cells is set to <0>. > > This could happen if the nand-controller node in th

Re: [PATCH 1/1] efi_loader: fix comment in ESRT code

2023-01-24 Thread Ilias Apalodimas
On Tue, Jan 24, 2023 at 12:26:45AM +0100, Heinrich Schuchardt wrote: > There is no variable num_pages in function efi_esrt_allocate_install(). > > Signed-off-by: Heinrich Schuchardt > --- > lib/efi_loader/efi_esrt.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/lib/efi_

Re: [PATCH v1 1/3] fdt: validate/fix cells count on mtdpart fixup

2023-01-24 Thread Francesco Dolcini
On Tue, Jan 24, 2023 at 09:58:15AM +0100, Miquel Raynal wrote: > france...@dolcini.it wrote on Tue, 24 Jan 2023 09:41:41 +0100: > > On Mon, Jan 23, 2023 at 10:56:10AM +0100, Miquel Raynal wrote: > > > ma...@denx.de wrote on Tue, 17 Jan 2023 01:59:54 +0100: > > > > > > > On 1/16/23 19:00, Frances

Re: [PATCH v2] common: avb_verify: prevent opening incorrect session

2023-01-24 Thread Jens Wiklander
On Mon, Jan 23, 2023 at 5:09 PM Ivan Khoronzhuk wrote: > > On Mon, Jan 23, 2023 at 04:34:33PM +0100, Jens Wiklander wrote: > >On Mon, Jan 23, 2023 at 04:51:29PM +0200, Ivan Khoronzhuk wrote: > >> The arg->session is not valid if arg->ret != NULL, so can't be > >> assigned. Leave retry for just "re

Re: [PATCH] doc: add rst references to distro documentation in stm32mp1 board

2023-01-24 Thread Patrice CHOTARD
Hi Patrick On 1/24/23 10:16, Patrick Delaunay wrote: > Use internal rst reference with :doc: to have a link to distro.rst page > in the generated U-Boot documentation. > > Signed-off-by: Patrick Delaunay > --- > > doc/board/st/stm32mp1.rst | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion

Re: [PATCH 02/21] tools: sysfw: Add script for generating configuration blobs

2023-01-24 Thread Neha Malcom Francis
Hi Simon, On 24/01/23 00:12, Simon Glass wrote: Hi Neha, On Mon, 23 Jan 2023 at 07:19, Neha Malcom Francis wrote: Hi Simon, On 20/01/23 15:48, Neha Malcom Francis wrote: Certain devices in the K3 architecture such as AM64x require board configuration binaries packed along with their descri

[u-boot PATCH v2 3/3] arm: dts: k3-am64: Fix CPSW3G ethernet

2023-01-24 Thread Roger Quadros
As MDIO driver does not support Driver Model, the pinctrl settings in the MDIO node will not be applied resulting in PHY not being detected. To workaround this we add the MDIO pinctrl in the CPSW3G node in the -u-boot.dtsi file. Add the missing MDIO and RGMII pinctrl nodes in k3-am642-r5-evm.dts

[u-boot PATCH v2 2/3] arm: dts: k3-am6: Fix "EEPROM not available" error

2023-01-24 Thread Roger Quadros
We need to enable i2c0 so u-boot can read from EEPROM. Signed-off-by: Roger Quadros Reviewed-by: Tom Rini --- arch/arm/dts/k3-am642-evm-u-boot.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/k3-am642-evm-u-boot.dtsi b/arch/arm/dts/k3-am642-evm-u-boot.dtsi index 055215cff8

[u-boot PATCH v2 1/3] arm: dts: k3-am64: sync with Linux DT files

2023-01-24 Thread Roger Quadros
Sync AM64 DT files with Linux v6.2-rc4 Signed-off-by: Roger Quadros Reviewed-by: Tom Rini --- arch/arm/dts/k3-am64-main.dtsi | 551 +++-- arch/arm/dts/k3-am64-mcu.dtsi | 16 +- arch/arm/dts/k3-am64.dtsi | 4 + arch/arm/dts/k3-am642-evm.dts | 117 --- ar

[u-boot PATCH v2 0/3] arm: dts: k3-am64: Sync DT files with Linux

2023-01-24 Thread Roger Quadros
Hi, This series syncs AM64 DT files with Linux v6.2-rc4. CPSW and Board EEPROM breakage are resolved in follow up patches. Only MMC and NFS boot have been tested. cheers, -roger Changelog: v2: - move CPSW3G fixes to -u-boot.dtsi file. Roger Quadros (3): arm: dts: k3-am64: sync with Linux DT

[PATCH] doc: add rst references to distro documentation in stm32mp1 board

2023-01-24 Thread Patrick Delaunay
Use internal rst reference with :doc: to have a link to distro.rst page in the generated U-Boot documentation. Signed-off-by: Patrick Delaunay --- doc/board/st/stm32mp1.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/board/st/stm32mp1.rst b/doc/board/st/stm32mp1.rs

Re: [PATCH v1 1/3] fdt: validate/fix cells count on mtdpart fixup

2023-01-24 Thread Miquel Raynal
Hi Francesco, france...@dolcini.it wrote on Tue, 24 Jan 2023 09:41:41 +0100: > Hello Miquel, > > On Mon, Jan 23, 2023 at 10:56:10AM +0100, Miquel Raynal wrote: > > ma...@denx.de wrote on Tue, 17 Jan 2023 01:59:54 +0100: > > > > > On 1/16/23 19:00, Francesco Dolcini wrote: > > > > On Mon, Ja

Re: [PATCH v3 5/6] binman: Add support for selecting firmware to use with split-elf

2023-01-24 Thread Jonas Karlman
Hi Simon, On 2023-01-23 19:50, Simon Glass wrote: > On Sat, 21 Jan 2023 at 12:02, Jonas Karlman wrote: >> >> In some cases it is desired for SPL to start TF-A instead of U-Boot >> proper. Add support for a new property fit,firmware that picks a >> valid entry and prepends the remaining valid entr

[PATCH 1/2] km/ppc: remove km-mpc8360.h and km-mpc832x.h

2023-01-24 Thread Holger Brunck
Next step to get rid of the header files in icnlude/configs. Move most of the defines to km83xx.c directly. Some remaining defines which should go to Kconfig are moved to km-mpc83xx.h for now. Also remove some unused defines and move one define to powerpc.env as we only need it there. Signed-off-

[PATCH 2/2] km/ppc832x: join config files

2023-01-24 Thread Holger Brunck
There are no differences for the different 832x targets we have in the header defined with SYS_CONFIG_NAME. So we can join the five headers to a single file. Signed-off-by: Holger Brunck --- board/keymile/km83xx/Kconfig| 10 +- include/configs/{kmopti2.h => km832x.h} | 0 in

Re: [PATCH v1 1/3] fdt: validate/fix cells count on mtdpart fixup

2023-01-24 Thread Francesco Dolcini
Hello Miquel, On Mon, Jan 23, 2023 at 10:56:10AM +0100, Miquel Raynal wrote: > ma...@denx.de wrote on Tue, 17 Jan 2023 01:59:54 +0100: > > > On 1/16/23 19:00, Francesco Dolcini wrote: > > > On Mon, Jan 16, 2023 at 06:54:44PM +0100, Marek Vasut wrote: > > >> On 1/16/23 15:20, Francesco Dolcini w

[PATCH v3] mtd: parsers: ofpart: add workaround for #size-cells 0

2023-01-24 Thread Francesco Dolcini
From: Francesco Dolcini Add a mechanism to handle the case in which partitions are present as direct child of the nand controller node and #size-cells is set to <0>. This could happen if the nand-controller node in the DTS is supposed to have #size-cells set to 0, but for some historical reason/

Re: [PATCH] usb: host: ehci-generic: Handle DM_RESET=n case

2023-01-24 Thread Xavier Drudis Ferran
El Tue, Jan 24, 2023 at 09:07:58AM +0100, Patrice CHOTARD deia: > Hi Marek > > On 1/23/23 23:32, Marek Vasut wrote: > > In case CONFIG_DM_RESET=n, reset_get_bulk() returns -ENOTSUPP. > > Do not fail in that case either. This is a valid use case, e.g. > > in case the reset driver is a no-op and wou

Re: [PATCH 0/2] ARM: arch-meson: add support for Odroid Go Ultra

2023-01-24 Thread Neil Armstrong
Hi, On Thu, 19 Jan 2023 14:44:17 +0100, Neil Armstrong wrote: > This adds initial support for the Hardkernel Odroid Go Ultra. > > The Odroid Go Ultra is a portable gaming device with the following > characteristics: > - Amlogic S922X SoC > - RK817 & RK818 PMICs > - 2GiB LPDDR4 > - On board 16GiB

Re: [PATCH v5 3/4] eficonfig: add vertical scroll support

2023-01-24 Thread Ilias Apalodimas
On Tue, Jan 24, 2023 at 03:56:15PM +0900, Masahisa Kojima wrote: > The current eficonfig menu does not support vertical scroll, > so it can not display the menu entries greater than > the console row size. > > This commit add the vertial scroll support. > The console size is retrieved by > SIMPLE_T

Re: [PATCH 01/14] trace: Use notrace for short

2023-01-24 Thread Stefan Herbrechtsmeier
Hi Simon, Am 22.12.2022 um 00:08 schrieb Simon Glass: The attribute syntax is quite verbose. Use the macro provided for this purpose. Signed-off-by: Simon Glass --- arch/arm/cpu/armv7/s5p-common/timer.c | 2 +- arch/arm/mach-exynos/include/mach/cpu.h | 6 +++--- arch/x86/include/asm/g

Re: [PATCH] usb: host: ehci-generic: Handle DM_RESET=n case

2023-01-24 Thread Patrice CHOTARD
Hi Marek On 1/23/23 23:32, Marek Vasut wrote: > In case CONFIG_DM_RESET=n, reset_get_bulk() returns -ENOTSUPP. > Do not fail in that case either. This is a valid use case, e.g. > in case the reset driver is a no-op and would only waste space > in the build. > > Fixes: 81755b8c20f ("usb: host: ehc

<    1   2