Re: [PATCH v1] riscv: cpu: improve multi-letter extension detection in supports_extension()

2024-03-04 Thread Conor Dooley
On Tue, Mar 05, 2024 at 08:34:20AM +0100, Heinrich Schuchardt wrote: > On 3/5/24 00:28, Conor Dooley wrote: > > From: Conor Dooley > According to > https://github.com/riscv/riscv-isa-manual/blob/main/src/naming.adoc the > ISA string is case insensitive. Why can we assume here that it is lower >

[PATCH v3 3/3] cli: compile history code if and only if history config is selected

2024-03-04 Thread Hanyuan Zhao
This commit allows user to determine whether to have history recording in command-line. Previously to this commit, the CMD_HISTORY only sets the compiling of cmd/history.c, and the history code in cli_readline.c is always compiled and will take a lot of space to store history even if we say N to

[PATCH v3 2/3] cli: allow users to determine history buffer allocation method

2024-03-04 Thread Hanyuan Zhao
This commit allows users to choose the appropriate memory allocation method between static allocated and dynamically calloc. The previous static-array way will not obviously contribute to the final binary size since it is uninitialized, and might have better performance than the dynamical one. Now

[PATCH v3 1/3] cli: panic when failed to allocate memory for the history buffer

2024-03-04 Thread Hanyuan Zhao
This commit simply modifies the history initialize function, replacing the return value by panic with reasons. The calling chains of hist_init don't have steps explicitly throwing or dealing with the ENOMEM error, and once the init fails, the whole system is died. Using panic here to provide error

Re: [PATCH v1] riscv: cpu: improve multi-letter extension detection in supports_extension()

2024-03-04 Thread Heinrich Schuchardt
On 3/5/24 00:28, Conor Dooley wrote: From: Conor Dooley The first multi-letter extension after the single-letter extensions does not have to be preceded by an underscore, which could cause the parser to mistakenly find a single-letter extension after the start of the multi-letter portion of

Re: [PATCH 3/8] net: dw_eth_qos: add support for Qualcomm SM8150 SoC

2024-03-04 Thread Sumit Garg
On Thu, 29 Feb 2024 at 19:53, Volodymyr Babchuk wrote: > > Add support for Qualcomm SM8150 SoC to the EQOS driver. SM8150 has two > main differences from already supported QCS404: it has another RGMII > configuration registers set and it does require RGMII loopback to > be disabled. > > To

Re: [v2,1/2] cli: panic when failed to allocate memory for the history buffer

2024-03-04 Thread hanyuan
Hi Tom, Sorry for disturbing again and again. I have sent three v2 patches in total to the patchwork, they are: [v2,1/2] cli: panic when failed to allocate memory for the history buffer [v2,2/2] cli: allow users to determine history buffer allocation method [v2,1/1] cli: compile history code if

Re: [PATCH] configs: rockchip: rock5a: enable environment

2024-03-04 Thread Eugen Hristev
On 3/5/24 04:10, Trevor Woerner wrote: > Following the pattern of other Rockchip devices, enable the U-Boot > environment to be stored in MMC. This patch specifically assumes the > environment will be stored on the SDcard. > > Signed-off-by: Trevor Woerner > --- >

Re: [PATCH 1/2] arm: mach-k3: am625: copy bootindex to OCRAM for main domain SPL

2024-03-04 Thread Vignesh Raghavendra
On 05/03/24 01:57, Bryan Brattlof wrote: > Hey Vignesh! > > On March 4, 2024 thus sayeth Vignesh Raghavendra: >> Hi Wadim, >> >> On 26/02/24 19:00, Wadim Egorov wrote: >>> Texas Instruments has begun enabling security settings on the SoCs it >>> produces to instruct ROM and TIFS to begin

[PATCH] configs: rockchip: rock5b: enable environment

2024-03-04 Thread Trevor Woerner
Following the pattern of other Rockchip devices, enable the U-Boot environment to be stored in MMC. This patch specifically assumes the environment will be stored on the SDcard. Signed-off-by: Trevor Woerner --- configs/rock5b-rk3588_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH] configs: rockchip: rock5a: enable environment

2024-03-04 Thread Trevor Woerner
Following the pattern of other Rockchip devices, enable the U-Boot environment to be stored in MMC. This patch specifically assumes the environment will be stored on the SDcard. Signed-off-by: Trevor Woerner --- configs/rock5a-rk3588s_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff

[PATCH] configs: rockchip: rock3a: enable environment

2024-03-04 Thread Trevor Woerner
Following the pattern of other Rockchip devices, enable the U-Boot environment to be stored in MMC. This patch specifically assumes the environment will be stored on the SDcard. Signed-off-by: Trevor Woerner --- configs/rock-3a-rk3568_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff

[PATCH] configs: rockchip: rock-pi-s: enable environment

2024-03-04 Thread Trevor Woerner
Following the pattern of other Rockchip devices, enable the U-Boot environment to be stored in MMC. This patch specifically assumes the environment will be stored on the SDcard. Signed-off-by: Trevor Woerner --- configs/rock-pi-s-rk3308_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff

[PATCH v2 1/1] cli: compile history code if and only if history config is selected

2024-03-04 Thread Hanyuan Zhao
This commit allows user to determine whether to have history recording in command-line. Previously to this commit, the CMD_HISTORY only sets the compiling of cmd/history.c, and the history code in cli_readline.c is always compiled and will take a lot of space to store history even if we say N to

[PATCH v3] board: rockchip: add Rockchip Toybrick TB-RK3588X board

