[PATCH v2 2/3] efi_selftest: add tests for QueryVariableInfo at runtime

2024-04-24 Thread Ilias Apalodimas
Since we support QueryVariableInfo at runtime now add the relevant tests. Since we want those to be reusable at bootime, add them in a separate file Add tests for - Test QueryVariableInfo returns EFI_SUCCESS - Test null pointers for the function arguments - Test invalid combination of attributes

[PATCH v2 3/3] efi_selftest: add tests for QueryVariableInfo at boottime

2024-04-24 Thread Ilias Apalodimas
Previous patches added QueryVariableInfo at runtime tests and split a common function that can be used at boottime. Weire it up and run a similar set of tets. While at it move a test which is checiking for 0 available storage in the common code Add tests for - Test QueryVariableInfo returns

[PATCH v2 1/3] efi_loader: enable QueryVariableInfo at runtime for file backed variables

2024-04-24 Thread Ilias Apalodimas
Since commit c28d32f946f0 ("efi_loader: conditionally enable SetvariableRT") we are enabling the last bits of missing runtime services. Add support for QueryVariableInfo which we already support at boottime and we just need to mark some fucntions available at runtime and move some checks around.

[PATCH v2 6/6] mtd: spi-nor: Set ECC unit size to MTD writesize in Infineon SEMPER flashes

2024-04-24 Thread tkuw584924
From: Takahiro Kuwano The Infineon SEMPER NOR flash family uses 2-bit ECC by default with each ECC block being 16 bytes. Under this scheme multi-pass programming to an ECC block is not allowed. Set the writesize to make sure multi-pass programming is not attempted on the flash. Signed-off-by:

[PATCH v2 5/6] mtd: spi-nor: Call spi_nor_post_sfdp_fixups() only after spi_nor_parse_sfdp()

2024-04-24 Thread tkuw584924
From: Takahiro Kuwano spi_nor_post_sfdp_fixups() was called regardless of if spi_nor_parse_sfdp() had been called or not. late_init() should be instead used to initialize the parameters that are not defined in SFDP. Ideally spi_nor_post_sfdp_fixups() is called only after successful parse of

[PATCH v2 4/6] mtd: spi-nor: Replace default_init() hook with late_init()

2024-04-24 Thread tkuw584924
From: Takahiro Kuwano default_init() is wrong, it contributes to the maze of initializing flash parameters. We'd like to get rid of it because the flash parameters that it initializes are not really used at SFDP parsing time, thus they can be initialized later. Ideally we want SFDP to

[PATCH v2 3/6] mtd: spi-nor: Check nor->info before setting macronix_octal_fixups

2024-04-24 Thread tkuw584924
From: Takahiro Kuwano The macronix_octal_fixups should be set only when mfr and flags match. Fixes: df3d5f9e41 ("mtd: spi-nor: add support for Macronix Octal flash") Signed-off-by: Takahiro Kuwano Cc: JaimeLiao --- drivers/mtd/spi/spi-nor-core.c | 4 +++- 1 file changed, 3 insertions(+), 1

[PATCH v2 2/6] mtd: spi-nor: Allow flashes to specify MTD writesize

2024-04-24 Thread tkuw584924
From: Takahiro Kuwano Some flashes like the Infineon SEMPER NOR flash family use ECC. Under this ECC scheme, multi-pass writes to an ECC block is not allowed. In other words, once data is programmed to an ECC block, it can't be programmed again without erasing it first. Upper layers like file

[PATCH v2 1/6] mtd: ubi: Do not zero out EC and VID on ECC-ed NOR flashes

2024-04-24 Thread tkuw584924
From: Takahiro Kuwano For NOR flashes EC and VID are zeroed out before an erase is issued to make sure UBI does not mistakenly treat the PEB as used and associate it with an LEB. But on some flashes, like the Infineon Semper NOR flash family, multi-pass page programming is not allowed on the

