Re: [PATCH] dm: core: Do not stop uclass iteration on error.

2022-08-04 Thread Simon Glass
Hi Michal, On Thu, 4 Aug 2022 at 11:59, Michal Suchanek wrote: > > When probing a device fails NULL pointer is returned, and other devices > cannot be iterated. Skip to next device on error instead. > > Fixes: 6494d708bf ("dm: Add base driver model support") > Signed-off-by: Michal Suchanek > --

Re: EFI CI failure

2022-08-04 Thread Simon Glass
Hi Heinrich, On Wed, 3 Aug 2022 at 23:53, Heinrich Schuchardt wrote: > > > > On 8/3/22 20:13, Simon Glass wrote: > > Hi Heinrich, > > > > I am seeing this: > > > > https://source.denx.de/u-boot/custodians/u-boot-dm/-/jobs/477636 > > The EFI sub-system recorded successful execution of the test. >

Re: [PATCH] dm: core: Do not stop uclass iteration on error.

2022-08-04 Thread Michal Suchánek
Hello, On Thu, Aug 04, 2022 at 01:22:57PM -0600, Simon Glass wrote: > Hi Michal, > > On Thu, 4 Aug 2022 at 11:59, Michal Suchanek wrote: > > > > When probing a device fails NULL pointer is returned, and other devices > > cannot be iterated. Skip to next device on error instead. > > > > Fixes: 64

Re: [PATCH] doc: dm: clarify activation.

2022-08-04 Thread Michal Suchánek
On Thu, Aug 04, 2022 at 01:22:53PM -0600, Simon Glass wrote: > Hi Michal, > > On Thu, 4 Aug 2022 at 11:58, Michal Suchanek wrote: > > > > Explain when devices should get activated. > > > > Signed-off-by: Michal Suchanek > > --- > > doc/develop/driver-model/design.rst | 22 --

Re: [PATCH] timer: bcmbca: Add Broadcom BCMBCA timer support

2022-08-04 Thread William Zhang
Hi Florian, On 08/03/2022 08:21 PM, Florian Fainelli wrote: On 8/2/2022 5:07 PM, William Zhang wrote: Hi Rafal, On 08/01/2022 10:26 PM, Rafał Miłecki wrote: On 2.08.2022 00:03, William Zhang wrote: This driver supports the peripheral block timer found on the Broadcom BCA SoCs. It is 30-bit

Re: [PATCH] doc: dm: clarify activation.

2022-08-04 Thread Simon Glass
Hi Michal, On Thu, 4 Aug 2022 at 13:42, Michal Suchánek wrote: > > On Thu, Aug 04, 2022 at 01:22:53PM -0600, Simon Glass wrote: > > Hi Michal, > > > > On Thu, 4 Aug 2022 at 11:58, Michal Suchanek wrote: > > > > > > Explain when devices should get activated. > > > > > > Signed-off-by: Michal Such

Re: [PATCH] dm: core: Do not stop uclass iteration on error.

2022-08-04 Thread Simon Glass
Hi Michal, On Thu, 4 Aug 2022 at 13:36, Michal Suchánek wrote: > > Hello, > > On Thu, Aug 04, 2022 at 01:22:57PM -0600, Simon Glass wrote: > > Hi Michal, > > > > On Thu, 4 Aug 2022 at 11:59, Michal Suchanek wrote: > > > > > > When probing a device fails NULL pointer is returned, and other device

Re: [PATCH] pwm: aspeed: Select SYSCON to get parent detail.

2022-08-04 Thread Tom Rini
On Fri, Apr 29, 2022 at 11:50:48AM +0800, Billy Tsai wrote: > To work correctly, this driver depends on SYSCON to get the base address > from the parent dts node. > > Signed-off-by: Billy Tsai > Reviewed-by: Chia-Wei Wang Applied to u-boot/master, thanks! -- Tom signature.asc Description:

Re: [PATCH] drivers: xen: events: fix build issues with disabled Xen HVC

2022-08-04 Thread Tom Rini
On Mon, Jul 04, 2022 at 12:05:38PM +, Dmytro Firsov wrote: > Some setups do not use Xen hypervisor console for logging, e.g. they > use emulated PL011 hardware or shared peripherals (real UART). In such > cases Xen HVC will be disabled on a build time and will cause issues in > current driver

Re: [PATCH v1 2/2] ARM: dts: npcm7xx: add npcm750 full function node

2022-08-04 Thread Tom Rini
On Tue, Jul 12, 2022 at 05:24:07PM +0800, Jim Liu wrote: > add npcm750 BMC full function node > > Signed-off-by: Jim Liu Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 1/4] arm: mach-k3: Add support for device type detection

