Re: [PATCH v2 0/4] usb: xhci: Prepare xHCI driver for MIPS Octeon big-endian support

2020-08-04 Thread Stefan Roese
Hi Marek, On 30.07.20 08:59, Bin Meng wrote: Hi Marek, On Thu, Jul 30, 2020 at 2:32 PM Stefan Roese wrote: Hi Bin, On 21.07.20 10:46, Stefan Roese wrote: These patches fix a few issues, found while porting the xHCI to the MIPS Octeon platforms. The basic issues here are: - Endianess

[PATCH] ddr: socfpga: Fix integer overflow that caused DDR size mismatched

2020-08-04 Thread tien . fong . chee
From: Tien Fong Chee Convert the constant integer to 'phys_size_t' to avoid overflow when calculating the SDRAM size. Signed-off-by: Tien Fong Chee --- drivers/ddr/altera/sdram_soc64.c | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git

Re: [PATCH 1/1] riscv: fix building with CONFIG_SPL_SMP=n

2020-08-04 Thread Bin Meng
+Andy Shevchenko On Tue, Aug 4, 2020 at 10:58 PM Heinrich Schuchardt wrote: > > On 04.08.20 15:15, Bin Meng wrote: > > On Tue, Aug 4, 2020 at 7:02 PM Heinrich Schuchardt > > wrote: > >> > >> On 04.08.20 03:46, Bin Meng wrote: > >>> On Tue, Aug 4, 2020 at 5:26 AM Heinrich Schuchardt > >>>

Re: [PULL] u-boot-mips

2020-08-04 Thread Tom Rini
On Mon, Aug 03, 2020 at 10:36:04PM +0200, Daniel Schwierzeck wrote: > Hi Tom, > > please pull some Octeon MIPS64 updates for 2020.10. This contains just > new GPIO, CLK ad SPI drivers for Octeon as well as the according DT and > defconfig updates. > > Gitlab CI: >

Re: Please pull u-boot-video

2020-08-04 Thread Tom Rini
On Tue, Aug 04, 2020 at 09:42:23AM +0200, Anatolij Gustschin wrote: > Hi Tom, > > please pull a few video related fixes. Gitlab CI: > https://gitlab.denx.de/u-boot/custodians/u-boot-video/pipelines/4318 > > Thanks! > > The following changes since commit

Re: [GIT PULL] Pull request: u-boot-imx u-boot-imx-20200804

2020-08-04 Thread Tom Rini
(2020-07-24 08:43:08 -0400) > > are available in the Git repository at: > > https://gitlab.denx.de/u-boot/custodians/u-boot-imx.git > tags/u-boot-imx-20200804 > > for you to fetch changes up to 3e980a2d8bd13d0d1c2d5cec9e57a47b6cff8b92: > > configs: pico-imx6: conv

Re: [U-Boot] Pull request: u-boot-riscv/master 20200804

2020-08-04 Thread Tom Rini
On Tue, Aug 04, 2020 at 09:53:04AM +0800, ub...@andestech.com wrote: > Hi Tom, > > Please pull some riscv updates: > > - add DM based reset driver for SiFive SoC's. > > Thanks > Rick > > https://travis-ci.org/github/rickchen36/u-boot-riscv/builds/714339244 > > The following changes since

Re: [PATCH 01/22] clk: check hw and hw->dev before dereference it

2020-08-04 Thread Claudiu.Beznea
On 04.08.2020 18:29, Simon Glass wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > content is safe > > Hi Claudiu, > > On Tue, 4 Aug 2020 at 09:25, wrote: >> >> Hi Simon, >> >> On 04.08.2020 18:08, Simon Glass wrote: >>> EXTERNAL EMAIL: Do not click links

Re: U-Boot POST Memory Test

2020-08-04 Thread Brownlie, Lewis
Thank you for your helpful response Heinrich. I have a question to further clarify the purpose of post_bootmode_get(). You wrote, > post_bootmode_get() tells you which type of tests should be executed. > For tests after a watchdog reset it also returns the last executed test." This makes

Re: [PATCH 01/22] clk: check hw and hw->dev before dereference it

2020-08-04 Thread Claudiu.Beznea
Hi Simon, On 04.08.2020 18:08, Simon Glass wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > content is safe > > Hi Claudiu, > > On Tue, 4 Aug 2020 at 01:19, wrote: >> >> >> >> On 04.08.2020 05:00, Simon Glass wrote: >>> EXTERNAL EMAIL: Do not click links

[PATCH] tests: support mkfs.ext4 without metadata_csum

2020-08-04 Thread Stephen Warren
From: Stephen Warren Modify various test/py filesystem creation routines to support systems that don't implement the metadata_csum ext4 feature. Signed-off-by: Stephen Warren --- test/py/tests/test_env.py | 5 - test/py/tests/test_fs/conftest.py | 6 -- 2 files changed, 8

RE: [PATCH v1] test/py: Add test support for three stage boot