2024-03-04 Thread zhangzj
From: Elon Zhang TB-RK3588X board is a Rockchip Toybrick RK3588 based development board. Specification: Rockchip Rk3588 SoC 4x ARM Cortex-A76, 4x ARM Cortex-A55 8/16GB Memory LPDDR4x Mali G610MC4 GPU 2× MIPI-CSI0 Connector 1x 2Lanes PCIe3.0

Re: [PATCH v3 2/2] sunxi: restore modified memory

2024-03-04 Thread Andre Przywara
On Thu, 28 Dec 2023 00:28:43 +0300 Andrey Skvortsov wrote: > Current sunxi DRAM initialisation code does several test accesses to the > DRAM array to detect aliasing effects and so determine the correct > row/column configuration. This changes the DRAM content, which breaks > use cases like soft

Re: [PATCH v3 1/2] sunxi: reorganize mctl_mem_matches_* functions

2024-03-04 Thread Andre Przywara
On Thu, 28 Dec 2023 00:28:42 +0300 Andrey Skvortsov wrote: Hi, > mctl_mem_matches and mctl_mem_matches_base identical functions. To > avoid code duplication move them to dram_helpers and make > mctl_mem_matches use generic mctl_mem_matches_base. > > Signed-off-by: Andrey Skvortsov thanks for

Re: [PATCH v10 00/15] Introduce initial TI's J784S4 and AM69 support

2024-03-04 Thread Tom Rini
On Sat, Feb 24, 2024 at 01:51:38AM +0530, Apurva Nandan wrote: > Hello Everyone! > > This series will introduce basic support (SD and UART) support for Texas > Instruments J784S4 EVM. > > The J784S4 SoC device tree patches are taken from kernel patch submissions > and will be updated as they

Re: [GIT PULL] Please pull u-boot-imx-master-20240304

2024-03-04 Thread Tom Rini
; (2024-03-02 > 14:30:25 -0500) > > are available in the Git repository at: > > https://gitlab.denx.de/u-boot/custodians/u-boot-imx.git > tags/u-boot-imx-master-20240304 > > for you to fetch changes up to 9b9f022e7368cacafa368beaa7fadd931f2cfcdb: > > video: mxsf

Re: [PATCH 1/6] arm: mach-k3: Move SYS_K3_SPL_ATF definition into R5 Kconfig

2024-03-04 Thread Tom Rini
On Thu, Feb 01, 2024 at 06:24:43PM -0600, Andrew Davis wrote: > Loading ATF is only supported from the R5, move the Kconfig symbol > definition to match. > > Signed-off-by: Andrew Davis > Reviewed-by: Igor Opaniuk For the series, applied to u-boot/next, thanks! -- Tom signature.asc

Re: [PATCH v2] dma: ti: k3-udma: Fix ring_idx to pair k3 nav rings

2024-03-04 Thread Tom Rini
On Wed, Feb 21, 2024 at 07:53:44PM +0530, Udit Kumar wrote: > ring_idx was not correctly assigned in case of tflow_id is zero. > Which leads to wrong pairing of DMA for drivers like OSPI. > > Fixes: 4312a1dfca26 ("dma: ti: k3-udma: Use ring_idx to pair k3 nav rings") > Reviewed-by: Jai Luthra >

Re: [PATCH] board: ti: rm-cfg: Update rm-cfg to reflect new resource reservation

2024-03-04 Thread Tom Rini
On Tue, Feb 20, 2024 at 02:39:44PM -0600, Vishal Mahaveer wrote: > With the latest TIFS firmware, an additional virtual interrupt and > event is reserved for TIFS usage on am62x and am62ax devices. > > Update the rm-cfg to reflect this new reservation. > > Signed-off-by: Vishal Mahaveer

Re: [PATCH v2] dma: ti: k3-udma: Fix error handling for setup_resources() in udma_probe()

2024-03-04 Thread Tom Rini
On Tue, Feb 20, 2024 at 03:34:51PM +0530, Siddharth Vadapalli wrote: > In udma_probe() the return value of setup_resources() is stored in the > u32 "ch_count" member of "struct udma_dev", due to which any negative > return value which indicates an error is masked. > > Fix this by storing the

Re: [PATCH] configs: am64x_evm_r5_defconfig: enlarge simple malloc pool

2024-03-04 Thread Tom Rini
On Fri, Feb 09, 2024 at 09:06:53AM +0100, Thomas Weißschuh wrote: > With the default size the stack grows into the malloc, pool leading to > stack corruption and boot failure. > > Signed-off-by: Thomas Weißschuh Applied to u-boot/next, thanks! -- Tom signature.asc Description: PGP

Re: [PATCH v1 2/2] arm: mach-k3: am62: Fixup thermal zone critical points

2024-03-04 Thread Tom Rini
On Thu, Feb 08, 2024 at 10:29:51AM +0100, Francesco Dolcini wrote: > From: Joao Paulo Goncalves > > Read the max temperature for the SoC temperature grade from the hardware > and change the critical trip nodes on each thermal zone of FDT at > runtime so they are correct with the hardware value

Re: [PATCH v1 1/2] arm: mach-k3: am62: Get soc max temperature by grade

2024-03-04 Thread Tom Rini
On Thu, Feb 08, 2024 at 10:29:50AM +0100, Francesco Dolcini wrote: > From: Joao Paulo Goncalves > > AM62x SoC is available in multiple temperature grade: > - Commercial: 0° to 95° C > - Industrial: -40° to 105° C > - Automotive: -40° to 125° C > > Add a new function that returns the am62 max

