Re: [PATCH] patman: Parse checkpatch by message instead of by line

2021-03-31 Thread Simon Glass
On Thu, 1 Apr 2021 at 15:50, Evan Benn wrote: > > Parse each empty-line-delimited message separately. This saves having to > deal with all the different line content styles, we only care about the > header ERROR | WARNING | NOTE... > > Also make checkpatch print line information for a uboot

[PATCH] patman: Parse checkpatch by message instead of by line

2021-03-31 Thread Evan Benn
Parse each empty-line-delimited message separately. This saves having to deal with all the different line content styles, we only care about the header ERROR | WARNING | NOTE... Also make checkpatch print line information for a uboot specific warning. Signed-off-by: Evan Benn ---

Re: [PATCH] patman: Parse checkpatch by message instead of by line

2021-03-31 Thread Evan Benn
Apologies, I needed to rebase vs uboot/next, I will do that and resend. On Thu, Apr 1, 2021 at 12:31 PM Evan Benn wrote: > > Parse each empty-line-delimited message separately. This saves having to > deal with all the different line content styles, we only care about the > header ERROR | WARNING

[PATCH] patman: Parse checkpatch by message instead of by line

2021-03-31 Thread Evan Benn
Parse each empty-line-delimited message separately. This saves having to deal with all the different line content styles, we only care about the header ERROR | WARNING | NOTE... Signed-off-by: Evan Benn --- tools/patman/checkpatch.py | 205 +++-- 1 file changed,

Re: [PATCH 2/3] ARM: mediatek: Add MT8175 support

2021-03-31 Thread Chunfeng Yun
On Tue, 2021-03-30 at 16:30 +0200, Fabien Parent wrote: > Add MT8175 SoC support. > > Signed-off-by: Fabien Parent > --- > > v2: nit: add v2 also in title > * Removed 'usb_host' node > * Removed some unneeded "mac" reg and interrupts definitio > in the 'usb' node > *

Re: [PATCH V2] spi: Update speed/mode on change

2021-03-31 Thread Tom Rini
On Thu, Apr 01, 2021 at 01:47:09AM +0200, Marek Vasut wrote: > On 4/1/21 1:41 AM, Simon Glass wrote: > > Hi Marek, > > > > On Thu, 1 Apr 2021 at 12:19, Marek Vasut wrote: > > > > > > On 4/1/21 12:50 AM, Simon Glass wrote: > > > > Hi Marek, > > > > > > > > On Thu, 1 Apr 2021 at 11:39, Marek

Re: [PATCH V2] spi: Update speed/mode on change

2021-03-31 Thread Marek Vasut
On 4/1/21 1:41 AM, Simon Glass wrote: Hi Marek, On Thu, 1 Apr 2021 at 12:19, Marek Vasut wrote: On 4/1/21 12:50 AM, Simon Glass wrote: Hi Marek, On Thu, 1 Apr 2021 at 11:39, Marek Vasut wrote: On 3/31/21 11:45 PM, Tom Rini wrote: On Wed, Mar 31, 2021 at 10:05:28PM +0200, Marek Vasut

Re: [PATCH v3 3/4] sysreset: provide type of reset in do_reset cmd

2021-03-31 Thread Heinrich Schuchardt
Am 1. April 2021 01:40:06 MESZ schrieb Igor Opaniuk : >Hi Heinrich > >On Thu, Apr 1, 2021 at 12:36 AM Heinrich Schuchardt > wrote: >> >> On 3/31/21 10:16 PM, Igor Opaniuk wrote: >> > From: Igor Opaniuk >> > >> > Add additional param for reset cmd, which provides type of reset. >> > >> >

Re: [PATCH v3 4/4] doc: usage: add usage details for reset cmd

2021-03-31 Thread Igor Opaniuk
Hi Heinrich, On Thu, Apr 1, 2021 at 12:30 AM Heinrich Schuchardt wrote: > On 3/31/21 10:16 PM, Igor Opaniuk wrote: > > From: Igor Opaniuk > > > > Add usage details for reset command. > > > > Signed-off-by: Igor Opaniuk > > > > --- > > > > doc/usage/index.rst | 1 + > > doc/usage/reset.rst

Re: [PATCH V2] spi: Update speed/mode on change

2021-03-31 Thread Simon Glass
Hi Marek, On Thu, 1 Apr 2021 at 12:19, Marek Vasut wrote: > > On 4/1/21 12:50 AM, Simon Glass wrote: > > Hi Marek, > > > > On Thu, 1 Apr 2021 at 11:39, Marek Vasut wrote: > >> > >> On 3/31/21 11:45 PM, Tom Rini wrote: > >>> On Wed, Mar 31, 2021 at 10:05:28PM +0200, Marek Vasut wrote: > On

Re: [PATCH v3 3/4] sysreset: provide type of reset in do_reset cmd

2021-03-31 Thread Igor Opaniuk
Hi Heinrich On Thu, Apr 1, 2021 at 12:36 AM Heinrich Schuchardt wrote: > > On 3/31/21 10:16 PM, Igor Opaniuk wrote: > > From: Igor Opaniuk > > > > Add additional param for reset cmd, which provides type of reset. > > > > Signed-off-by: Igor Opaniuk > > It seems you are missing a lot of

Re: [PATCH V2] spi: Update speed/mode on change

2021-03-31 Thread Marek Vasut
On 4/1/21 12:50 AM, Simon Glass wrote: Hi Marek, On Thu, 1 Apr 2021 at 11:39, Marek Vasut wrote: On 3/31/21 11:45 PM, Tom Rini wrote: On Wed, Mar 31, 2021 at 10:05:28PM +0200, Marek Vasut wrote: On 3/31/21 9:40 PM, Tom Rini wrote: On Wed, Mar 31, 2021 at 03:26:27PM -0400, Tom Rini wrote:

