Re: [PATCH V2] nvmem: add driver handling U-Boot environment variables

2022-05-04 Thread Rafał Miłecki
On 4.05.2022 11:23, Ahmad Fatoum wrote: Hello Rafał, On 03.05.22 18:56, Rafał Miłecki wrote: From: Rafał Miłecki U-Boot stores its setup as environment variables. It's a list of key-value pairs stored on flash device with a custom header. This commit adds an NVMEM driver that: 1. Provides

Re: [PATCH 04/12] cmd: tlv_eeprom: convert functions used by command to api functions

2022-05-04 Thread Stefan Roese
Hi Josua, On 03.05.22 21:09, Josua Mayer wrote: \o/ Am 03.05.22 um 13:54 schrieb Stefan Roese: Hi Josua, On 03.05.22 09:17, Josua Mayer wrote: Am 03.05.22 um 09:16 schrieb Stefan Roese: On 02.05.22 16:18, Josua Mayer wrote: - prog_eeprom: write_tlvinfo_tlv_eeprom - update_crc:

Re: [PATCH] arm: mvebu: Remove unused ARMADA_64BIT

2022-05-04 Thread Stefan Roese
On 05.05.22 04:09, Chris Packham wrote: Nothing selects ARMADA_64BIT. Instead the 64-bit SoCs just select ARM64 directly. Remove the unused config item. Signed-off-by: Chris Packham Reviewed-by: Stefan Roese Thanks, Stefan --- arch/arm/mach-mvebu/Kconfig | 4 1 file changed, 4

[PATCH] arm: mvebu: Remove unused ARMADA_64BIT

2022-05-04 Thread Chris Packham
Nothing selects ARMADA_64BIT. Instead the 64-bit SoCs just select ARM64 directly. Remove the unused config item. Signed-off-by: Chris Packham --- arch/arm/mach-mvebu/Kconfig | 4 1 file changed, 4 deletions(-) diff --git a/arch/arm/mach-mvebu/Kconfig b/arch/arm/mach-mvebu/Kconfig index

Re: i.MX8MP usb status

2022-05-04 Thread Peng Fan (OSS)
On 2022/5/4 20:53, Marek Vasut wrote: On 5/4/22 14:26, Peng Fan wrote: Hi Marek, Hi, Since you did some work on i.MX8MP USB, may I know the status? Does host/device mode both supported in upstream? I only have HOST option available, so for me this is only HOST. I did not test GADGET

Re: [PATCH 1/2] clk: sunxi: Add additional RTC compatible strings

2022-05-04 Thread Andre Przywara
On Sat, 30 Apr 2022 22:38:36 -0500 Samuel Holland wrote: > Compatible strings for some new RTC hardware variants were added to > the binding. Add them to the driver in preparation for supporting > those new SoCs. > > Signed-off-by: Samuel Holland Given the trivial implementation of this clock

Re: [PATCH 2/2] clk: sunxi: Add support for the D1 CCU

2022-05-04 Thread Andre Przywara
On Sat, 30 Apr 2022 22:38:37 -0500 Samuel Holland wrote: Hi, > Since the D1 CCU binding is defined, we can add support for its > gates/resets, following the pattern of the existing drivers. > > Signed-off-by: Samuel Holland Compared against the manual, diff'ed the binding headers against

Re: Pull request for efi-2022-07-rc2-2

2022-05-04 Thread Tom Rini
On Wed, May 04, 2022 at 05:54:25PM +0200, Heinrich Schuchardt wrote: > Dear Tom, > > The following changes since commit f8e7670f8b2a5ba8f25682eee56039fa5f0a20ca: > > CI: Azure: Rework how we update MSYS2 (2022-05-03 08:32:50 -0400) > > are available in the Git repository at: > >

Re: [PATCH v2 3/9] spl: Convert fat to spl_load

2022-05-04 Thread Tom Rini
On Fri, Apr 22, 2022 at 02:27:41PM -0400, Sean Anderson wrote: > This converts the fat loader to use spl_load. > > Signed-off-by: Sean Anderson > Reviewed-by: Stefan Roese On am335x_evm_defconfig, and booting from a FAT SD card I see: Trying to boot from MMC1 spl_load_image_fat: error reading

