RE: [PATCH] configs: ls1012afrwy: drop env qspi_bootcmd

2020-04-16 Thread Priyanka Jain (OSS)
>-Original Message- >From: Biwen Li >Sent: Wednesday, April 15, 2020 5:54 PM >To: Priyanka Jain (OSS) ; Biwen Li (OSS) >; Jagdish Gediya ; Pramod >Kumar ; Shengzhou Liu > >Cc: Alison Wang ; u-boot@lists.denx.de; Jiafei Pan > >Subject: RE: [PATCH] configs: ls1012afrwy: drop env qspi_bootcmd

RE: [PATCH] board: fsl: lx2160a: define gic_lpi_base with CONFIG_GIC_V3_ITS support

2020-04-16 Thread Priyanka Jain (OSS)
>-Original Message- >From: U-Boot On Behalf Of Wasim Khan >Sent: Wednesday, April 15, 2020 2:54 PM >To: Priyanka Jain >Cc: u-boot@lists.denx.de; Wasim Khan >Subject: [PATCH] board: fsl: lx2160a: define gic_lpi_base with >CONFIG_GIC_V3_ITS support > >define gic_lpi_base variable when CONF

RE: [PATCH 01/27] rtc: ds1337: Add driver model support

2020-04-16 Thread Priyanka Jain (OSS)
>-Original Message- >From: U-Boot On Behalf Of Biwen Li >Sent: Sunday, April 12, 2020 2:24 PM >To: Jagdish Gediya ; Priyanka Jain >; h...@denx.de; ja...@amarulasolutions.com; >aford...@gmail.com; Alison Wang ; >jh80.ch...@samsung.com; Pramod Kumar ; >Rajesh Bhagat ; Ruchika Gupta >; olte..

Re: [PATCH] ARM: dts: add missing meson-gxl-s805x-libretech-ac-u-boot.dtsi file

2020-04-16 Thread Neil Armstrong
On 15/04/2020 17:58, Neil Armstrong wrote: > The libretech-ac u-boot.dtsi file is missing to enabled DT nodes changes > to enable Video output on U-Boot. > > Fixes: 671b1db8f8 ("arm64: dts: meson-gx: vpu should be probed before > relocation") > Reported-by: Jerome Brunet > Signed-off-by: Neil Ar

RE: [PATCH 02/27] rtc: pt7c4338: Add driver model support

2020-04-16 Thread Priyanka Jain (OSS)
>-Original Message- >From: U-Boot On Behalf Of Biwen Li >Sent: Sunday, April 12, 2020 2:24 PM >To: Jagdish Gediya ; Priyanka Jain >; h...@denx.de; ja...@amarulasolutions.com; >aford...@gmail.com; Alison Wang ; >jh80.ch...@samsung.com; Pramod Kumar ; >Rajesh Bhagat ; Ruchika Gupta >; olte..

RE: [PATCH 04/27] dm: powerpc: P5040DS: add i2c DM support

2020-04-16 Thread Priyanka Jain (OSS)
>-Original Message- >From: U-Boot On Behalf Of Biwen Li >Sent: Sunday, April 12, 2020 2:24 PM >To: Jagdish Gediya ; Priyanka Jain >; h...@denx.de; ja...@amarulasolutions.com; >aford...@gmail.com; Alison Wang ; >jh80.ch...@samsung.com; Pramod Kumar ; >Rajesh Bhagat ; Ruchika Gupta >; olte..

RE: [PATCH 05/27] configs: P5040DS: enable DM_I2C

2020-04-16 Thread Priyanka Jain (OSS)
>-Original Message- >From: U-Boot On Behalf Of Biwen Li >Sent: Sunday, April 12, 2020 2:24 PM >To: Jagdish Gediya ; Priyanka Jain >; h...@denx.de; ja...@amarulasolutions.com; >aford...@gmail.com; Alison Wang ; >jh80.ch...@samsung.com; Pramod Kumar ; >Rajesh Bhagat ; Ruchika Gupta >; olte..

RE: [PATCH 04/27] dm: powerpc: P5040DS: add i2c DM support

2020-04-16 Thread Biwen Li
> >--- > > arch/powerpc/dts/p5040.dtsi | 5 - include/configs/corenet_ds.h | > >8 +++- > > 2 files changed, 11 insertions(+), 2 deletions(-) > > > >diff --git a/arch/powerpc/dts/p5040.dtsi b/arch/powerpc/dts/p5040.dtsi > >index 67a62a7725..45988574a2 100644 > >--- a/arch/powerpc/dts/p5040.

RE: [PATCH 05/27] configs: P5040DS: enable DM_I2C

2020-04-16 Thread Biwen Li
> > >-Original Message- > >From: U-Boot On Behalf Of Biwen Li > >Sent: Sunday, April 12, 2020 2:24 PM > >To: Jagdish Gediya ; Priyanka Jain > >; h...@denx.de; ja...@amarulasolutions.com; > >aford...@gmail.com; Alison Wang ; > >jh80.ch...@samsung.com; Pramod Kumar ; > Rajesh > >Bhagat ; Ru

Antwort: Re: [PATCH v5 14/29] acpi: Add a binding for ACPI settings in the device tree

2020-04-16 Thread Wolfgang Wallner
Hi Andy, -"Andy Shevchenko" schrieb: - >Betreff: Re: [PATCH v5 14/29] acpi: Add a binding for ACPI settings >in the device tree [snip] >> - acpi,compatible : ACPI devices may report a _HID or _CID of >"PRP0001", in >> which case they are expected to provide a _DSD object with a >"

RE: [PATCH 06/27] dm: powerpc: P1020: add i2c DM support

2020-04-16 Thread Priyanka Jain (OSS)
>-Original Message- >From: U-Boot On Behalf Of Biwen Li >Sent: Sunday, April 12, 2020 2:24 PM >To: Jagdish Gediya ; Priyanka Jain >; h...@denx.de; ja...@amarulasolutions.com; >aford...@gmail.com; Alison Wang ; >jh80.ch...@samsung.com; Pramod Kumar ; >Rajesh Bhagat ; Ruchika Gupta >; olte..

RE: [PATCH 07/27] configs: P1020RDB: enable DM_I2C and DM_RTC