[PATCH v4 2/5] psci: add features/reset2 support

2021-03-31 Thread Igor Opaniuk
From: Igor Opaniuk Adds support for: * PSCI_FEATURES, which was introduced in PSCI 1.0. This provides API that allows discovering whether a specific PSCI function is implemented and its features. * SYSTEM_RESET2, which was introduced in PSCI 1.1, which extends existing SYSTEM_RESET. It provides

[PATCH v4 0/5] psci: add support for SYSTEM_RESET2 and PSCI_FEATURES

2021-03-31 Thread Igor Opaniuk
From: Igor Opaniuk 1. Adds support for: * PSCI_FEATURES, introduced in PSCI 1.0. This provides API that allows discovering whether a specific PSCI function is implemented and its features. * SYSTEM_RESET2, introduced in PSCI 1.1, which extends existing SYSTEM_RESET. It provides support for

[PATCH v4 5/5] doc: usage: add usage details for reset cmd

2021-03-31 Thread Igor Opaniuk
From: Igor Opaniuk Add usage details for reset command. Signed-off-by: Igor Opaniuk --- doc/usage/index.rst | 1 + doc/usage/reset.rst | 26 ++ 2 files changed, 27 insertions(+) create mode 100644 doc/usage/reset.rst diff --git a/doc/usage/index.rst

[PATCH v4 4/5] sysreset: provide type of reset in do_reset cmd

2021-03-31 Thread Igor Opaniuk
From: Igor Opaniuk Add additional param for reset cmd, which provides type of reset. Signed-off-by: Igor Opaniuk --- cmd/boot.c | 2 +- drivers/sysreset/sysreset-uclass.c | 11 ++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/cmd/boot.c

[PATCH v4 3/5] sysreset: psci: use psci driver exported functions

2021-03-31 Thread Igor Opaniuk
From: Igor Opaniuk Use psci driver exported functions for reset/poweroff, instead of invoking directly invoke_psci_fn. Signed-off-by: Igor Opaniuk --- drivers/sysreset/sysreset_psci.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/sysreset/sysreset_psci.c

[PATCH v4 1/5] psci: add v1.0/v1.1 definitions from Linux

2021-03-31 Thread Igor Opaniuk
From: Igor Opaniuk Sync and add PSCI API versions 1.0/1.1 definitions from Linux. Signed-off-by: Igor Opaniuk --- include/linux/psci.h | 28 1 file changed, 28 insertions(+) diff --git a/include/linux/psci.h b/include/linux/psci.h index 841dbc8da7..38edde3137

Re: [PATCH V2] spi: Update speed/mode on change

2021-03-31 Thread Simon Glass
Hi Marek, On Thu, 1 Apr 2021 at 11:39, Marek Vasut wrote: > > On 3/31/21 11:45 PM, Tom Rini wrote: > > On Wed, Mar 31, 2021 at 10:05:28PM +0200, Marek Vasut wrote: > >> On 3/31/21 9:40 PM, Tom Rini wrote: > >>> On Wed, Mar 31, 2021 at 03:26:27PM -0400, Tom Rini wrote: > On Wed, Mar 31, 2021

Re: [PATCH V2] spi: Update speed/mode on change

2021-03-31 Thread Marek Vasut
On 3/31/21 11:45 PM, Tom Rini wrote: On Wed, Mar 31, 2021 at 10:05:28PM +0200, Marek Vasut wrote: On 3/31/21 9:40 PM, Tom Rini wrote: On Wed, Mar 31, 2021 at 03:26:27PM -0400, Tom Rini wrote: On Wed, Mar 31, 2021 at 09:18:28PM +0200, Marek Vasut wrote: On 3/29/21 4:40 AM, Marek Vasut wrote:

Re: [PATCH v3 15/28] usb: ehci-mx6: Drop assignment of sequence number

2021-03-31 Thread Simon Glass
Hi Marek, On Thu, 1 Apr 2021 at 08:27, Tom Rini wrote: > > On Wed, Mar 31, 2021 at 09:14:42PM +0200, Marek Vasut wrote: > > On 12/19/20 5:40 PM, Simon Glass wrote: > > > This hack cannot work in the new sequence-numbering scheme. Remove it > > > while we wait for the maintainer to complete DM

Re: [PATCH V2] spi: Update speed/mode on change

2021-03-31 Thread Simon Glass
+Heinrich Schuchardt On Thu, 1 Apr 2021 at 10:45, Tom Rini wrote: > > On Wed, Mar 31, 2021 at 10:05:28PM +0200, Marek Vasut wrote: > > On 3/31/21 9:40 PM, Tom Rini wrote: > > > On Wed, Mar 31, 2021 at 03:26:27PM -0400, Tom Rini wrote: > > > > On Wed, Mar 31, 2021 at 09:18:28PM +0200, Marek Vasut

Re: [PATCH v4 00/14] Makefile: Update migration warnings

2021-03-31 Thread Simon Glass
Hi, On Thu, 1 Apr 2021 at 05:39, Tom Rini wrote: > > On Wed, Mar 31, 2021 at 02:46:54PM +0800, Bin Meng wrote: > > Hi Simon and Tom, > > > > On Thu, Mar 25, 2021 at 4:26 PM Simon Glass wrote: > > > > > > The code that produces the migration warnings is quite tedious to > > > understanding and

Re: [PATCH] Makefile: Silence the deprecation script

