Re: [PATCH 00/14] bloblist: Align to firmware handoff

2023-10-27 Thread Simon Glass
Hi Michal, On Wed, 6 Sept 2023 at 12:22, Michal Simek wrote: > > Hi Simon, > > út 25. 7. 2023 v 23:36 odesílatel Simon Glass napsal: > > > > In moving from v0.8 to v0.9 the Firmware Handoff specification made some > > changes, including: > > > >- Use a packed format for headers to reduce

[PATCH] scsi: Forceably finish migration to DM_SCSI

2023-10-27 Thread Tom Rini
The migration deadline for moving to DM_SCSI was v2023.04. A further reminder was sent out in August 2023 to the remaining platforms that had not migrated already, and that a few more over the line (or configs deleted). With this commit we: - Rename CONFIG_DM_SCSI to CONFIG_SCSI. - Remove all of

Re: Pull request efi-2024-01-rc2-2

2023-10-27 Thread Tom Rini
On Fri, Oct 27, 2023 at 09:20:37PM +0200, Heinrich Schuchardt wrote: > Dear Tom, > > This pull request replaces pull request efi-2024-01-rc2. The two patches > with which you saw issues are removed. > > The following changes since commit fb428b61819444b9337075f49c72f326f5d12085: > > Merge

Re: Pull request for tpm-next-27102023

2023-10-27 Thread Tom Rini
On Fri, Oct 27, 2023 at 02:26:16PM +0300, Ilias Apalodimas wrote: > Hi Tom, > The following changes since commit e29b932aa07fa0226d325b35d96cd4eea0370129: > > Merge branch '2023-09-30-Kconfig-updates' into next (2023-10-01 11:54:31 > -0400) > > are available in the Git repository at: > >

Re: [GIT PULL] Please pull u-boot-amlogic-20231027

2023-10-27 Thread Tom Rini
al-fixes-and-updates' (2023-10-24 > 19:12:21 -0400) > > are available in the Git repository at: > > https://source.denx.de/u-boot/custodians/u-boot-amlogic.git > tags/u-boot-amlogic-20231027 > > for you to fetch changes up to 892e04bc965400772e1b84e6450a7919deca0e0b: >

Re: Please pull u-boot-marvell/master

2023-10-27 Thread Tom Rini
On Fri, Oct 27, 2023 at 08:51:26AM +0200, Stefan Roese wrote: > Hi Tom, > > please pull this next batch of Marvell related patches: > Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

[PATCH] mmc: sdhci: Rework SDHCI_QUIRK_BROKEN_R1B

2023-10-27 Thread Sean Anderson
As noted in commit 3a6383207be ("mmc: sdhci: add the quirk for broken r1b response"), some MMC controllers don't always set the transfer complete bit with R1b responses. According to the SD Host Controller Simplified Specification v4.20, > In the case of a command pairing with

Re: [PATCH 0/3] arm: dts: k3-am6: Fix Ethernet/DMA

2023-10-27 Thread Nishanth Menon
On 16:46-20231027, Roger Quadros wrote: > Hi, > > Since commit [1], Ethernet is broken on TI AM62 and AM64 platforms. > > The commit [1] is not the culprit. It just unearths the problem by fixing > the error check in k3-udma.c. This issue was silently being ignored earlier &g

Re: [PATCH 0/8] USB fixes: xHCI error handling

2023-10-27 Thread Neal Gompa
usb: xhci: Fix DMA address calculation in queue_trb > > usb: xhci: Add more debugging > > > > drivers/usb/host/xhci-ring.c | 100 > > +++ > > drivers/usb/host/xhci.c | 9 > > include/usb/xhci.h |

Re: [PATCH 0/8] USB fixes: xHCI error handling

2023-10-27 Thread Neal Gompa
+ > drivers/usb/host/xhci.c | 9 > include/usb/xhci.h | 2 + > 3 files changed, 92 insertions(+), 19 deletions(-) > --- > base-commit: fb428b61819444b9337075f49c72f326f5d12085 > change-id: 20231027-usb-fixes-1-83bfc7013012 > The series looks reaso

[PATCH 3/3] arm: semihosting: Support semihosting fallback on 32-bit ARM

2023-10-27 Thread Sean Anderson
Add support for a semihosting fallback on 32-bit ARM. The assembly is lightly adapted from the irq return code, except there is no offset since lr already points to the correct instruction. The C side is mostly like ARM64, except we have fewer cases to deal with. Signed-off-by: Sean Anderson ---

[PATCH 1/3] arm: Fix software interrupt handler

2023-10-27 Thread Sean Anderson
When we take a software interrupt, we are already in supervisor mode. get_bad_stack assumes we are not in supervisor mode so it can clobber the stack pointer. This causes us to have an invalid stack once that macro finishes. Revert back to the get_bad_stack_swi macro which was previously removed.

[PATCH 0/3] arm: Semihosting fixes/improvements for ARMv6 and older