[PATCH 4/4] boot: Kconfig: Enable FIT processing by default on TI secure devices

2022-05-04 Thread Andrew Davis
TI secure devices chain-of-trust depends on FIT image processing, enable it by default on these devices. This also reduces the delta between the secure and non-secure defconfig files. Signed-off-by: Andrew Davis --- boot/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/boot/Kconfig

[PATCH 2/4] spl: Force disable non-FIT loading for TI secure devices

2022-05-04 Thread Andrew Davis
Booting of non-FIT images bypass our chain-of-trust boot flow, these options should not be allowed when high security is set. Signed-off-by: Andrew Davis --- common/spl/Kconfig | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/common/spl/Kconfig b/common/spl/Kconfig

[PATCH 1/4] spl: Rename Kconfig SPL_LEGACY_IMAGE_SUPPORT to SPL_LEGACY_IMAGE_FORMAT

2022-05-04 Thread Andrew Davis
This matches what this support is called in the non-SPL case. The postfix _SUPPORT is redundant as enabling Kconfig options implies support. With this we can use CONFIG_IS_ENABLED() as needed. Signed-off-by: Andrew Davis --- common/spl/Kconfig | 6 +++---

[PATCH 3/4] boot: Kconfig: Disable non-FIT loading for TI secure devices

2022-05-04 Thread Andrew Davis
Non-FIT image loading support should be disabled for TI secure devices as the image handlers for those image types do not follow our secure boot checks. Signed-off-by: Andrew Davis --- boot/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boot/Kconfig b/boot/Kconfig

Re: [PATCH v2 2/2] cmd: avb: introduce optional interface parameter to avb init

2022-05-04 Thread Igor Opaniuk
Hi Andrii, On Tue, Apr 19, 2022 at 9:46 AM Andrii Chepurnyi wrote: > > From: Andrii Chepurnyi > > From: Andrii Chepurnyi > > Originally, avb implementation relay on mmc block devices. > The interface parameter will give the ability to use avb with > various block devices by choosing the exact

Re: [PATCH 2/4] configs: imx8m: use common imx8m.h for i.MX8MN

2022-05-04 Thread Ariel D'Alessandro
Peng, On 5/4/22 16:30, Ariel D'Alessandro wrote: > Hi Peng, > > On 5/3/22 12:43, Tim Harvey wrote: >> On Tue, May 3, 2022 at 4:39 AM Peng Fan (OSS) wrote: >>> >>> From: Peng Fan >>> >>> Some SPL definitions could be gerneralized, so use imx8m.h for iMX8MN. >>> >> >> Peng, >> >>

Re: [PATCH 2/4] configs: imx8m: use common imx8m.h for i.MX8MN