2020-08-04 Thread Liu, Yan
Hi, Any comments on this patch? Can this patch be merged in? Thanks and Regards, Yan -Original Message- From: Liu, Yan Sent: Tuesday, July 21, 2020 11:12 AM To: u-boot@lists.denx.de Cc: tr...@konsulko.com; Liu, Yan Subject: [PATCH v1] test/py: Add test support for three stage boot

Re: [PATCH 01/22] clk: check hw and hw->dev before dereference it

2020-08-04 Thread Simon Glass
Hi Claudiu, On Tue, 4 Aug 2020 at 09:25, wrote: > > Hi Simon, > > On 04.08.2020 18:08, Simon Glass wrote: > > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > > content is safe > > > > Hi Claudiu, > > > > On Tue, 4 Aug 2020 at 01:19, wrote: > >> > >> > >> > >> On

Re: PowerPC progress

2020-08-04 Thread Simon Glass
Hi Priyanka, On Tue, 4 Aug 2020 at 05:20, Priyanka Jain wrote: > > >-Original Message- > >From: Dan Malek > >Sent: Tuesday, August 4, 2020 4:32 AM > >To: Simon Glass > >Cc: Tom Rini ; U-Boot Mailing List >b...@lists.denx.de>; Wolfgang Denk ; > >christophe.le...@csgroup.eu; Mario Six ;

Re: [PATCH v2 18/18] configs: j7200_evm_a72: Add Initial support

2020-08-04 Thread Vignesh Raghavendra
On 27/07/20 3:15 pm, Lokesh Vutla wrote: Add initial A72 defconfig support. Signed-off-by: Lokesh Vutla --- configs/j7200_evm_a72_defconfig | 172 1 file changed, 172 insertions(+) create mode 100644 configs/j7200_evm_a72_defconfig diff --git

Re: [PATCH 01/22] clk: check hw and hw->dev before dereference it

2020-08-04 Thread Simon Glass
Hi Claudiu, On Tue, 4 Aug 2020 at 01:19, wrote: > > > > On 04.08.2020 05:00, Simon Glass wrote: > > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > > content is safe > > > > Hi Claudiu, > > > > On Wed, 29 Jul 2020 at 08:51, Claudiu Beznea > > wrote: > >> > >> Check

Re: [PATCH 31/31] checkpatch: Don't allow common.h and dm.h in headers

2020-08-04 Thread Tom Rini
On Sun, Jul 19, 2020 at 10:16:01AM -0600, Simon Glass wrote: > These headers should not be included in other header files. Add a > checkpatch rule and test for this. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 30/31] patman: Fix up the test comments

2020-08-04 Thread Tom Rini
On Sun, Jul 19, 2020 at 10:16:00AM -0600, Simon Glass wrote: > Many of the tests have the same comment and two have the same name. Fix > this. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 26/31] clk: Drop dm.h header file in clk-provider.h

2020-08-04 Thread Tom Rini
On Sun, Jul 19, 2020 at 10:15:56AM -0600, Simon Glass wrote: > This header file should not be included in other header files. Remove it > and use a forward declaration and un-inlining of dev_get_clk_ptr() > instead. > > Fix up the kendryte header files to avoid build errors. > > Signed-off-by:

Re: [PATCH 28/31] net: Drop duplicate include of dm.h in pcnet.c

2020-08-04 Thread Tom Rini
On Sun, Jul 19, 2020 at 10:15:58AM -0600, Simon Glass wrote: > This file includes the header twice. Drop the second one. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 27/31] net: Drop dm.h header file in eth_phy.h

2020-08-04 Thread Tom Rini
On Sun, Jul 19, 2020 at 10:15:57AM -0600, Simon Glass wrote: > This header file should not be included in other header files. Remove it > and use a forward declaration instead. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 29/31] dm: core: Guard against including dm.h in header files

2020-08-04 Thread Tom Rini
On Sun, Jul 19, 2020 at 10:15:59AM -0600, Simon Glass wrote: > Header files generally should not include header files just for a struct, > since forward declarations work just as well and reduce overhead. > > Add a warning for dm.h being included, since this has crept into U-Boot. > >

Re: [PATCH 24/31] ufs: Drop dm.h header file

2020-08-04 Thread Tom Rini
On Sun, Jul 19, 2020 at 10:15:54AM -0600, Simon Glass wrote: > This header file should not be included in other header files. Remove it > and use a forward declaration instead. > > Also drop asm/io.h > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [PATCH 23/31] nand: Drop dm.h header file

2020-08-04 Thread Tom Rini
On Sun, Jul 19, 2020 at 10:15:53AM -0600, Simon Glass wrote: > This header file should not be included in other header files. Remove it > and use a forward declaration instead. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 25/31] usb: Drop dm.h header file

2020-08-04 Thread Tom Rini
On Sun, Jul 19, 2020 at 10:15:55AM -0600, Simon Glass wrote: > This header file should not be included in other header files. Remove it > and use a forward declaration instead. > > Also move the inline function out into a C file. We should not include C > code in headers. > > Signed-off-by:

Re: [PATCH v1 06/24] pci: pci-uclass: Add multi entry support for memory regions