[PATCH v2 0/6] mtd: Make sure UBIFS does not do multi-pass page programming on flashes that don't support it

2024-04-24 Thread tkuw584924
From: Takahiro Kuwano This series is equivalent to the one for Linux MTD submitted by Pratyush Yadav. https://patchwork.ozlabs.org/project/linux-mtd/list/?series=217759=* Changes in v2: - Fix an issue in setting macronix_octal_fixups - Rework fixup hooks Takahiro Kuwano (6): mtd: ubi:

Re: [PATCH v2 0/2] i2c: Add support for Qualcomm Generic Interface (GENI) I2C controller

2024-04-24 Thread Heiko Schocher
Hello Caleb, On 23.04.24 13:43, Caleb Connolly wrote: On Mon, 22 Apr 2024 11:33:51 +0200, Neil Armstrong wrote: Add Support for the Qualcomm Generic Interface (GENI) I2C interface found on newer Qualcomm SoCs. The Generic Interface (GENI) is a firmware based Qualcomm Universal Peripherals

Re: [PATCH 3/5] zfs: Fix unaligned read of uint64

2024-04-24 Thread mwleeds
Hi Caleb, Thanks for this interesting feedback. I saw these patches were already merged since you sent this but I added a few thoughts below anyway. On Friday, April 12th, 2024 at 11:50 AM, Caleb Connolly wrote: > Hi Phaedrus, > > On 07/04/2024 03:47, mwle...@mailtundra.com wrote: > > >

[PATCH v2 1/4] arch: arm: Add Analog Devices SC5xx machine type

2024-04-24 Thread Greg Malysa
From: Nathan Barrett-Morrison Add support for the SC5xx machine type from Analog Devices. This includes support for the SC57x, SC58x, SC59x, and SC59x-64 SoCs, which have many common features such as common ADI IP blocks, and SHARC DSP cores. This commit introduces core functionality required

[PATCH v2 0/4] arm: Add Analog Devices SC5xx Machine Type

2024-04-24 Thread Greg Malysa
This series adds support for the ADI SC5xx machine type and includes two core drivers that are required for being able to boot any board--a UART driver, the gptimer driver which is used as a clock reference (CNTVCNT is not supported on the armv7 sc5xx SoCs) and the clock tree driver. Our

[PATCH v2 2/4] drivers: clk: adi: Add in SC5XX-family clock driver

2024-04-24 Thread Greg Malysa
From: Nathan Barrett-Morrison This adds support for the SC5XX clock trees which are required for reading clock speeds on the SoCs. This is largely a port of the same support for Linux, which has not yet been submitted upstream. Co-developed-by: Greg Malysa Signed-off-by: Greg Malysa

[PATCH v2 3/4] drivers: serial: Add in UART for ADI SC5XX-family processors