2022-05-04 Thread Ariel D'Alessandro
Hi Peng, On 5/3/22 12:43, Tim Harvey wrote: > On Tue, May 3, 2022 at 4:39 AM Peng Fan (OSS) wrote: >> >> From: Peng Fan >> >> Some SPL definitions could be gerneralized, so use imx8m.h for iMX8MN. >> > > Peng, > > s/gerneralized/generalized > > (looks like that typo is all the patches in

Re: [PATCH 11/17] imx: imx8mn_smm_s2: clean up board watchdog code

2022-05-04 Thread Ariel D'Alessandro
Hi Peng, On 5/3/22 09:24, Peng Fan (OSS) wrote: > From: Peng Fan > > pinctrl_wdog already marked u-boot,dm-spl, so clean up board code. > set_wdog_reset function could be handled by imx_watchdog.c driver. > > Signed-off-by: Peng Fan > --- > board/bsh/imx8mn_smm_s2/spl.c | 11 --- > 1

Re: [PATCH 12/17] imx: imx8mn_var_som: clean up board watchdog code

2022-05-04 Thread Ariel D'Alessandro
Hi Peng, On 5/3/22 09:24, Peng Fan (OSS) wrote: > From: Peng Fan > > pinctrl_wdog already marked u-boot,dm-spl, so clean up board code. > set_wdog_reset function could be handled by imx_watchdog.c driver. > > Signed-off-by: Peng Fan > --- > board/variscite/imx8mn_var_som/spl.c | 11

Re: [PATCH v7 2/7] fpga: add fit_fpga_load function

2022-05-04 Thread Oleksandr Suvorov
Hi Adrian, On Wed, May 4, 2022 at 5:28 PM Adrian Fiergolski wrote: > > Hi Oleksandr, > > On 03.05.2022 09:42, Michal Simek wrote: > > > > > > On 4/11/22 20:00, Adrian Fiergolski wrote: > >> From: Oleksandr Suvorov > >> > >> Introduce a function which passes an fpga compatible string from > >>

Pull request for efi-2022-07-rc2-2

2022-05-04 Thread Heinrich Schuchardt
Dear Tom, The following changes since commit f8e7670f8b2a5ba8f25682eee56039fa5f0a20ca: CI: Azure: Rework how we update MSYS2 (2022-05-03 08:32:50 -0400) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-efi.git tags/efi-2022-07-rc2-2 for you to fetch

Re: [PATCH v2 1/2] cmd: bcb: introduce optional interface parameter to bcb

2022-05-04 Thread Igor Opaniuk
Hi Andrii, On Tue, Apr 19, 2022 at 9:46 AM Andrii Chepurnyi wrote: > > From: Andrii Chepurnyi > > From: Andrii Chepurnyi > > Originally, bcb implementation relay on mmc block devices. > The interface parameter will give the ability to use bcb with > various block devices by choosing the exact

Re: [PATCH 3/3] am335x, guardian: Drop non DM_I2C code

2022-05-04 Thread Tom Rini
On Wed, May 04, 2022 at 11:02:58AM +, gireesh.hirem...@in.bosch.com wrote: > From: Gireesh Hiremath > > On this platform DM_I2C and SPL_DM_I2C enabled. > Remove legacy code. > > Signed-off-by: Gireesh Hiremath Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature

Re: [PATCH 2/3] configs: am335x_guardian: Enable DM_I2C

2022-05-04 Thread Tom Rini
On Wed, May 04, 2022 at 11:02:57AM +, gireesh.hirem...@in.bosch.com wrote: > From: Gireesh Hiremath > > Move from I2C legacy to the DM I2C version > > Signed-off-by: Gireesh Hiremath Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature

Re: [PATCH 1/3] ARM: dts: am335x: guardian: switch to AM33XX_PADCONF

2022-05-04 Thread Tom Rini
On Wed, May 04, 2022 at 11:02:56AM +, gireesh.hirem...@in.bosch.com wrote: > From: Gireesh Hiremath > > switch the pin definitions from AM33XX_IOPAD to AM33XX_PADCONF macro > > Signed-off-by: Gireesh Hiremath Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature

Re: Please pull u-boot-marvell/master

2022-05-04 Thread Tom Rini
On Wed, May 04, 2022 at 11:26:40AM +0200, Stefan Roese wrote: > Hi Tom, > > please pull this next batch of Marvell related patches. Some > of them are network driver related and are reviewed by Ramon. > I also have the ack from Daniel to push the MIPS related > patches via this tree: > Applied

Re: Pull request: u-boot-spi/master

2022-05-04 Thread Tom Rini
On Wed, May 04, 2022 at 11:41:08AM +0530, Jagan Teki wrote: > Hi Tom, > > Please pull this PR. > > Summary: > - NPCM7xx FIU SPI driver (Jim Liu) > - AT45DB641E dataflash (Luca Ellero) > > CI: > https://source.denx.de/u-boot/custodians/u-boot-spi/-/pipelines/11912 > > thanks, > Jagan. > >

Re: [PATCH 1/1] dm: fix DM_EVENT dependencies

2022-05-04 Thread Tom Rini
On Wed, May 04, 2022 at 08:06:12AM +0200, Heinrich Schuchardt wrote: > > > On 5/3/22 21:35, Tom Rini wrote: > > On Tue, May 03, 2022 at 09:18:33PM +0200, Heinrich Schuchardt wrote: > > > > > CONFIG_DM_EVENT without CONFIG_EVENT is non-functional. Select instead > > > of imply CONFIG_EVENT. > >

Re: [PATCH v7 2/7] fpga: add fit_fpga_load function

2022-05-04 Thread Adrian Fiergolski
Hi Oleksandr, On 03.05.2022 09:42, Michal Simek wrote: On 4/11/22 20:00, Adrian Fiergolski wrote: From: Oleksandr Suvorov Introduce a function which passes an fpga compatible string from FIT images to FPGA drivers. This lets the different implementations decide how to handle it. Some code

Re: Regression? [PATCH 1/2] mtd: call of_platform_populate() for MTD partitions

2022-05-04 Thread Rafał Miłecki
On 25.04.2022 03:20, Daniel Golle wrote: On Mon, Apr 11, 2022 at 11:00:32AM +0200, Miquel Raynal wrote: On Wed, 2022-04-06 at 14:32:24 UTC, =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= wrote: From: Rafał Miłecki Until this change MTD subsystem supported handling partitions only with MTD partitions

Re: i.MX8MP usb status

2022-05-04 Thread Marek Vasut
On 5/4/22 14:26, Peng Fan wrote: Hi Marek, Hi, Since you did some work on i.MX8MP USB, may I know the status? Does host/device mode both supported in upstream? I only have HOST option available, so for me this is only HOST. I did not test GADGET or OTG . Any plan on PTN5110 support? I

[PATCH] ARM: dts: stm32: Move DHCOR BUCK3 VDD 2V9 adjustment to 1V8 DTSI

2022-05-04 Thread Marek Vasut
The Buck3 on DHCOR is used to supply IO voltage. It can output either 3V3 in the default DHCOR configuration, or 2V9 in case of AV96 DHCOR variant which has extra Empirion DCDC converter in front of the 1V8 IO supply, or outright 1V8 in case of 1V8 IO DHCOR without the Empirion DCDC converter.

Re: [PATCH 1/5] phy: adin: remove broken support for adi,phy-mode-override

2022-05-04 Thread Nate Drude
Hi Josua, On Wed, 2022-05-04 at 11:51 +0300, Josua Mayer wrote: > Hi Nate, > > Am 02.05.22 um 16:25 schrieb Nate Drude: > > Hi Josua, > > > > On Sun, 2022-05-01 at 15:41 +0300, Josua Mayer wrote: > > > The adin_get_phy_mode_override function does not compile, because > > > it > > > is > > >

i.MX8MP usb status

2022-05-04 Thread Peng Fan
Hi Marek, Since you did some work on i.MX8MP USB, may I know the status? Does host/device mode both supported in upstream? Any plan on PTN5110 support? Thanks, Peng.

[PATCH 2/3] configs: am335x_guardian: Enable DM_I2C

2022-05-04 Thread Gireesh.Hiremath
From: Gireesh Hiremath Move from I2C legacy to the DM I2C version Signed-off-by: Gireesh Hiremath --- configs/am335x_guardian_defconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configs/am335x_guardian_defconfig b/configs/am335x_guardian_defconfig index

[PATCH 3/3] am335x, guardian: Drop non DM_I2C code

2022-05-04 Thread Gireesh.Hiremath
From: Gireesh Hiremath On this platform DM_I2C and SPL_DM_I2C enabled. Remove legacy code. Signed-off-by: Gireesh Hiremath --- board/bosch/guardian/board.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/board/bosch/guardian/board.c b/board/bosch/guardian/board.c

[PATCH 1/3] ARM: dts: am335x: guardian: switch to AM33XX_PADCONF

2022-05-04 Thread Gireesh.Hiremath
From: Gireesh Hiremath switch the pin definitions from AM33XX_IOPAD to AM33XX_PADCONF macro Signed-off-by: Gireesh Hiremath --- arch/arm/dts/am335x-guardian-u-boot.dtsi | 2 +- arch/arm/dts/am335x-guardian.dts | 214 +-- 2 files changed, 119 insertions(+), 97

Re: [RFC PATCH 2/8] rockchip: Add binman definitions for final images

2022-05-04 Thread Andrew Abbott
On Wed Apr 27, 2022 at 7:22 PM AEST, Johan Jonker wrote: > Hi, > > This name "u-boot-rockchip.bin"is in use in user space scripts and shows > up in examples on the web. No desire for yet another naming variant. > What you change must give exact the same result as we had in the > existing

Please pull u-boot-marvell/master

2022-05-04 Thread Stefan Roese
Hi Tom, please pull this next batch of Marvell related patches. Some of them are network driver related and are reviewed by Ramon. I also have the ack from Daniel to push the MIPS related patches via this tree: - mips: octeon: Add

Re: [PATCH u-boot-marvell 00/19] some mvneta changes, cleanups, fixes

2022-05-04 Thread Stefan Roese
On 27.04.22 12:41, Marek Behún wrote: From: Marek Behún Hello Stefan, here come some refactors, cleanups and fixed for the mvneta driver. Marek Behún (19): net: mvneta: Get rid of platdata net: mvneta: Fix 10Mbps speed net: mvneta: Use DM MDIO API for connecting PHY net: mvneta:

Re: [PATCH v2 00/52] mips: octeon: Add ethernet support

2022-05-04 Thread Stefan Roese
On 07.04.22 09:11, Stefan Roese wrote: This patchset adds the networking files and drivers including device helper headers and C files. Please excuse the massive amount of files in this patch series. Also the sometimes huge files (mostly headers with register definitions) that I needed to

Re: [PATCH V2] nvmem: add driver handling U-Boot environment variables

2022-05-04 Thread Ahmad Fatoum
Hello Rafał, On 03.05.22 18:56, Rafał Miłecki wrote: > From: Rafał Miłecki > > U-Boot stores its setup as environment variables. It's a list of > key-value pairs stored on flash device with a custom header. > > This commit adds an NVMEM driver that: > 1. Provides NVMEM access to environment

Re: [PATCH v5 05/17] efi_loader: export efi_locate_device_handle()

2022-05-04 Thread Ilias Apalodimas
On Sun, 1 May 2022 at 21:59, Heinrich Schuchardt wrote: > > On 4/28/22 10:09, Masahisa Kojima wrote: > > From: AKASHI Takahiro > > > > This function will be used in the next commit where some behavior > > of EFI boot manager will be expanded. > > > > Signed-off-by: AKASHI Takahiro > >

Re: [PATCH 1/5] phy: adin: remove broken support for adi,phy-mode-override

2022-05-04 Thread Josua Mayer
Hi Nate, Am 02.05.22 um 16:25 schrieb Nate Drude: Hi Josua, On Sun, 2022-05-01 at 15:41 +0300, Josua Mayer wrote: The adin_get_phy_mode_override function does not compile, because it is missing both declaration and implementation of phy_get_interface_by_name. Remove the whole function for

[PATCH] arm64: zynqmp: Fix split mode reset functionality

2022-05-04 Thread Michal Simek
From: Neal Frager This patch fixes two issues in the set_r5_reset function. 1. When in split mode, the lpd_amba_rst bit should only be set when both r5 cpu cores are in reset. Otherwise, if one r5 core is still running, setting the lpd_amba_rst bit will cause an error for the running core. The

Pull request: u-boot-spi/master

2022-05-04 Thread Jagan Teki
Hi Tom, Please pull this PR. Summary: - NPCM7xx FIU SPI driver (Jim Liu) - AT45DB641E dataflash (Luca Ellero) CI: https://source.denx.de/u-boot/custodians/u-boot-spi/-/pipelines/11912 thanks, Jagan. The following changes since commit c70c0102af5413cadde6bf90044cb75aefef0584: Merge tag

Re: [PATCH v2] spi: npcm-fiu: add NPCM7xx FIU controller driver

2022-05-04 Thread Jagan Teki
On Tue, May 3, 2022 at 5:51 PM Jagan Teki wrote: > > From: Jim Liu > > Add Nuvoton NPCM BMC Flash Interface Unit(FIU) SPI master > controller driver using SPI-MEM interface. > > The FIU supports single, dual or quad communication interface. > The FIU controller driver provides flash access in

Re: [PATCH 1/1] dm: fix DM_EVENT dependencies

2022-05-04 Thread Heinrich Schuchardt
On 5/3/22 21:35, Tom Rini wrote: On Tue, May 03, 2022 at 09:18:33PM +0200, Heinrich Schuchardt wrote: CONFIG_DM_EVENT without CONFIG_EVENT is non-functional. Select instead of imply CONFIG_EVENT. Remove superfluous stub in include/event.h. Fixes: 5b896ed5856f ("event: Add events for