2020-08-04 Thread Simon Glass
Hi Stefan, On Tue, 4 Aug 2020 at 08:03, Stefan Roese wrote: > > Hi Simon, > > On 31.07.20 20:44, Simon Glass wrote: > > Hi Stefan, > > > > On Thu, 30 Jul 2020 at 09:35, Stefan Roese wrote: > >> > >> Hi Simon, > >> > >> On 28.07.20 21:01, Simon Glass wrote: > >>> Hi Stefan, > >>> > >>> On Fri,

Re: [PATCH 21/31] mscc: Drop dm.h header file

2020-08-04 Thread Tom Rini
On Sun, Jul 19, 2020 at 10:15:51AM -0600, Simon Glass wrote: > This header file should not be included in other header files. Remove it > from each one and use a forward declaration instead. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description:

Re: [PATCH 22/31] adc: Drop dm.h header file

2020-08-04 Thread Tom Rini
On Sun, Jul 19, 2020 at 10:15:52AM -0600, Simon Glass wrote: > This header file should not be included in other header files. Remove it > and use a forward declaration instead. > > Drop the common.h inclusion also. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom

Re: [PATCH 20/31] mediatek: Drop dm.h header file

2020-08-04 Thread Tom Rini
On Sun, Jul 19, 2020 at 10:15:50AM -0600, Simon Glass wrote: > This header file should not be included in other header files. Remove it > and use a forward declaration instead. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 16/31] spi: Drop duplicate dm.h inclusion

2020-08-04 Thread Tom Rini
On Sun, Jul 19, 2020 at 10:15:46AM -0600, Simon Glass wrote: > We only need to include this header once. Drop the duplicate. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 19/31] pci: Drop dm.h inclusion from header file

2020-08-04 Thread Tom Rini
On Sun, Jul 19, 2020 at 10:15:49AM -0600, Simon Glass wrote: > The layerscape header should not include dm.h so remove it. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 17/31] ti: am654: Drop duplicate dm.h inclusion

2020-08-04 Thread Tom Rini
On Sun, Jul 19, 2020 at 10:15:47AM -0600, Simon Glass wrote: > We only need to include this header once. Drop the duplicate. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 18/31] liebherr: Drop duplicate dm.h inclusion

2020-08-04 Thread Tom Rini
On Sun, Jul 19, 2020 at 10:15:48AM -0600, Simon Glass wrote: > We only need to include this header once. Drop the duplicate. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 15/31] mmc: Drop duplicate dm.h inclusion

2020-08-04 Thread Tom Rini
On Sun, Jul 19, 2020 at 10:15:45AM -0600, Simon Glass wrote: > We only need to include this header once. Drop the duplicate. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 14/31] power: Tidy up inclusion of regulator_common.h

2020-08-04 Thread Tom Rini
On Sun, Jul 19, 2020 at 10:15:44AM -0600, Simon Glass wrote: > This file should not include common.h and dm.h so remove them. Also move > the inclusion of this file to after the normal includes. > > Signed-off-by: Simon Glass > Reviewed-by: Jaehoon Chung Applied to u-boot/master, thanks! --

Re: [PATCH 13/31] efi: Tidy up header includes

2020-08-04 Thread Tom Rini
On Sun, Jul 19, 2020 at 10:15:43AM -0600, Simon Glass wrote: > Two files relies on efi_driver.h to include common.h and dm.h which is > incorrect. The former should always be included in a non-host C file and > the latter should be included if driver model is used. > > Signed-off-by: Simon Glass

Re: [PATCH 12/31] w1: Drop dm.h header file

2020-08-04 Thread Tom Rini
On Sun, Jul 19, 2020 at 10:15:42AM -0600, Simon Glass wrote: > This header file should not be included in other header files. Remove it > and use a forward declaration instead. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 11/31] thermal: Drop dm.h header file

2020-08-04 Thread Tom Rini
On Sun, Jul 19, 2020 at 10:15:41AM -0600, Simon Glass wrote: > This header file should not be included in other header files. Remove it > and use a forward declaration instead. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 09/31] net: Drop dm.h header file from phy.h

2020-08-04 Thread Tom Rini
On Sun, Jul 19, 2020 at 10:15:39AM -0600, Simon Glass wrote: > This header file should not be included in other header files. Remove it > and use other headers and C inclusions instead. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP

Re: [PATCH 10/31] sf: Drop dm.h header file from spi_flash.h

2020-08-04 Thread Tom Rini
On Sun, Jul 19, 2020 at 10:15:40AM -0600, Simon Glass wrote: > This header file should not be included in other header files. Remove it > and use a forward declaration instead. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 08/31] fs: fs-loader: Drop dm.h header file

2020-08-04 Thread Tom Rini
On Sun, Jul 19, 2020 at 10:15:38AM -0600, Simon Glass wrote: > This header file should not be included in other header files. Remove it > and use a forward declaration instead. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 07/31] dm: core: Drop header files from dm/test.h