Re: [PATCH V2 0/5] board: beagle: Enable 32k and debounce configuration and fixups

2024-03-04 Thread Tom Rini
On Tue, 20 Feb 2024 12:39:47 -0600, Nishanth Menon wrote: > Rev 2 of the series. > > This is a follow up from [1] - Without the 32k crystal configuration, > wlan doesn't work. Debounce is needed for HDMI Hot plug detect(hpd) > gpio interrupt not storming. > > At least the 32k configuration has

[PATCH v1] riscv: cpu: improve multi-letter extension detection in supports_extension()

2024-03-04 Thread Conor Dooley
From: Conor Dooley The first multi-letter extension after the single-letter extensions does not have to be preceded by an underscore, which could cause the parser to mistakenly find a single-letter extension after the start of the multi-letter portion of the string. Three letters precede

Re: [PATCH RFC 26/26] dts: support building all dtb files for a specific vendor

2024-03-04 Thread Tony Dinh
Hi Caleb, On Mon, Mar 4, 2024 at 9:24 AM Caleb Connolly wrote: > > This adjusts OF_UPSTREAM to behave more like the kernel by allowing for > all the devicetree files for a given vendor to be compiled. This is > useful for Qualcomm in particular as most boards are supported by a > single U-Boot

[PATCH] doc: board: starfive: Fix paths in the bash block

2024-03-04 Thread Ivan Orlov
>From the current documentation it is not entirely obvious where to take some of the u-boot build artifacts in order to flash them to the sd card. Extend the "Program the SD card" block by providing relative paths to the jh7110-starfive-visionfive-2.dtb and u-boot-spl.bin.normal.out files. Add

Re: riscv: supports_extension() broken for long isa strings

2024-03-04 Thread Conor Dooley
Apologies for the delay replying here. On Thu, Feb 22, 2024 at 01:36:41PM +0100, Heinrich Schuchardt wrote: > On 21.02.24 18:59, Conor Dooley wrote: > > I mentioned this last night to Heinrich on IRC, supports_extension() is > > broken for ISA strings longer than 32 characters. M-Mode U-Boot

[PATCH] riscv: dts: jh7110: fix indentation

2024-03-04 Thread Leon M. Busch-George
From: "Leon M. Busch-George" Signed-off-by: Leon M. Busch-George --- arch/riscv/dts/jh7110-starfive-visionfive-2-u-boot.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/riscv/dts/jh7110-starfive-visionfive-2-u-boot.dtsi

[PATCH v2] Makefile: use shell to calculate map_size

2024-03-04 Thread Leon M. Busch-George
From: "Leon M. Busch-George" The error message "bc: command not found" is easily missed since the build continues. bc is not a part of coreutils or base-devel. POSIX sh can also do the calculation. Signed-off-by: Leon M. Busch-George --- Makefile | 13 + 1 file changed, 9

Re: [PATCH RFC 10/26] rockchip: drop remaining dt-binding headers

2024-03-04 Thread Jonas Karlman
Hi Caleb, On 2024-03-04 17:51, Caleb Connolly wrote: > Drop in favour of dts/upstream. > > Small driver adjustment to fix compatibility. > > Signed-off-by: Caleb Connolly > --- > drivers/pinctrl/rockchip/pinctrl-rk3568.c | 15 + > include/dt-bindings/pinctrl/rockchip.h|

Re: [PATCH 1/2] arm: mach-k3: am625: copy bootindex to OCRAM for main domain SPL

2024-03-04 Thread Bryan Brattlof
Hey Vignesh! On March 4, 2024 thus sayeth Vignesh Raghavendra: > Hi Wadim, > > On 26/02/24 19:00, Wadim Egorov wrote: > > Texas Instruments has begun enabling security settings on the SoCs it > > produces to instruct ROM and TIFS to begin protecting the Security > > Management Subsystem (SMS)

[PATCH] arm: dts: k3-am64: Move to OF_UPSTREAM

2024-03-04 Thread Andrew Davis
Enable OF_UPSTREAM for AM64-EVM and SK-AM64 boards. Remove DT files that are now available in dts/upstream. Update the appended files based on version of latest OF_UPSTREAM sync point (v6.7-rc7). Signed-off-by: Andrew Davis --- As suggested here[0]. Based on Mar 4 -next. [0]

Re: [PATCH] usb: xhci-dwc3: Fix support for dis_enblslpm_quirk

2024-03-04 Thread Marek Vasut
On 3/2/24 2:09 PM, Jonas Karlman wrote: No device tree in U-Boot or linux use the wrong spelling used in code. Use correct property name as defined in dwc3 bindings. Fixes: 062790f46131 ("usb: xhci-dwc3: Add USB2 PHY configuration") Signed-off-by: Jonas Karlman Reviewed-by: Marek Vasut

[PATCH] arm: stm32: Enable OHCI HCD support on STM32MP15xx DHSOM

2024-03-04 Thread Marek Vasut
The OHCI HCD is mandatory for USB 1.1 FS/LS device support, enable it. This used to be enabled implicitly before, now that implicit dependency disappeared and this got disabled. Enable it manually. Signed-off-by: Marek Vasut --- Cc: Patrice Chotard Cc: Patrick Delaunay Cc:

Re: [PATCH 1/2] opos6uldev: make the LCD work again