2021-03-31 Thread Simon Glass
Suggested-by: Tom Rini On Thu, 1 Apr 2021 at 11:18, Simon Glass wrote: > > This bash code is currently showing up in the build unless 'make -s' is > used. We don't normally show these sorts of things as they are confusing. > Also this code was not shown before the recent refactoring of how

[PATCH] Makefile: Silence the deprecation script

2021-03-31 Thread Simon Glass
This bash code is currently showing up in the build unless 'make -s' is used. We don't normally show these sorts of things as they are confusing. Also this code was not shown before the recent refactoring of how these messages are displayed. Add an '@' to silence it. Signed-off-by: Simon Glass

Re: [PATCH V2] spi: Update speed/mode on change

2021-03-31 Thread Tom Rini
On Wed, Mar 31, 2021 at 10:05:28PM +0200, Marek Vasut wrote: > On 3/31/21 9:40 PM, Tom Rini wrote: > > On Wed, Mar 31, 2021 at 03:26:27PM -0400, Tom Rini wrote: > > > On Wed, Mar 31, 2021 at 09:18:28PM +0200, Marek Vasut wrote: > > > > On 3/29/21 4:40 AM, Marek Vasut wrote: > > > > > On 3/29/21

Re: [PATCH v3 3/4] sysreset: provide type of reset in do_reset cmd

2021-03-31 Thread Heinrich Schuchardt
On 3/31/21 10:16 PM, Igor Opaniuk wrote: From: Igor Opaniuk Add additional param for reset cmd, which provides type of reset. Signed-off-by: Igor Opaniuk It seems you are missing a lot of do_reset() implementations in your series which may also have to be adjusted to conform to the changed

Re: [PATCH v3 4/4] doc: usage: add usage details for reset cmd

2021-03-31 Thread Heinrich Schuchardt
On 3/31/21 10:16 PM, Igor Opaniuk wrote: From: Igor Opaniuk Add usage details for reset command. Signed-off-by: Igor Opaniuk --- doc/usage/index.rst | 1 + doc/usage/reset.rst | 26 ++ 2 files changed, 27 insertions(+) create mode 100644 doc/usage/reset.rst

[RESEND PATCH v3 5/5] doc: usage: add usage details for reset cmd

2021-03-31 Thread Igor Opaniuk
From: Igor Opaniuk Add usage details for reset command. Signed-off-by: Igor Opaniuk --- doc/usage/index.rst | 1 + doc/usage/reset.rst | 26 ++ 2 files changed, 27 insertions(+) create mode 100644 doc/usage/reset.rst diff --git a/doc/usage/index.rst

[RESEND PATCH v3 2/5] psci: add features/reset2 support

2021-03-31 Thread Igor Opaniuk
From: Igor Opaniuk Adds support for: * PSCI_FEATURES, which was introduced in PSCI 1.0. This provides API that allows discovering whether a specific PSCI function is implemented and its features. * SYSTEM_RESET2, which was introduced in PSCI 1.1, which extends existing SYSTEM_RESET. It provides

[RESEND PATCH v3 3/5] sysreset: psci: use psci driver exported functions

2021-03-31 Thread Igor Opaniuk
From: Igor Opaniuk Use psci driver exported functions for reset/poweroff, instead of invoking directly invoke_psci_fn. Signed-off-by: Igor Opaniuk --- drivers/sysreset/sysreset_psci.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/sysreset/sysreset_psci.c

[RESEND PATCH v3 4/5] sysreset: provide type of reset in do_reset cmd

2021-03-31 Thread Igor Opaniuk
From: Igor Opaniuk Add additional param for reset cmd, which provides type of reset. Signed-off-by: Igor Opaniuk --- cmd/boot.c | 2 +- drivers/sysreset/sysreset-uclass.c | 11 ++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/cmd/boot.c

[RESEND PATCH v3 1/5] psci: add v1.0/v1.1 definitions from Linux

2021-03-31 Thread Igor Opaniuk
From: Igor Opaniuk Sync and add PSCI API versions 1.0/1.1 definitions from Linux. Signed-off-by: Igor Opaniuk --- include/linux/psci.h | 28 1 file changed, 28 insertions(+) diff --git a/include/linux/psci.h b/include/linux/psci.h index 841dbc8da7..38edde3137

[RESEND PATCH v3 0/5] psci: add support for SYSTEM_RESET2 and PSCI_FEATURES

2021-03-31 Thread Igor Opaniuk
From: Igor Opaniuk 1. Adds support for: * PSCI_FEATURES, introduced in PSCI 1.0. This provides API that allows discovering whether a specific PSCI function is implemented and its features. * SYSTEM_RESET2, introduced in PSCI 1.1, which extends existing SYSTEM_RESET. It provides support for

[PATCH v3 4/4] doc: usage: add usage details for reset cmd

2021-03-31 Thread Igor Opaniuk
From: Igor Opaniuk Add usage details for reset command. Signed-off-by: Igor Opaniuk --- doc/usage/index.rst | 1 + doc/usage/reset.rst | 26 ++ 2 files changed, 27 insertions(+) create mode 100644 doc/usage/reset.rst diff --git a/doc/usage/index.rst

[PATCH v3 2/4] sysreset: psci: use psci driver exported functions

2021-03-31 Thread Igor Opaniuk
From: Igor Opaniuk Use psci driver exported functions for reset/poweroff, instead of invoking directly invoke_psci_fn. Signed-off-by: Igor Opaniuk --- drivers/sysreset/sysreset_psci.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/sysreset/sysreset_psci.c

[PATCH v3 3/4] sysreset: provide type of reset in do_reset cmd

2021-03-31 Thread Igor Opaniuk
From: Igor Opaniuk Add additional param for reset cmd, which provides type of reset. Signed-off-by: Igor Opaniuk --- cmd/boot.c | 2 +- drivers/sysreset/sysreset-uclass.c | 11 ++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/cmd/boot.c

