Re: [PATCH v2 06/21] configs: socfpga: Enable FIT image loading with ATF support

2020-02-20 Thread Marek Vasut
On 2/20/20 3:15 AM, Ang, Chee Hong wrote: >> On 2/19/20 1:25 PM, chee.hong@intel.com wrote: >>> From: Chee Hong Ang >>> >>> SPL now loads ATF (BL31), U-Boot proper and DTB from FIT image. The >>> new boot flow with ATF support is as follow: >>> >>> SPL -> ATF (BL31) -> U-Boot proper -> OS

Re: [PATCH v2 05/21] arm: socfpga: Override 'lowlevel_init' to support ATF

2020-02-20 Thread Marek Vasut
On 2/20/20 3:27 AM, Ang, Chee Hong wrote: >> On 2/19/20 1:25 PM, chee.hong@intel.com wrote: >> [...] >>> diff --git a/arch/arm/mach-socfpga/lowlevel_init.S >>> b/arch/arm/mach-socfpga/lowlevel_init.S >>> new file mode 100644 >>> index 000..68053a0 >>> --- /dev/null >>> +++

Re: [PATCH v2 09/21] arm: socfpga: Define SMC function identifiers for PSCI SiP services

2020-02-20 Thread Marek Vasut
On 2/20/20 2:42 AM, Ang, Chee Hong wrote: >> On 2/19/20 1:25 PM, chee.hong@intel.com wrote: >> [...] >>> +++ b/include/linux/intel-smc.h >>> @@ -0,0 +1,374 @@ >>> +/* SPDX-License-Identifier: GPL-2.0 */ >>> +/* >>> + * Copyright (C) 2017-2018, Intel Corporation >> >> 2020 ? > This file is new

Re: [PATCH v2 01/21] configs: agilex: Remove CONFIG_OF_EMBED

2020-02-20 Thread Marek Vasut
On 2/20/20 3:12 AM, Ang, Chee Hong wrote: >> On 2/19/20 1:25 PM, chee.hong@intel.com wrote: >>> From: Chee Hong Ang >>> >>> CONFIG_OF_EMBED was primarily enabled to support the agilex spl hex >>> file requirements. Since this option now produces a warning during >>> build, and the spl hex

Re: Please pull mmc mmc-2-20-2020

2020-02-20 Thread Tom Rini
On Thu, Feb 20, 2020 at 11:58:37AM +, Peng Fan wrote: > Hi Tom > > Please pull mmc-2-20-2020. > I redo CI with Masahiro's fix, and no issue. > Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 1/4] wdt: Add CONFIG_DESIGNWARE_WATCHDOG to Kconfig

2020-02-20 Thread Marek Vasut
On 2/19/20 10:37 PM, Sean Anderson wrote: > On 2/3/20 3:13 AM, Marek Vasut wrote: >> On 2/2/20 7:02 PM, Sean Anderson wrote: btw what's the motivation for this series, are you hitting some issues with the WDT on SoCFPGA ? >>> >>> This watchdog appears on the Kendryte K210 CPU, which I am

Re: [PATCH] env: ti: boot: Fix Android boot on AM57x EVM

2020-02-20 Thread Eugeniu Rosca
Hi Sam, On Wed, Feb 19, 2020 at 08:27:52PM +0200, Sam Protsenko wrote: > When applying DTBO on top of DTB (with "fdt apply" command) on AM57x EVM > board, there is not enough memory reserved in RAM for DTB blob. Hence, > DTBO can't be merged in DTB. It leads to inability to boot Android with >

Re: [PATCH 3/5] env/fat.c: remove private CMD_SAVEENV logic

2020-02-20 Thread Rasmus Villemoes
On 19/02/2020 14.27, Wolfgang Denk wrote: > Dear Rasmus, > > In message <20200219094726.26798-4-rasmus.villem...@prevas.dk> you wrote: >> Always compile the env_fat_save() function, and let >> CONFIG_IS_ENABLED(SAVEENV) (via the ENV_SAVE_PTR macro) decide whether >> it actually ends up being

Re: [PATCH v1] Revert "x86: use invd instead of wbinvd in real mode start code"

2020-02-20 Thread Bin Meng
On Tue, Feb 18, 2020 at 5:37 PM Andy Shevchenko wrote: > > On Tue, Feb 18, 2020 at 08:24:03AM +0800, Bin Meng wrote: > > On Mon, Feb 17, 2020 at 11:30 PM Andy Shevchenko > > wrote: > > > > > > This reverts commit 0d67fac29f3187e67f4fd3ef15f73e91be2fad12. > > > > > > As real hardware testing (*)

Re: [PATCH 1/1] x86: remove dead code in intel_clk_get_rate()

2020-02-20 Thread Bin Meng
On Sun, Feb 16, 2020 at 4:22 AM Heinrich Schuchardt wrote: > > If all branches of a switch statement have a return instruction, all > subsequent lines are unreachable. > > Identified with cppcheck. > > Signed-off-by: Heinrich Schuchardt > --- > drivers/clk/intel/clk_intel.c | 4 > 1 file

Re: [PATCH v5 0/6] doc: board: toradex reST documentation

2020-02-20 Thread Bin Meng
On Wed, Feb 12, 2020 at 11:14 PM Igor Opaniuk wrote: > > This patch-series adds/converts existing README files for Toradex modules > to reStructureFormat. > > To verify please run: > $ make htmldocs > > v5: > - Fixed markup for headers [Bin Meng] > - Applied R-b tag for colibri_imx7.rst [Bin

[PATCH 3/3] brcmnand: drop arch specific nand controller

2020-02-20 Thread Nicolas Heemeryck
Use instead the unified bcmbca controller. Signed-off-by: Nicolas Heemeryck Cc: Philippe Reynes --- drivers/mtd/nand/raw/Kconfig | 18 --- drivers/mtd/nand/raw/brcmnand/Makefile| 3 - drivers/mtd/nand/raw/brcmnand/bcm63158_nand.c | 124 --

[PATCH 1/3] nand: brcmnand: add bcmbca support

2020-02-20 Thread Nicolas Heemeryck
Almost all Broadcom BCA (Broadband Carrier Access) platforms based on ARM use the same nand controller. So rather than adding a bcm6xxx_nand.c per Broadcom SoC, use a unified nand controller based on the existing one and selectable through NAND_BRCMNAND_BCMBCA. The bcmbca controller should

[PATCH 0/3] Unified Broadcom NAND controller for ARM

2020-02-20 Thread Nicolas Heemeryck
This serie of patches attempts to merge all Broadcom nand controllers into one. It will avoid code duplication. Cc: Phillipe Reynes Nicolas Heemeryck (3): nand: brcmnand: add bcmbca support configs: use unified bcmbca nand controller brcmnand: drop arch specific nand controller

[PATCH 2/3] configs: use unified bcmbca nand controller

2020-02-20 Thread Nicolas Heemeryck
Signed-off-by: Nicolas Heemeryck Cc: Philippe Reynes --- configs/bcm963158_ram_defconfig | 2 +- configs/bcm968360bg_ram_defconfig | 2 +- configs/bcm968580xref_ram_defconfig | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/configs/bcm963158_ram_defconfig

Re: [PATCH v5 4/6] doc: board: colibri-imx8x: convert readme to reST

2020-02-20 Thread Bin Meng
On Wed, Feb 12, 2020 at 11:14 PM Igor Opaniuk wrote: > > From: Igor Opaniuk > > Convert README to reStructuredText format. > > Signed-off-by: Igor Opaniuk > --- > > board/toradex/colibri-imx8x/README | 66 --- > doc/board/toradex/colibri-imx8x.rst | 82

Re: [PATCH v5 3/6] doc: board: apalis-imx8: convert readme to reST

2020-02-20 Thread Bin Meng
On Wed, Feb 12, 2020 at 11:14 PM Igor Opaniuk wrote: > > From: Igor Opaniuk > > Convert README to reStructuredText format. > > Signed-off-by: Igor Opaniuk > --- > > board/toradex/apalis-imx8/README | 66 - > doc/board/toradex/apalix-imx8.rst | 82

Re: Please pull mmc mmc-2-19-2020

2020-02-20 Thread Tom Rini
On Thu, Feb 20, 2020 at 06:52:18AM +, Peng Fan wrote: > > Subject: Re: Please pull mmc mmc-2-19-2020 > > > > Hi Peng, > > > > On Thu, Feb 20, 2020 at 1:34 PM Tom Rini wrote: > > > > > > On Thu, Feb 20, 2020 at 01:56:41AM +, Peng Fan wrote: > > > > > > > Hi Tom > > > > > > > > Please

Re: [PATCH v5 1/6] doc: board: toradex: add colibri_imx7.rst

2020-02-20 Thread Bin Meng
On Wed, Feb 12, 2020 at 11:14 PM Igor Opaniuk wrote: > > From: Igor Opaniuk > > - add initial index for toradex boards reST documentation > - add initial colibri_imx7.rst doc file which provides all needed > information for obtaining a workable image ready for flashing > for both eMMC/NAND

Re: [PATCH v5 2/6] doc: board: verdin-imx8mm: convert readme to reST

2020-02-20 Thread Bin Meng
On Wed, Feb 12, 2020 at 11:14 PM Igor Opaniuk wrote: > > From: Igor Opaniuk > > Convert README to reStructuredText format. > > Signed-off-by: Igor Opaniuk > --- > > board/toradex/verdin-imx8mm/README | 88 -- > doc/board/toradex/index.rst | 1 + >

[PATCH 1/1] armv8: ls1028a: Update secure boot headers offset

2020-02-20 Thread Priyanka Singh
Update the secure boot headers offsets of Kernel and other firmware images for SD and XSPI boot sources used by esbc_validate command. Signed-off-by: Priyanka Singh --- include/configs/ls1028a_common.h | 8 include/configs/ls1028aqds.h | 6 +++--- 2 files changed, 7

[PATCH 1/1] configs: ls1012ardb: secure boot: Add PFE config

2020-02-20 Thread Priyanka Singh
Add config to enable the PFE, ETH and MMC HS200 support. Also change the pfe secure boot header address. Signed-off-by: Priyanka Singh --- board/freescale/ls1012ardb/Kconfig | 2 +- configs/ls1012ardb_tfa_SECURE_BOOT_defconfig | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-)

Re: [PATCH v5 5/6] toradex: MAINTAINERS: entries for new reST docs

2020-02-20 Thread Bin Meng
On Wed, Feb 12, 2020 at 11:14 PM Igor Opaniuk wrote: > > From: Igor Opaniuk > > Add entries for the newly created documentation files in reST > format. > > Signed-off-by: Igor Opaniuk > --- > > board/toradex/apalis-imx8/MAINTAINERS | 1 + > board/toradex/colibri-imx8x/MAINTAINERS | 1 + >

Re: [PATCH v5 6/6] doc: board: add rockchip subfolder

2020-02-20 Thread Bin Meng
On Wed, Feb 12, 2020 at 11:14 PM Igor Opaniuk wrote: > > From: Igor Opaniuk > > This fixes a warning when invoking make htmldocs: > checking consistency... > doc/board/rockchip/index.rst: WARNING: document isn't included in any toctree > > Signed-off-by: Igor Opaniuk > Reviewed-by: Heinrich

Re: [PATCH] x86: Correct error return value in mrccache_get_region()

2020-02-20 Thread Bin Meng
On Mon, Feb 3, 2020 at 8:44 AM Bin Meng wrote: > > On Mon, Feb 3, 2020 at 4:37 AM Simon Glass wrote: > > > > This function doesn't use uclass_find_first_device() correctly. Add a > > check that the device is found so we don't try to read properties from a > > NULL device. > > > > The fixes

Re: spi_flash_read issue

2020-02-20 Thread Fabio Estevam
On Thu, Feb 20, 2020 at 8:57 AM dvo wrote: > > Hello, > > I encounter an issue with spi_flash_read function. I'd copy uboot from SPI > Flash to DDRAM. If I use the function once. It works OK. If I use the > function is more than 1 time, then it doesn't work properly. > Here is the procedure of

Re: [PATCH 1/2] rockchip: elgin-rv1108: Use syscon API to get grf base

2020-02-20 Thread Otavio Salvador
On Thu, Feb 20, 2020 at 12:05 AM Simon Glass wrote: > > On Tue, 18 Feb 2020 at 18:46, Kever Yang wrote: > > > > Use syscon API to get grf base instead of get from dts. > > > > Signed-off-by: Kever Yang > > --- > > > > board/elgin/elgin_rv1108/elgin_rv1108.c | 7 +++ > > 1 file changed, 3

Please pull mmc mmc-2-20-2020

2020-02-20 Thread Peng Fan
Hi Tom Please pull mmc-2-20-2020. I redo CI with Masahiro's fix, and no issue. sdhci: code clean-up and fix cache coherency problem enable cache snooping on mpc830x Fix build error when MMC_WRITE disabled CI:

[PATCH] cmd: Add unlz4 command

2020-02-20 Thread Yusuke Ashiduka
This command is a new command called "unlz4" that decompresses from memory into memory. Used with the CONFIG_CMD_UNLZ4 optionenabled. Signed-off-by: Yusuke Ashiduka --- cmd/Kconfig | 7 +++ cmd/Makefile | 1 + cmd/unlz4.c | 45 + 3 files

spi_flash_read issue

2020-02-20 Thread dvo
Hello, I encounter an issue with spi_flash_read function. I'd copy uboot from SPI Flash to DDRAM. If I use the function once. It works OK. If I use the function is more than 1 time, then it doesn't work properly. Here is the procedure of what I did: uboot version: U-Boot

Re: [PATCH] image.h: use uint32_t instead of u32 in android_image_get_dtb*

2020-02-20 Thread Sam Protsenko
Hi Eugeniu, On Mon, Feb 17, 2020 at 12:24 PM Eugeniu Rosca wrote: > > Replace 'u32' by 'uint32_t' in image.h, since the former may lead to > build failures in U-Boot tooling (see [1]). > > Avoid using 'uint', since it is not a fixed-width type [2], potentially > leading to a dangerous mismatch

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

2020-02-20 Thread Michal Simek
On 20. 02. 20 10:52, Michael Walle wrote: > Hi Michal, > > Am 2020-02-20 09:30, schrieb Michal Simek: >> On 03. 02. 20 18:11, Michael Walle wrote: >>> If there are aliases for an uclass, set the base for the "dynamically" >>> allocated numbers next to the highest alias. >>> >>> Please note, that

RE: [EXT] Re: [Patch v4 0/7] Transition of fsl qspi driver to spi-mem framework

2020-02-20 Thread Kuldeep Singh
Hi, > -Original Message- > From: U-Boot On Behalf Of Kuldeep Singh > Sent: Tuesday, February 4, 2020 1:09 PM > To: Jagan Teki ; U-Boot-Denx b...@lists.denx.de>; Priyanka Jain ; Joe > Hershberger > Cc: Stefan Roese > Subject: RE: [EXT] Re: [Patch v4 0/7] Transition of fsl qspi driver

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

2020-02-20 Thread Michael Walle
Hi Michal, Am 2020-02-20 09:30, schrieb Michal Simek: On 03. 02. 20 18:11, Michael Walle wrote: If there are aliases for an uclass, set the base for the "dynamically" allocated numbers next to the highest alias. Please note, that this might lead to holes in the sequences, depending on the

[PATCH] bootcounter: add DM support for memory based bootcounter

2020-02-20 Thread Heiko Schocher
add DM/DTS support for the memory based bootcounter in drivers/bootcount/bootcount.c. Let the old implementation in, so boards which have not yet convert to DM/DTS do not break. Signed-off-by: Heiko Schocher --- Travis build: https://travis-ci.org/hsdenx/u-boot-test/builds/652839618

Re: [PATCH v2 00/10] net: ti: icssg: Add prueth support

2020-02-20 Thread Keerthy
On 18/02/20 10:39 am, Keerthy wrote: The series adds support for icssg_prueth functionality on u-boot. This series is based on top of master branch. rproc init needs to be done from uboot command prompt. The pru/rtu firmware loading is done by prueth driver soon after config paramters are

RE: [EXT] Re: [Patch v4 4/7] imx: imx6sx: Remove unused 'num-cs' property

2020-02-20 Thread Kuldeep Singh
Hi Fabio, > -Original Message- > From: Fabio Estevam > Sent: Wednesday, February 19, 2020 6:31 PM > To: Priyanka Jain (OSS) > Cc: Kuldeep Singh ; u-boot@lists.denx.de; > Stefano Babic ; s...@denx.de > Subject: [EXT] Re: [Patch v4 4/7] imx: imx6sx: Remove unused 'num-cs' > property > >

Re: [PATCH 1/4 v5] watchdog: Implement generic watchdog_reset() version

2020-02-20 Thread Stefan Roese
On 20.02.20 08:43, Rasmus Villemoes wrote: On 20/02/2020 07.43, Stefan Roese wrote: On 20.02.20 07:38, Christophe Leroy wrote: +void watchdog_reset(void) +{ +    static ulong next_reset; +    ulong now; + +    /* Exit if GD is not ready or watchdog is not initialized yet */ +    if (!gd ||

Re: [PATCH] watchdog: mpc8xx: Revert the 8xx watchdog back to CONFIG_HW_WATCHDOG

2020-02-20 Thread Stefan Roese
On 20.02.20 08:39, Christophe Leroy wrote: Commit f3729ba6e7b2 ("watchdog: mpc8xx_wdt: Watchdog driver and macros cleanup") switched the watchdog to CONFIG_WATCHDOG. But this is not compatible with the 8xx because it starts the watchdog HW timer at reset and must be serviced from the very

Re: [PATCH 06/10] usb: host: dwc3-sti-glue: Migrate to use ofnode API

2020-02-20 Thread Patrice CHOTARD
Hi Kever On 2/19/20 2:54 AM, Kever Yang wrote: > Use ofnode_ instead of fdt_ or fdtdec_ APIs so that the driver can support > live DT. > > Signed-off-by: Kever Yang > --- > > drivers/usb/host/dwc3-sti-glue.c | 22 -- > 1 file changed, 8 insertions(+), 14 deletions(-) > >

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

2020-02-20 Thread Michal Simek
On 03. 02. 20 18:11, Michael Walle wrote: > If there are aliases for an uclass, set the base for the "dynamically" > allocated numbers next to the highest alias. > > Please note, that this might lead to holes in the sequences, depending > on the device tree. For example if there is only an alias

Re: Unwanted change in Kconfig for mpc8xx_wdt watchdog ?

2020-02-20 Thread Patrice CHOTARD
Hi Christophe On 2/19/20 8:10 PM, Christophe Leroy wrote: > Hello Patrice, > > > In commit b3134ffbd9 ("watchdog: Kconfig: Sort entry alphabetically") you > bring back the line "select CONFIG_MPC8xx_WATCHDOG" removed by Stefan in > commit f3729ba6e7 ("watchdog: mpc8xx_wdt: Watchdog driver and

Re: [PATCH] net: phy: dp83867: Do not check sgmii if rgmii is already used

2020-02-20 Thread Michal Simek
On 19. 02. 20 17:36, Grygorii Strashko wrote: > > > On 13/02/2020 18:05, Michal Simek wrote: >> On 13. 02. 20 16:49, Grygorii Strashko wrote: >>> >>> >>> On 13/02/2020 08:23, Michal Simek wrote: On 12. 02. 20 21:24, Grygorii Strashko wrote: > > > On 11/02/2020 10:11, Michal

<    1   2