2020-08-04 Thread Tom Rini
On Sun, Jul 19, 2020 at 10:15:37AM -0600, Simon Glass wrote: > These header file should not be included in other header files. Remove > them and add to each individual file. Add test/test.h to test/ui.h since > that is a reasonable place. > > Signed-off-by: Simon Glass Applied to

Re: [PATCH 05/31] mtd: spi: Drop SPI_XFER_MMAP*

2020-08-04 Thread Tom Rini
On Sun, Jul 19, 2020 at 10:15:35AM -0600, Simon Glass wrote: > These two defines are no-longer supported. Drop them. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 06/31] dm: core: Drop dm.h header file from dm-demo.h

2020-08-04 Thread Tom Rini
On Sun, Jul 19, 2020 at 10:15:36AM -0600, Simon Glass wrote: > This header file should not be included in other header files. Remove it > and add it to the cmd file instead. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 04/31] mtd: spi-mem: Drop dm.h header file

2020-08-04 Thread Tom Rini
On Sun, Jul 19, 2020 at 10:15:34AM -0600, Simon Glass wrote: > This header file should not be included in other header files. Remove it > and use a forward declaration instead. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 03/31] wdt: Drop dm.h header file

2020-08-04 Thread Tom Rini
On Sun, Jul 19, 2020 at 10:15:33AM -0600, Simon Glass wrote: > This header file should not be included in other header files. Remove it > and use a forward declaration instead. > > Also remove the other headers that are not needed, since the inline code > was removed in a recent commit: > >

Re: [PATCH 02/31] mtd: spi-nor: Tidy up error handling / debug code

2020-08-04 Thread Tom Rini
On Sun, Jul 19, 2020 at 10:15:32AM -0600, Simon Glass wrote: > The -ENODEV error value in spi_nor_read_id() is incorrect since there > clearly is a device - it just cannot be supported. Use -ENOMEDIUM instead > which has the virtue of being less common. > > Fix the return value in

Re: [PATCH 01/31] spi: Allow separate control of SPI_FLASH_TINY for SPL/TPL

2020-08-04 Thread Tom Rini
On Sun, Jul 19, 2020 at 10:15:31AM -0600, Simon Glass wrote: > In some cases SPL needs to be able to erase but TPL just needs to read. > Allow these to have separate settings for SPI_FLASH_TINY. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [PATCH 1/1] riscv: fix building with CONFIG_SPL_SMP=n

2020-08-04 Thread Heinrich Schuchardt
On 04.08.20 15:15, Bin Meng wrote: > On Tue, Aug 4, 2020 at 7:02 PM Heinrich Schuchardt wrote: >> >> On 04.08.20 03:46, Bin Meng wrote: >>> On Tue, Aug 4, 2020 at 5:26 AM Heinrich Schuchardt >>> wrote: Building with CONFIG_SPL_SMP=n results in: arch/riscv/lib/spl.c: In

crash with CONFIG_OF_LIVE

2020-08-04 Thread Frank Wunderlich
Hi, i need of_find_property function so i added CONFIG_OF_LIVE. with this my uboot crash on bpi-r64 (own 32bit-config) before calling anything in my driver (is an ahci-driver which is triggered by "scsi scan"). so only the inclusion of CONFIG_OF_LIVE. do i miss anything or have anyone else

RE: master u-boot broken for HiFive Unleashed

2020-08-04 Thread Pragnesh Patel
Hi Atish, >-Original Message- >From: U-Boot On Behalf Of Pragnesh Patel >Sent: 04 August 2020 19:55 >To: Atish Patra ; Bin Meng ; >Rick Chen >Cc: Anup Patel ; Lukas Auer >; U-Boot Mailing List >Subject: RE: master u-boot broken for HiFive Unleashed > >Hi Atish, > >I tried to debug this

RE: master u-boot broken for HiFive Unleashed

2020-08-04 Thread Pragnesh Patel
Hi Atish, I tried to debug this and find something interesting. With FSBL, I am able to reproduce the same and found that if I will disable CONFIG_OF_BOARD_FIXUP and then print the bdinfo shows expected result. => bdinfo boot_params = 0x DRAM bank = 0x ->

Re: [PATCH v2 15/18] arm: dts: k3-j7200: Add dts support

2020-08-04 Thread Vignesh Raghavendra
Hi Lokesh, On 27/07/20 3:15 pm, Lokesh Vutla wrote: > Add the basic a72 dts for j7200. Following nodes were supported: > - UART > - MMC SD > - I2C > - TISCI communication > > Signed-off-by: Lokesh Vutla > Signed-off-by: Vignesh Raghavendra > Signed-off-by: Vishal Mahaveer > Signed-off-by:

Re: [PATCH 4/6] stdio: Update to use compiler for Kconfig checks

2020-08-04 Thread Simon Glass
Hi Tom, I can't see anything other than my patches at that link. But it looks like I didn't send it, sadly. I'll resend that patch. Regards, SImon On Tue, 4 Aug 2020 at 07:46, Tom Rini wrote: > > On Tue, Aug 04, 2020 at 07:37:02AM -0600, Simon Glass wrote: > > Hi Tom, > > > > On Mon, 3 Aug

