Re: [PATCH v3 6/8] cmd: rng: Add support for selecting RNG device

2022-03-08 Thread Simon Glass
Hi Sughosh, On Fri, 4 Mar 2022 at 06:35, Sughosh Ganu wrote: > > The 'rng' u-boot command is used for printing a select number of > random bytes on the console. Currently, the RNG device from which the > random bytes are read is fixed. However, a platform can have multiple > RNG devices, one exam

Re: [PATCH v3 7/8] doc: rng: Add documentation for the rng command

2022-03-08 Thread Simon Glass
On Fri, 4 Mar 2022 at 06:35, Sughosh Ganu wrote: > > Add a usage document for the 'rng' u-boot command. > > Signed-off-by: Sughosh Ganu > --- > > Changes since V2: None > > doc/usage/index.rst | 1 + > doc/usage/rng.rst | 25 + > 2 files changed, 26 insertions(+) > cr

Re: [PATCH v3 8/8] test: rng: Add a UT testcase for the rng command

2022-03-08 Thread Simon Glass
Hi Sughosh, On Fri, 4 Mar 2022 at 06:35, Sughosh Ganu wrote: > > The 'rng' command dumps a number of random bytes on the console. Add a > set of tests for the 'rng' command. The test function performs basic > sanity testing of the command. > > Since a unit test is being added for the command, ena

Re: [RFC PATCH v3 1/2] efi_loader: introduce "bootefi bootindex" command

2022-03-08 Thread Takahiro Akashi
On Wed, Mar 09, 2022 at 09:47:25AM +0900, Masahisa Kojima wrote: > On Tue, 8 Mar 2022 at 23:17, Takahiro Akashi > wrote: > > > > On Tue, Mar 08, 2022 at 11:07:44PM +0900, Masahisa Kojima wrote: > > > This commit introduces the new command "bootefi bootindex". > > > With this command, user can sel

Re: [PATCH v3 00/19] efi_loader: more tightly integrate UEFI disks to driver model

2022-03-08 Thread AKASHI Takahiro
Hi Simon, On Tue, Mar 08, 2022 at 07:34:15PM -0700, Simon Glass wrote: > Hi Takahiro, > > On Tue, 8 Mar 2022 at 19:10, AKASHI Takahiro > wrote: > > > > Heinrich, Simon, > > > > On Tue, Mar 08, 2022 at 05:49:13PM +0100, Heinrich Schuchardt wrote: > > > On 3/8/22 12:36, AKASHI Takahiro wrote: > >

Re: [PATCH v3 00/19] efi_loader: more tightly integrate UEFI disks to driver model

2022-03-08 Thread Tom Rini
On Tue, Mar 08, 2022 at 07:32:59PM -0700, Simon Glass wrote: > Hi Tom, > > On Tue, 8 Mar 2022 at 17:13, Tom Rini wrote: > > > > On Tue, Mar 08, 2022 at 02:20:15PM -0700, Simon Glass wrote: > > > Hi Soeren, > > > > > > On Tue, 8 Mar 2022 at 12:15, Soeren Moch wrote: > > > > > > > > > > > > > > >

Re: [PATCH v3 00/19] efi_loader: more tightly integrate UEFI disks to driver model

2022-03-08 Thread Simon Glass
Hi Takahiro, On Tue, 8 Mar 2022 at 19:48, AKASHI Takahiro wrote: > > Hi Simon, > > On Tue, Mar 08, 2022 at 07:34:15PM -0700, Simon Glass wrote: > > Hi Takahiro, > > > > On Tue, 8 Mar 2022 at 19:10, AKASHI Takahiro > > wrote: > > > > > > Heinrich, Simon, > > > > > > On Tue, Mar 08, 2022 at 05:49

Re: [PATCH v3 00/19] efi_loader: more tightly integrate UEFI disks to driver model