[PATCH v3 1/4] psci: add features/reset2 support

2021-03-31 Thread Igor Opaniuk
From: Igor Opaniuk Adds support for: * PSCI_FEATURES, which was introduced in PSCI 1.0. This provides API that allows discovering whether a specific PSCI function is implemented and its features. * SYSTEM_RESET2, which was introduced in PSCI 1.1, which extends existing SYSTEM_RESET. It provides

[PATCH v3 0/4] psci: add support for SYSTEM_RESET2 and PSCI_FEATURES

2021-03-31 Thread Igor Opaniuk
From: Igor Opaniuk 1. Adds support for: * PSCI_FEATURES, introduced in PSCI 1.0. This provides API that allows discovering whether a specific PSCI function is implemented and its features. * SYSTEM_RESET2, introduced in PSCI 1.1, which extends existing SYSTEM_RESET. It provides support for

Re: [PATCH V2] spi: Update speed/mode on change

2021-03-31 Thread Marek Vasut
On 3/31/21 9:40 PM, Tom Rini wrote: On Wed, Mar 31, 2021 at 03:26:27PM -0400, Tom Rini wrote: On Wed, Mar 31, 2021 at 09:18:28PM +0200, Marek Vasut wrote: On 3/29/21 4:40 AM, Marek Vasut wrote: On 3/29/21 4:09 AM, Marek Vasut wrote: On 3/29/21 3:59 AM, Tom Rini wrote: On Mon, Mar 29, 2021

Re: [PATCH V2] spi: Update speed/mode on change

2021-03-31 Thread Tom Rini
On Wed, Mar 31, 2021 at 03:26:27PM -0400, Tom Rini wrote: > On Wed, Mar 31, 2021 at 09:18:28PM +0200, Marek Vasut wrote: > > On 3/29/21 4:40 AM, Marek Vasut wrote: > > > On 3/29/21 4:09 AM, Marek Vasut wrote: > > > > On 3/29/21 3:59 AM, Tom Rini wrote: > > > > > On Mon, Mar 29, 2021 at 03:32:51AM

Re: [PATCH v3 15/28] usb: ehci-mx6: Drop assignment of sequence number

2021-03-31 Thread Tom Rini
On Wed, Mar 31, 2021 at 09:14:42PM +0200, Marek Vasut wrote: > On 12/19/20 5:40 PM, Simon Glass wrote: > > This hack cannot work in the new sequence-numbering scheme. Remove it > > while we wait for the maintainer to complete DM conversion as noted in > > the existing comment. > > > >

Re: [PATCH V2] spi: Update speed/mode on change

2021-03-31 Thread Tom Rini
On Wed, Mar 31, 2021 at 09:18:28PM +0200, Marek Vasut wrote: > On 3/29/21 4:40 AM, Marek Vasut wrote: > > On 3/29/21 4:09 AM, Marek Vasut wrote: > > > On 3/29/21 3:59 AM, Tom Rini wrote: > > > > On Mon, Mar 29, 2021 at 03:32:51AM +0200, Marek Vasut wrote: > > > > > On 3/28/21 11:30 PM, Tom Rini

Re: [PATCH V2] spi: Update speed/mode on change

2021-03-31 Thread Marek Vasut
On 3/29/21 4:40 AM, Marek Vasut wrote: On 3/29/21 4:09 AM, Marek Vasut wrote: On 3/29/21 3:59 AM, Tom Rini wrote: On Mon, Mar 29, 2021 at 03:32:51AM +0200, Marek Vasut wrote: On 3/28/21 11:30 PM, Tom Rini wrote: On Fri, Feb 26, 2021 at 03:21:24PM +0100, Marek Vasut wrote: The

Re: [PATCH v3 15/28] usb: ehci-mx6: Drop assignment of sequence number

2021-03-31 Thread Marek Vasut
On 12/19/20 5:40 PM, Simon Glass wrote: This hack cannot work in the new sequence-numbering scheme. Remove it while we wait for the maintainer to complete DM conversion as noted in the existing comment. Signed-off-by: Simon Glass --- (no changes since v1) drivers/usb/host/ehci-mx6.c | 12

[PATCH] common: fit: Add weak board_fit_config_name_match

2021-03-31 Thread Sean Anderson
Several architectures had a default board_fit_config_name_match already; this provides a generic weak version. We default to rejecting all configs. This will use the FIT's default config, instead of the first config. This may result in boot failures if there are multiple configurations and the

[PATCH v2] cmd: gpt: remove redundant print messages

2021-03-31 Thread Ravik Hasija
Removing printfs from do_gpt API as the messages are generic and does not specify error codes for failure cases. Signed-off-by: Ravik Hasija Reviewed-by: Patrick Delaunay --- Changes for v2: - Updated usage message for gpt read - Added removed printfs for write & verify - Rearranged

[PATCH v3 5/5] test: Add gpio-sysinfo test

2021-03-31 Thread Sean Anderson
This adds a test for the gpio-sysinfo driver. Signed-off-by: Sean Anderson Reviewed-by: Simon Glass --- Changes in v3: - Use SYSINFO_ID_BOARD_MODEL instead of SYSINFO_ID_REVISION Changes in v2: - Reorder includes arch/sandbox/dts/test.dts | 7 test/dm/Makefile | 1 +

[PATCH v3 4/5] sysinfo: Add gpio-sysinfo driver