2024-03-04 Thread Fabio Estevam
On Tue, Feb 27, 2024 at 12:40 PM Sébastien Szymanski wrote: > > Commit 5d7a95f4 ("imx6ul/imx6ull: synchronise device trees with > linux") removed the display timings from the board device tree whereas > they are still needed by the mxsfb driver. > Add the timings back (the correct ones) in

Re: [PATCH] imx9: Update to mx93 A1 chip revision.

2024-03-04 Thread Fabio Estevam
On Mon, Feb 26, 2024 at 2:48 PM Mathieu Othacehe wrote: > > Use the latest, mx93a1-ahab-container.img that is compatible with the > i.MX93 A1 revision. > > Using mx93a1-ahab-container.img on an A0 chip and conversely causes a boot > failure without any traces on the UART. > > Signed-off-by:

Re: [PATCH 0/2] Fix OP-TEE support

2024-03-04 Thread Fabio Estevam
On Mon, Feb 26, 2024 at 2:37 PM Mathieu Othacehe wrote: > > Hello, > > This series fixes OP-TEE support on all imx9 boards by starting the ELE RNG > and adding the optional tee.bin binary to the ATF container. > > Thanks, > > Mathieu > > Mathieu Othacehe (2): > imx9: Fix OP-TEE support >

[GIT PULL] Please pull u-boot-imx-master-20240304

2024-03-04 Thread Fabio Estevam
.de/u-boot/custodians/u-boot-imx.git tags/u-boot-imx-master-20240304 for you to fetch changes up to 9b9f022e7368cacafa368beaa7fadd931f2cfcdb: video: mxsfb: add back imx6ul/imx6ull support (2024-03-04 08:18:48 -0300) u-boot-imx-master-20240304 -- CI: https://source.denx

Re: [PATCH v2 0/5] TEE: minor cleanup

2024-03-04 Thread Igor Opaniuk
Hi Ilias, On Mon, Mar 4, 2024 at 12:16 PM Ilias Apalodimas < ilias.apalodi...@linaro.org> wrote: > Hi Igor, > > On Sun, 3 Mar 2024 at 00:01, Igor Opaniuk wrote: > > > > > > - Address some spelling errors and typos > > - Support CMD_OPTEE_RPMB for SANDBOX configurations and add python tests > >

[PATCH v3 6/6] tee: remove common.h inclusion

2024-03-04 Thread Igor Opaniuk
The usage of the common.h include file is deprecated [1], and has already been removed from several files. Get rid of all inclusions in the "drivers/tee" directory, and replace it with required include files directly where needed. [1] doc/develop/codingstyle.rst Signed-off-by: Igor Opaniuk ---

[PATCH v3 5/6] test: py: add optee_rpmb tests

2024-03-04 Thread Igor Opaniuk
Add read/write tests for optee_rpmb cmd. Signed-off-by: Igor Opaniuk --- (no changes since v1) test/py/tests/test_optee_rpmb.py | 20 1 file changed, 20 insertions(+) create mode 100644 test/py/tests/test_optee_rpmb.py diff --git a/test/py/tests/test_optee_rpmb.py

[PATCH v3 4/6] cmd: optee_rpmb: build cmd for sandbox

2024-03-04 Thread Igor Opaniuk
Support CMD_OPTEE_RPMB for SANDBOX configurations. Test: $ ./u-boot -d arch/sandbox/dts/test.dtb ... => optee_rpmb write_pvalue test_variable test_value Wrote 11 bytes => optee_rpmb read_pvalue test_variable 11 Read 11 bytes, value = test_value Reviewed-by: Mattijs Korpershoek Tested-by:

[PATCH v3 3/6] cmd: optee_rpmb: close tee session

2024-03-04 Thread Igor Opaniuk
Add calls for closing tee session after every read/write operation. Signed-off-by: Igor Opaniuk --- (no changes since v1) cmd/optee_rpmb.c | 23 +-- 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/cmd/optee_rpmb.c b/cmd/optee_rpmb.c index

[PATCH v3 2/6] tee: sandbox: fix spelling errors

2024-03-04 Thread Igor Opaniuk
Fix spelling errors in comments. Reviewed-by: Heinrich Schuchardt Reviewed-by: Ilias Apalodimas Signed-off-by: Igor Opaniuk --- (no changes since v2) Changes in v2: - Applied R-b tags drivers/tee/sandbox.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

[PATCH v3 1/6] tee: optee: fix description in Kconfig

2024-03-04 Thread Igor Opaniuk
Fix OPTEE_TA_AVB symbol description in Kconfig: s/"write"rb"/"write_rb"/g Reviewed-by: Heinrich Schuchardt Reviewed-by: Ilias Apalodimas Signed-off-by: Igor Opaniuk --- (no changes since v2) Changes in v2: - Applied R-b tags drivers/tee/optee/Kconfig | 2 +- 1 file changed, 1 insertion(+),

[PATCH v3 0/6] TEE: minor cleanup

2024-03-04 Thread Igor Opaniuk
- Address some spelling errors and typos - Support CMD_OPTEE_RPMB for SANDBOX configurations and add python tests - Remove common.h inclusion for drivers/tee - Add calls for closing tee session after every read/write operation. CI build: [1]

Re: [PATCH 0/8] Add support for Qualcomm SA8155-ADP board

2024-03-04 Thread Konrad Dybcio
On 3/4/24 16:51, Volodymyr Babchuk wrote: Hi Stephan, Stephan Gerhold writes: On Fri, Mar 01, 2024 at 06:25:39PM +, Volodymyr Babchuk wrote: Caleb Connolly writes: On 29/02/2024 14:21, Volodymyr Babchuk wrote: This patch series adds support for Qualcomm SA8155-ADP development