2022-03-08 Thread Simon Glass
Hi Tom, On Tue, 8 Mar 2022 at 20:00, Tom Rini wrote: > > On Tue, Mar 08, 2022 at 07:32:59PM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Tue, 8 Mar 2022 at 17:13, Tom Rini wrote: > > > > > > On Tue, Mar 08, 2022 at 02:20:15PM -0700, Simon Glass wrote: > > > > Hi Soeren, > > > > > > > > On T

Re: [PATCH v3 00/19] efi_loader: more tightly integrate UEFI disks to driver model

2022-03-08 Thread Simon Glass
Hi Tom, On Tue, 8 Mar 2022 at 20:10, Simon Glass wrote: > > Hi Tom, > > On Tue, 8 Mar 2022 at 20:00, Tom Rini wrote: > > > > On Tue, Mar 08, 2022 at 07:32:59PM -0700, Simon Glass wrote: > > > Hi Tom, > > > > > > On Tue, 8 Mar 2022 at 17:13, Tom Rini wrote: > > > > > > > > On Tue, Mar 08, 2022

[PATCH] mtd: spi-nor-ids: Add Winbond W25Q128JW ID

2022-03-08 Thread Marek Vasut
Add ID for Winbond W25Q128JW device. This is a 128 Mbit QSPI NOR. Tested on W25Q128JWPIM part. Signed-off-by: Marek Vasut Cc: Horatiu Vultur Cc: Jagan Teki Cc: Simon Goldschmidt Cc: Stefan Roese Cc: Vignesh R --- drivers/mtd/spi/spi-nor-ids.c | 5 + 1 file changed, 5 insertions(+) diff

[PATCH] spi: nxp_fspi: Add i.MX8MP compatible string

2022-03-08 Thread Marek Vasut
The i.MX8M Mini and i.MX8M Plus flexspi IPs are compatible with one another, however the linux kernel DT uses separate compatible string for each SoC. Add the missing i.MX8MP compatible into this driver. Signed-off-by: Marek Vasut Cc: Fabio Estevam Cc: Peng Fan Cc: Stefano Babic --- drivers/s

[PATCH] ARM: dts: imx: Add flexspi node to i.MX8MP

2022-03-08 Thread Marek Vasut
Add flexspi DT node matching Linux kernel as of commit d7cd74466651e ("arm64: dts: imx8mp: Reorder flexspi clock-names entry") Signed-off-by: Marek Vasut Cc: Fabio Estevam Cc: Peng Fan Cc: Stefano Babic --- arch/arm/dts/imx8mp.dtsi | 15 +++ 1 file changed, 15 insertions(+) diff

Re: [PATCH v3 00/19] efi_loader: more tightly integrate UEFI disks to driver model

2022-03-08 Thread AKASHI Takahiro
On Tue, Mar 08, 2022 at 08:10:01PM -0700, Simon Glass wrote: > Hi Takahiro, > > On Tue, 8 Mar 2022 at 19:48, AKASHI Takahiro > wrote: > > > > Hi Simon, > > > > On Tue, Mar 08, 2022 at 07:34:15PM -0700, Simon Glass wrote: > > > Hi Takahiro, > > > > > > On Tue, 8 Mar 2022 at 19:10, AKASHI Takahiro

Re: [PATCH v2 3/3] tools: kwboot: Allow to mix positional arguments with option -b

2022-03-08 Thread Stefan Roese
On 3/8/22 20:22, Pali Rohár wrote: On Monday 07 March 2022 21:23:29 Tony Dinh wrote: Hi Pali, I've tested this patch series and it's all working fine! Perfect! Stefan, I think that this change should go into 2022.04 as it is fixing regression introduced during 2022.04 development. I agree.

Re: [PATCH v3 3/8] tpm: rng: Add driver model interface for TPM RNG device

2022-03-08 Thread Sughosh Ganu
hi Simon, Thanks for looking into this. I now have a fair idea of the structure that you are looking for this interface. On Wed, 9 Mar 2022 at 08:05, Simon Glass wrote: > > Hi Sugosh, > > On Fri, 4 Mar 2022 at 06:35, Sughosh Ganu wrote: > > > > The TPM device has a builtin random number generat

Re: [PATCH v3 4/8] tpm: Add the RNG child device