2024-04-24 Thread Greg Malysa
From: Nathan Barrett-Morrison Co-developed-by: Greg Malysa Signed-off-by: Greg Malysa Co-developed-by: Ian Roberts Signed-off-by: Ian Roberts Signed-off-by: Vasileios Bimpikas Signed-off-by: Utsav Agarwal Signed-off-by: Arturs Artamonovs Signed-off-by: Nathan Barrett-Morrison --- (no

[PATCH v2 4/4] drivers: timer: Add in driver support for ADI SC5XX-family GP timer peripheral

2024-04-24 Thread Greg Malysa
Co-developed-by: Nathan Barrett-Morrison Signed-off-by: Nathan Barrett-Morrison Co-developed-by: Angelo Dureghello Signed-off-by: Angelo Dureghello Co-developed-by: Ian Roberts Signed-off-by: Ian Roberts Signed-off-by: Greg Malysa --- Changes in v2: - Added gptimer driver to this series

[PATCH] test/py: Make the number of SPL banners seen a variable

2024-04-24 Thread Tom Rini
Currently we have the option to tell the console code that we should ignore the SPL banner. We also have an option to say that we can see it a second time, and ignore it. However, some platforms such as TI AM64x will have us see the SPL banner three times. Rather than add an "spl3_skipped" option,

Re: [PATCH] sysreset: psci: drop reliance on SPL support

2024-04-24 Thread Andre Przywara
On Tue, 23 Apr 2024 19:01:44 -0600 Tom Rini wrote: Hi Tom, > On Wed, Apr 24, 2024 at 12:46:04AM +0100, Andre Przywara wrote: > > At the moment enabling CONFIG_SYSRESET_PSCI *selects* SPL_ARM_PSCI_FW, > > even though this is a platform design property, so nothing any driver > > should enforce.

Re: [PATCH v3 01/19] doc: uefi: capsules: Start Capsule Update porting section

2024-04-24 Thread Ilias Apalodimas
Thanks, Jonathan We also plan on adding a Kconfig option that will autogenerate GUIDs for such cases, but this is useful On Fri, 19 Apr 2024 at 23:57, Jonathan Humphreys wrote: > > Created a capsule update porting section in the documentation that outlines > the > steps a board developer must

Re: [PATCH v3] rockchip: rv1108: Convert to OF_UPSTREAM

2024-04-24 Thread Otavio Salvador
Reviewed-by: Otavio Salvador Tested-by: Otavio Salvador Em qua., 24 de abr. de 2024 às 11:18, Fabio Estevam escreveu: > Instead of using the local rv1108 devicetree copies from U-Boot, > let's convert the rv1108 boards to OF_UPSTREAM so that the upstream kernel > devicetrees can be used

Re: [PATCH 1/4] arm: davinci: Migrate da850-evm to OF_UPSTREAM

2024-04-24 Thread Tom Rini
On Wed, Apr 24, 2024 at 09:33:25AM -0500, Adam Ford wrote: > On Tue, Apr 16, 2024 at 6:53 AM Adam Ford wrote: > > > > On Thu, Apr 11, 2024 at 7:05 PM Tom Rini wrote: > > > > > > On Wed, Apr 03, 2024 at 10:00:09PM -0500, Adam Ford wrote: > > > > > > > The da850-evm can remove the U-Boot device

Re: [PATCH] clk: zynq: Fix EMIO clock use detection for gem0

2024-04-24 Thread Michal Simek
On 4/16/24 10:44, Ondřej Jirman wrote: From: Ondrej Jirman According to TRM, the bit that differentiates between MIO and EMIO clocks is bit 6. This resolves failure to set clock when using EMIO clock for ethernet. Not sure which TRM you are using but here

Re: [PATCH 1/4] arm: davinci: Migrate da850-evm to OF_UPSTREAM

2024-04-24 Thread Adam Ford
On Tue, Apr 16, 2024 at 6:53 AM Adam Ford wrote: > > On Thu, Apr 11, 2024 at 7:05 PM Tom Rini wrote: > > > > On Wed, Apr 03, 2024 at 10:00:09PM -0500, Adam Ford wrote: > > > > > The da850-evm can remove the U-Boot device trees if migrated > > > to OF_UPSTREAM. This means pointing the device

[PATCH v3] rockchip: rv1108: Convert to OF_UPSTREAM

2024-04-24 Thread Fabio Estevam
Instead of using the local rv1108 devicetree copies from U-Boot, let's convert the rv1108 boards to OF_UPSTREAM so that the upstream kernel devicetrees can be used instead. Tested on a rv1108-elgin-r1 board. Signed-off-by: Fabio Estevam --- Changes since v2: - Also removed the

Re: [PATCH 3/3] arm: dts: drop downstream IPQ4019 DTSI

2024-04-24 Thread Caleb Connolly
On 24/04/2024 13:13, Robert Marko wrote: We want to use OF_UPSTREAM on IPQ40XX as its well supported upstream, so lets drop our downstream DTSI. Signed-off-by: Robert Marko Acked-by: Caleb Connolly --- arch/arm/dts/qcom-ipq4019.dtsi | 202 - 1 file

Re: [PATCH 2/3] mach-ipq40xx: use OF_UPSTREAM

2024-04-24 Thread Caleb Connolly
On 24/04/2024 13:13, Robert Marko wrote: Now that drivers are compatible enough with the upstream DTS, there is no reason to not use the upstream DTS, so imply OF_UPSTREAM by default. Signed-off-by: Robert Marko Acked-by: Caleb Connolly --- arch/arm/Kconfig | 1 + 1 file changed, 1

Re: [PATCH 1/3] mach-ipq40xx: add CPU specific code

2024-04-24 Thread Caleb Connolly
On 24/04/2024 13:13, Robert Marko wrote: Provide basic DRAM info population from DT, cache setting and the board_init stub. Signed-off-by: Robert Marko Acked-by: Caleb Connolly --- arch/arm/mach-ipq40xx/Makefile | 7 ++ arch/arm/mach-ipq40xx/cpu.c| 44

Re: [PATCH 1/2] ARM: dts: stm32: add PWR regulators support on stm32mp131

2024-04-24 Thread Patrice CHOTARD
On 4/21/24 22:27, Marek Vasut wrote: > On 3/19/24 3:45 AM, Marek Vasut wrote: >> This patch adds STM32 PWR regulators DT support on stm32mp131. >> This requires TFA to clear RCC_SECCFGR, is disabled by default >> and can only be enabled on board DT level. >> >> Signed-off-by: Marek Vasut > >

Re: [PATCH v3] usb: cdns3: gadget.c: Set fast access bit

2024-04-24 Thread Mattijs Korpershoek
Hi Ravi, Thank you for the patch. On mer., avril 24, 2024 at 14:15, Marek Vasut wrote: > On 4/24/24 9:39 AM, Ravi Gunasekaran wrote: >> From: Aswath Govindraju >> >> When the device port is in a low power state [U3/L2/Not Connected], >> accesses to usb device registers may take a long time.

[PATCH 2/2] phycore_am64x_a53_defconfig: Enable CONFIG_BOARD_LATE_INIT

2024-04-24 Thread Wadim Egorov
Enable CONFIG_BOARD_LATE_INIT to use PHYTECs common board_late_init() to set handy environment variables for u-boot. Also, resync after savedefconfig. Signed-off-by: Wadim Egorov --- configs/phycore_am64x_a53_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH 0/2] *** Commonize board code for K3 based SoMs ***