[PATCH RFC 26/26] dts: support building all dtb files for a specific vendor

2024-03-04 Thread Caleb Connolly
This adjusts OF_UPSTREAM to behave more like the kernel by allowing for all the devicetree files for a given vendor to be compiled. This is useful for Qualcomm in particular as most boards are supported by a single U-Boot build just provided with a different DT. Signed-off-by: Caleb Connolly ---

[PATCH RFC 25/26] dt-bindings: drop generic headers

2024-03-04 Thread Caleb Connolly
Drop all the subsystem headers that are compatible with the headers in dts/upstream. Signed-off-by: Caleb Connolly --- include/dt-bindings/ata/ahci.h | 20 - include/dt-bindings/gpio/gpio.h| 42 -- include/dt-bindings/input/gpio-keys.h | 13 -

[PATCH RFC 24/26] dt-bindings: drop remaining device headers

2024-03-04 Thread Caleb Connolly
Drop in favour of dts/upstream. Remaining device headers for small vendors Signed-off-by: Caleb Connolly --- include/dt-bindings/arm/coresight-cti-dt.h | 37 - include/dt-bindings/arm/ux500_pm_domains.h | 15 -- include/dt-bindings/bus/moxtet.h | 16 --

[PATCH RFC 23/26] dt-bindings: drop clock headers

2024-03-04 Thread Caleb Connolly
Drop in favour of dts/upstream. Clock headers for remaining smaller vendors that are compatible with dts/upstream. Signed-off-by: Caleb Connolly --- include/dt-bindings/clock/actions,s700-cmu.h | 118 --- include/dt-bindings/clock/actions,s900-cmu.h | 129

[PATCH RFC 22/26] sifive: drop clock headers

2024-03-04 Thread Caleb Connolly
Drop in favour of dts/upstream. Small driver/dts change to fix compatibility. Signed-off-by: Caleb Connolly --- arch/riscv/dts/fu540-c000-u-boot.dtsi | 26 +- drivers/clk/sifive/fu540-prci.c | 8

[PATCH RFC 21/26] hisi: drop dt-binding headers

2024-03-04 Thread Caleb Connolly
Drop in favour of dts/upstream Signed-off-by: Caleb Connolly --- include/dt-bindings/clock/hi3660-clock.h | 214 --- include/dt-bindings/clock/hi6220-clock.h | 173 - include/dt-bindings/pinctrl/hisi.h | 74 --- 3 files changed,

[PATCH RFC 19/26] mtk: drop dt-binding headers

2024-03-04 Thread Caleb Connolly
Drop in favour of dts/upstream Signed-off-by: Caleb Connolly --- include/dt-bindings/clock/mt7621-clk.h| 46 -- include/dt-bindings/clock/mt7622-clk.h| 270 --- include/dt-bindings/clock/mt7629-clk.h| 206 -- include/dt-bindings/clock/mt8183-clk.h

[PATCH RFC 20/26] microchip: drop dt-binding headers

2024-03-04 Thread Caleb Connolly
Drop in favour of dts/upstream Signed-off-by: Caleb Connolly --- include/dt-bindings/clock/at91.h | 23 include/dt-bindings/clock/microchip-mpfs-clock.h | 71 include/dt-bindings/dma/at91.h | 52 -

[PATCH RFC 17/26] renesas: drop clock dt-binding headers

2024-03-04 Thread Caleb Connolly
Drop in favour of dts/upstream. Signed-off-by: Caleb Connolly --- include/dt-bindings/clock/r7s72100-clock.h| 112 - include/dt-bindings/clock/r8a774a1-cpg-mssr.h | 59 --- include/dt-bindings/clock/r8a774b1-cpg-mssr.h | 57 ---

[PATCH RFC 18/26] renesas: drop remaining dt-binding headers

2024-03-04 Thread Caleb Connolly
Drop in favour of dts/upstream. Signed-off-by: Caleb Connolly --- include/dt-bindings/pinctrl/r7s72100-pinctrl.h | 18 include/dt-bindings/pinctrl/rzg2l-pinctrl.h| 23 include/dt-bindings/pinctrl/rzn1-pinctrl.h | 141 -

[PATCH RFC 16/26] xlnx: drop dt-binding headers

2024-03-04 Thread Caleb Connolly
Drop in favour of dts/upstream Signed-off-by: Caleb Connolly --- include/dt-bindings/clock/xlnx-versal-clk.h| 123 --- include/dt-bindings/clock/xlnx-zynqmp-clk.h| 126 include/dt-bindings/dma/xlnx-zynqmp-dpdma.h| 16 ---

[PATCH RFC 14/26] tegra: drop clock dt-binding headers

2024-03-04 Thread Caleb Connolly
Drop in favour of dts/upstream. Signed-off-by: Caleb Connolly --- include/dt-bindings/clock/tegra114-car.h| 343 - include/dt-bindings/clock/tegra124-car-common.h | 345 - include/dt-bindings/clock/tegra124-car.h| 19 - include/dt-bindings/clock/tegra186-clock.h

[PATCH RFC 15/26] tegra: drop dt-binding headers

2024-03-04 Thread Caleb Connolly
Drop in favour of dts/upstream. Small driver adjustment to fix compatibility. Signed-off-by: Caleb Connolly --- arch/arm/dts/tegra186.dtsi | 2 +- drivers/mailbox/tegra-hsp.c | 2 +- include/dt-bindings/gpio/tegra-gpio.h| 51 --