2021-03-31 Thread Sean Anderson
This uses the newly-added dm_gpio_get_values_as_int_base3 function to implement a sysinfo device. The revision map is stored in the device tree. Signed-off-by: Sean Anderson Reviewed-by: Simon Glass --- Changes in v3: - Fix assuming nonzero return from dm_gpio_get_values_as_int_base3 is an

[PATCH v3 3/5] sysinfo: Require that sysinfo_detect be called before other methods

2021-03-31 Thread Sean Anderson
This has the uclass enforce calling detect() before other methods. This allows drivers to cache information in detect() and perform (cheaper) retrieval in the other accessors. This also modifies the only instance where this sequencing was not followed. Signed-off-by: Sean Anderson Reviewed-by:

[PATCH v3 2/5] sysinfo: Use global sysinfo IDs for existing sysinfo drivers

2021-03-31 Thread Sean Anderson
Since 07c9e683a4 ("smbios: Allow a few values to come from sysinfo") there are common global sysinfo IDs. This patch moved existing IDs above SYSINFO_ID_USER. Signed-off-by: Sean Anderson Reviewed-by: Simon Glass --- Changes in v3: - Rework patch to use sjg's sysinfo IDs Changes in v2: - Set

[PATCH v3 0/5] sysinfo: Add gpio sysinfo driver

2021-03-31 Thread Sean Anderson
This series adds a GPIO sysinfo driver using the dm_gpio_get_values_as_int_base3 function. The board revision is mapped based in devicetree properties. This series is based on Simon's GPIO series [1]. [1] https://patchwork.ozlabs.org/project/uboot/list/?series=228126 Changes in v3: - Fix

[PATCH v3 1/5] dm: gpio: Fix gpio_get_list_count failing with livetree

2021-03-31 Thread Sean Anderson
of_parse_phandle_with_args (called by dev_read_phandle_with_args) does not support getting the length of a phandle list by using the index -1. Instead, use dev_count_phandle_with_args which supports exactly this use-case. Fixes: 8558217153 ("gpio: Convert to use APIs which support live DT")

[PATCH] imx: spl: Use FIELD_GET for bitfield access

2021-03-31 Thread Sean Anderson
This macro clarifies accesses, and eliminates the need to have a separate shift define. Signed-off-by: Sean Anderson --- arch/arm/include/asm/mach-imx/sys_proto.h | 5 + arch/arm/mach-imx/spl.c | 8 2 files changed, 5 insertions(+), 8 deletions(-) diff --git

Re: [GIT PULL] xilinx patches for v2021.07

2021-03-31 Thread Tom Rini
On Wed, Mar 31, 2021 at 03:06:03PM +0200, Michal Simek wrote: > Hi Tom, > > please pull these changes. There is nothing controversial. I will likely > send another pull request with stuff which have been sent recently. > > Gitlab CI doesn't show any issue. > > Thanks, > Michal > > The

Pull request for efi-2021-04-rc6

2021-03-31 Thread Heinrich Schuchardt
Hello Tom, this fixes the Coverity issue that you reported. The following changes since commit d8eafb16c85bc3b5d85d7ba8ebb1438cc0ae168f: Prepare v2021.04-rc5 (2021-03-29 17:20:13 -0400) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-efi.git

Re: [PATCH v4 00/14] Makefile: Update migration warnings

2021-03-31 Thread Tom Rini
On Wed, Mar 31, 2021 at 02:46:54PM +0800, Bin Meng wrote: > Hi Simon and Tom, > > On Thu, Mar 25, 2021 at 4:26 PM Simon Glass wrote: > > > > The code that produces the migration warnings is quite tedious to > > understanding and modify. This series updates it to use a common function > > to

Re: [PATCH 0/2] A64/R40 DRAM controller dual-rank-related changes

2021-03-31 Thread Andre Przywara
On Fri, 26 Feb 2021 00:13:23 +0800 Icenowy Zheng wrote: > This patchset contains two patches. > > The first one enables asymmetric dual rank DRAM on A64. This is needed > for 3GiB PinePhone, which has 2GiB rank 0 and 1GiB rank 1. This patch is > already used by the firmware flashed to PinePhone

Re: [PATCH 2/2] sunxi: binman: Do not hardcode U-Boot load address

2021-03-31 Thread Andre Przywara
On Mon, 8 Feb 2021 00:03:17 -0600 Samuel Holland wrote: > The FIT description has access to the configuration variables. Use the > appropriate variable instead of hardcoding the address. > > Signed-off-by: Samuel Holland Thanks, both patches queued for -next. Cheers, Andre > --- >

Re: [PATCH] sunxi-common: support loading compressed kernel images on ARMv8

2021-03-31 Thread Andre Przywara
On 20/02/2021 12:14, Nicolas Boulenguez wrote: Hi Arnaud, > From: Arnaud Ferraris as mentioned before, this looks useful, so can you re-send this with a commit message and your Signed-off-by:? Also I was wondering if you could increase the COMP_SIZE? The 64MB look rather arbitrary and maybe

Re: [RFC PATCH v2 4/4] sysreset: provide type of reset in do_reset cmd

2021-03-31 Thread Igor Opaniuk
Hi Heinrich, On Wed, Mar 31, 2021 at 9:30 AM Heinrich Schuchardt wrote: > On 3/30/21 11:16 PM, Igor Opaniuk wrote: > > From: Igor Opaniuk > > > > Add additional param for reset cmd, which provides type of reset. > > > > Signed-off-by: Igor Opaniuk > > > > --- > > > > cmd/boot.c

Re: [RFC PATCH v2 2/4] psci: add features/reset2 support