[RESEND PATCH 1/7] Convert CONFIG_SPLASH_SCREEN et al to Kconfig

2020-08-04 Thread Simon Glass
This converts the following to Kconfig: CONFIG_SPLASH_SCREEN CONFIG_SPLASH_SCREEN_ALIGN CONFIG_SPLASHIMAGE_GUARD CONFIG_SPLASH_SOURCE Signed-off-by: Simon Glass --- README | 11 configs/apalis_imx6_defconfig | 5 +-

Re: [PATCH v1 06/24] pci: pci-uclass: Add multi entry support for memory regions

2020-08-04 Thread Stefan Roese
Hi Simon, On 31.07.20 20:44, Simon Glass wrote: Hi Stefan, On Thu, 30 Jul 2020 at 09:35, Stefan Roese wrote: Hi Simon, On 28.07.20 21:01, Simon Glass wrote: Hi Stefan, On Fri, 24 Jul 2020 at 04:09, Stefan Roese wrote: From: Suneel Garapati Enable PCI memory regions in ranges

Re: [PATCH 4/6] stdio: Update to use compiler for Kconfig checks

2020-08-04 Thread Tom Rini
On Tue, Aug 04, 2020 at 07:37:02AM -0600, Simon Glass wrote: > Hi Tom, > > On Mon, 3 Aug 2020 at 20:18, Tom Rini wrote: > > > > On Mon, Aug 03, 2020 at 06:57:05PM -0400, Tom Rini wrote: > > > On Fri, Jul 17, 2020 at 09:03:17PM -0600, Simon Glass wrote: > > > > > > > Drop use of the preprocessor

Re: [PATCH 1/2] IPQ40xx: Add DRAM detection & FDT fixup

2020-08-04 Thread Tom Rini
On Tue, Aug 04, 2020 at 01:20:56PM +0200, Robert Marko wrote: > On Mon, Aug 3, 2020 at 4:39 PM Tom Rini wrote: > > > > On Mon, Aug 03, 2020 at 01:52:19PM +0200, Robert Marko wrote: > > > > > Fixup the Linux FDT with the detection of onboard DRAM as > > > provided by SBL (Secondary boot loader) by

Re: [PATCH 4/6] stdio: Update to use compiler for Kconfig checks

2020-08-04 Thread Simon Glass
Hi Tom, On Mon, 3 Aug 2020 at 20:18, Tom Rini wrote: > > On Mon, Aug 03, 2020 at 06:57:05PM -0400, Tom Rini wrote: > > On Fri, Jul 17, 2020 at 09:03:17PM -0600, Simon Glass wrote: > > > > > Drop use of the preprocessor where possible. > > > > > > Signed-off-by: Simon Glass > > [snip] > > > +

Re: [PATCH v1 15/24] ata: ahci: Add BAR index quirk for Cavium PCI SATA device

2020-08-04 Thread Stefan Roese
Hi Simon, On 31.07.20 20:35, Simon Glass wrote: Hi Stefan, On Thu, 30 Jul 2020 at 09:41, Stefan Roese wrote: Hi Simon, On 28.07.20 21:01, Simon Glass wrote: Hi Stefan, On Fri, 24 Jul 2020 at 04:09, Stefan Roese wrote: From: Suneel Garapati For SATA controller found on OcteonTX

Re: [PATCH 1/1] riscv: fix building with CONFIG_SPL_SMP=n

2020-08-04 Thread Bin Meng
On Tue, Aug 4, 2020 at 7:02 PM Heinrich Schuchardt wrote: > > On 04.08.20 03:46, Bin Meng wrote: > > On Tue, Aug 4, 2020 at 5:26 AM Heinrich Schuchardt > > wrote: > >> > >> Building with CONFIG_SPL_SMP=n results in: > >> > >> arch/riscv/lib/spl.c: In function ‘jump_to_image_no_args’: > >>

Re: [PATCH v2 06/10] drivers: spi: Add SPI controller driver for Octeon

2020-08-04 Thread Stefan Roese
Hi Suneel, On 04.08.20 01:20, Suneel Garapati wrote: Hi Stefan, On Thu, Jul 30, 2020 at 4:58 AM Stefan Roese wrote: From: Suneel Garapati Adds support for SPI controllers found on Octeon II/III and Octeon TX TX2 SoC platforms. Signed-off-by: Aaron Williams Signed-off-by: Suneel

[PATCH] armv8: ls1012a: correction in delay implementation

2020-08-04 Thread Chaitanya Sakinam
correction in delay implementation before we exit out of timeout. Signed-off-by: Chaitanya Sakinam --- drivers/net/pfe_eth/pfe_eth.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/net/pfe_eth/pfe_eth.c b/drivers/net/pfe_eth/pfe_eth.c index 6e22041..5bfcaa4

[PATCH] armv8: ls1012a: Avoid resource leak

2020-08-04 Thread Chaitanya Sakinam
PFE DDR addresses are now stored on to a stack varaiable rather dynamic allocation. Signed-off-by: Chaitanya Sakinam --- drivers/net/pfe_eth/pfe_eth.c | 17 ++--- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/drivers/net/pfe_eth/pfe_eth.c