[PATCH RFC 13/26] ti: drop dt-binding headers

2024-03-04 Thread Caleb Connolly
Drop in favour of dts/upstream Signed-off-by: Caleb Connolly --- drivers/net/phy/dp83869.c | 2 + include/dt-bindings/bus/ti-sysc.h | 28 include/dt-bindings/clk/ti-dra7-atl.h | 40 - include/dt-bindings/clock/am3.h| 227

[PATCH RFC 12/26] bcm: drop dt-binding headers

2024-03-04 Thread Caleb Connolly
Drop in favour of dts/upstream Signed-off-by: Caleb Connolly --- include/dt-bindings/clock/bcm-nsp.h| 51 include/dt-bindings/clock/bcm2835-aux.h| 9 - include/dt-bindings/clock/bcm2835.h| 62 --

[PATCH RFC 10/26] rockchip: drop remaining dt-binding headers

2024-03-04 Thread Caleb Connolly
Drop in favour of dts/upstream. Small driver adjustment to fix compatibility. Signed-off-by: Caleb Connolly --- drivers/pinctrl/rockchip/pinctrl-rk3568.c | 15 + include/dt-bindings/pinctrl/rockchip.h| 60 -- include/dt-bindings/power/px30-power.h| 27 -

[PATCH RFC 11/26] exynos: drop dt-binding headers

2024-03-04 Thread Caleb Connolly
Drop in favour of dts/upstream. Small driver and DTS adjustments to use upstream headers. Signed-off-by: Caleb Connolly --- arch/arm/dts/exynos7420.dtsi | 2 +- drivers/clk/exynos/clk-exynos7420.c | 2 +- include/dt-bindings/clock/exynos7420-clk.h | 207

[PATCH RFC 07/26] amlogic: drop dt-binding headers

2024-03-04 Thread Caleb Connolly
Dropped in favour of dts/upstream Signed-off-by: Caleb Connolly --- .../clock/amlogic,a1-peripherals-clkc.h| 168 - include/dt-bindings/clock/amlogic,a1-pll-clkc.h| 25 --- include/dt-bindings/clock/axg-aoclkc.h | 31

[PATCH RFC 08/26] stm: drop dt-binding headers

2024-03-04 Thread Caleb Connolly
Dropped in favour of dts/upstream Signed-off-by: Caleb Connolly --- include/dt-bindings/clock/ste-ab8500.h | 12 - include/dt-bindings/clock/stih407-clks.h | 90 --- include/dt-bindings/clock/stih410-clks.h | 25 --

[PATCH RFC 05/26] imx: drop clock dt-binding headers

2024-03-04 Thread Caleb Connolly
Drop in favour of dts/upstream. Signed-off-by: Caleb Connolly --- include/dt-bindings/clock/imx5-clock.h | 219 - include/dt-bindings/clock/imx6qdl-clock.h | 278 - include/dt-bindings/clock/imx6sl-clock.h| 178 ---

[PATCH RFC 06/26] imx: drop dt-binding headers

2024-03-04 Thread Caleb Connolly
Drop in favour of dts/upstream. Signed-off-by: Caleb Connolly --- include/dt-bindings/interconnect/fsl,imx8mp.h | 59 --- include/dt-bindings/interconnect/imx8mm.h | 50 include/dt-bindings/interconnect/imx8mn.h | 41

[PATCH RFC 04/26] sunxi: drop remaining dt-binding headers

2024-03-04 Thread Caleb Connolly
Drop in favour of dts/upstream. Signed-off-by: Caleb Connolly --- include/dt-bindings/dma/sun4i-a10.h | 56 --- include/dt-bindings/pinctrl/sun4i-a10.h | 62 include/dt-bindings/reset/sun20i-d1-ccu.h | 79

[PATCH RFC 03/26] sunxi: drop clock dt-binding headers

2024-03-04 Thread Caleb Connolly
Drop in favour of dts/upstream Signed-off-by: Caleb Connolly --- include/dt-bindings/clock/sun20i-d1-ccu.h | 158 include/dt-bindings/clock/sun20i-d1-r-ccu.h | 19 --- include/dt-bindings/clock/sun4i-a10-ccu.h | 202 --

[PATCH RFC 02/26] qcom: drop remaining dt-binding headers

2024-03-04 Thread Caleb Connolly
Drop in favour of dts/upstream Signed-off-by: Caleb Connolly --- include/dt-bindings/dma/qcom-gpi.h | 11 - include/dt-bindings/firmware/qcom,scm.h| 39 -- include/dt-bindings/iio/qcom,spmi-vadc.h | 300 ---

[PATCH RFC 01/26] qcom: drop clock dt-binding headers

2024-03-04 Thread Caleb Connolly
Drop in favour of dts/upstream. This is just the clock headers. Signed-off-by: Caleb Connolly --- include/dt-bindings/clock/qcom,camcc-sdm845.h| 116 include/dt-bindings/clock/qcom,dispcc-sdm845.h | 56 include/dt-bindings/clock/qcom,gcc-ipq4019.h | 169 ---

[PATCH RFC 00/26] Drop DT upstream compatible dt-binding headers

2024-03-04 Thread Caleb Connolly
Many of the dt-binding headers in U-Boot are based on the upstream ones from Linux, occasionally with minor changes. Although some have additional things defined or are totally different. This series attempts to drop as many of these headers as is easily possible. Those with differing APIs were