2024-04-24 Thread Wadim Egorov
Factor out code that we can reuse across all our K3 based SoMs. 2nd patch of this series require patch [1] to be applied first. [1] https://lists.denx.de/pipermail/u-boot/2024-April/552021.html Wadim Egorov (2): board: phytec: Commonize board code for K3 based SoMs

[PATCH 1/2] board: phytec: Commonize board code for K3 based SoMs

2024-04-24 Thread Wadim Egorov
Environment handling code can be reused across all our K3 based SoMs. Instead of adding the same code for every new SoM, move it to a common board.c file. Signed-off-by: Wadim Egorov --- board/phytec/common/Makefile | 2 + board/phytec/common/k3/Makefile| 2 +

Re: [PATCH 03/10] soc: ti: k3-navss-ringacc: Initialize base address of ring cfg registers

2024-04-24 Thread Chintan Vankar
On 16/01/24 17:13, Roger Quadros wrote: Hi, On 12/01/2024 08:47, Siddharth Vadapalli wrote: From: Kishon Vijay Abraham I Initialize base address of ring config registers required to natively setup ring cfg registers in the absence of Device Manager (DM) services at R5 SPL stage.

[PATCH v2] sysreset: add Qualcomm PSHOLD reset driver

2024-04-24 Thread Robert Marko
Number of Qualcomm ARMv7 SoC-s did not use PSCI but rather used PSHOLD (Qualcomm Power Supply Hold Reset) bit to trigger reset or poweroff. Qualcomm IPQ40XX is one of them, so provide a simple sysreset driver based on the upstream Linux one, it is DT compatible as well. Signed-off-by: Robert