2021-03-31 Thread Igor Opaniuk
Hi Patrick, On Wed, Mar 31, 2021 at 11:32 AM Patrick DELAUNAY < patrick.delau...@foss.st.com> wrote: > Hi Igor, > > On 3/30/21 11:16 PM, Igor Opaniuk wrote: > > From: Igor Opaniuk > > > > Adds support for: > > * PSCI_FEATURES, which was introduced in PSCI 1.0. This provides API > > that allows

Re: [PATCH] net: dwc_eth_qos: cosmetic: remove unused define EQOS_DESCRIPTOR_ALIGN

2021-03-31 Thread Ramon Fried
On Tue, Mar 30, 2021 at 5:12 PM Marek Vasut wrote: > > On 3/30/21 2:34 PM, Patrick Delaunay wrote: > > Remove the define EQOS_DESCRIPTOR_ALIGN unused since the > > commit 6f1e668d964e ("net: dwc_eth_qos: Pad descriptors to cacheline size") > > > > Signed-off-by: Patrick Delaunay > > Acked-by:

[v1 17/17] arm: socfpga: Enable Intel N5X device build

2021-03-31 Thread Siew Chin Lim
Add defconfig for N5X to support legacy, ATF and VAB boot flow. Signed-off-by: Siew Chin Lim --- arch/arm/mach-socfpga/Kconfig | 20 +++- arch/arm/mach-socfpga/Makefile | 22 +- ...lex_atf_defconfig =>

[v1 16/17] include: configs: Add Intel N5X device CONFIGs

2021-03-31 Thread Siew Chin Lim
Add CONFIGs for N5X. Signed-off-by: Siew Chin Lim --- include/configs/socfpga_n5x_socdk.h | 45 + 1 file changed, 45 insertions(+) create mode 100644 include/configs/socfpga_n5x_socdk.h diff --git a/include/configs/socfpga_n5x_socdk.h

[v1 15/17] arm: dts: Add base dtsi and devkit dts for Intel N5X device

2021-03-31 Thread Siew Chin Lim
Add device tree for N5X. Signed-off-by: Siew Chin Lim Signed-off-by: Tien Fong Chee --- arch/arm/dts/Makefile | 1 + ..._agilex-u-boot.dtsi => socfpga_n5x-u-boot.dtsi} | 13 ++-- .../dts/{socfpga_agilex.dtsi => socfpga_n5x.dtsi} | 90 +-

[v1 14/17] board: intel: Add socdk board support for Intel N5X device

2021-03-31 Thread Siew Chin Lim
Add N5X SoC devkit board. Signed-off-by: Siew Chin Lim --- board/intel/n5x-socdk/MAINTAINERS | 7 +++ board/{altera/stratix10-socdk => intel/n5x-socdk}/Makefile | 2 +- board/{altera/stratix10-socdk => intel/n5x-socdk}/socfpga.c | 2 +- 3 files changed, 9

[v1 12/17] ddr: altera: Add SDRAM driver for Intel N5X device

2021-03-31 Thread Siew Chin Lim
The DDR subsystem in Diamond Mesa is consisted of controller, PHY, memory reset manager and memory clock manager. Configuration settings of controller, PHY and memory reset manager is come from DDR handoff data in bitstream, which contain the register base addresses and user settings from

[v1 13/17] arm: socfpga: Add SPL for Intel N5X device

2021-03-31 Thread Siew Chin Lim
Add SPL for N5X. Signed-off-by: Siew Chin Lim --- arch/arm/mach-socfpga/{spl_agilex.c => spl_n5x.c} | 37 ++- 1 file changed, 22 insertions(+), 15 deletions(-) copy arch/arm/mach-socfpga/{spl_agilex.c => spl_n5x.c} (83%) diff --git a/arch/arm/mach-socfpga/spl_agilex.c

[v1 11/17] ddr: socfpga: Enable memory test on memory size less than 1GB

2021-03-31 Thread Siew Chin Lim
From: Tien Fong Chee Minimum 1GB memory size is required in current memory test, so this patch improves the memory test for processing memory size less than 1GB, and the size in power of two. Signed-off-by: Tien Fong Chee --- drivers/ddr/altera/sdram_soc64.c | 18 -- 1 file

[v1 10/17] arm: socfpga: Add SDRAM driver helper function for Intel N5X device

2021-03-31 Thread Siew Chin Lim
Add is_ddr_init_skipped function to check if need to skip DDR initialization for N5X. This patch is preparation for N5X DDR driver support. Signed-off-by: Siew Chin Lim Signed-off-by: Tien Fong Chee --- arch/arm/mach-socfpga/include/mach/misc.h | 4 ++ arch/arm/mach-socfpga/misc_soc64.c

[v1 08/17] arm: socfpga: Add clock manager for Intel N5X device

2021-03-31 Thread Siew Chin Lim
Add clock manager for N5X. Signed-off-by: Siew Chin Lim --- ...{clock_manager_agilex.c => clock_manager_n5x.c} | 32 ++ arch/arm/mach-socfpga/include/mach/clock_manager.h | 2 ++ .../mach-socfpga/include/mach/clock_manager_n5x.h | 12 3 files changed, 29

[v1 09/17] arm: socfpga: Changed misc_s10.c to misc_soc64.c

2021-03-31 Thread Siew Chin Lim
Rename to common file name to used by all SOC64 devices. No functionality change. Signed-off-by: Siew Chin Lim --- arch/arm/mach-socfpga/Makefile | 4 ++-- arch/arm/mach-socfpga/{misc_s10.c => misc_soc64.c} | 12 ++-- 2 files changed, 8 insertions(+), 8 deletions(-)

[v1 07/17] arm: socfpga: Move cm_get_mpu_clk_hz function declaration to clock_manager.h