2022-08-04 Thread Tom Rini
On Fri, Jul 15, 2022 at 11:34:32AM -0500, Andrew Davis wrote: > K3 SoCs are available in a number of device types such as > GP, HS-FS, EMU, etc. Like OMAP SoCs we can detect this at runtime > and should print this out as part of the SoC information line. > We add this as part of the common.c file

Re: [PATCH 2/4] arm: mach-k3: security: Allow signing bypass if type is HS-FS

2022-08-04 Thread Tom Rini
On Fri, Jul 15, 2022 at 11:34:33AM -0500, Andrew Davis wrote: > On HS-FS devices signing boot images is optional. To ease use > we check if we are HS-FS and if no certificate is attached > to the image we skip the authentication step with a warning > that this will fail when the device is set to s

Re: [PATCH 3/4] arm: mach-k3: security: Bypass image signing at runtime for GP devices

2022-08-04 Thread Tom Rini
On Fri, Jul 15, 2022 at 11:34:34AM -0500, Andrew Davis wrote: > We can skip the image authentication check at runtime if the device is GP. > This reduces the delta between GP and HS U-Boot builds. End goal is > to re-unify the two build types into one build that can run on all > device types. > >

Re: [PATCH 4/4] arm: mach-k3: security: Remove certificate if detected on GP device

2022-08-04 Thread Tom Rini
On Fri, Jul 15, 2022 at 11:34:35AM -0500, Andrew Davis wrote: > If the device is a GP and we detect a signing certificate then remove it. > It would fail to authenticate otherwise as the device is GP and has no > secure authentication services in SYSFW. > > This shouldn't happen often as trying t

Re: [PATCH] cmd: fix do_adc_single()

2022-08-04 Thread Tom Rini
On Sun, Jul 03, 2022 at 03:49:09PM +0300, Vyacheslav Bocharov wrote: > The source code contains an error: > - argv[2] contains arg, variable for env_set is in argv[3] > - number of args is 4 > > Revert 54d24d72601321f4470c4edf31c6b29adae424a7 > cmd: simplify do_adc_single() > > Fixes 9de612ae

Re: [PATCH v2] spl: mmc: Use correct MMC device when loading image

2022-08-04 Thread Tom Rini
On Mon, Jul 11, 2022 at 02:35:32PM +0200, Harald Seiler wrote: > When attempting to load images from multiple MMC devices in sequence, > spl_mmc_load() chooses the wrong device from the second attempt onwards. > > The reason is that MMC initialization is only done on its first call and > spl_mmc_

Re: [PATCH 1/1] cmd: undefined return value of do_extension_apply()

2022-08-04 Thread Tom Rini
On Mon, Jul 11, 2022 at 08:01:12PM +0200, Heinrich Schuchardt wrote: > If 'extension apply all' is executed and no extension is found, the return > value of do_extension_apply() is undefined. Return CMD_RET_FAILURE in this > case. > > Fixes: 2f84e9cf06d3 ("cmd: add support for a new "extension" c

Re: [PATCH 2/4] mx7ulp_com: fix incorrect select for SPL options

2022-08-04 Thread Tom Rini
On Tue, Jul 12, 2022 at 05:44:20PM +0200, Quentin Schulz wrote: > From: Quentin Schulz > > SPL_GPIO_SUPPORT is named SPL_GPIO since commit 83061dbd1c89 ("Rename > GPIO_SUPPORT to GPIO"), SPL_MMC_SUPPORT is named SPL_MMC since commit > 103c5f180694 ("mmc: Rename MMC_SUPPORT to MMC"), SPL_SERIAL_S

Re: [PATCH 1/4] gpio: fix incorrect depends on for SPL_GPIO_HOG

2022-08-04 Thread Tom Rini
On Tue, Jul 12, 2022 at 05:44:19PM +0200, Quentin Schulz wrote: > From: Quentin Schulz > > Since commit 83061dbd1c89 ("Rename GPIO_SUPPORT to GPIO"), > SPL_GPIO_SUPPORT has been renamed to SPL_GPIO, meaning that SPL_GPIO_HOG > can never be enabled. > > Let's fix this by using the proper name fo

Re: [PATCH 3/4] imx: imx8mp_rsb3720a1: fix incorrect ifdef check on SPL_MMC

2022-08-04 Thread Tom Rini
On Tue, Jul 12, 2022 at 05:44:21PM +0200, Quentin Schulz wrote: > From: Quentin Schulz > > Since commit 103c5f180694 ("mmc: Rename MMC_SUPPORT to MMC"), > SPL_MMC_SUPPORT is named SPL_MMC, so let's fix the ifdef. > > Fixes: fbc6b1414342 ("imx: imx8mp_rsb3720a1: convert to DM_SERIAL") > Cc: Quen

Re: [PATCH 4/4] vpl: fix reference in comment to non-existing SPL_SERIAL_SUPPORT

2022-08-04 Thread Tom Rini
On Tue, Jul 12, 2022 at 05:44:22PM +0200, Quentin Schulz wrote: > From: Quentin Schulz > > Since commit 2a7360666871 ("serial: Rename SERIAL_SUPPORT to SERIAL") > SPL_SERIAL_SUPPORT is named SPL_SERIAL. So let's update the comment to > point to the correct Kconfig option in the comment of VPL_SE

Re: [PATCH v3 1/2] tools: mkeficapsule: use pkg-config to get -luuid and -lgnutls

2022-08-04 Thread Tom Rini
On Wed, Jul 20, 2022 at 12:31:33PM +0200, Heiko Thiery wrote: > Instead of hardcoding -luuid -lgnutls as the flags needed to build > mkeficapsule, use pkg-config when available. > > We gracefully fallback on the previous behavior of hardcoding -luuid > -lgnutls if pkg-config is not available or f

Re: [PATCH 1/1] cmd: remove deprecated LCD support

2022-08-04 Thread Tom Rini
On Thu, Jul 14, 2022 at 08:53:46AM +0200, Heinrich Schuchardt wrote: > No board uses lcd_clear() anymore. So we can remove support for it. > > Signed-off-by: Heinrich Schuchardt Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH v3 2/2] tools: kwboot: use pkg-config to get -ltinfo