[PATCH] arm: mach-k3: am642: Provide a way to obtain boot device for non SPLs

2024-04-24 Thread Wadim Egorov
Let's provide get_boot_device() for AM64, similar to what we did in commit 2f9095e2bf59 ("arm: mach-k3: am625: Provide a way to obtain boot device for non SPLs") for AM62. Signed-off-by: Wadim Egorov --- arch/arm/mach-k3/Makefile | 1 + arch/arm/mach-k3/am642_init.c | 92

Re: [PATCH v3] usb: cdns3: gadget.c: Set fast access bit

2024-04-24 Thread Marek Vasut
On 4/24/24 9:39 AM, Ravi Gunasekaran wrote: From: Aswath Govindraju When the device port is in a low power state [U3/L2/Not Connected], accesses to usb device registers may take a long time. This could lead to potential core hang when the controller registers are accessed after the port is

Re: [PATCH v3 00/20] FWU: Add support for FWU metadata version 2

2024-04-24 Thread Michal Simek
On 3/22/24 11:57, Sughosh Ganu wrote: The following patch series adds support for version 2 of the FWU metadata. The version 2 metadata structure is defined in the latest revision of the FWU specification [1]. The earlier versions of these patches were migrating to a version 2 only support

Re: rk3399 issue: no DMA in Linux with mainline TF-A and U-Boot SPL

2024-04-24 Thread Jonathan Liu
Hi Kever, I also see this issue when switching between Rockchip ATF and Upstream ATF. Versions: Rockchip DDR Blob - rk3399_ddr_800MHz_v1.30.bin Rockchip Miniloader - rk3399_miniloader_v1.30.bin Rockchip ATF - rk3399_bl31_v1.36.elf Upstream ATF -

[PATCH 3/3] arm: dts: drop downstream IPQ4019 DTSI

2024-04-24 Thread Robert Marko
We want to use OF_UPSTREAM on IPQ40XX as its well supported upstream, so lets drop our downstream DTSI. Signed-off-by: Robert Marko --- arch/arm/dts/qcom-ipq4019.dtsi | 202 - 1 file changed, 202 deletions(-) delete mode 100644 arch/arm/dts/qcom-ipq4019.dtsi

[PATCH 2/3] mach-ipq40xx: use OF_UPSTREAM

2024-04-24 Thread Robert Marko
Now that drivers are compatible enough with the upstream DTS, there is no reason to not use the upstream DTS, so imply OF_UPSTREAM by default. Signed-off-by: Robert Marko --- arch/arm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index

[PATCH 1/3] mach-ipq40xx: add CPU specific code

2024-04-24 Thread Robert Marko
Provide basic DRAM info population from DT, cache setting and the board_init stub. Signed-off-by: Robert Marko --- arch/arm/mach-ipq40xx/Makefile | 7 ++ arch/arm/mach-ipq40xx/cpu.c| 44 ++ 2 files changed, 51 insertions(+) create mode 100644

RE: [PATCH] mtd: spi-nor: Add support to exit 4-byte mode

2024-04-24 Thread Bhumkar, Tejas Arvind
[AMD Official Use Only - General] Hi Greg, > -Original Message- > From: Greg Malysa > Sent: Friday, March 29, 2024 6:15 AM > To: Bhumkar, Tejas Arvind > Cc: u-boot@lists.denx.de; ja...@amarulasolutions.com; vigne...@ti.com; > Simek, Michal ; Abbarapu, Venkatesh > ; git (AMD-Xilinx) ;

Re: [PATCH v3 2/2] board: starfive: Rename spl_soc_init() to spl_dram_init()