Re: [PATCH 1/2] arm: dts: k3-am64: Sync with kernel v6.7-rc1

2024-03-04 Thread Tom Rini
On Thu, Feb 01, 2024 at 04:27:40PM -0600, Andrew Davis wrote: > From: Nishanth Menon > > Sync with kernel v6.7-rc1 and sync up the u-boot dts files accordingly. > > Signed-off-by: Nishanth Menon > Signed-off-by: Andrew Davis I'm deferring this series in favor of having these platforms moved

Re: [PATCH 0/8] Add support for Qualcomm SA8155-ADP board

2024-03-04 Thread Caleb Connolly
On 04/03/2024 15:51, Volodymyr Babchuk wrote: > > Hi Stephan, > > Stephan Gerhold writes: > >> On Fri, Mar 01, 2024 at 06:25:39PM +, Volodymyr Babchuk wrote: >>> Caleb Connolly writes: On 29/02/2024 14:21, Volodymyr Babchuk wrote: > This patch series adds support for Qualcomm

Re: [PATCH] Makefile: use shell to calculate map_size

2024-03-04 Thread Leon Busch-George
Oops! That should have went to the list as well... On Mon, 4 Mar 2024 15:40:07 +0100 Leon Busch-George wrote: > Hi Dragan :-) > > Thanks for your reply! > > On Sat, 02 Mar 2024 22:13:08 +0100 > Dragan Simic wrote: > > > > + awk '/_image_copy_start/ {start = $$1} > > >

Re: [PATCH 8/8] board: add support for Qualcomm SA8155P-ADP board

2024-03-04 Thread Volodymyr Babchuk
Hi Stephan, Stephan Gerhold writes: [...] >> +This approach ensures that U-Boot is booted in EL2 and it is possible >> +to run virtualization software (like Xen or KVM) on the board. You >> +must understand that this approach breaks Qualcomm's boot chain. You >> +will not be able to call all

Re: [PATCH 0/8] Add support for Qualcomm SA8155-ADP board

2024-03-04 Thread Volodymyr Babchuk
Hi Stephan, Stephan Gerhold writes: > On Fri, Mar 01, 2024 at 06:25:39PM +, Volodymyr Babchuk wrote: >> Caleb Connolly writes: >> > On 29/02/2024 14:21, Volodymyr Babchuk wrote: >> >> This patch series adds support for Qualcomm SA8155-ADP development >> >> board. Main motivation for this

[PATCH] e1000: add support for i225-IT

2024-03-04 Thread Marjolaine Amate
This patch adds support for i225-IT in e1000 driver. Add e1000_phy_igc. Signed-off-by: Marjolaine Amate --- drivers/net/e1000.c | 15 ++- drivers/net/e1000.h | 2 ++ include/pci_ids.h | 2 ++ 3 files changed, 18 insertions(+), 1 deletion(-) diff --git a/drivers/net/e1000.c

[PATCH] mtd: spi-nor: Clear Winbond SR3 WPS bit on boot

2024-03-04 Thread Marek Vasut
Some Winbond SPI NORs have special SR3 register which is used among other things to control whether non-standard "Individual Block/Sector Write Protection" (WPS bit) locking scheme is activated. This non-standard locking scheme is not supported by either U-Boot or Linux SPI NOR stack so make sure

Re: [PATCH v2 0/5] TEE: minor cleanup

2024-03-04 Thread Heinrich Schuchardt
On 04.03.24 16:50, Igor Opaniuk wrote: Hi Ilias, On Mon, Mar 4, 2024 at 12:16 PM Ilias Apalodimas mailto:ilias.apalodi...@linaro.org>> wrote: Hi Igor, On Sun, 3 Mar 2024 at 00:01, Igor Opaniuk mailto:igor.opan...@gmail.com>> wrote: > > > - Address some spelling errors

Re: [PATCH v2 0/5] TEE: minor cleanup

2024-03-04 Thread Tom Rini
On Mon, Mar 04, 2024 at 04:50:48PM +0100, Igor Opaniuk wrote: > Hi Ilias, > > On Mon, Mar 4, 2024 at 12:16 PM Ilias Apalodimas < > ilias.apalodi...@linaro.org> wrote: > > > Hi Igor, > > > > On Sun, 3 Mar 2024 at 00:01, Igor Opaniuk wrote: > > > > > > > > > - Address some spelling errors and

Re: [PATCH 1/2] board: phytec: common: phytec_som_detection: Add phytec_get_som_type

2024-03-04 Thread Benjamin Hahn
On 04.03.24 15:42, Fabio Estevam wrote: > On Mon, Mar 4, 2024 at 9:31 AM Benjamin Hahn wrote: >> Add a function that gets the som_type from the EEPROM. >> Add an enum for the som_type. >> >> Signed-off-by: Benjamin Hahn > Your series does not even build: > >

[PATCH v2 2/2] board: phycore_imx8mp: Use 2GHz RAM timings for PCL-070 from pcb_rev 1

2024-03-04 Thread Benjamin Hahn
We need to differ between PCL-070 and PCM-070. PCL-070 supports 2GHz RAM timings from pcb rev 1 or newer. PCM-070 supports 2GHz RAM timings from pcb rev 3 or newer. Signed-off-by: Benjamin Hahn --- board/phytec/phycore_imx8mp/spl.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-)

[PATCH v2 0/2] board: phytec_imx8mp: Use 2GHz RAM timings for PCL-070 from pcb_rev 1