2020-04-16 Thread Priyanka Jain (OSS)
>-Original Message- >From: U-Boot On Behalf Of Biwen Li >Sent: Sunday, April 12, 2020 2:24 PM >To: Jagdish Gediya ; Priyanka Jain >; h...@denx.de; ja...@amarulasolutions.com; >aford...@gmail.com; Alison Wang ; >jh80.ch...@samsung.com; Pramod Kumar ; >Rajesh Bhagat ; Ruchika Gupta >; olte..

RE: [PATCH 07/27] configs: P1020RDB: enable DM_I2C and DM_RTC

2020-04-16 Thread Biwen Li
> > >-Original Message- > >From: U-Boot On Behalf Of Biwen Li > >Sent: Sunday, April 12, 2020 2:24 PM > >To: Jagdish Gediya ; Priyanka Jain > >; h...@denx.de; ja...@amarulasolutions.com; > >aford...@gmail.com; Alison Wang ; > >jh80.ch...@samsung.com; Pramod Kumar ; > Rajesh > >Bhagat ; Ru

[PATCH] arm64: dts: meson-gx: add back dmc register range until canvas driver is available

2020-04-16 Thread Neil Armstrong
The Linux VPU bindings have changed and dropped the dmc register range. Add it back in the meson-gx-u-boot.dtsi file until a proper canvas driver is available. Signed-off-by: Neil Armstrong --- arch/arm/dts/meson-gx-u-boot.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/dt

RE: [PATCH 06/27] dm: powerpc: P1020: add i2c DM support

2020-04-16 Thread Priyanka Jain (OSS)
>-Original Message- >From: U-Boot On Behalf Of Biwen Li >Sent: Sunday, April 12, 2020 2:24 PM >To: Jagdish Gediya ; Priyanka Jain >; h...@denx.de; ja...@amarulasolutions.com; >aford...@gmail.com; Alison Wang ; >jh80.ch...@samsung.com; Pramod Kumar ; >Rajesh Bhagat ; Ruchika Gupta >; olte..

RE: [EXT] Re: [PATCH] spi: nxp-fspi: Add 1us delay to make controller ready for next transaction

2020-04-16 Thread Ashish Kumar
> -Original Message- > From: U-Boot On Behalf Of Jagan Teki > Sent: Friday, April 3, 2020 8:09 PM > To: Kuldeep Singh > Cc: U-Boot-Denx > Subject: [EXT] Re: [PATCH] spi: nxp-fspi: Add 1us delay to make controller > ready for next transaction > > Caution: EXT Email > > On Mon, Feb 24,

Re: [PATCH] libfdt: migrate fdt_ro.c to a wrapper of scripts/dtc/libfdt/fdt_ro.c

2020-04-16 Thread Masahiro Yamada
On Thu, Apr 16, 2020 at 2:31 PM Masahiro Yamada wrote: > > There is no essential difference between scripts/dtc/libfdt/fdt_ro.c > and lib/libfdt/fdt_ro.c > > Migrate to a simple wrapper like the other files. > > Signed-off-by: Masahiro Yamada > --- > > lib/libfdt/Makefile | 5 +- > lib/libfdt/

Re: [PATCH 5/7] ddr: altera: arria10: Add RAM size check