2022-03-08 Thread Sughosh Ganu
hi Simon, On Wed, 9 Mar 2022 at 08:05, Simon Glass wrote: > > Hi, > > On Fri, 4 Mar 2022 at 06:35, Sughosh Ganu wrote: > > > > The TPM device comes with the random number generator(RNG) > > functionality which is built into the TPM device. Add logic to add the > > RNG child device in the TPM ucl

Re: [PATCH v3 6/8] cmd: rng: Add support for selecting RNG device

2022-03-08 Thread Sughosh Ganu
hi Simon, On Wed, 9 Mar 2022 at 08:05, Simon Glass wrote: > > Hi Sughosh, > > On Fri, 4 Mar 2022 at 06:35, Sughosh Ganu wrote: > > > > The 'rng' u-boot command is used for printing a select number of > > random bytes on the console. Currently, the RNG device from which the > > random bytes are r

[PATCH v2 0/1]wdt: nuvoton: Add support for Nuvoton

2022-03-08 Thread jimliu2
Add watchdog controller driver for NPCM7xx/npcm8xx jimliu2 (1): wdt: nuvoton: Add support for Nuvoton drivers/watchdog/Kconfig| 6 ++ drivers/watchdog/Makefile | 1 + drivers/watchdog/npcm_wdt.c | 119 3 files changed, 126 insertions(+) create mo

[PATCH v2 1/1] wdt: nuvoton: Add support for Nuvoton

2022-03-08 Thread jimliu2
Add watchdog controller driver for NPCM7xx/npcm8xx Signed-off-by: jimliu2 --- drivers/watchdog/Kconfig| 6 ++ drivers/watchdog/Makefile | 1 + drivers/watchdog/npcm_wdt.c | 119 3 files changed, 126 insertions(+) create mode 100644 drivers/watchdog

Re: [PATCH v3 8/8] test: rng: Add a UT testcase for the rng command

2022-03-08 Thread Sughosh Ganu
hi Simon, On Wed, 9 Mar 2022 at 08:06, Simon Glass wrote: > > Hi Sughosh, > > On Fri, 4 Mar 2022 at 06:35, Sughosh Ganu wrote: > > > > The 'rng' command dumps a number of random bytes on the console. Add a > > set of tests for the 'rng' command. The test function performs basic > > sanity testin

Re: [PATCH v2 1/1] wdt: nuvoton: Add support for Nuvoton

2022-03-08 Thread Stefan Roese
On 3/9/22 07:13, jimliu2 wrote: Add watchdog controller driver for NPCM7xx/npcm8xx Signed-off-by: jimliu2 So what did you change in v2? Please add a changelog next time, as described here: http://www.denx.de/wiki/view/U-Boot/Patches#Sending_updated_patch_versions Also there is no need to se

Re: [PATCH] riscv: Fix build against binutils 2.38

2022-03-08 Thread Leo Liang
Hi Alex, On Thu, Mar 03, 2022 at 11:06:18AM +, Leo Liang wrote: > Hi Alex, > On Tue, Mar 01, 2022 at 03:21:56AM +, Leo Liang wrote: > > Hi Alex, > > On Mon, Feb 21, 2022 at 05:42:41PM +0100, Alexandre Ghiti wrote: > > > On Sat, Feb 19, 2022 at 9:52 AM Leo Liang wrote: > > > > > > > > Hi Al

[PATCH] armv8: layerscape: fix the function mismatch issue

2022-03-08 Thread andy . tang
From: Yuantian Tang Signed-off-by: Yuantian Tang --- arch/arm/cpu/armv8/fsl-layerscape/lowlevel.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/cpu/armv8/fsl-layerscape/lowlevel.S b/arch/arm/cpu/armv8/fsl-layerscape/lowlevel.S index d8803738f1..4b5e2e1632 100644

Re: [PATCH v3 00/19] efi_loader: more tightly integrate UEFI disks to driver model