2022-08-04 Thread Tom Rini
On Wed, Jul 20, 2022 at 12:31:35PM +0200, Heiko Thiery wrote: > Instead of hardcoding -ltinfo as the flags needed to build > kwboot, use pkg-config when available. > > We gracefully fallback on the previous behavior of hardcoding -ltinfo > if pkg-config is not available or fails with an error. >

Re: [PATCH] tools: mkimage: fix build with LibreSSL

2022-08-04 Thread Tom Rini
On Fri, Jul 22, 2022 at 07:55:53PM +0200, Michal Vasilek wrote: > RSA_get0_* functions are not available in LibreSSL > > Signed-off-by: Michal Vasilek > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: EFI CI failure

2022-08-04 Thread Heinrich Schuchardt
Am 4. August 2022 21:23:01 MESZ schrieb Simon Glass : >Hi Heinrich, > >On Wed, 3 Aug 2022 at 23:53, Heinrich Schuchardt wrote: >> >> >> >> On 8/3/22 20:13, Simon Glass wrote: >> > Hi Heinrich, >> > >> > I am seeing this: >> > >> > https://source.denx.de/u-boot/custodians/u-boot-dm/-/jobs/477636

Re: [PATCH] arm: mvebu: spl: Always fallback to BootROM boot method

2022-08-04 Thread Tony Dinh
Hi Pali, Follow up on the topic of slow/fast SPL SPI loading. common/spl/spl_spi.c /* * Load U-Boot image from SPI flash into RAM * In DM mode: defaults speed and mode will be * taken from DT when available */ flash = spi_flash_probe(sf_bus, sf_

Pull request for tpm-030822

2022-08-04 Thread Ilias Apalodimas
Hi Tom, The following changes since commit 707b17f64e71fad1615ea25082f2e928f712e366: MAINTAINERS: Change POWERPC MPC85XX maintainer to Marek Behún (2022-08-01 10:08:43 -0400) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-tpm/ tags/tpm-030822 for y

[PATCH] zynq: Convert arm twd timer to DM driver

2022-08-04 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Move arm twd timer driver from zynq to generic location. DM timer drivers are designed differently to original driver. Timer is counting up and not down. Information about clock rates are find out in timer_pre_probe() that's why there is no need to get any additional

Re: [PATCH v3 0/3] Enable NC-SI support

2022-08-04 Thread Joel Stanley
On Mon, 4 Jul 2022 at 07:58, Joel Stanley wrote: > > Back in 2019 Sam submitted NC-SI support. The NC-SI PHY driver was > merged (patches 1 and 2), but we never got around to merging patches 3 > and 4: > > https://lore.kernel.org/u-boot/20190618013720.2823-1-...@mendozajonas.com/ > > Sam as long

<    1   2