2020-04-16 Thread Marek Vasut
On 4/16/20 3:34 AM, Tan, Ley Foon wrote: [...] >>> +static void sdram_size_check(struct ram_info *ram) { >>> + phys_size_t ram_check = 0; >>> + phys_size_t size = ram->size; >>> + phys_addr_t base = ram->base; >>> + >>> + debug("DDR: Running SDRAM size sanity check\n"); >>> + >>> + while

RE: [PATCH 06/27] dm: powerpc: P1020: add i2c DM support

2020-04-16 Thread Biwen Li
> >--- a/include/configs/p1_p2_rdb_pc.h > >+++ b/include/configs/p1_p2_rdb_pc.h > >@@ -1,6 +1,7 @@ > > /* SPDX-License-Identifier: GPL-2.0+ */ > > /* > > * Copyright 2010-2011 Freescale Semiconductor, Inc. > >+ * Copyright 2020 NXP > > */ > > > > /* > >@@ -546,6 +547,12 @@ > > #define CONFIG_SY

Re: [PATCH 2/7] ddr: altera: arria10: Move SDRAM driver to DM

2020-04-16 Thread Marek Vasut
On 4/16/20 3:41 AM, Tan, Ley Foon wrote: [...] >>> a/drivers/ddr/altera/Kconfig b/drivers/ddr/altera/Kconfig index >>> 8f590dc5f611..30ee884dcf47 100644 >>> --- a/drivers/ddr/altera/Kconfig >>> +++ b/drivers/ddr/altera/Kconfig >>> @@ -2,7 +2,7 @@ config SPL_ALTERA_SDRAM >>> bool "SoCFPGA DDR SD

[PATCH] ARM: imx6: DHCOM i.MX6 PDK: Fix usb-otg VBUS regulator

2020-04-16 Thread Harald Seiler
During the conversion of this board to DM_REGULATOR, usb-mass-storage was broken and started failing with the following error: => ums 0 mmc 2 UMS: LUN 0, dev 2, hwpart 0, sector 0x0, count 0xe9 Error enabling VBUS supply g_dnl_register: failed!, error: -38

RE: [PATCH 08/27] dm: powerpc: P2020RDB: add i2c DM support

2020-04-16 Thread Priyanka Jain (OSS)
>-Original Message- >From: U-Boot On Behalf Of Biwen Li >Sent: Sunday, April 12, 2020 2:24 PM >To: Jagdish Gediya ; Priyanka Jain >; h...@denx.de; ja...@amarulasolutions.com; >aford...@gmail.com; Alison Wang ; >jh80.ch...@samsung.com; Pramod Kumar ; >Rajesh Bhagat ; Ruchika Gupta >; olte..

RE: [PATCH 11/27] config: P2041RDB: enable DM_I2C

2020-04-16 Thread Priyanka Jain (OSS)
>-Original Message- >From: U-Boot On Behalf Of Biwen Li >Sent: Sunday, April 12, 2020 2:24 PM >To: Jagdish Gediya ; Priyanka Jain >; h...@denx.de; ja...@amarulasolutions.com; >aford...@gmail.com; Alison Wang ; >jh80.ch...@samsung.com; Pramod Kumar ; >Rajesh Bhagat ; Ruchika Gupta >; olte..

RE: [PATCH 5/7] ddr: altera: arria10: Add RAM size check

2020-04-16 Thread Tan, Ley Foon
> -Original Message- > From: Marek Vasut > Sent: Thursday, April 16, 2020 4:52 PM > To: Tan, Ley Foon ; u-boot@lists.denx.de > Cc: Ley Foon Tan ; See, Chin Liang > ; Simon Goldschmidt > ; Chee, Tien Fong > > Subject: Re: [PATCH 5/7] ddr: altera: arria10: Add RAM size check > > On 4/16/20

RE: [PATCH 11/27] config: P2041RDB: enable DM_I2C

2020-04-16 Thread Biwen Li
> > >-Original Message- > >From: U-Boot On Behalf Of Biwen Li > >Sent: Sunday, April 12, 2020 2:24 PM > >To: Jagdish Gediya ; Priyanka Jain > >; h...@denx.de; ja...@amarulasolutions.com; > >aford...@gmail.com; Alison Wang ; > >jh80.ch...@samsung.com; Pramod Kumar ; > Rajesh > >Bhagat ; Ru

RE: [PATCH 20/27] dm: ppc: MPC8548CDS: add i2c DM support

2020-04-16 Thread Priyanka Jain (OSS)
>-Original Message- >From: U-Boot On Behalf Of Biwen Li >Sent: Sunday, April 12, 2020 2:24 PM >To: Jagdish Gediya ; Priyanka Jain >; h...@denx.de; ja...@amarulasolutions.com; >aford...@gmail.com; Alison Wang ; >jh80.ch...@samsung.com; Pramod Kumar ; >Rajesh Bhagat ; Ruchika Gupta >; olte..

RE: [PATCH 20/27] dm: ppc: MPC8548CDS: add i2c DM support

2020-04-16 Thread Biwen Li
> > > >From: Biwen Li > > > >This supports i2c DM for board MPC8548CDS > > > >Signed-off-by: Biwen Li > >--- > > board/freescale/common/sys_eeprom.c | 3 ++- > > include/configs/MPC8548CDS.h| 9 - > > 2 files changed, 10 insertions(+), 2 deletions(-) > > > >diff --git a/board/freesc

RE: [PATCH 16/27] dm: powerpc: T1023/T1024: add i2c DM support

2020-04-16 Thread Priyanka Jain (OSS)
>-Original Message- >From: U-Boot On Behalf Of Biwen Li >Sent: Sunday, April 12, 2020 2:24 PM >To: Jagdish Gediya ; Priyanka Jain >; h...@denx.de; ja...@amarulasolutions.com; >aford...@gmail.com; Alison Wang ; >jh80.ch...@samsung.com; Pramod Kumar ; >Rajesh Bhagat ; Ruchika Gupta >; olte..

[PATCH v2 1/3] libfdt: migrate fdt_ro.c to a wrapper of scripts/dtc/libfdt/fdt_ro.c

2020-04-16 Thread Masahiro Yamada
There is no essential difference between scripts/dtc/libfdt/fdt_ro.c and lib/libfdt/fdt_ro.c Migrate to a simple wrapper like the other files. Signed-off-by: Masahiro Yamada --- Changes in v2: - refactor tools/Makefile lib/libfdt/Makefile | 6 +- lib/libfdt/fdt_ro.c | 925 +---

[PATCH v2 2/3] fdt_region: move fdt_region.c to common/ from lib/libfdt/

2020-04-16 Thread Masahiro Yamada
My goal is to sync lib/libfdt/ with scripts/dtc/libfdt/, that is, make lib/libfdt/ contain only wrapper files. fdt_region.c was written only for U-Boot to implement the verified boot. So, this belongs to the same group as common/fdt_support.c, which is a collection of U-Boot own fdt helpers. Move

[PATCH v2 0/3] libfdt: make lib/libfdt/ contain only wrappers

2020-04-16 Thread Masahiro Yamada
Linux DT community follows the strict rule that they never locally modify libfdt. In Linux, lib/fdt_*.c are wrapper files to scripts/dtc/libfdt/fdt_*.c and scripts/dtc/ is synced with upstream DTC by running scripts/dtc/update-dtc-source.sh The local code in Linux is separated in drivers/of/. On

[PATCH v2 3/3] libfdt: split fdt_region declarations out to

2020-04-16 Thread Masahiro Yamada
fdt_region APIs are not part of libfdt. They are U-Boot extension for the verified boot. Split the declarations related to fdt_region out of . This allows to become a simple wrapper file, like Linux does. Signed-off-by: Masahiro Yamada --- I am resending this after two years since v1. My previ

Re: [PATCH] fvp: Add support for loading Android boot images via semihosting

2020-04-16 Thread Linus Walleij
On Sat, Apr 4, 2020 at 4:58 AM Peter Collingbourne wrote: > FVP now loads an Android boot image named boot.img if available, > otherwise it falls back to the existing code path. > > Signed-off-by: Peter Collingbourne That's very helpful when doing Android development. Thanks for doing this. Rev

Re: Re: [PATCH v5 14/29] acpi: Add a binding for ACPI settings in the device tree

2020-04-16 Thread Andy Shevchenko
On Thu, Apr 16, 2020 at 11:27 AM Wolfgang Wallner wrote: > -"Andy Shevchenko" schrieb: - [snip] > >> - acpi,compatible : ACPI devices may report a _HID or _CID of > >"PRP0001", in > >> which case they are expected to provide a _DSD object with a > >"compatible" > >> property. >

Re: [PATCH v4] dm: uclass: don't assign aliased seq numbers

2020-04-16 Thread Michael Walle
Hi Simon, Am 2020-04-15 21:22, schrieb Simon Glass: Hi Michael, On Wed, 15 Apr 2020 at 09:22, Michael Walle wrote: Hi Simon, Am 2020-04-15 15:56, schrieb Simon Glass: > +Tom > > Hi, > > On Sat, 14 Mar 2020 at 14:33, wrote: >> >> On 03. 03. 20 8:47, Michael Walle wrote: >> > If there are al

Please pull u-boot-x86

2020-04-16 Thread Bin Meng
Hi Tom, This includes the following changes for v2020.07: - Provide serial base clock speed via getinfo() for ACPI SPCR - Initial ACPI support from DM core by leveraging existing ACPI support in x86 The following changes since commit 66b8669d7709cecedf2e0403bb17b48bab86f644: Merge tag 'u-boot

Re: [PATCH] rockchip: rk3399: enable spl-fifo-mode for sdmmc

2020-04-16 Thread Deepak Das
Hi Philipp, On 15/04/20 6:30 pm, Philipp Tomsich wrote: >> On 15.04.2020, at 05:25, Deepak Das wrote: >> >> adapting commit fa2047c47310 ("rockchip: rk3328: enable spl-fifo-mode >> for emmc and sdmmc") for rk3399. >> Since mmc to sram can't do dma, add patch to prevent aborts transferring >> TF-A

[PATCH] Add support for SHA384 and SHA512

2020-04-16 Thread Reuben Dowle
The current recommendation for best security practice from the US government is to use SHA384 for TOP SECRET [1]. This patch adds support for SHA384 and SHA512 in the hash command, and also allows FIT images to be hashed with these algorithms, and signed with sha384,rsa and sha512,rsa The

[PATCH] ARM: zynq: Add nand controller node in zynq-ces-nand dt

2020-04-16 Thread Michal Simek
From: T Karthik Reddy Add memory-controller@e000e000 node in zynq-ces-nand.dts as zynq_nand driver utilizes flash@e100 node. Without this dt node mini nand u-boot does not probe. Signed-off-by: T Karthik Reddy Signed-off-by: Michal Simek --- arch/arm/dts/zynq-cse-nand.dts | 15 ++

[PATCH] ARM: zynq: Setup stack size via Kconfig

2020-04-16 Thread Michal Simek
Stack size has been introduced by commit a69814c815b9 ("arm64: zynqmp: Set initrd_high to as high as possible") and commit 085201c246ee ("arm64: versal: Set initrd_high to as high as possible") to support setting up initrd_high as high as possible. The same change should happen for Zynq because the

Re: [PATCH 0/4] Updates for ClearFog EEPROM

2020-04-16 Thread Baruch Siach
Hi Stefan, On Wed, Apr 15 2020, Stefan Roese wrote: > On 19.01.20 08:10, Joel Johnson wrote: >> >> This set of patches applies on top of >> https://patchwork.ozlabs.org/cover/1200324/, >> based on testing using the static configuration fallback updates in a >> related patch series. >> >> >> Joel

Re: [PATCH 0/4] Updates for ClearFog EEPROM

2020-04-16 Thread Stefan Roese
Hi Baruch, On 16.04.20 14:22, Baruch Siach wrote: Hi Stefan, On Wed, Apr 15 2020, Stefan Roese wrote: On 19.01.20 08:10, Joel Johnson wrote: This set of patches applies on top of https://patchwork.ozlabs.org/cover/1200324/, based on testing using the static configuration fallback updates in

Re: [PATCH 6/7] ddr: altera: arria10: Change %i to %u for printf

2020-04-16 Thread Tom Rini
On Wed, Apr 15, 2020 at 08:06:45PM +0200, Marek Vasut wrote: > On 4/15/20 7:44 PM, Tom Rini wrote: > > On Wed, Apr 15, 2020 at 05:16:52PM +0200, Marek Vasut wrote: > >> On 4/15/20 5:14 PM, Tom Rini wrote: > >>> On Wed, Apr 15, 2020 at 04:58:31PM +0200, Marek Vasut wrote: > On 4/15/20 4:56 PM,

Re: [PATCH 01/12] net: ks8851: Replace malloc()+memset() with calloc()

2020-04-16 Thread Marek Vasut
On 3/25/20 7:44 PM, Marek Vasut wrote: > Replace combination of malloc()+memset() with calloc() as the behavior > is exactly the same and the amount of code is reduced. Moreover, remove > printf() in the fail path, as it is useless, and return proper -ENOMEM > return code. > > Signed-off-by: Marek

Re: [PATCH 6/7] ddr: altera: arria10: Change %i to %u for printf

2020-04-16 Thread Marek Vasut
On 4/16/20 2:55 PM, Tom Rini wrote: > On Wed, Apr 15, 2020 at 08:06:45PM +0200, Marek Vasut wrote: >> On 4/15/20 7:44 PM, Tom Rini wrote: >>> On Wed, Apr 15, 2020 at 05:16:52PM +0200, Marek Vasut wrote: On 4/15/20 5:14 PM, Tom Rini wrote: > On Wed, Apr 15, 2020 at 04:58:31PM +0200, Marek V

Re: [PATCH 6/7] ddr: altera: arria10: Change %i to %u for printf

2020-04-16 Thread Tom Rini
On Thu, Apr 16, 2020 at 03:11:45PM +0200, Marek Vasut wrote: > On 4/16/20 2:55 PM, Tom Rini wrote: > > On Wed, Apr 15, 2020 at 08:06:45PM +0200, Marek Vasut wrote: > >> On 4/15/20 7:44 PM, Tom Rini wrote: > >>> On Wed, Apr 15, 2020 at 05:16:52PM +0200, Marek Vasut wrote: > On 4/15/20 5:14 PM,

Re: [PATCH 6/7] ddr: altera: arria10: Change %i to %u for printf

2020-04-16 Thread Marek Vasut
On 4/16/20 3:21 PM, Tom Rini wrote: > On Thu, Apr 16, 2020 at 03:11:45PM +0200, Marek Vasut wrote: >> On 4/16/20 2:55 PM, Tom Rini wrote: >>> On Wed, Apr 15, 2020 at 08:06:45PM +0200, Marek Vasut wrote: On 4/15/20 7:44 PM, Tom Rini wrote: > On Wed, Apr 15, 2020 at 05:16:52PM +0200, Marek V

Re: [PATCH 01/12] net: ks8851: Replace malloc()+memset() with calloc()

2020-04-16 Thread Joe Hershberger
On Wed, Mar 25, 2020 at 1:45 PM Marek Vasut wrote: > > Replace combination of malloc()+memset() with calloc() as the behavior > is exactly the same and the amount of code is reduced. Moreover, remove > printf() in the fail path, as it is useless, and return proper -ENOMEM > return code. > > Signed

Re: [PATCH v7 05/17] efi_loader: variable: add secure boot state transition

2020-04-16 Thread Heinrich Schuchardt
On 14.04.20 04:51, AKASHI Takahiro wrote: > UEFI specification defines several global variables which are related to > the current secure boot state. In this commit, those values will be > maintained according to operations. Currently, AuditMode and DeployedMode > are defined but not implemented. >

Re: [PATCH 3/3] kbuild: SPL/TPL: generate separate asm-offsets.h for SPL and TPL

2020-04-16 Thread Bin Meng
Hi Masahiro, On Thu, Apr 16, 2020 at 12:39 PM Masahiro Yamada wrote: > > Currently generic-asm-offsets.h and asm-offsets.h are generated based > on U-Boot proper config options. The same asm-offsets headers are used > for building U-Boot SPL/TPL, which causes potential offset mismatch if > U-Boot

Re: [PATCH] arm64: dts: meson-gx: add back dmc register range until canvas driver is available

2020-04-16 Thread Neil Armstrong
On 16/04/2020 10:42, Neil Armstrong wrote: > The Linux VPU bindings have changed and dropped the dmc register range. > > Add it back in the meson-gx-u-boot.dtsi file until a proper canvas driver > is available. > > Signed-off-by: Neil Armstrong > --- > arch/arm/dts/meson-gx-u-boot.dtsi | 4

Re: [PATCH 01/13] net: rtl8139: Register macro cleanup

2020-04-16 Thread Joe Hershberger
On Sun, Apr 12, 2020 at 5:04 PM Marek Vasut wrote: > > Clean up the horrible register definitions in the RTL8139 driver. > This does create a couple of checkpatch errors, but the driver is > full of them anyway, and those will be cleaned up later. > > No functional change. > > Signed-off-by: Marek

Re: [PATCH 02/13] net: rtl8139: Rework eeprom_delay() macro

2020-04-16 Thread Joe Hershberger
On Sun, Apr 12, 2020 at 5:04 PM Marek Vasut wrote: > > The macro assumes ee_addr variable to be present when it's being > used. Rework the macro into a function instead and pass it an > argument specifying the register base address, to make it future > proof for DM conversion. > > Signed-off-by: M

Re: [PATCH 0/4] Updates for ClearFog EEPROM

2020-04-16 Thread Joel Johnson
On 2020-04-16 06:38, Stefan Roese wrote: Hi Baruch, On 16.04.20 14:22, Baruch Siach wrote: Hi Stefan, On Wed, Apr 15 2020, Stefan Roese wrote: On 19.01.20 08:10, Joel Johnson wrote: This set of patches applies on top of https://patchwork.ozlabs.org/cover/1200324/, based on testing using th

Re: [PATCH 4/7] riscv: Add SMP Kconfig option dependency for U-Boot proper

2020-04-16 Thread Bin Meng
Hi Sean, On Wed, Apr 8, 2020 at 10:20 PM Sean Anderson wrote: > > On 4/8/20 9:41 AM, Bin Meng wrote: > > U-Boot proper running in S-mode only need SMP support when using > > SBI v0.1. With SBI v0.2 HSM extension, it does not need implement > > multicore boot in U-Boot proper. > > > > Signed-off-b

[PATCH v2 0/6] riscv: Make SBI v0.2 the default SBI version to work with OpenSBI v0.7

2020-04-16 Thread Bin Meng
This series makes SBI v0.2 the default SBI version to work with OpenSBI v0.7, that is scheduled to be released soon. Hart State Management (HSM) SBI extension is supported from OpenSBI v0.7. HSM extension allows S-mode software to boot all the harts a defined order rather than legacy method of ran

[PATCH v2 2/6] riscv: Merge unnecessary SMP ifdefs in start.S

2020-04-16 Thread Bin Meng
Two consecutive SMP ifdefs blocks can be combined into one. Signed-off-by: Bin Meng Reviewed-by: Atish Patra --- Changes in v2: None arch/riscv/cpu/start.S | 4 1 file changed, 4 deletions(-) diff --git a/arch/riscv/cpu/start.S b/arch/riscv/cpu/start.S index 6b3ff99..ecf0482 100644 ---

[PATCH v2 1/6] riscv: qemu: Remove the simple-bus driver for the SoC node

2020-04-16 Thread Bin Meng
Prior to QEMU v3.1.0, QEMU generated the 'virt' SoC node with a "riscv-virtio-soc" compatible string, and a "simple-bus" driver was created to accommodate that special case in U-Boot. Starting from QEMU v3.1.0, the SoC node was set as a "simple-bus", hence the special simple-bus driver is no longe

[PATCH v2 4/6] riscv: Add SMP Kconfig option dependency for U-Boot proper

2020-04-16 Thread Bin Meng
U-Boot proper running in S-mode only need SMP support when using SBI v0.1. With SBI v0.2 HSM extension, it does not need implement multicore boot in U-Boot proper. Signed-off-by: Bin Meng --- Changes in v2: - add "!RISCV_SMODE" to the dependency arch/riscv/Kconfig | 1 + 1 file changed, 1 ins

[PATCH v2 3/6] riscv: Introduce SPL_SMP Kconfig option for U-Boot SPL

2020-04-16 Thread Bin Meng
With SBI v0.2 HSM extension, only a single hart need to boot and enter operating system. The booting hart can bring up secondary harts one by one afterwards. For U-Boot running in SPL, SMP can be turned on, while in U-Boot proper, SMP can be optionally turned off if using SBI v0.2 HSM. Introduce

[PATCH v2 6/6] riscv: Make SBI v0.2 the default SBI version

2020-04-16 Thread Bin Meng
To work with latest OpenSBI release (v0.7 or above) that has the HSM extension support, select the SBI v0.2 support by default. Signed-off-by: Bin Meng Reviewed-by: Atish Patra --- Changes in v2: - drop patch: "riscv: Remove CONFIG_IS_ENABLED(SMP) in global data" arch/riscv/Kconfig | 2 +- 1

[PATCH v2 5/6] riscv: Add Kconfig option for SBI v0.2

2020-04-16 Thread Bin Meng
SBI v0.2 is more scalable and extendable to handle future needs for RISC-V supervisor interfaces. For example, with SBI v0.2 HSM extension, only a single hart need to boot and enter operating system. The booting hart can bring up secondary harts one by one afterwards. Signed-off-by: Bin Meng Revi

Please pull u-boot-dm (take 2)

2020-04-16 Thread Simon Glass
Hi Tom, This one is against master since you have pulled in the -next branch now. I have dropped the offending commit. https://gitlab.denx.de/u-boot/custodians/u-boot-dm/pipelines/2786 The following changes since commit 66b8669d7709cecedf2e0403bb17b48bab86f644: Merge tag 'u-boot-stm32-20200

Re: [PATCH v2 00/19] i.MXRT1050 add LCDIF support

2020-04-16 Thread Giulio Benetti
On 4/16/20 5:08 AM, Simon Glass wrote: Hi Giulio, On Wed, 15 Apr 2020 at 14:05, Giulio Benetti wrote: I've pinged the wrong patchset, sorry for the noise, the right one is v3. -- Giulio Benetti Benetti Engineering sas On 4/15/20 9:51 PM, Giulio Benetti wrote: Kindly ping Who are you p

Re: [PATCH v3 00/19] i.MXRT1050 add LCDIF support

2020-04-16 Thread Giulio Benetti
Hi Fabio, On 4/16/20 3:26 AM, Fabio Estevam wrote: Hi Giulio, On Wed, Apr 8, 2020 at 12:10 PM Giulio Benetti wrote: This patchset add support for LCDIF on i.MXRT1050 evk. This requires PLL5 to be setup, mxsfb needs to use display_timing to retrieve if Lcd has inverted PIXCLOCK from dts. Wit

Re: [PATCH v2 00/19] i.MXRT1050 add LCDIF support

2020-04-16 Thread Fabio Estevam
Hi Giulio, On Thu, Apr 16, 2020 at 12:20 PM Giulio Benetti wrote: > Ah I didn't know I had to point someone. > > So in this case would be either Stefano or Fabio and indeed Fabio > answered before here: > https://lists.denx.de/pipermail/u-boot/2020-April/406857.html Since this series touches vi

Re: [PATCH 5/5] dlmalloc: remove unit test support in SPL

2020-04-16 Thread Heinrich Schuchardt
On 4/16/20 4:32 AM, Tom Rini wrote: > On Wed, Apr 15, 2020 at 06:46:23PM +0200, Heinrich Schuchardt wrote: > >> We cannot run unit tests in SPL. So remove the unit test support. >> >> Signed-off-by: Heinrich Schuchardt >> --- >> common/dlmalloc.c | 2 +- >> 1 file changed, 1 insertion(+), 1 delet

Re: [PATCH] common: Add Kconfig option for FDT mem alignment

2020-04-16 Thread Tom Rini
On Mon, Apr 13, 2020 at 10:03:04AM +0200, Michal Simek wrote: > From: Ashok Reddy Soma > > FDT memory is aligned by 4KB. This is hardcoded in common/board_f.c. > Add Kconfig option, assign default value of 0x1000 and enable option to > change this value. > > Signed-off-by: Ashok Reddy Soma > S

Re: [PATCH] common: Add Kconfig option for FDT mem alignment

2020-04-16 Thread Michal Simek
On 16. 04. 20 17:39, Tom Rini wrote: > On Mon, Apr 13, 2020 at 10:03:04AM +0200, Michal Simek wrote: > >> From: Ashok Reddy Soma >> >> FDT memory is aligned by 4KB. This is hardcoded in common/board_f.c. >> Add Kconfig option, assign default value of 0x1000 and enable option to >> change this val

Re: [PATCH 1/5] lib: do not build OID registry in SPL

2020-04-16 Thread Heinrich Schuchardt
On 4/16/20 4:32 AM, Tom Rini wrote: > On Wed, Apr 15, 2020 at 06:46:19PM +0200, Heinrich Schuchardt wrote: > >> The OID registry is only used by crypto functions that are not built in >> SPL. So we should not build it in SPL. >> >> Fixes: a9b45e6e8382 ("lib: add oid registry utility") >> Signed-off

Re: [PATCH v2 00/19] i.MXRT1050 add LCDIF support

2020-04-16 Thread Giulio Benetti
Hi Fabio, Simon and Anatolij, On 4/16/20 5:23 PM, Fabio Estevam wrote: Hi Giulio, On Thu, Apr 16, 2020 at 12:20 PM Giulio Benetti wrote: Ah I didn't know I had to point someone. So in this case would be either Stefano or Fabio and indeed Fabio answered before here: https://lists.denx.de/pip

Re: [PATCH v2] bootcount_ext: Add flag to enable/disable bootcount

2020-04-16 Thread Frédéric Danis
Hi Tom, On 23/03/2020 19:42, Simon Glass wrote: Hi Fred, On Mon, 23 Mar 2020 at 10:20, Frédéric Danis wrote: Hi Simon, On 19/03/2020 17:18, Simon Glass wrote: On Wed, 18 Mar 2020 at 02:17, Frédéric Danis wrote: Hi Simon, Sorry I missed to add the change log. Since v1: - Add doc/README.b

Re: [PATCH 4/5] lib: do not provide hexdump in SPL

2020-04-16 Thread Heinrich Schuchardt
On 4/16/20 4:32 AM, Tom Rini wrote: > On Wed, Apr 15, 2020 at 06:46:22PM +0200, Heinrich Schuchardt wrote: > >> SPL should not be enlarged by building with CONFIG_HEXDUMP=y. >> >> Signed-off-by: Heinrich Schuchardt >> --- >> lib/hexdump.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >

Re: [PATCH 2/5] lib: date functions in SPL

2020-04-16 Thread Heinrich Schuchardt
On 4/16/20 4:32 AM, Tom Rini wrote: > On Wed, Apr 15, 2020 at 06:46:20PM +0200, Heinrich Schuchardt wrote: > >> Date functions are only needed in SPL if SPL contains RTC drivers. >> >> Fixes: 05429b6cf5b3 ("rtc: move date.c from drivers/rtc/ to lib/") >> Signed-off-by: Heinrich Schuchardt > > Does

Re: [PATCH] common: Add Kconfig option for FDT mem alignment

2020-04-16 Thread Heinrich Schuchardt
On 4/14/20 9:46 AM, Michal Simek wrote: > On 14. 04. 20 1:38, Heinrich Schuchardt wrote: >> On 4/13/20 10:03 AM, Michal Simek wrote: >>> From: Ashok Reddy Soma >>> >>> FDT memory is aligned by 4KB. This is hardcoded in common/board_f.c. >>> Add Kconfig option, assign default value of 0x1000 and en

Re: [PATCH 5/5] dlmalloc: remove unit test support in SPL

2020-04-16 Thread Tom Rini
On Thu, Apr 16, 2020 at 05:37:56PM +0200, Heinrich Schuchardt wrote: > On 4/16/20 4:32 AM, Tom Rini wrote: > > On Wed, Apr 15, 2020 at 06:46:23PM +0200, Heinrich Schuchardt wrote: > > > >> We cannot run unit tests in SPL. So remove the unit test support. > >> > >> Signed-off-by: Heinrich Schuchardt

Re: [PATCH 1/5] lib: do not build OID registry in SPL

2020-04-16 Thread Tom Rini
On Thu, Apr 16, 2020 at 05:49:13PM +0200, Heinrich Schuchardt wrote: > On 4/16/20 4:32 AM, Tom Rini wrote: > > On Wed, Apr 15, 2020 at 06:46:19PM +0200, Heinrich Schuchardt wrote: > > > >> The OID registry is only used by crypto functions that are not built in > >> SPL. So we should not build it in

Pull request for UEFI sub-system for efi-2020-07-rc1

2020-04-16 Thread Heinrich Schuchardt
The following changes since commit 9cb3ce2558ba1fc058dfb26a07fc02603773a211: Merge branch 'master' of git://git.denx.de/u-boot-marvell (2020-04-15 08:30:16 -0400) are available in the Git repository at: https://gitlab.denx.de/u-boot/custodians/u-boot-efi.git tags/efi-2020-07-rc1 for you to

Re: [PATCH] ARM: imx: pico-imx8mq: Add support for Technexion Pico-iMX8MQ

2020-04-16 Thread Fabio Estevam
Hi Marek, On Wed, Apr 1, 2020 at 9:42 PM Marek Vasut wrote: > @@ -0,0 +1,416 @@ > +// SPDX-License-Identifier: GPL-2.0+ > +/* > + * Copyright 2018 Wandboard, Org. > + * Copyright 2017 NXP > + * > + * Author: Richard Hu > + */ > + > +/dts-v1/; > + > +/* First 128KB is for PSCI ATF. */ > +/memres

Re: [PATCH 4/5] lib: do not provide hexdump in SPL

2020-04-16 Thread Tom Rini
On Thu, Apr 16, 2020 at 06:27:00PM +0200, Heinrich Schuchardt wrote: > On 4/16/20 4:32 AM, Tom Rini wrote: > > On Wed, Apr 15, 2020 at 06:46:22PM +0200, Heinrich Schuchardt wrote: > > > >> SPL should not be enlarged by building with CONFIG_HEXDUMP=y. > >> > >> Signed-off-by: Heinrich Schuchardt >

Re: [PATCH 2/5] lib: date functions in SPL

2020-04-16 Thread Tom Rini
On Thu, Apr 16, 2020 at 06:30:48PM +0200, Heinrich Schuchardt wrote: > On 4/16/20 4:32 AM, Tom Rini wrote: > > On Wed, Apr 15, 2020 at 06:46:20PM +0200, Heinrich Schuchardt wrote: > > > >> Date functions are only needed in SPL if SPL contains RTC drivers. > >> > >> Fixes: 05429b6cf5b3 ("rtc: move d

Re: [PATCH] common: Add Kconfig option for FDT mem alignment

2020-04-16 Thread Tom Rini
On Thu, Apr 16, 2020 at 05:47:41PM +0200, Michal Simek wrote: > On 16. 04. 20 17:39, Tom Rini wrote: > > On Mon, Apr 13, 2020 at 10:03:04AM +0200, Michal Simek wrote: > > > >> From: Ashok Reddy Soma > >> > >> FDT memory is aligned by 4KB. This is hardcoded in common/board_f.c. > >> Add Kconfig op

Re: [PATCH 5/5] dlmalloc: remove unit test support in SPL

2020-04-16 Thread Heinrich Schuchardt
On 16.04.20 19:00, Tom Rini wrote: > On Thu, Apr 16, 2020 at 05:37:56PM +0200, Heinrich Schuchardt > wrote: >> On 4/16/20 4:32 AM, Tom Rini wrote: >>> On Wed, Apr 15, 2020 at 06:46:23PM +0200, Heinrich Schuchardt >>> wrote: >>> We cannot run unit tests in SPL. So remove the unit test supp

Re: [PATCH] common: Add Kconfig option for FDT mem alignment

2020-04-16 Thread Stephen Warren
On 4/16/20 11:06 AM, Tom Rini wrote: > On Thu, Apr 16, 2020 at 05:47:41PM +0200, Michal Simek wrote: >> On 16. 04. 20 17:39, Tom Rini wrote: >>> On Mon, Apr 13, 2020 at 10:03:04AM +0200, Michal Simek wrote: >>> From: Ashok Reddy Soma FDT memory is aligned by 4KB. This is hardcoded i

Re: [PATCH] board: add InnoComm i.MX8MM WB15EVK

2020-04-16 Thread Fabio Estevam
Hi Matt, On Thu, Apr 9, 2020 at 6:51 PM Matt Porter wrote: Hopefully this dts will be sent upstream. > +/ { > + model = "InnoComm i.MX8MM WB15EVK"; > + compatible = "fsl,imx8mm-wb15evk", "fsl,imx8mm"; Should be "innocomm,imx8mm-wb15evk", "fsl,imx8mm" instead, since the board manufa

Re: Please pull u-boot-x86

2020-04-16 Thread Tom Rini
On Thu, Apr 16, 2020 at 07:11:12PM +0800, Bin Meng wrote: > Hi Tom, > > This includes the following changes for v2020.07: > > - Provide serial base clock speed via getinfo() for ACPI SPCR > - Initial ACPI support from DM core by leveraging existing ACPI support in x86 > > The following changes

Re: [PATCH 6/7] ddr: altera: arria10: Change %i to %u for printf

2020-04-16 Thread Tom Rini
On Thu, Apr 16, 2020 at 03:39:19PM +0200, Marek Vasut wrote: > On 4/16/20 3:21 PM, Tom Rini wrote: > > On Thu, Apr 16, 2020 at 03:11:45PM +0200, Marek Vasut wrote: > >> On 4/16/20 2:55 PM, Tom Rini wrote: > >>> On Wed, Apr 15, 2020 at 08:06:45PM +0200, Marek Vasut wrote: > On 4/15/20 7:44 PM,

Re: [PATCH 01/10] generic-phy: add generic_phy_get_by_node()

2020-04-16 Thread Tom Rini
On Wed, Apr 15, 2020 at 06:14:18PM +0200, Neil Armstrong wrote: > Tom, Marek, > > On 30/03/2020 11:27, Neil Armstrong wrote: > > Add generic_phy_get_by_node() to get a PHY phandle from a node instead > > of a udevice. > > > > Signed-off-by: Neil Armstrong > > --- > > drivers/phy/phy-uclass.c |

[PATCH] ARC: HSDK: CGU: fix tunnel clock calculation

2020-04-16 Thread Eugeniy Paltsev
We set wrong tunnel PLL frequency when we request 125MHz tunnel clock. Fix that. Signed-off-by: Eugeniy Paltsev --- drivers/clk/clk-hsdk-cgu.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/clk/clk-hsdk-cgu.c b/drivers/clk/clk-hsdk-cgu.c index 4637b9fdf15..6eaafdea

Re: Please pull u-boot-dm (take 2)

2020-04-16 Thread Tom Rini
On Thu, Apr 16, 2020 at 09:15:39AM -0600, Simon Glass wrote: > Hi Tom, > > This one is against master since you have pulled in the -next branch > now. I have dropped the offending commit. > > https://gitlab.denx.de/u-boot/custodians/u-boot-dm/pipelines/2786 > > > > The following changes since

[U-Boot] Please pull ARC changes for v2020.07-rc1

2020-04-16 Thread Alexey Brodkin
Hi Tom, The following changes since commit dba0a6ae1907bbff3ebda06e4874d006f10db1bb: Merge https://gitlab.denx.de/u-boot/custodians/u-boot-x86 (2020-04-16 08:56:37 -0400) are available in the Git repository at: g...@gitlab.denx.de:u-boot/custodians/u-boot-arc.git tags/arc-fixes-for-2020.0

Re: [PATCH 00/11] Fixes for Nokia RX-51

2020-04-16 Thread Pali Rohár
On Tuesday 14 April 2020 14:01:44 Pali Rohár wrote: > On Tuesday 14 April 2020 17:21:24 Lokesh Vutla wrote: > > On 14/04/20 4:47 PM, Pali Rohár wrote: > > > On Tuesday 14 April 2020 16:14:08 Lokesh Vutla wrote: > > >> On 14/04/20 4:01 PM, Pali Rohár wrote: > > >>> On Tuesday 14 April 2020 15:53:14

Re: [PATCH v7 05/17] efi_loader: variable: add secure boot state transition

2020-04-16 Thread AKASHI Takahiro
Heinrich, On Thu, Apr 16, 2020 at 04:20:35PM +0200, Heinrich Schuchardt wrote: > On 14.04.20 04:51, AKASHI Takahiro wrote: > > UEFI specification defines several global variables which are related to > > the current secure boot state. In this commit, those values will be > > maintained according t

[PATCH 1/5] wandboard: Fix detection for mx6q/mx6dl revD1 revariants

2020-04-16 Thread Fabio Estevam
The detection of the revD1 version is based on the presence of the PMIC. Currently revb1 device trees are used for mx6q/mx6dl variants, which do not have the PMIC nodes. This causes revD1 boards to be incorrectly be detected as revB1. Use the revd1 device trees, so that the PMIC node can be foun

[PATCH 2/5] pmic: pfuze100: Change error message level to debug

2020-04-16 Thread Fabio Estevam
On systems that can run on multiple board variants, such as wandboard, which versions with and without the PMIC populated, it is not useful to get PMIC error on systems that do not have the PMIC populated. Change error message level to debug instead. Signed-off-by: Fabio Estevam --- drivers/pow

[PATCH 4/5] wandboard: Remove CONFIG_DISPLAY_BOARDINFO_LATE

2020-04-16 Thread Fabio Estevam
Since we are using revD1 device tree for all board revisions, the following can be seen on a revB1 board: Model: Wandboard i.MX6 Quad Board revD1 Board: Wandboard rev B1 To avoid such confusing messages, disable CONFIG_DISPLAY_BOARDINFO_LATE. Signed-off-by: Fabio Estevam --- configs/wandboard_

[PATCH 5/5] wandboard: Remove checkboard()

2020-04-16 Thread Fabio Estevam
Since the variant revision is no longer show, simply get rid of checkboard(). Move the gpio_request() prior to its usage. Signed-off-by: Fabio Estevam --- board/wandboard/wandboard.c | 15 +-- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/board/wandboard/wandboard.c

[PATCH v3 2/2] wandboard: Remove repeated PMIC string

2020-04-16 Thread Fabio Estevam
After the conversion to DM_PMIC the following output is seen: PMIC: PMIC: PFUZE100 ID=0x10 Remove the unnecessary PMIC string from the board file to avoid the repetead string. Signed-off-by: Fabio Estevam --- Changes since v2: - None board/wandboard/wandboard.c | 2 -- 1 file changed, 2 del

[PATCH 3/5] wandboard: Do not print error when PMIC is not present

2020-04-16 Thread Fabio Estevam
On wandboard variants prior to revD1, there is no PMIC populated, so do not print an error when the reading of the device ID register fails. Signed-off-by: Fabio Estevam --- board/wandboard/wandboard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/wandboard/wandboard.

[PATCH 1/5] wandboard: Fix detection for mx6q/mx6dl revD1 revariants

2020-04-16 Thread Fabio Estevam
The detection of the revD1 version is based on the presence of the PMIC. Currently revb1 device trees are used for mx6q/mx6dl variants, which do not have the PMIC nodes. This causes revD1 boards to be incorrectly be detected as revB1. Use the revd1 device trees, so that the PMIC node can be foun

  1   2   >