2022-03-08 Thread Mark Kettenis
> Date: Tue, 8 Mar 2022 22:00:35 -0500 > From: Tom Rini > > On Tue, Mar 08, 2022 at 07:32:59PM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Tue, 8 Mar 2022 at 17:13, Tom Rini wrote: > > > > > > On Tue, Mar 08, 2022 at 02:20:15PM -0700, Simon Glass wrote: > > > > Hi Soeren, > > > > > > > >

Re: drivers: clk: stm32h7: Endless loop of dead in driver probe function

2022-03-08 Thread Johannes (krjdev) Krottmayer
Hi Patrick! Sorry, for my late response. :( On 08.03.22 10:00, Patrick DELAUNAY wrote:> Yes, the current clock driver for STM32 MCU is not perfect,> > as the all U-Boot and the Linux support on STM32 MCU.> > > For information, in the other driver based on a other version of RCC for > STM32 MPU

Re: [PATCH v3 1/8] tpm: rng: Change tpm_get_random to return an int

2022-03-08 Thread Ilias Apalodimas
On Fri, Mar 04, 2022 at 07:04:22PM +0530, Sughosh Ganu wrote: > The tpm random number generation functionality will be moved to the > driver model. With that, the tpm_get_random function will call the > common driver model api instead of separate functions for tpmv1 and > tpmv2. Return an int inste

Re: [PATCH v3 2/8] tpm: Fix the return type of tpm_startup

2022-03-08 Thread Ilias Apalodimas
On Fri, Mar 04, 2022 at 07:04:23PM +0530, Sughosh Ganu wrote: > The tpm_startup function returns negative values for error > conditions. Fix the return type of the function to a signed int > instead of a u32. > > Signed-off-by: Sughosh Ganu > Reviewed-by: Simon Glass > --- > > Changes since V2:

Re: [PATCH v3 7/8] doc: rng: Add documentation for the rng command

2022-03-08 Thread Ilias Apalodimas
On Fri, Mar 04, 2022 at 07:04:28PM +0530, Sughosh Ganu wrote: > Add a usage document for the 'rng' u-boot command. > > Signed-off-by: Sughosh Ganu > --- > > Changes since V2: None > > doc/usage/index.rst | 1 + > doc/usage/rng.rst | 25 + > 2 files changed, 26 insert

[PATCH v2] armv8: layerscape: fix the function mismatch issue

2022-03-08 Thread andy . tang
From: Yuantian Tang Signed-off-by: Yuantian Tang --- v2: update copyright year arch/arm/cpu/armv8/fsl-layerscape/lowlevel.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/cpu/armv8/fsl-layerscape/lowlevel.S b/arch/arm/cpu/armv8/fsl-layerscape/lowlevel.S index

Re: [PATCH v3 6/8] cmd: rng: Add support for selecting RNG device

2022-03-08 Thread Ilias Apalodimas
On Fri, Mar 04, 2022 at 07:04:27PM +0530, Sughosh Ganu wrote: > The 'rng' u-boot command is used for printing a select number of > random bytes on the console. Currently, the RNG device from which the > random bytes are read is fixed. However, a platform can have multiple > RNG devices, one example

Re: drivers: clk: stm32h7: Endless loop of dead in driver probe function

2022-03-08 Thread Patrice CHOTARD
Hi johannes On 3/9/22 08:24, Johannes (krjdev) Krottmayer wrote: > Hi Patrick! > > Sorry, for my late response. :( > > On 08.03.22 10:00, Patrick DELAUNAY wrote:> Yes, the current clock > driver for STM32 MCU is not perfect,> > as the all U-Boot and the > Linux support on STM32 MCU.> >> >> For i

Re: [PATCH v3 5/8] qemu: arm: Remove platform specific function to get RNG device

2022-03-08 Thread Ilias Apalodimas
On Wed, 9 Mar 2022 at 04:35, Simon Glass wrote: > > On Fri, 4 Mar 2022 at 06:35, Sughosh Ganu wrote: > > > > The Qemu platform has a function defined to get the random number > > generator(RNG) device. However, the RNG device can be obtained simply > > by searching for a device belonging to the R

<    1   2