Re: [PATCH 06/22] clk: get clock pointer before proceeding

2020-08-04 Thread Claudiu.Beznea
On 04.08.2020 05:00, Simon Glass wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > content is safe > > Hi Claudiu, > > On Wed, 29 Jul 2020 at 08:52, Claudiu Beznea > wrote: >> >> clk_get_by_indexed_prop() retrieves a clock with dev member being set >> with

Re: [PATCH 03/22] dm: core: add support for device re-parenting

2020-08-04 Thread Claudiu.Beznea
On 04.08.2020 05:00, Simon Glass wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > content is safe > > Hi Claudiu, > > On Wed, 29 Jul 2020 at 08:51, Claudiu Beznea > wrote: >> >> In common clock framework the relation b/w parent and child clocks is >>

Re: [PATCH 04/22] clk: bind clk to new parent device

2020-08-04 Thread Claudiu.Beznea
On 04.08.2020 05:00, Simon Glass wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > content is safe > > On Wed, 29 Jul 2020 at 08:51, Claudiu Beznea > wrote: >> >> Clock re-parenting is not binding the clock's device to its new >> parent device, it only

RE: PowerPC progress

2020-08-04 Thread Priyanka Jain
>-Original Message- >From: Dan Malek >Sent: Tuesday, August 4, 2020 4:32 AM >To: Simon Glass >Cc: Tom Rini ; U-Boot Mailing List b...@lists.denx.de>; Wolfgang Denk ; >christophe.le...@csgroup.eu; Mario Six ; Priyanka Jain > >Subject: Re: PowerPC progress > > >Hi Simon. > >> On Aug 3,

Re: [PATCH 1/2] IPQ40xx: Add DRAM detection & FDT fixup

2020-08-04 Thread Robert Marko
On Mon, Aug 3, 2020 at 4:39 PM Tom Rini wrote: > > On Mon, Aug 03, 2020 at 01:52:19PM +0200, Robert Marko wrote: > > > Fixup the Linux FDT with the detection of onboard DRAM as > > provided by SBL (Secondary boot loader) by reading > > the shared-memory region. > > > > Imported from Snapdragon

[PATCH v2 12/12] pci: ls_pcie_g4: Add size check for config resource

2020-08-04 Thread Wasim Khan
resource "config" is required to have minimum 4KB space to access all config space of PCI Express EP. Signed-off-by: Wasim Khan --- Changes in V2: - Updated commit description - Fix CheckPatch issue - Change size check to 4KB to access PCIe config space drivers/pci/pcie_layerscape_gen4.c | 8

[PATCH v2 11/12] pci: layerscape: Add size check for config resource

2020-08-04 Thread Wasim Khan
resource "config" is required to have minimum 8KB space as per hardware documentation. Signed-off-by: Wasim Khan --- Changes in V2: - Updated commit description - Fix CheckPatch issue drivers/pci/pcie_layerscape_rc.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git

[PATCH v2 08/12] arm: dts: ls1012a: add label to pcie nodes in dts

2020-08-04 Thread Wasim Khan
Add label to pcie nodes in dts so that these nodes are easy to refer. Signed-off-by: Wasim Khan --- Changes in V2: - Updated commit description arch/arm/dts/fsl-ls1012a.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/dts/fsl-ls1012a.dtsi

[PATCH v2 07/12] arm: dts: ls1088a: add label to pcie nodes in dts

2020-08-04 Thread Wasim Khan
Add label to pcie nodes in dts so that these nodes are easy to refer. Signed-off-by: Wasim Khan --- Changes in V2: - Updated commit description arch/arm/dts/fsl-ls1088a.dtsi | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/dts/fsl-ls1088a.dtsi

[PATCH v2 05/12] arm: dts: ls1046a: add label to pcie nodes in dts

2020-08-04 Thread Wasim Khan
Add label to pcie nodes in dts so that these nodes are easy to refer. Signed-off-by: Wasim Khan --- Changes in V2: - Updated commit description arch/arm/dts/fsl-ls1046a.dtsi | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm/dts/fsl-ls1046a.dtsi

[PATCH v2 10/12] arm: dts: ls1028a: add label to pcie nodes in dts

2020-08-04 Thread Wasim Khan
Add label to pcie nodes in dts so that these nodes are easy to refer. Signed-off-by: Wasim Khan --- Changes in V2: - Updated commit description arch/arm/dts/fsl-ls1028a.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/dts/fsl-ls1028a.dtsi

[PATCH v2 09/12] arm: dts: ls1043a: add label to pcie nodes in dts

2020-08-04 Thread Wasim Khan
Add label to pcie nodes in dts so that these nodes are easy to refer. Signed-off-by: Wasim Khan --- Changes in V2: - Updated commit description arch/arm/dts/fsl-ls1043a.dtsi | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/arch/arm/dts/fsl-ls1043a.dtsi

[PATCH v2 04/12] arm: dts: lx2160a: add label to pcie nodes in dts