2021-03-31 Thread Siew Chin Lim
Move cm_get_mpu_clk_hz function declaration from individual device's clock manager header file to common clock_manager.h. Signed-off-by: Siew Chin Lim --- arch/arm/mach-socfpga/include/mach/clock_manager.h | 1 + arch/arm/mach-socfpga/include/mach/clock_manager_agilex.h | 2 --

[v1 06/17] drivers: clk: Add memory clock driver for Intel N5X device

2021-03-31 Thread Siew Chin Lim
Add memory clock manager driver for N5X. Provides memory clock initialization and enable functions. Signed-off-by: Siew Chin Lim --- drivers/clk/altera/Makefile | 1 + drivers/clk/altera/clk-mem-n5x.c | 136 +++ drivers/clk/altera/clk-mem-n5x.h | 84

[v1 04/17] drivers: clk: Add clock driver for Intel N5X device

2021-03-31 Thread Siew Chin Lim
Add clock manager driver for N5X. Provides clock initialization and get_rate functions. Signed-off-by: Siew Chin Lim --- drivers/clk/altera/Makefile | 3 +- drivers/clk/altera/clk-n5x.c | 489 ++ drivers/clk/altera/clk-n5x.h | 217

[v1 05/17] arm: socfpga: Get clock manager base address for Intel N5X device

2021-03-31 Thread Siew Chin Lim
Add N5X clock manager to socfpga_get_managers_addr function. Signed-off-by: Siew Chin Lim --- arch/arm/mach-socfpga/misc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/mach-socfpga/misc.c b/arch/arm/mach-socfpga/misc.c index 64a7c9d652..9305bec38a 100644 ---

[v1 03/17] arm: socfpga: Add handoff data support for Intel N5X device

2021-03-31 Thread Siew Chin Lim
N5X support both HPS handoff data and DDR handoff data. HPS handoff data support re-use Straix10 and Agilex code. DDR handoff data is newly introduced for N5X. Signed-off-by: Siew Chin Lim --- arch/arm/mach-socfpga/include/mach/handoff_soc64.h | 28 +++

[v1 02/17] arm: socfpga: Add base address for Intel N5X device

2021-03-31 Thread Siew Chin Lim
Reuse base_addr_soc64.h for Intel N5X device, the address is the same as Agilex. Signed-off-by: Siew Chin Lim --- arch/arm/mach-socfpga/include/mach/base_addr_soc64.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-socfpga/include/mach/base_addr_soc64.h

[v1 01/17] arm: socfpga: Changed base_addr_s10.h to base_addr_soc64.h

2021-03-31 Thread Siew Chin Lim
Rename to common file name to used by all SOC64 devices and change "_S10_" to "_SOC64_" in base_addr_soc64.h. Signed-off-by: Siew Chin Lim --- .../include/mach/{base_addr_s10.h => base_addr_soc64.h} | 8 include/configs/socfpga_soc64_common.h| 2 +-

[v1 00/17] Add Intel N5X SoC support

2021-03-31 Thread Siew Chin Lim
This patchset add Intel N5X SoC[1] support. Intel N5X SoC is with a 64-bit quad core ARM Cortex-A53 MPCore hard processor system (HPS). New IPs in N5X are clock manager and DDR subsystem, other IPs have minor changes compared to Agilex. Intel N5X SoC supports legacy boot without ATF, ATF boot,

Re: [PATCH v2 4/4] test: Don't unmount not (yet) mounted system

2021-03-31 Thread Tom Rini
On Thu, Feb 11, 2021 at 04:40:12PM +0200, Andy Shevchenko wrote: > When test suite tries to create a file for a new filesystem test case and > fails, > the clean up of the exception tries to unmount the image, that has not yet > been > mounted. When it happens, the fuse_mounted global variable

Re: [GIT PULL] sunxi: Last minute Allwinner H616 fixes

2021-03-31 Thread Tom Rini
On Wed, Mar 31, 2021 at 11:02:29AM +0100, Andre Przywara wrote: > Hi Tom, > > please pull the sunxi master branch, containing two fixes to make U-Boot > match the H616 TF-A port, which has been merged this morning. > The link address of BL31 was changed last minute, so we need to fix this > in

Re: [PULL next] u-boot-atmel-2021.07-a

2021-03-31 Thread Tom Rini
On Tue, Mar 30, 2021 at 01:33:50PM +, eugen.hris...@microchip.com wrote: > Hello Tom, > > Please pull tag u-boot-atmel-2021.07-a , the first set of features for > the next cycle 2021.07 . > > This small feature set includes the implementation of the slew rate for > the PIO4 pin controller

[GIT PULL] xilinx patches for v2021.07

2021-03-31 Thread Michal Simek
Hi Tom, please pull these changes. There is nothing controversial. I will likely send another pull request with stuff which have been sent recently. Gitlab CI doesn't show any issue. Thanks, Michal The following changes since commit d8eafb16c85bc3b5d85d7ba8ebb1438cc0ae168f: Prepare

Re: [PATCH 00/37] imx: hab/caam new feature and update

2021-03-31 Thread Horia Geantă
On 3/25/2021 11:32 AM, Peng Fan (OSS) wrote: > From: Peng > > This patchset is to upstream NXP downstream caam, hab features I don't think adding yet another caam driver (drivers/crypto/fsl_caam.c) is a good idea. Instead existing driver (drivers/crypto/fsl/*) should be extended / modified. >

[PATCH V2] arm: stm32mp1: Set soc_type, soc_pkg, soc_rev env variables

2021-03-31 Thread Marek Vasut
Split up get_soc_name(), clean the decoding up a bit, and set up environment variables which contain the SoC type, package, revision. This is useful on SoMs, where multiple SoC options are populated. Signed-off-by: Marek Vasut Cc: Patrick Delaunay Cc: Patrice Chotard --- V2: Fix pkg = 0 ,