2024-03-04 Thread Benjamin Hahn
PCL-070 supports 2GHz RAM-timings from pcb_rev 1 and newer. PCM-070 supports 2GHz RAM-timings only from pcb_rev 3 and newer. Signed-off-by: Benjamin Hahn --- Changes in v2: - Fix mistakes that prevented building - Link to v1: https://lore.kernel.org/r/20240304-pcl-070-patches-v1-0-6aa6c89e3

[PATCH v2 1/2] board: phytec: common: phytec_som_detection: Add phytec_get_som_type

2024-03-04 Thread Benjamin Hahn
Add a function that gets the som_type from the EEPROM. Add an enum for the som_type. Signed-off-by: Benjamin Hahn --- board/phytec/common/phytec_som_detection.c | 10 ++ board/phytec/common/phytec_som_detection.h | 8 2 files changed, 18 insertions(+) diff --git

Re: [PATCH v2 0/5] TEE: minor cleanup

2024-03-04 Thread Igor Opaniuk
Hi Ilias, On Mon, Mar 4, 2024 at 12:16 PM Ilias Apalodimas < ilias.apalodi...@linaro.org> wrote: > Hi Igor, > > On Sun, 3 Mar 2024 at 00:01, Igor Opaniuk wrote: > > > > > > - Address some spelling errors and typos > > - Support CMD_OPTEE_RPMB for SANDBOX configurations and add python tests > >

Re: [PATCH] cmd: sf: Fix sf probe crash

2024-03-04 Thread Michael Nazzareno Trimarchi
Hi On Mon, Mar 4, 2024 at 4:44 PM Heinrich Schuchardt wrote: > > On 04.03.24 15:47, Weizhao Ouyang wrote: > > Gentle ping. Not merged yet. > > > > BR, > > Weizhao > > Hello Dario, > > that patch is in your patchwork review queue. Could you, please, have a > look. He is with me, I will ping

Re: [PATCH] cmd: sf: Fix sf probe crash

2024-03-04 Thread Heinrich Schuchardt
On 04.03.24 15:47, Weizhao Ouyang wrote: Gentle ping. Not merged yet. BR, Weizhao Hello Dario, that patch is in your patchwork review queue. Could you, please, have a look. Best regards Heinrich On Thu, Jan 4, 2024 at 7:46 PM Weizhao Ouyang wrote: Handle the return value of

Re: [PATCH] mmc: arm_pl180: Limit data transfer to U16_MAX

2024-03-04 Thread Lean Sheng Tan
Quick reminder: Can anyone help to review this? Thanks! Best Regards, *Lean Sheng Tan* 9elements GmbH, Kortumstraße 19-21, 44787 Bochum, Germany Email: sheng@9elements.com Phone: *+49 234 68 94 188 <+492346894188>* Mobile: *+49 176 76 113842 <+4917676113842>* Registered office: Bochum

Re: [PATCH v2] scripts: dtc-version: Don't show error messages

2024-03-04 Thread Dragan Simic
On 2024-03-04 16:28, Tom Rini wrote: On Tue, Feb 06, 2024 at 12:00:04PM +0100, Dragan Simic wrote: Prevent the error messages produced by which(1), such as the one quoted below, from being visible in the build outputs. which: no dtc in (./scripts/dtc) This makes the build outputs look a

Re: [PATCH v2] board: synquacer: developerbox: add myself as maintainer

2024-03-04 Thread Tom Rini
On Fri, Mar 01, 2024 at 01:38:39PM +0900, Masahisa Kojima wrote: > Add myself as maintainer for SynQuacer Developerbox, > as I'm currently working on it. > This commit also removes Jassi from maintainer since he > no longer has a Developerbox. > > Cc: Jassi Brar > Signed-off-by: Masahisa Kojima

Re: [PATCH v2] cmd: eeprom: Fix config dependency

2024-03-04 Thread Tom Rini
On Fri, Feb 23, 2024 at 05:14:20PM +, Ivan Orlov wrote: > We should have CONFIG_DM_I2C or CONFIG_SYS_I2C_LEGACY enabled in > order for `cmd/eeprom.c` to compile as it depends on the i2c functions > which are not compiled otherwise. Update the Kconfig entry for the > 'eeprom' command

Re: [PATCH v3 1/1] Makefile: pass -undef option to cmd_gen_envp

2024-03-04 Thread Tom Rini
On Fri, Feb 23, 2024 at 12:42:06PM +0100, Sébastien Szymanski wrote: > Without the '-undef' option, the 'linux' string in .env files is > replaced with the string '1 '. > For example, in the board/armadeus/opos6uldev/opos6uldev.env file, > > kernelimg=opos6ul-linux.bin > > becomes > >

Re: [PATCH 1/1] ext4: detect directories in ext4fs_exists()

2024-03-04 Thread Tom Rini
On Tue, Feb 20, 2024 at 12:54:23PM +0100, Heinrich Schuchardt wrote: > While fat_exists() reports directories and files as existing > ext4fs_exists() only recognizes files. This lead to errors > when using systemd-boot with an ext4 file-system. > > Change ext4fs_exists() to find any type of

Re: [PATCH] remove Broadcom Northstar 2 Target entry

2024-03-04 Thread Tom Rini
On Sun, Feb 18, 2024 at 11:16:20AM +, Peter Robinson wrote: > The Broadcom Northstar 2 support was removed when the > bcm958712k board was removed but the target entry was > missed so clean that up as well. > > Fixes: d59bc09d829 ("arm: Remove bcm958712k board") > Signed-off-by: Peter

  1   2   3   >