2020-08-04 Thread Wasim Khan
Add label to pcie nodes in dts so that these nodes are easy to refer. Signed-off-by: Wasim Khan --- Changes in V2: - Updated commit description arch/arm/dts/fsl-lx2160a.dtsi | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm/dts/fsl-lx2160a.dtsi

[PATCH v2 06/12] arm: dts: ls2080a: add label to pcie nodes in dts

2020-08-04 Thread Wasim Khan
Add label to pcie nodes in dts so that these nodes are easy to refer. Signed-off-by: Wasim Khan --- Changes in V2: - Updated commit description arch/arm/dts/fsl-ls2080a.dtsi | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/arch/arm/dts/fsl-ls2080a.dtsi

Re: [PATCH 02/22] clk: check pointer returned by dev_get_parent()

2020-08-04 Thread Claudiu.Beznea
On 04.08.2020 05:00, Simon Glass wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > content is safe > > Hi Claudiu, > > On Wed, 29 Jul 2020 at 08:51, Claudiu Beznea > wrote: >> >> Check pointer returned by dev_get_parent(). >> >> Signed-off-by: Claudiu

[PATCH v2 03/12] pci: ls_pcie_g4: Print pcie controller number starting from 1

2020-08-04 Thread Wasim Khan
Print pcie controller number starting from 1 Signed-off-by: Wasim Khan --- Changes in V2: - No Change drivers/pci/pcie_layerscape_gen4.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/drivers/pci/pcie_layerscape_gen4.c b/drivers/pci/pcie_layerscape_gen4.c

Re: [PATCH 01/22] clk: check hw and hw->dev before dereference it

2020-08-04 Thread Claudiu.Beznea
On 04.08.2020 05:00, Simon Glass wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > content is safe > > Hi Claudiu, > > On Wed, 29 Jul 2020 at 08:51, Claudiu Beznea > wrote: >> >> Check hw and hw->dev before dereference it. >> >> Signed-off-by: Claudiu

[PATCH v2 01/12] configs: lx2160a: Enable CONFIG_PCIE_LAYERSCAPE_GEN4

2020-08-04 Thread Wasim Khan
LX2160A-Rev1 uses PCIe layerscape Gen4 controller. Enable CONFIG_PCIE_LAYERSCAPE_GEN4 for lx2160a. Signed-off-by: Wasim Khan --- Changes in V2: - Added as new commit in V2 configs/lx2160aqds_tfa_SECURE_BOOT_defconfig | 1 + configs/lx2160aqds_tfa_defconfig | 1 +

[PATCH v2 02/12] pci: layerscape: Print pcie controller number starting from 1

2020-08-04 Thread Wasim Khan
Print pcie controller number starting from 1 Signed-off-by: Wasim Khan --- drivers/pci/pcie_layerscape_ep.c | 4 +++- drivers/pci/pcie_layerscape_rc.c | 6 -- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/drivers/pci/pcie_layerscape_ep.c b/drivers/pci/pcie_layerscape_ep.c

[PATCH v2 02/12] pci: layerscape: Print pcie controller number starting from 1

2020-08-04 Thread Wasim Khan
Print pcie controller number starting from 1 Signed-off-by: Wasim Khan --- Changes in V2: - No Change drivers/pci/pcie_layerscape_ep.c | 4 +++- drivers/pci/pcie_layerscape_rc.c | 6 -- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/drivers/pci/pcie_layerscape_ep.c

[PATCH v2 00/12] Add label to pcie nodes

2020-08-04 Thread Wasim Khan
This patch series - Adds label to pcie nodes in dts file for NXP's layerscape SoCs - Print the pcie controller number starting from 1 to match RMs - Add checks for config resource size and fix indendation. Changes in V2: - Enable CONFIG_PCIE_LAYERSCAPE_GEN4 to make LX2160A-Rev1 work - Fix

[PATCH 1/1] cmd: exception: unaligned data access on RISC-V

2020-08-04 Thread Heinrich Schuchardt
The command 'exception' can be used to test the handling of exceptions. Currently the exception command only allows to create an illegal instruction exception on RISC-V. Provide a sub-command 'exception unaligned' to cause a misaligned load address exception. Adjust the online help for

Re: [PATCH 1/1] riscv: fix building with CONFIG_SPL_SMP=n

2020-08-04 Thread Heinrich Schuchardt
On 04.08.20 03:46, Bin Meng wrote: > On Tue, Aug 4, 2020 at 5:26 AM Heinrich Schuchardt wrote: >> >> Building with CONFIG_SPL_SMP=n results in: >> >> arch/riscv/lib/spl.c: In function ‘jump_to_image_no_args’: >> arch/riscv/lib/spl.c:33:6: >> error: unused variable ‘ret’ [-Werror=unused-variable]

[PATCH] ddr: socfpga: stratix10: Use phys_size_t for memory size

2020-08-04 Thread tien . fong . chee
From: Tien Fong Chee Replace with phys_size_t for better scalable. phys_size_t is defined in arch/arm/include/asm/types.h . Signed-off-by: Tien Fong Chee --- drivers/ddr/altera/sdram_s10.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/ddr/altera/sdram_s10.c