Re: [PATCH v3 4/6] ram: stm32: fix strsep failed on read only memory

2021-03-31 Thread dillon min
On Wed, Mar 31, 2021 at 5:09 PM Patrice CHOTARD wrote: > > one remark below > > On 3/29/21 5:04 AM, dillon.min...@gmail.com wrote: > > From: dillon min > > > > strsep will change data from original memory address, > > in case the memory is in non-sdram/sram place, will > > run into a bug(hang at

Re: [PATCH v3 0/6] Add rt-thread art-pi board support

2021-03-31 Thread dillon min
Hi Patrice, Thanks for the reply, On Wed, Mar 31, 2021 at 5:05 PM Patrice CHOTARD wrote: > > Hi Dillon > > I discussed with Alexandre Torque about the pinctrl rework you did on kernel > side for stm32h750. > When the kernel series will be fully accepted on kernel side, you can > resubmit the

[PATCH 1/1] patch for OpenPiton SoC of RISC-V Architecture

2021-03-31 Thread Tianrui Wei
This patch enables u-boot support for Openpiton SoC of RISC-V architecture Signed-off-by: Tianrui Wei Acked-by: Jonathan Balkind --- arch/riscv/Kconfig | 4 + arch/riscv/dts/Makefile | 1 + arch/riscv/dts/openpiton-riscv64.dts| 149

[GIT PULL] sunxi: Last minute Allwinner H616 fixes

2021-03-31 Thread Andre Przywara
Hi Tom, please pull the sunxi master branch, containing two fixes to make U-Boot match the H616 TF-A port, which has been merged this morning. The link address of BL31 was changed last minute, so we need to fix this in U-Boot as well. Since the H616 support was only added to U-Boot in this cycle,

Re: [PATCH v3 4/6] ram: stm32: fix strsep failed on read only memory

2021-03-31 Thread Patrice CHOTARD
one remark below On 3/29/21 5:04 AM, dillon.min...@gmail.com wrote: > From: dillon min > > strsep will change data from original memory address, > in case the memory is in non-sdram/sram place, will > run into a bug(hang at SDRAM: ) > > just add a temporary array to store bank_name[] to fix

Re: [PATCH v3 0/6] Add rt-thread art-pi board support

2021-03-31 Thread Patrice CHOTARD
Hi Dillon I discussed with Alexandre Torque about the pinctrl rework you did on kernel side for stm32h750. When the kernel series will be fully accepted on kernel side, you can resubmit the equivalent on u-boot side. Nevertheless, there is one issue i didn't spot on previous review regarding

Re: [PATCH] cmd: gpt: remove redundant print messages

2021-03-31 Thread Patrick DELAUNAY
Hi, On 3/30/21 11:34 PM, Ravik Hasija wrote: Removing printfs from do_gpt API as the messages are generic and does not specify error codes for failure cases. Signed-off-by: Ravik Hasija --- cmd/gpt.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/cmd/gpt.c b/cmd/gpt.c index

Re: [RFC PATCH v2 2/4] psci: add features/reset2 support

2021-03-31 Thread Patrick DELAUNAY
Hi Igor, On 3/30/21 11:16 PM, Igor Opaniuk wrote: From: Igor Opaniuk Adds support for: * PSCI_FEATURES, which was introduced in PSCI 1.0. This provides API that allows discovering whether a specific PSCI function is implemented and its features. * SYSTEM_RESET2, which was introduced in PSCI

[PATCH 6/6] xilinx: Enable DFU_TIMEOUT config

2021-03-31 Thread Michal Simek
From: T Karthik Reddy Enable CONFIG_DFU_TIMEOUT to set timeout waiting for dfu command. Signed-off-by: T Karthik Reddy Signed-off-by: Michal Simek --- configs/xilinx_versal_virt_defconfig | 1 + configs/xilinx_zynq_virt_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git

[PATCH 5/6] xilinx: zynq: Add usb dfu/thor distro boot support

2021-03-31 Thread Michal Simek
From: T Karthik Reddy Add support for usb dfu & thor to distro boot on zynq platform. Add 60s timeout of dfu-utils to start transaction. Remove DFU_ALT_INFO_RAM as we use bootcmd_usb_dfu instead of dfu_ram. Remove DFU_ALT_INFO_MMC as part of distro boot cleanup. Signed-off-by: T Karthik Reddy

[PATCH 4/6] xilinx: versal: Add usb dfu/thor distro boot support

2021-03-31 Thread Michal Simek
From: T Karthik Reddy Change "dfu_usb" to "usb_dfu" for better representation and change required macros. Add 60s timeout of dfu-utils to start transaction. Add support for usb thor to distro boot. Remove DFU_ALT_INFO_RAM as we use bootcmd_usb_dfu instead of dfu_ram. Signed-off-by: T Karthik

[PATCH 3/6] xilinx: zynqmp: Remove dfu_ram_info setup

2021-03-31 Thread Michal Simek
The dfu ram info is wired in connection to Linux kernel and certain setup. We should change this to be more generic as others command. That's why using boot via script is the way to go. Signed-off-by: Michal Simek --- include/configs/xilinx_zynqmp.h | 19 +-- 1 file changed, 1

[PATCH 2/6] xilinx: zynqmp: Add usb dfu/thor distro boot support

2021-03-31 Thread Michal Simek
From: T Karthik Reddy In usb boot mode distro boot should select usb device as primary boot device instead of usb host. So make usb dfu as primary boot device. But do not list it in boot_targets as fallback option because it is not classic mode for booting. Using 60s timeout by default should be

  1   2   >