2023-10-27 Thread Sean Anderson
This series has a few fixes for semihosting on ARMv6 and older CPUs. The first two patches address problems regarding the stack pointer and link register. U-Boot runs in supervisor mode, so taking a software interrupt will clobber sp/lr. I think we really should run in system mode, since it has

[PATCH 2/3] arm: semihosting: Fix returning from traps on ARMv6 and lower

2023-10-27 Thread Sean Anderson
U-Boot runs in supervisor mode. On ARMv6 and lower, software interrupts are taken in supervisor mode. When entering an interrupt, the link register is set to the address of the next instruction. However, if we are already in supervisor mode, this clobbers the link register. The debugger can't help

[PATCH] bootm: Enable legacy VxWorks booting from FITs

2023-10-27 Thread Sean Anderson
This works without issue, so don't fail. Signed-off-by: Sean Anderson --- boot/bootm_os.c | 7 --- 1 file changed, 7 deletions(-) diff --git a/boot/bootm_os.c b/boot/bootm_os.c index 9c035b5be88..30296eb27d7 100644 --- a/boot/bootm_os.c +++ b/boot/bootm_os.c @@ -317,13 +317,6 @@ static

Pull request efi-2024-01-rc2-2

2023-10-27 Thread Heinrich Schuchardt
Dear Tom, This pull request replaces pull request efi-2024-01-rc2. The two patches with which you saw issues are removed. The following changes since commit fb428b61819444b9337075f49c72f326f5d12085: Merge branch '2023-10-24-assorted-general-fixes-and-updates' (2023-10-24 19:12:21 -0400) are

Re: [PATCH] test/py: always use autostart on tpm2 selftests

2023-10-27 Thread Simon Glass
Hi Ilias, On Wed, 25 Oct 2023 at 18:23, Simon Glass wrote: > > Hi Ilias, > > On Wed, 25 Oct 2023 at 07:25, Ilias Apalodimas > wrote: > > > > commit 789ed2784256 ("test/py: replace 'tpm2 init, startup, selftest' > > sequences") > > changed some of the tpm2 init sequences to 'tpm2 autostart'

[PATCH v3] rockchip: include: asm: fix entering download mode rk3066

2023-10-27 Thread Johan Jonker
Keep track of the re-entries with help of the lr register. This binary can be re-used and called from various BROM functions. Only when it's called from the part that handles SPI, NAND or EMMC hardware it needs to early return to BROM ones. In download mode when it handles data on USB OTG and

[PATCH v5 0/1] CONFIG_IS_ENABLED vs IS_ENABLED

2023-10-27 Thread Troy Kisky
This patch set gets ready to checks the usage of CONFIG_IS_ENABLED/IS_ENABLED. After the set has been applied, you can delete test/usage_of_is_enabled_todo.txt and run test/usage_of_is_enabled_commit.sh The script test/usage_of_is_enabled_check.sh checks for new questionable uses of

[PATCH v5 1/1] CI: add test/usage_of_is_enabled_check.sh

2023-10-27 Thread Troy Kisky
Add script usage_of_is_enabled_check to print any configs that use CONFIG_IS_ENABLED instead of IS_ENABLED and vice versa. Add usage_of_is_enabled_commit.sh to generate commits to fix the above issues. You can remove entries from test/usage_of_is_enabled_todo.txt or the entire file and then run

Re: [PATCH 0/3] Revert HAFDBS changes

2023-10-27 Thread Tom Rini
On Fri, Oct 27, 2023 at 10:49:47AM +0100, Pierre-Clément Tosi wrote: > Hi Chris, > > On Fri, Oct 27, 2023 at 01:23:51PM +1300, Chris Packham wrote: > > As discussed this series reverts the HAFDBS changes that caused an issue > > on AC5/AC5X. I think there are some improvements that can be made to

Re: [RESEND PATCH v2] rockchip: include: asm: fix entering download mode rk3066