2024-04-24 Thread Heinrich Schuchardt
On 24.04.24 09:43, lukas.funke-...@weidmueller.com wrote: From: Lukas Funke Rename spl_soc_init() to spl_dram_init() because the generic function name does not reflect what the function actually does. Also spl_dram_init() is commonly used for dram initialization and should be called from

Re: [PATCH 2/2] armv8: generic_timer: Use event stream for udelay

2024-04-24 Thread Quentin Schulz
Hi Peter, Andre, On 4/24/24 12:29, Andre Przywara wrote: On Tue, 23 Apr 2024 12:55:55 +0200 Quentin Schulz wrote: Hi Peter, On 4/23/24 10:10, Peter Hoyes wrote: From: Peter Hoyes Polling cntpct_el0 in a tight loop for delays is inefficient. This is particularly apparent on Arm FVPs,

Re: [PATCH 2/2] armv8: generic_timer: Use event stream for udelay

2024-04-24 Thread Andre Przywara
On Tue, 23 Apr 2024 12:55:55 +0200 Quentin Schulz wrote: > Hi Peter, > > On 4/23/24 10:10, Peter Hoyes wrote: > > From: Peter Hoyes > > > > Polling cntpct_el0 in a tight loop for delays is inefficient. > > This is particularly apparent on Arm FVPs, which do not simulate > > real time, meaning

Re: [PATCH 2/2] armv8: generic_timer: Use event stream for udelay

2024-04-24 Thread Peter Hoyes
Hi Quentin, On 4/23/24 11:55, Quentin Schulz wrote: Hi Peter, On 4/23/24 10:10, Peter Hoyes wrote: From: Peter Hoyes Polling cntpct_el0 in a tight loop for delays is inefficient. This is particularly apparent on Arm FVPs, which do not simulate real time, meaning that a 1s sleep can take a

[PATCH 4/4] MAINTAINERS: IPQ40XX: add pinctrl driver

2024-04-24 Thread Robert Marko
Pinctrl drivers were moved to a dedicated directory but the entry was never updated, so add the pinctrl-ipq4019 driver entry. Signed-off-by: Robert Marko --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 207c8b763f..382376b8e3 100644 ---

[PATCH 3/4] MAINTAINERS: IPQ40XX: add clock-ipq4019 instead of reset driver

2024-04-24 Thread Robert Marko
The reset handling was added to the clock drivers but the entry was never updated, so add the clock-ipq4019 driver instead. Signed-off-by: Robert Marko --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index fdce7c8334..207c8b763f

[PATCH 2/4] MAINTAINERS: IPQ40XX: update GCC dt-bindings

2024-04-24 Thread Robert Marko
The separate clock and reset dt-bindings for IPQ40XX were merged into one recently, but the entry was not updated so do it now. Signed-off-by: Robert Marko --- MAINTAINERS | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index

[PATCH 1/4] MAINTAINERS: IPQ40XX: remove Luka Kovacic as maintainer

2024-04-24 Thread Robert Marko
Luka Kovacic is no longer at Sartura, so remove him as one of IPQ40xx maintainers. Signed-off-by: Robert Marko --- MAINTAINERS | 1 - 1 file changed, 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index d0a4a28b40..8691500d28 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -334,7 +334,6 @@

Re: rk3399 issue: no DMA in Linux with mainline TF-A and U-Boot SPL

2024-04-24 Thread Christoph Fritz
Hello Jonathan and Kevar, > I also see this issue when switching between Rockchip ATF and Upstream ATF. > > Versions: > Rockchip DDR Blob - rk3399_ddr_800MHz_v1.30.bin > Rockchip Miniloader - rk3399_miniloader_v1.30.bin > Rockchip ATF - rk3399_bl31_v1.36.elf > Upstream ATF -

Re: [PATCH 00/31] rockchip: rk3399: Sync DT with linux v6.8 and update defconfigs

