[PATCH 03/18] km/ls102xa: use qrio selftest_pin for reading selftest

2021-11-16 Thread Aleksandar Gerasimovski
QRIO library now supports direct read of the test pin status. Signed-off-by: Aleksandar Gerasimovski --- board/keymile/pg-wcom-ls102xa/pg-wcom-ls102xa.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/board/keymile/pg-wcom-ls102xa/pg-wcom-ls102xa.c

[PATCH 02/18] km: qrio: add function to read SLFTEST pin status

2021-11-16 Thread Aleksandar Gerasimovski
There is a request from HW designers to use this QRIO pin for detecting DIC26_SELFTEST status instead of a GPIO pin. This pin is typically used during production for executing POST tests and starting test ESW bank. Signed-off-by: Aleksandar Gerasimovski --- board/keymile/common/qrio.c | 13

[PATCH 01/18] arm: ls1021a: limit debug eth phy speed to 100Mbps

2021-11-16 Thread Aleksandar Gerasimovski
Beside that mounted rgmii debug phy is 1000Mbps capable, the debug link between the piggy board and the phy is 100Mbps only. This leads to longer link establishment time when working in debug mode, as phy tries to autoneg 1000Mbps. This patch fixes the speed to 100Mbps and allows smother link

Re: [PATCH v2] pci: Work around PCIe link training failures

2021-11-16 Thread Stefan Roese
Hi Maciej, On 11/16/21 12:35, Maciej W. Rozycki wrote: Attempt to handle cases with a downstream port of a PCIe switch where link training never completes and the link continues switching between speeds indefinitely with the data link layer never reaching the active state. It has been observed

Re: [PATCH v7 02/12] tools: build mkeficapsule with tools-only_defconfig

2021-11-16 Thread Heinrich Schuchardt
On 11/16/21 05:32, AKASHI Takahiro wrote: We want to always build mkeficapsule if tools-only_defconfig is used. Signed-off-by: AKASHI Takahiro Reviewed-by: Heinrich Schuchardt --- configs/tools-only_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [PATCH v7 01/12] tools: mkeficapsule: rework the code a little bit

2021-11-16 Thread Heinrich Schuchardt
On 11/16/21 05:32, AKASHI Takahiro wrote: Abstract common routines to make the code easily understandable. No functional change. Signed-off-by: AKASHI Takahiro Reviewed-by: Simon Glass --- tools/mkeficapsule.c | 223 ++- 1 file changed, 159

Re: [EXT] Re: [PATCH v5 02/16] crypto/fsl: Add CAAM support for bkek, random number generation

2021-11-16 Thread Michael Walle
Am 2021-11-16 12:57, schrieb Gaurav Jain: >> > +int hwrng_generate(u8 *dst, u32 len) >> >> likewise. >> But more important what is the difference to drivers/crypto/fsl/rng.c? >> Why >> do you need a new function here? This one. Why can't you reuse the code which is already there? I might have

RE: [EXT] Re: [PATCH v5 02/16] crypto/fsl: Add CAAM support for bkek, random number generation

2021-11-16 Thread Gaurav Jain
Hi > -Original Message- > From: Michael Walle > Sent: Tuesday, November 16, 2021 4:53 PM > To: Gaurav Jain > Cc: Shengzhou Liu ; Varun Sethi > ; Adrian Alonso ; Alison Wang > ; Andy Tang ; > feste...@gmail.com; Franck Lenormand ; > Horia Geanta ; Ji Luo ; > Meenakshi Aggarwal ; Mingkai

Re: [PATCH v3 1/1] imx8mn_var_som: Add support for Variscite VAR-SOM-MX8M-NANO board

2021-11-16 Thread Fabio Estevam
Hi Ariel, The patch looks good. Only some minor comments: On Tue, Nov 16, 2021 at 12:51 AM Ariel D'Alessandro wrote: > > Add support for iMX8MN VAR-SOM-MX8M-NANO board. Enables support for: > > - 1GiB DDR4 RAM > - 16 GiB eMMC > - SD card > - Gigabit ethernet > - USBOTG1 peripheral - fastboot >

[PATCH v2] pci: Work around PCIe link training failures

2021-11-16 Thread Maciej W. Rozycki
Attempt to handle cases with a downstream port of a PCIe switch where link training never completes and the link continues switching between speeds indefinitely with the data link layer never reaching the active state. It has been observed with a downstream port of the ASMedia ASM2824 Gen 3

Re: [EXT] Re: [PATCH v5 02/16] crypto/fsl: Add CAAM support for bkek, random number generation