Re: [PATCH 1/4] firmware: add new driver for SCMI firmwares

2020-08-04 Thread Etienne Carriere
Hello Simon, Thanks for the feedback, I'll fix the changes in my v2. and sorry for these delayed answers. On Sun, 26 Jul 2020 at 16:55, Simon Glass wrote: > > Hi Etienne, > > On Fri, 17 Jul 2020 at 09:38, Etienne Carriere > wrote: > > > > This change introduces SCMI agent driver in U-Boot in

[PATCH 2/2] env/ext4.c: allow loading from an EXT4 partition on the MMC boot device

2020-08-04 Thread David Woodhouse
This parallels what I added for FAT in commit 6731bef6966, allowing the environment to be found in a specific partition on the device that the board's mmc_get_env_dev() returns. On the Banana Pi R2 that means the device that U-Boot was loaded from; either the internal eMMC or an SD card.

[PATCH 1/2] mmc: remove duplicate mmc_get_env_dev() implementations

2020-08-04 Thread David Woodhouse
Since it's so trivial I could just about tolerate this when there were only two copies of it. But now there are about to be three. Signed-off-by: David Woodhouse --- drivers/mmc/mmc.c | 9 + env/fat.c | 9 - env/mmc.c | 9 - 3 files changed, 9

[GIT PULL] Pull request: u-boot-imx u-boot-imx-20200804

2020-08-04 Thread Stefano Babic
/custodians/u-boot-imx.git tags/u-boot-imx-20200804 for you to fetch changes up to 3e980a2d8bd13d0d1c2d5cec9e57a47b6cff8b92: configs: pico-imx6: convert ethernet function to DM_ETH (2020-08-03 17:03:57 +0200) For 2020.10

[PATCH v3 6/6] mx6cuboxi: enable OF_PLATDATA

2020-08-04 Thread sbabic
> As both MMC and GPIO driver now supports OF_PLATDATA, enable it in > defconfig in order to reduce the SPL footprint. After applying this > setting the SPL reduction is 5 KB, which partially compensates the > increment due to DM. > Signed-off-by: Walter Lozano > Reviewed-by: Simon Glass Applied

Re: [PATCH 1/1] riscv: remove redundant logical constraint.

2020-08-04 Thread Rick Chen
> From: Heinrich Schuchardt [mailto:xypron.g...@gmx.de] > Sent: Tuesday, August 04, 2020 5:34 AM > To: Rick Jian-Zhi Chen(陳建志) > Cc: Anatolij Gustschin; Bin Meng; Sean Anderson; Simon Glass; Lukas Auer; > u-boot@lists.denx.de; Heinrich Schuchardt > Subject: [PATCH 1/1] riscv: remove redundant

[PATCH] imx8m: enlarge CONFIG_SYS_BOOTM_LEN

2020-08-04 Thread sbabic
> From: Peng Fan > Enlarge CONFIG_SYS_BOOTM_LEN when booting FIT image with AArch32 mode > Linux kernel. > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software

[PATCH v3 5/6] drivers: rename more drivers to match compatible string

2020-08-04 Thread sbabic
> Continuing with the approach in commit rename > additional drivers to allow the OF_PLATDATA support. > Signed-off-by: Walter Lozano > Reviewed-by: Simon Glass Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[PATCH v3 2/6] mmc: fsl_esdhc_imx: add OF_PLATDATA support

2020-08-04 Thread sbabic
> In order to reduce the footprint of SPL by removing dtb and library > overhead, add OF_PLATDATA support to fsl_esdhc_imx. This initial > approach does not support card detection, which will be enabled after > adding OF_PLATDATA support to GPIO. > Signed-off-by: Walter Lozano > Reviewed-by:

[PATCH v2] imx: Add MYiR Tech MYS-6ULX support

2020-08-04 Thread sbabic
> MYS-6ULX is single board computer (SBC) comes with eMMC or NAND based > on imx6ULL SoC from NXP and provision for expansion board. This > commit adds support only for SBC with NAND. > CPU: Freescale i.MX6ULL rev1.1 528 MHz (running at 396 MHz) > CPU: Commercial temperature grade (0C to 95C)

[PATCH v1] configs: pico-imx6: convert ethernet function to DM_ETH

2020-08-04 Thread sbabic
> From: Wig Cheng > Before enable _DM_ETH: > Net: FEC [PRIME] > After enable DM_ETH: > Net: eth0: ethernet@2188000 > Here is the test commands: > => dhcp > BOOTP broadcast 1 > DHCP client bound to address 10.88.88.152 (146 ms) > *** ERROR: `serverip' not set >

[PATCH v3 4/6] mmc: fsl_esdhc_imx: add CD support when OF_PLATDATA is enabled

2020-08-04 Thread sbabic
> After enabling OF_PLATDATA support to both MMC and GPIO drivers add the > support for card detection. > Signed-off-by: Walter Lozano > Reviewed-by: Simon Glass Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

  1   2   >