2024-04-24 Thread Jonas Karlman
Hi Kever, On 2024-04-23 13:27, Kever Yang wrote: > Hi Jonas, > > > On 2024/4/1 04:28, Jonas Karlman wrote: >> This series adds support for new clocks used in linux v6.8 device trees, >> enables use of FIT signature check for checksum validation and fixes >> loading FIT from SD-card when loading

Re: [PATCH v3 01/11] rockchip: sdram: Support getting banks from TPL for rk3568 and rk3588

2024-04-24 Thread Quentin Schulz
Hi Jonas, On 4/24/24 00:40, Jonas Karlman wrote: Hi Quentin, On 2024-04-15 16:16, Quentin Schulz wrote: From: Quentin Schulz [...] + if (!(tmp_mem_map->attrs & PTE_BLOCK_NON_SHARE)) { This check does not seem to work because PTE_BLOCK_NON_SHARE evaluates to 0.

Re: [PATCH v2 0/1] arch: zynqmp: Make zynqmp command more accessible.

2024-04-24 Thread Michal Simek
On 4/10/24 21:50, Charlie Johnston wrote: While working on a third-party board using a ZynqMP, I was unable to use the zynqmp command even with the proper config definitions. While that command appears tied to the architecture, it was being included based on the board selection instead. This

Re: [PATCH] xilinx: zynqmp: Clean up xilinx_zynqmp.h

2024-04-24 Thread Michal Simek
On 4/15/24 09:55, Michal Simek wrote: Options are moving to Kconfig by running sed and comments are staying in that's why do clean up and remove useless comments. Signed-off-by: Michal Simek --- include/configs/xilinx_zynqmp.h | 6 -- 1 file changed, 6 deletions(-) diff --git

[RFC PATCH v1 1/1] mmc: zynq_sdhci: Only evaluate card-stable signal if card was detected

2024-04-24 Thread lukas . funke-oss
From: Lukas Funke On ZynqMp there seems to be a dependency between the card-stable bit and the card-detect bit. The card-stable bit is set *if and only if* the card-detect bit was set before, indicating that the signal was stable and reliable during card insertion. If the card-detect bit is

[RFC PATCH v1 0/1] mmc: zynq_sdhci: Only evaluate card-stable signal if card was detected

2024-04-24 Thread lukas . funke-oss
From: Lukas Funke On ZynqMp there seems to be a dependency between the card-stable bit and the card-detect bit. The card-stable bit is set *if and only if* the card-detect bit was set before, indicating that the signal was stable and reliable during card insertion. If the card-detect bit is

Re: EFI payload in 64 bit mode?

2024-04-24 Thread Heinrich Schuchardt
On 24.04.24 09:55, Philip Oberfichtner wrote: Hi, I'm wondering if it is currently possible to have U-Boot run in 64-bit mode as EFI payload. TARGET_EFI_APP64 selects X86_64 to achieve this. TARGET_EFI_PAYLOAD does currently always switch 32-bit mode. Any hints what would have to be done to

Re: [PATCH] xilinx: zynqmp: Clean up xilinx_zynqmp.h

2024-04-24 Thread Michal Simek
On 4/15/24 09:55, Michal Simek wrote: Options are moving to Kconfig by running sed and comments are staying in that's why do clean up and remove useless comments. Signed-off-by: Michal Simek --- include/configs/xilinx_zynqmp.h | 6 -- 1 file changed, 6 deletions(-) diff --git

[PATCH 2/2] imx: imx93-11x11-evk: convert to OF_UPSTREAM

2024-04-24 Thread Peng Fan (OSS)
From: Peng Fan Convert to OF_UPSTREAM for i.MX93 11x11 EVK. Signed-off-by: Peng Fan --- arch/arm/dts/Makefile| 1 - arch/arm/dts/imx93-11x11-evk-u-boot.dtsi | 118 + arch/arm/dts/imx93-11x11-evk.dts | 322 ---

[PATCH 1/2] dt-bindings: imx93: sync clock header

2024-04-24 Thread Peng Fan (OSS)
From: Peng Fan Sync clock header with kernel 6.8 Signed-off-by: Peng Fan --- include/dt-bindings/clock/imx93-clock.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/dt-bindings/clock/imx93-clock.h b/include/dt-bindings/clock/imx93-clock.h index

[PATCH 0/2] imx93-11x11-evk: Convert to OF_UPSTREAM

2024-04-24 Thread Peng Fan (OSS)
From: Peng Fan patch 1 is to avoid build break when using upstream dts Patch 2 is moving to OF_UPSTREAM This is a resend of V3 imx93: Conver to OF_UPSTREAM patch 5,6 Peng Fan (2): dt-bindings: imx93: sync clock header imx: imx93-11x11-evk: convert to OF_UPSTREAM arch/arm/dts/Makefile

EFI payload in 64 bit mode?

2024-04-24 Thread Philip Oberfichtner
Hi, I'm wondering if it is currently possible to have U-Boot run in 64-bit mode as EFI payload. TARGET_EFI_APP64 selects X86_64 to achieve this. TARGET_EFI_PAYLOAD does currently always switch 32-bit mode. Any hints what would have to be done to get it to run in 64-bit mode? Thanks in advance,

[PATCH v3 2/2] board: starfive: Rename spl_soc_init() to spl_dram_init()

2024-04-24 Thread lukas . funke-oss
From: Lukas Funke Rename spl_soc_init() to spl_dram_init() because the generic function name does not reflect what the function actually does. Also spl_dram_init() is commonly used for dram initialization and should be called from board_init_f(). Signed-off-by: Lukas Funke --- Changes in v3:

[PATCH v3 1/2] board: sifive: Rename spl_soc_init() to spl_dram_init()

2024-04-24 Thread lukas . funke-oss
From: Lukas Funke Rename spl_soc_init() to spl_dram_init() because the generic function name does not reflect what the function actually does. Also spl_dram_init() is commonly used for dram initialization and should be called from board_init_f(). Signed-off-by: Lukas Funke --- (no changes

[PATCH v3 0/2] riscv: Rename spl_soc_init() to spl_dram_init()

2024-04-24 Thread lukas . funke-oss
From: Lukas Funke This patch series renames spl_soc_init() to spl_dram_init() since the purpose of the function is to initialization the DRAM on sifive/starfive boards. spl_dram_init() is a commonly used function for this purpose. Changes in v3: - Reorganize patches such that each patch can

Re: [PATCH 2/3] efi_selftest: add tests for QueryVariableInfo at runtime

2024-04-24 Thread Ilias Apalodimas
Hi Heinrich, On Wed, 24 Apr 2024 at 10:25, Heinrich Schuchardt wrote: > > On 24.04.24 07:03, Ilias Apalodimas wrote: > > Since we support QueryVariableInfo at runtime now add the relevant > > tests. Since we want those to be reusable at bootime, add them > > in a separate file > > > > Add tests

[PATCH v3] usb: cdns3: gadget.c: Set fast access bit

2024-04-24 Thread Ravi Gunasekaran
From: Aswath Govindraju When the device port is in a low power state [U3/L2/Not Connected], accesses to usb device registers may take a long time. This could lead to potential core hang when the controller registers are accessed after the port is disabled by setting DEVDS field. Setting the fast

Re: [PATCH 2/3] efi_selftest: add tests for QueryVariableInfo at runtime

2024-04-24 Thread Heinrich Schuchardt
On 24.04.24 07:03, Ilias Apalodimas wrote: Since we support QueryVariableInfo at runtime now add the relevant tests. Since we want those to be reusable at bootime, add them in a separate file Add tests for - Test QueryVariableInfo returns EFI_SUCCESS - Test null pointers for the function