2021-11-16 Thread Michael Walle
Hi, Am 2021-11-16 12:09, schrieb Gaurav Jain: > --- a/drivers/crypto/fsl/fsl_blob.c > +++ b/drivers/crypto/fsl/fsl_blob.c > @@ -1,6 +1,7 @@ > // SPDX-License-Identifier: GPL-2.0+ > /* > * Copyright 2014 Freescale Semiconductor, Inc. > + * Copyright 2021 NXP > * > */ > > @@ -152,6

Re: [PATCH v5 13/16] Layerscape: Enable Job ring driver model in U-Boot.

2021-11-16 Thread Michael Walle
> LS(1021/1012/1028/1043/1046/1088/2088), LX2160, LX2162 > platforms are enabled with JR driver model. > > removed sec_init() call from board files. > removed CONFIG_FSL_CAAM from defconfig files. > sec is initialized based on job ring information processed > from device tree. > > Signed-off-by:

RE: [EXT] Re: [PATCH v5 02/16] crypto/fsl: Add CAAM support for bkek, random number generation

2021-11-16 Thread Gaurav Jain
Hello Michael, > -Original Message- > From: Michael Walle > Sent: Tuesday, November 16, 2021 4:16 PM > To: Gaurav Jain > Cc: Shengzhou Liu ; Varun Sethi > ; Adrian Alonso ; Alison Wang > ; Andy Tang ; > feste...@gmail.com; Franck Lenormand ; > Horia Geanta ; Ji Luo ; > Meenakshi

Re: [PATCH v2 1/1] tpm: clear state post probing

2021-11-16 Thread Ilias Apalodimas
On Mon, Nov 15, 2021 at 08:30:06PM +0100, Heinrich Schuchardt wrote: > Before we can start measuring the TPM must be cleared. Do this in the > post_probe() method of the uclass. > > Signed-off-by: Heinrich Schuchardt > --- > v2: > tpm_startup2() is not available on all boards. >

Re: [PATCH v5 01/16] crypto/fsl: Add support for CAAM Job ring driver model

2021-11-16 Thread Michael Walle
> diff --git a/cmd/Kconfig b/cmd/Kconfig > index 5b30b13e43..2b24672505 100644 > --- a/cmd/Kconfig > +++ b/cmd/Kconfig > @@ -2009,6 +2009,7 @@ config CMD_AES > > config CMD_BLOB > bool "Enable the 'blob' command" > + select FSL_BLOB this looks wrong, because CMD_BLOB sounds like a

[RFC] binman: add support for creating dummy files for external blobs

2021-11-16 Thread Heiko Thiery
While converting to binman for an imx8mq board, it has been found that building in the u-boot CI fails. This is because an imx8mq requires an external binary (signed_hdmi_imx8m.bin). If this file cannot be found mkimage fails. To be able to build this board in the u-boot CI a binman option

Re: [PATCH v5 02/16] crypto/fsl: Add CAAM support for bkek, random number generation

2021-11-16 Thread Michael Walle
Hi, > --- a/drivers/crypto/fsl/fsl_blob.c > +++ b/drivers/crypto/fsl/fsl_blob.c > @@ -1,6 +1,7 @@ > // SPDX-License-Identifier: GPL-2.0+ > /* > * Copyright 2014 Freescale Semiconductor, Inc. > + * Copyright 2021 NXP > * > */ > > @@ -152,6 +153,87 @@ int blob_encap(u8 *key_mod, u8 *src,

Re: [PATCH] net: eqos: connect and config PHY from probe stage instead of starting EQOS

2021-11-16 Thread Ramon Fried
On Tue, Nov 16, 2021 at 10:04 AM Joakim Zhang wrote: > > > Hi Ramon, > > > -Original Message- > > From: Ramon Fried > > Sent: 2021年11月16日 13:57 > > To: Joakim Zhang > > Cc: Joe Hershberger ; U-Boot Mailing List > > ; Ye Li ; Patrick Delaunay > > ; Daniil Stas ; > > Stephen Warren > >

Re: [PATCH v2] sf: Querying write-protect status before operating the flash

2021-11-16 Thread chaochao
On 2021/11/15 22:02, Jagan Teki wrote: On Mon, Nov 15, 2021 at 6:51 PM chaochao2021...@163.com wrote: On 2021/11/15 13:57, tudor.amba...@microchip.com wrote: Hi, + Michael On 11/15/21 4:37 AM, chaochao2021...@163.com wrote: EXTERNAL EMAIL: Do not click links or open attachments unless

<    1   2