2023-10-27 Thread Tom Rini
[Resending this as I don't see it on the archives] On Fri, Oct 27, 2023 at 11:47:25AM +0200, Johan Jonker wrote: > Hi Tom, Simon, > > The test for my patch ends with an error that is reported on various > locations on the internet. > My knowledge is limited here. Could you have a look? > >

Re: [PATCH 1/1] board: sifive: unmatched: move kernel load address to 0x80200000

2023-10-27 Thread Tom Rini
On Thu, Oct 26, 2023 at 03:22:52AM +, Yong-Xuan Wang wrote: > U-boot initially loads the kernel image to the kernel_addr_r, and > subsequently relocates it to memory address 0x8020. Setting > kernel_addr_r to 0x8020 can eliminate one copy operation. > > Signed-off-by: Yong-Xuan Wang

[PATCH] mtd: spi: flash_is_unlocked return values fix

2023-10-27 Thread Stanislav Bolshakov
In accordance with the name of the function 'flash_is_unlocked()', it is implied that the return value will be either 'true' or 'false'. Moreover, calling this function from other parts of the program is based precisely on this fact. The value of the pointer to the actual called function

Re: U-Boot 2023.10 does not boot from uSD on RPi4

2023-10-27 Thread Tom Rini
Apologies for the late public reply. On Thu, Oct 19, 2023 at 03:06:48PM +0100, Peter Robinson wrote: > On Fri, Oct 13, 2023 at 6:48 PM Tom Rini wrote: > > > > On Fri, Oct 13, 2023 at 05:22:03PM +0100, Peter Robinson wrote: > > > On Fri, Oct 13, 2023 at 5:09 PM Peter Robinson > > > wrote: > > >

Re: [PATCH 0/3] Revert HAFDBS changes

2023-10-27 Thread Pierre-Clément Tosi
Hi Marc, On Fri, Oct 27, 2023 at 03:11:15PM +0100, Marc Zyngier wrote: > Hi Pierre-Clément, > > On Fri, 27 Oct 2023 10:49:47 +0100, > Pierre-Clément Tosi wrote: > > > > Hi Chris, > > > > On Fri, Oct 27, 2023 at 01:23:51PM +1300, Chris Packham wrote: > > > As discussed this series reverts the

Re: [PATCH v1 0/9] Add STM32MP2 SoCs and STM32MP257F-EV board support

2023-10-27 Thread Patrice CHOTARD
Hi, I got issues with my mailer which send partially this series, please drop it. Patrice On 10/27/23 16:39, Patrice Chotard wrote: > > Add STM32MP257F Evaluation board support, it embeds a > STM32MP257FAI SoC, with 4GB of DDR4, TSN switch (2+1 ports), > 2*USB typeA, 1*USB2 typeC, SNOR

[PATCH v1 9/9] stm32mp2: initial support

2023-10-27 Thread Patrice Chotard
Add initial support for STM32MP2 SoCs family. SoCs information are available here : https://www.st.com/content/st_com/en/campaigns/microprocessor-stm32mp2.html Migrate all MP1 related code into stm32mp1/ directory Create stm32mp2 directory dedicated for STM32MP2 SoCs. Common code to MP1, MP13

[PATCH v1 8/9] ARM: dts: stm32: Add STM32MP257F Evaluation board support

2023-10-27 Thread Patrice Chotard
Add STM32MP257F Evaluation board support. It embeds a STM32MP257FAI SoC, with 4GB of DDR4, TSN switch (2+1 ports), 2*USB typeA, 1*USB2 typeC, SNOR OctoSPI, mini PCIe, STPMIC2 for power distribution ... Sync device tree with kernel v6.6-rc1. Signed-off-by: Patrice Chotard ---

[PATCH v1 7/9] pinctrl: pinctrl_stm32: Add stm32mp2 support

2023-10-27 Thread Patrice Chotard
Add stm32mp2 compatible. Signed-off-by: Patrice Chotard --- drivers/pinctrl/pinctrl_stm32.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/pinctrl/pinctrl_stm32.c b/drivers/pinctrl/pinctrl_stm32.c index 8bb7588714a..7120b8edba0 100644 --- a/drivers/pinctrl/pinctrl_stm32.c +++

[PATCH v1 6/9] serial: stm32: Fix AARCH64 compilation warnings

2023-10-27 Thread Patrice Chotard
From: Patrice Chotard When building with AARCH64 defconfig, we got warnings, fix them by using registers base address defined as void __iomem * instead of fdt_addr_t. Signed-off-by: Patrice Chotard Signed-off-by: Patrice Chotard --- drivers/serial/serial_stm32.c | 23 +--

[PATCH v1 5/9] stm32mp: bsec: Fix AARCH64 compilation warnings

2023-10-27 Thread Patrice Chotard
When building with AARCH64 defconfig, we got warnings, fix them. Signed-off-by: Patrice Chotard --- arch/arm/mach-stm32mp/bsec.c | 29 +++-- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/arch/arm/mach-stm32mp/bsec.c b/arch/arm/mach-stm32mp/bsec.c index

[PATCH v1 0/9] Add STM32MP2 SoCs and STM32MP257F-EV board support

2023-10-27 Thread Patrice Chotard
Add STM32MP257F Evaluation board support, it embeds a STM32MP257FAI SoC, with 4GB of DDR4, TSN switch (2+1 ports), 2*USB typeA, 1*USB2 typeC, SNOR OctoSPI, mini PCIe, STPMIC2 for power distribution ... Patrice Chotard (8): arm: caches: Make DCACHE_DEFAULT_OPTION accessible for ARM64 arch

[PATCH v1 1/9] arm: caches: Make DCACHE_DEFAULT_OPTION accessible for ARM64 arch

2023-10-27 Thread Patrice Chotard
This fixes the following compilation error in ARM64: arch/arm/mach-stm32mp/dram_init.c: In function ‘board_get_usable_ram_top’: arch/arm/mach-stm32mp/dram_init.c:59:45: error: ‘DCACHE_DEFAULT_OPTION’ undeclared (first use in this function) 59 | mmu_set_region_dcache_behaviour(reg, size,

[PATCH v1 3/9] stm32mp: dram_init: Fix AARCH64 compilation warnings

2023-10-27 Thread Patrice Chotard
From: Patrick Delaunay When building with AARCH64 defconfig, we got warnings for debug message - format '%x' expects argument of type 'unsigned int', but argument 3 has type 'size_t' {aka 'long unsigned int'}). - format '%lx' expects argument of type 'long unsigned int', but argument 2 has

[PATCH v1 4/9] stm32mp: dram_init: Limit DDR usage under 4GB boundary for STM32MP

2023-10-27 Thread Patrice Chotard
Limit DDR usage under 4GB boundary on STM32MP regardless of memory size declared in device tree. Signed-off-by: Patrice Chotard --- arch/arm/mach-stm32mp/dram_init.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-stm32mp/dram_init.c

[PATCH v1 2/9] stm32mp: dram_init: Get RAM size from DT if no RAM driver found

2023-10-27 Thread Patrice Chotard
From: Patrice Chotard In case there is no RAM driver retrieve RAM size from DT as fallback. Signed-off-by: Patrice Chotard Signed-off-by: Patrice Chotard --- arch/arm/mach-stm32mp/dram_init.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git

[PATCH v1 0/9] Add STM32MP2 SoCs and STM32MP257F-EV board support

2023-10-27 Thread Patrice Chotard
Add STM32MP257F Evaluation board support, it embeds a STM32MP257FAI SoC, with 4GB of DDR4, TSN switch (2+1 ports), 2*USB typeA, 1*USB2 typeC, SNOR OctoSPI, mini PCIe, STPMIC2 for power distribution ... Patrice Chotard (8): arm: caches: Make DCACHE_DEFAULT_OPTION accessible for ARM64 arch

[PATCH v1 1/9] arm: caches: Make DCACHE_DEFAULT_OPTION accessible for ARM64 arch

2023-10-27 Thread Patrice Chotard
This fixes the following compilation error in ARM64: arch/arm/mach-stm32mp/dram_init.c: In function ‘board_get_usable_ram_top’: arch/arm/mach-stm32mp/dram_init.c:59:45: error: ‘DCACHE_DEFAULT_OPTION’ undeclared (first use in this function) 59 | mmu_set_region_dcache_behaviour(reg, size,

[PATCH v1 3/9] stm32mp: dram_init: Fix AARCH64 compilation warnings

2023-10-27 Thread Patrice Chotard
From: Patrick Delaunay When building with AARCH64 defconfig, we got warnings for debug message - format '%x' expects argument of type 'unsigned int', but argument 3 has type 'size_t' {aka 'long unsigned int'}). - format '%lx' expects argument of type 'long unsigned int', but argument 2 has

[PATCH v1 2/9] stm32mp: dram_init: Get RAM size from DT if no RAM driver found

2023-10-27 Thread Patrice Chotard
From: Patrice Chotard In case there is no RAM driver retrieve RAM size from DT as fallback. Signed-off-by: Patrice Chotard Signed-off-by: Patrice Chotard --- arch/arm/mach-stm32mp/dram_init.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git

[PATCH v2] xilinx: versal: Setup 30MHz as default spi frequency

2023-10-27 Thread Michal Simek
Align default SPI configuration with ZynqMP/Versal NET. There is no reason to run on lower frequencies. Signed-off-by: Michal Simek --- Changes in v2: - sync Kconfig location configs/xilinx_versal_virt_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [PATCH 0/3] Revert HAFDBS changes

2023-10-27 Thread Marc Zyngier
Hi Pierre-Clément, On Fri, 27 Oct 2023 10:49:47 +0100, Pierre-Clément Tosi wrote: > > Hi Chris, > > On Fri, Oct 27, 2023 at 01:23:51PM +1300, Chris Packham wrote: > > As discussed this series reverts the HAFDBS changes that caused an issue > > on AC5/AC5X. I think there are some improvements

Re: [RESEND PATCH v2] rockchip: include: asm: fix entering download mode rk3066

2023-10-27 Thread Tom Rini
On Fri, Oct 27, 2023 at 11:47:25AM +0200, Johan Jonker wrote: > Hi Tom, Simon, > > The test for my patch ends with an error that is reported on various > locations on the internet. > My knowledge is limited here. Could you have a look? > > Thanks, > > Johan > > > > rockchip: include:

[PATCH 3/3] arm: dts: k3-am642: Update main_bcdma and main_pktdma nodes

2023-10-27 Thread Roger Quadros
From: Siddharth Vadapalli Update main_bcdma and main_pktdma nodes for native configuration in the absence of DM services. Reported-by: Nishanth Menon Signed-off-by: Siddharth Vadapalli Signed-off-by: Roger Quadros --- arch/arm/dts/k3-am642-evm-u-boot.dtsi | 27 +++

[PATCH 2/3] arm: dts: k3-am625-verdin-wifi-dev-u-boot.dtsi: Fix DMA/Ethernet

2023-10-27 Thread Roger Quadros
Update main_bcdma and main_pktdma nodes for native configuration in the absence of DM services. u-boot k3-udma driver expects these additional register fields else probe will fail. Reported-by: Nishanth Menon Signed-off-by: Roger Quadros --- .../dts/k3-am625-verdin-wifi-dev-u-boot.dtsi | 27

[PATCH 1/3] arm: dts: k3-am625-sk-u-boot.dtsi: Update main_bcdma and main_pktdma nodes

2023-10-27 Thread Roger Quadros
From: Siddharth Vadapalli Update main_bcdma and main_pktdma nodes for native configuration in the absence of DM services. Reported-by: Nishanth Menon Signed-off-by: Siddharth Vadapalli Signed-off-by: Roger Quadros --- arch/arm/dts/k3-am625-sk-u-boot.dtsi | 27 +++ 1

[PATCH 0/3] arm: dts: k3-am6: Fix Ethernet/DMA

2023-10-27 Thread Roger Quadros
Hi, Since commit [1], Ethernet is broken on TI AM62 and AM64 platforms. The commit [1] is not the culprit. It just unearths the problem by fixing the error check in k3-udma.c. This issue was silently being ignored earlier due to wrong error check. [NULL instead of FDT_ADDR_T_NONE]. Fix the

[PATCH 2/2] librem5: Add addresses for compressed kernel load

2023-10-27 Thread Arnaud Ferraris
The "booti" command to load arm64 Linux kernels supports automatic decompression of zipped kernel images, but relies on some environment variables to point to usable buffer RAM. Add those variables and let them point to some default values, that should cover most use-cases. Signed-off-by: Arnaud

[PATCH 1/2] librem5: properly set the `fdtfile` env variable

2023-10-27 Thread Arnaud Ferraris
In order to use the generic "distro boot" using an extlinux.conf file, the `fdtfile` environment variable is mandatory. This commit ensure this variable is properly constructed based on the detected board revision. Signed-off-by: Arnaud Ferraris --- board/purism/librem5/librem5.c | 27

[PATCH 0/2] librem5: allow using distroboot w/ extlinux files

2023-10-27 Thread Arnaud Ferraris
The Librem 5 currently can't boot from `extlinux.conf` files due to undefined environment variables: * `fdtfile` is missing, preventing the kernel from selecting the appropriate device-tree * the lack of `kernel_comp_addr_r` and `kernel_comp_size` forbids using compressed kernels This series

Re: [PATCH v3 0/5] Populate kaslr seed with RNG

2023-10-27 Thread Ilias Apalodimas
Simon, I've reviewed patch#2 which I had some concerns and it looks ok. The series is assigned to me but you've reviewed the vast majority of the patchset. Will you send ti via the -dm tree or shall I pick it up? Thanks /Ilias On Tue, Sep 12, 2023 at 02:34:59PM -0700,

Re: [PATCH v3 2/5] fdt: kaslr seed from RNG device

2023-10-27 Thread Ilias Apalodimas
On Tue, Sep 12, 2023 at 02:35:01PM -0700, seanedm...@linux.microsoft.com wrote: > From: Dhananjay Phadke > > Add support for KASLR seed from the RNG device. Invokes dm_rng_read() > API to read 8-bytes of random bytes. Performs the FDT fixup using event > spy. To enable use CONFIG_KASLR_RNG_SEED

Re: [PATCH 3/8] clk/qcom: move ipq4019 driver from mach-ipq40xx

2023-10-27 Thread Caleb Connolly
On 27/10/2023 14:03, Sumit Garg wrote: > On Fri, 27 Oct 2023 at 18:27, Caleb Connolly > wrote: >> >> >> [...] diff --git a/arch/arm/mach-ipq40xx/clock-ipq4019.c b/drivers/clk/qcom/clock-ipq4019.c similarity index 56% rename from arch/arm/mach-ipq40xx/clock-ipq4019.c

Re: [PATCH 3/8] clk/qcom: move ipq4019 driver from mach-ipq40xx

2023-10-27 Thread Sumit Garg
On Fri, 27 Oct 2023 at 18:27, Caleb Connolly wrote: > > > [...] > >> diff --git a/arch/arm/mach-ipq40xx/clock-ipq4019.c > >> b/drivers/clk/qcom/clock-ipq4019.c > >> similarity index 56% > >> rename from arch/arm/mach-ipq40xx/clock-ipq4019.c > >> rename to drivers/clk/qcom/clock-ipq4019.c > >>

Re: [PATCH 3/8] clk/qcom: move ipq4019 driver from mach-ipq40xx

2023-10-27 Thread Caleb Connolly
[...] >> diff --git a/arch/arm/mach-ipq40xx/clock-ipq4019.c >> b/drivers/clk/qcom/clock-ipq4019.c >> similarity index 56% >> rename from arch/arm/mach-ipq40xx/clock-ipq4019.c >> rename to drivers/clk/qcom/clock-ipq4019.c >> index c1d5c4ecdd81..04c99964df15 100644 >> ---

Re: Pull request for tpm-next-27102023

2023-10-27 Thread Heinrich Schuchardt
On 27.10.23 13:26, Ilias Apalodimas wrote: Hi Tom, The following changes since commit e29b932aa07fa0226d325b35d96cd4eea0370129: Merge branch '2023-09-30-Kconfig-updates' into next (2023-10-01 11:54:31 -0400) are available in the Git repository at:

Re: [RFC 04/13] cmd: bootefi: carve out binary execution interface

2023-10-27 Thread Ilias Apalodimas
Akashi-san On Thu, 26 Oct 2023 at 08:31, AKASHI Takahiro wrote: > > Carve binary execution code out of do_bootefi_image(). Patch looks correct, but please update with the reasons for this. Thanks /Ilias > > Signed-off-by: AKASHI Takahiro > --- > cmd/bootefi.c | 46

Re: [PATCH 8/8] clk/qcom: fix rcg divider value

2023-10-27 Thread Caleb Connolly
On 27/10/2023 13:18, Sumit Garg wrote: > On Wed, 25 Oct 2023 at 19:14, Caleb Connolly > wrote: >> >> >> >> On 24/10/2023 21:23, Caleb Connolly wrote: >>> The RCG divider field takes a value of (2*h - 1) where h is the divisor. >>> This allows fractional dividers to be supported by calculating

Re: [RFC 12/13] lib: uuid: move CONFIG_RANDOM_UUID

2023-10-27 Thread Ilias Apalodimas
On Thu, 26 Oct 2023 at 08:31, AKASHI Takahiro wrote: > > This option is independent from any commands and should be managed > under lib. For instance, drivers/block/rkmtd.c is a user. > > It would be better to remove this configuration. > > Signed-off-by: AKASHI Takahiro > --- > cmd/Kconfig | 7

Re: [RFC 01/13] cmd: bootefi: unfold do_bootefi_image()

2023-10-27 Thread Ilias Apalodimas
Akashi-san On Fri, 27 Oct 2023 at 04:00, Tom Rini wrote: > > On Fri, Oct 27, 2023 at 09:25:44AM +0900, AKASHI Takahiro wrote: > > On Thu, Oct 26, 2023 at 01:01:52PM +0200, Heinrich Schuchardt wrote: > > > On 10/26/23 07:30, AKASHI Takahiro wrote: > > > > Unfold do_bootefi_image() into

Re: [PATCH 8/8] clk/qcom: fix rcg divider value

2023-10-27 Thread Sumit Garg
On Wed, 25 Oct 2023 at 19:14, Caleb Connolly wrote: > > > > On 24/10/2023 21:23, Caleb Connolly wrote: > > The RCG divider field takes a value of (2*h - 1) where h is the divisor. > > This allows fractional dividers to be supported by calculating them at > > compile time using a macro. > > > >

Re: [PATCH 7/8] clk/qcom: add mnd_width to clk_rcg_set_rate_mnd()

2023-10-27 Thread Sumit Garg
On Wed, 25 Oct 2023 at 01:55, Caleb Connolly wrote: > > This property is needed on some platforms to ensure that only the > relevant bits are set in the M/N/D registers. > > Signed-off-by: Caleb Connolly > --- > drivers/clk/qcom/clock-apq8016.c | 4 ++-- > drivers/clk/qcom/clock-apq8096.c | 4

Pull request for tpm-next-27102023

2023-10-27 Thread Ilias Apalodimas
Hi Tom, The following changes since commit e29b932aa07fa0226d325b35d96cd4eea0370129: Merge branch '2023-09-30-Kconfig-updates' into next (2023-10-01 11:54:31 -0400) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-tpm/ tags/tpm-next-27102023 for you

Re: [PATCH 6/8] clk/qcom: use function pointers for enable and set_rate

2023-10-27 Thread Sumit Garg
On Wed, 25 Oct 2023 at 01:55, Caleb Connolly wrote: > > Currently, it isn't possible to build clock drivers for more than one > platform due to how the msm_enable() and msm_set_rate() callbacks are > implemented. > > Extend qcom_cc_data to include function pointers for these and convert > all

Re: [PATCH 5/8] clk/qcom: sdm845: add register map for simple gate clocks

2023-10-27 Thread Sumit Garg
On Wed, 25 Oct 2023 at 01:54, Caleb Connolly wrote: > > Many gate clocks can be enabled with a single register write, add support > for defining these simple gate clocks and add the ones found on SDM845. > > While we're here, inline clk_init_uart() into msm_set_rate(). > > Signed-off-by: Caleb

Re: [PATCH 4/8] clk/qcom: handle resets and clocks in one device

2023-10-27 Thread Sumit Garg
On Wed, 25 Oct 2023 at 01:54, Caleb Connolly wrote: > > From: Konrad Dybcio > > Qualcomm's clock controller blocks are actually do much more than it s/do/doing/ > says on the tin.. They provide clocks, resets and power domains. > Currently, U-Boot required one to spawn 2 separate devices for

Re: [PATCH 3/8] clk/qcom: move ipq4019 driver from mach-ipq40xx

2023-10-27 Thread Sumit Garg
On Wed, 25 Oct 2023 at 01:54, Caleb Connolly wrote: > > This driver is just a stub, but it's necessary to support the upcoming > reset driver changes. > > Signed-off-by: Caleb Connolly > --- > arch/arm/Kconfig | 1 + > arch/arm/mach-ipq40xx/Makefile

Re: [PATCH 0/3] Revert HAFDBS changes

2023-10-27 Thread Pierre-Clément Tosi
Hi Chris, On Fri, Oct 27, 2023 at 01:23:51PM +1300, Chris Packham wrote: > As discussed this series reverts the HAFDBS changes that caused an issue > on AC5/AC5X. I think there are some improvements that can be made to the > initial memory map for the AC5/AC5X but so far nothing I've found makes

Re: [RESEND PATCH v2] rockchip: include: asm: fix entering download mode rk3066

2023-10-27 Thread Johan Jonker
Hi Tom, Simon, The test for my patch ends with an error that is reported on various locations on the internet. My knowledge is limited here. Could you have a look? Thanks, Johan rockchip: include: asm: fix entering download mode rk3066

[GIT PULL] Please pull u-boot-amlogic-20231027

2023-10-27 Thread Neil Armstrong
tags/u-boot-amlogic-20231027 for you to fetch changes up to 892e04bc965400772e1b84e6450a7919deca0e0b: ARM: amlogic: ad401: enable SPIFC (2023-10-26 17:56:58 +0200) - Fix environment saving for new Android boot features on vim3

[PATCH v9 8/8] power: regulator: tps65911: add regulator support

2023-10-27 Thread Svyatoslav Ryhel
The driver provides regulator set/get voltage enable/disable functions for TI TPS5911 PMIC. Signed-off-by: Svyatoslav Ryhel Reviewed-by: Simon Glass --- drivers/power/regulator/Kconfig | 11 + drivers/power/regulator/Makefile | 1 +

[PATCH v9 6/8] power: regulator: tps80031: add regulator support

2023-10-27 Thread Svyatoslav Ryhel
The driver provides regulator set/get voltage enable/disable functions for TI TPS80031/TPS80032 PMICs. Signed-off-by: Svyatoslav Ryhel Reviewed-by: Simon Glass --- drivers/power/regulator/Kconfig | 8 + drivers/power/regulator/Makefile | 1 +

[PATCH v9 7/8] power: pmic: tps65910: add TPS65911 PMIC support

2023-10-27 Thread Svyatoslav Ryhel
Add support to bind the regulators/child nodes with the pmic. Also adds the pmic i2c based read/write functions to access pmic registers. Signed-off-by: Svyatoslav Ryhel Reviewed-by: Simon Glass --- doc/device-tree-bindings/pmic/tps65911.txt | 78 ++

[PATCH v9 4/8] power: regulator: max77663: add regulator support

2023-10-27 Thread Svyatoslav Ryhel
The driver provides regulator set/get voltage enable/disable functions for MAXIM MAX77663 PMICs. Signed-off-by: Svyatoslav Ryhel Reviewed-by: Simon Glass --- drivers/power/regulator/Kconfig | 9 + drivers/power/regulator/Makefile | 1 +

[PATCH v9 5/8] power: pmic: add the base TPS80031 PMIC support

2023-10-27 Thread Svyatoslav Ryhel
Add support to bind the regulators/child nodes with the pmic. Also adds the pmic i2c based read/write functions to access pmic registers. Signed-off-by: Svyatoslav Ryhel Reviewed-by: Simon Glass --- doc/device-tree-bindings/pmic/tps80031.txt | 76

[PATCH v9 3/8] power: pmic: add the base MAX77663 PMIC support

2023-10-27 Thread Svyatoslav Ryhel
Add support to bind the regulators/child nodes with the pmic. Also adds the pmic i2c based read/write functions to access pmic registers. Signed-off-by: Svyatoslav Ryhel Reviewed-by: Simon Glass --- doc/device-tree-bindings/pmic/max77663.txt | 84 ++

[PATCH v9 2/8] power: regulator: palmas: fix ldoln and ldousb detection

2023-10-27 Thread Svyatoslav Ryhel
dev->driver_data will carry the tail of ldo if there is a number and if there is no number it will be an error code, anyway it will not be zero. This results in a wrong ldo regulator detection. To avoid this check for non-numerical ldo first and then manipulate dev->driver_data. Signed-off-by:

[PATCH v9 1/8] power: pmic: palmas: support TI TPS65913 PMIC

2023-10-27 Thread Svyatoslav Ryhel
Existing PALMAS PMIC driver is fully compatible with TI TPS65913 PMIC found in many Tegra 4 devices, like Tegra Note 7 and ASUS TF701T. TPS65913 shares same structure of regulators like TPS659038 so data can be reused. Tested-by: Svyatoslav Ryhel # NVIDIA Tegratab Signed-off-by: Svyatoslav Ryhel

[PATCH v9 0/8] Add support for PMICs used on Tegra 3 devices

2023-10-27 Thread Svyatoslav Ryhel
Patch set adds basic support for PMICs used in many Tegra 3 devices. All PMIC drivers are based on datasheets provided by vendors. Implemented API include regulator set/get voltage enable/disable and basic PMIC r/w capabilities. Drivers were tested by me on LG P895 (max77663), HTC One X

[PATCH] scripts/Makefile.lib: print error when no public key is specified

2023-10-27 Thread Masahisa Kojima
The current build system embeds the EFI Signature List(ESL) into the dtb to be used in the EFI capsule authentication. This ESL file is specified through the CONFIG_EFI_CAPSULE_ESL_FILE Kconfig option. If CONFIG_EFI_CAPSULE_ESL_FILE is not specified, U-boot build ends up with failure but the cause

Please pull u-boot-marvell/master

2023-10-27 Thread Stefan Roese
Hi Tom, please pull this next batch of Marvell related patches: - kirkwood: Enable bootstd on some boards (Tony) - mvebu: turris_mox: Extend to support RIPE Atlas Probe (Marek) - mvebu/bubt: Support eMMC data partition booting

Re: [PATCH v2 2/2] cmd: mvebu/bubt: move eMMC data-partition uboot from LBA-0 to 4096

2023-10-27 Thread Stefan Roese
On 10/26/23 09:10, Stefan Roese wrote: On 10/25/23 10:22, Josua Mayer wrote: A38x bootrom only searches 2 sectors when booting from eMMC, irregardless of data or boot partition: 0 & 4096. For eMMC boot partitions sector 0 is fine, but on data partition it conflicts with MBR. Change bubt

Re: [PATCH v2 1/2] arm: mvebu: allow additional 4096 offset for bootable mmc image

2023-10-27 Thread Stefan Roese
On 10/26/23 09:10, Stefan Roese wrote: On 10/25/23 10:22, Josua Mayer wrote: Disarm the error message forcing u-boot/spl image to be located at sector 0 on eMMC data-partition and microSD. Offset 0 makes sense on eMMC boot partitions only, data partition must use 4096 to avoid conflicting with

Re: [PATCH] arm: kirkwood: Enable bootstd for Pogo V4 board

2023-10-27 Thread Stefan Roese
On 10/26/23 09:08, Stefan Roese wrote: On 10/25/23 01:17, Tony Dinh wrote: Enable bootstd for Pogo V4 board, and remove distroboot. Signed-off-by: Tony Dinh Reviewed-by: Stefan Roese Applied to u-boot-marvell/master Thanks, Stefan Thanks, Stefan ---   configs/pogo_v4_defconfig |  3

Re: [PATCH] arm: kirkwood: Enable bootstd for Zyxel NSA310S board

2023-10-27 Thread Stefan Roese
On 10/26/23 09:09, Stefan Roese wrote: On 10/26/23 00:38, Tony Dinh wrote: Enable bootstd for Zyxel NSA310S board, and remove distroboot. Signed-off-by: Tony Dinh Reviewed-by: Stefan Roese Applied to u-boot-marvell/master Thanks, Stefan Thanks, Stefan ---  

Re: [PATCH u-boot-marvell] arm: mvebu: turris_mox: Extend to support RIPE Atlas Probe

2023-10-27 Thread Stefan Roese
On 10/26/23 09:10, Stefan Roese wrote: On 10/20/23 16:29, Marek Behún wrote: Extend Turris Mox board code to support CZ.NIC's RIPE Atlas Probe. Signed-off-by: Marek Behún Reviewed-by: Stefan Roese Applied to u-boot-marvell/master Thanks, Stefan Thanks, Stefan ---  

Re: [PATCH v13 6/8] doc: Add measured boot documentation

2023-10-27 Thread Ilias Apalodimas
Hi Heinrich On Thu, 19 Oct 2023 at 21:22, Heinrich Schuchardt wrote: > > On 10/19/23 18:21, Eddie James wrote: > > Briefly describe the feature and specify the requirements. > > > > Signed-off-by: Eddie James > > Reviewed-by: Simon Glass > > --- > > Changes since v12: > > - Add a bit of

Re: [PATCH] fixup! usb: xhci: Guard all calls to xhci_wait_for_event

2023-10-27 Thread Hector Martin
On 27/10/2023 09.36, Marek Vasut wrote: > On 10/27/23 01:26, Hector Martin wrote: >> Gah, I should've paid more attention to that rebase. Here's a dumb >> fixup for this patch. I'll squash it into a v2 if needed alongside >> any other changes, or if it looks good feel free to apply/squash >> it in