RE: [EXT] Re: [Patch v3 1/7] spi: Transform the FSL QuadSPI driver to use the SPI MEM API

2020-01-10 Thread Kuldeep Singh
> -Original Message- > From: Schrempf Frieder > Sent: Tuesday, January 7, 2020 4:39 PM > To: Kuldeep Singh ; u-boot@lists.denx.de; > ja...@amarulasolutions.com; Vignesh R ; Jagan Teki > > Cc: Priyanka Jain ; Ashish Kumar > ; Stefan Roese > Subject: [EXT] Re: [Patch v3 1/7] spi: Transfo

Re: [GITLAB CI RUNNER PATCH] Dockerfile: Use latest QEMU v4.2.0 version

2020-01-10 Thread Tom Rini
On Mon, Jan 06, 2020 at 09:55:13AM +0100, Michal Simek wrote: > Use the latest QEMU v4.2 version which contain some fixes for Xilinx Versal > platform. > > Signed-off-by: Michal Simek Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH] gitlab/azure: Update to latest container

2020-01-10 Thread Tom Rini
On Fri, Jan 10, 2020 at 08:59:14PM -0500, Tom Rini wrote: > - Updated base snapshot > - QEMU v4.2.0 > > Signed-off-by: Tom Rini This has been tested on both GitLab and Azure: https://gitlab.denx.de/u-boot/u-boot/pipelines/1833 https://dev.azure.com/u-boot/u-boot/_build/results?buildId=184&view=

[PATCH] gitlab/azure: Update to latest container

2020-01-10 Thread Tom Rini
- Updated base snapshot - QEMU v4.2.0 Signed-off-by: Tom Rini --- .azure-pipelines.yml | 2 +- .gitlab-ci.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml index cad8eea87bc4..3b7744ce3c38 100644 --- a/.azure-pipelines.ym

Re: [PATCH 3/3] cmd: adtimg: Refactor usage style

2020-01-10 Thread Eugeniu Rosca
Hi Tom, On Fri, Jan 10, 2020 at 04:50:52PM -0500, Tom Rini wrote: > On Tue, Dec 24, 2019 at 05:51:08PM +0100, Eugeniu Rosca wrote: > > Signed-off-by: Eugeniu Rosca > > Reviewed-by: Sam Protsenko > > Applied to u-boot/master, thanks! Thanks for merging! -- Best Regards, Eugeniu

[PATCH v4 0/5] FSL/Layerscape gen 3: export serdes cfg to env

2020-01-10 Thread Alex Marginean
Exports the serdes configuration as an environment variable for LS gen 3 SoCs, so it can be used in u-boot command line. It should particularly be useful for applying Linux DT overlays for the given serdes configuration. First 4 patches free up arch_misc_init, which is now implemented in arch/arm/

[PATCH v4 1/5] board: fsl: lx2160a: free up arch_misc_init

2020-01-10 Thread Alex Marginean
Currently LX2 board code uses arch_misc_init to set up the board mux on RDB and QDS. Move this code to misc_init_r. This is consistent with LS gen 2 and T series SoCs/boards. Signed-off-by: Alex Marginean --- arch/arm/Kconfig | 2 -- board/freescale/lx2160a/lx2160a.

[PATCH v4 5/5] arch: armv8: fsl-layerscape: export serdes config to environment

2020-01-10 Thread Alex Marginean
Exports the serdes configuration as an environment variable for LS gen 3 SoCs, so it can be used in u-boot command line. It should particularly be useful for applying Linux DT overlays for the given serdes configuration. This code is called from arch_misc_init and not from the existing serdes_init

[PATCH v4 4/5] board: fsl: ls1028a: free up arch_misc_init

2020-01-10 Thread Alex Marginean
Currently LS1028A board code uses arch_misc_init to set up the board mux on QDS. Move this code to misc_init_r. This is consistent with LS gen 2 and T series SoCs/boards. Signed-off-by: Alex Marginean --- arch/arm/Kconfig | 1 - board/freescale/ls1028a/ls1028a.c

[PATCH v4 3/5] board: fsl: ls1088a: remove empty arch_misc_init

2020-01-10 Thread Alex Marginean
The arch_misc_init function is empty on LS108x SoCs/boards, remove it. Signed-off-by: Alex Marginean --- arch/arm/Kconfig | 2 -- board/freescale/ls1088a/ls1088a.c | 7 --- 2 files changed, 9 deletions(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 38bf420feb..82

[PATCH v4 2/5] board: fsl: ls2080a/ls2081a: remove empty arch_misc_init

2020-01-10 Thread Alex Marginean
The arch_misc_init function is empty on LS2 SoCs/boards, remove it. Signed-off-by: Alex Marginean --- arch/arm/Kconfig| 5 - board/freescale/ls2080a/ls2080a.c | 7 --- board/freescale/ls2080aqds/ls2080aqds.c | 7 --- board/freescale/ls2080ardb/ls2080ardb

[PATCH v3 5/5] arch: armv8: fsl-layerscape: export serdes config to environment

2020-01-10 Thread Alex Marginean
Exports the serdes configuration as an environment variable for LS gen 3 SoCs, so it can be used in u-boot command line. It should particularly be useful for applying Linux DT overlays for the given serdes configuration. This code is called from arch_misc_init and not from the existing serdes_init

[PATCH v3 4/5] board: fsl: ls1028a: free up arch_misc_init

2020-01-10 Thread Alex Marginean
Currently LS1028A board code uses arch_misc_init to set up the board mux on QDS. Move this code to misc_init_r. This is consistent with LS gen 2 and T series SoCs/boards. Signed-off-by: Alex Marginean --- arch/arm/Kconfig | 1 - board/freescale/ls1028a/ls1028a.c

[PATCH v3 2/5] board: fsl: ls2080a/ls2081a: remove empty arch_misc_init

2020-01-10 Thread Alex Marginean
The arch_misc_init function is empty on LS2 SoCs/boards, remove it. Signed-off-by: Alex Marginean --- arch/arm/Kconfig| 5 - board/freescale/ls2080a/ls2080a.c | 7 --- board/freescale/ls2080aqds/ls2080aqds.c | 7 --- board/freescale/ls2080ardb/ls2080ardb

[PATCH v3 3/5] board: fsl: ls1088a: remove empty arch_misc_init

2020-01-10 Thread Alex Marginean
The arch_misc_init function is empty on LS108x SoCs/boards, remove it. Signed-off-by: Alex Marginean --- arch/arm/Kconfig | 2 -- board/freescale/ls1088a/ls1088a.c | 7 --- 2 files changed, 9 deletions(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 38bf420feb..82

[PATCH v3 1/5] board: fsl: lx2160a: free up arch_misc_init

2020-01-10 Thread Alex Marginean
Currently LX2 board code uses arch_misc_init to set up the board mux on RDB and QDS. Move this code to misc_init_r. This is consistent with LS gen 2 and T series SoCs/boards. Signed-off-by: Alex Marginean --- arch/arm/Kconfig | 2 -- board/freescale/lx2160a/lx2160a.

[PATCH v3 0/5] FSL/Layerscape gen 3: export serdes cfg to env

2020-01-10 Thread Alex Marginean
Exports the serdes configuration as an environment variable for LS gen 3 SoCs, so it can be used in u-boot command line. It should particularly be useful for applying Linux DT overlays for the given serdes configuration. First 4 patches free up arch_misc_init, which is now implemented in arch/arm/

Re: [U-Boot] [PATCH 2/9] m68k: add fec fdt overrides to all boards

2020-01-10 Thread Tom Rini
On Fri, Nov 15, 2019 at 11:54:13PM +0100, Angelo Dureghello wrote: > From: Angelo Durgehello > > Add ethernet controller overrides for all involved boards. > > Signed-off-by: Angelo Durgehello Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

[PATCH v2] armv8: ls1028a_serdes: add a few missing serdes protocols to supported list

2020-01-10 Thread Alex Marginean
These protocols are supported and functional but they trigger a warning in U-Boot console at boot because they are not on this list. Signed-off-by: Alex Marginean --- Changes in v2: - added one more, 65bb - changed subject This patch replaces v1: https://patchwork.ozlabs.org/patch/1220248/

Re: [U-Boot] [PATCH] spl: fix entry_point equal to load_addr

2020-01-10 Thread Tom Rini
On Fri, Jan 10, 2020 at 03:57:47PM +0100, Giulio Benetti wrote: > Hi All, > > On 12/7/19 10:28 PM, Simon Goldschmidt wrote: > > Hi Tom, > > > > On Fri, Dec 6, 2019 at 3:55 PM Tom Rini wrote: > > > > > > On Fri, Dec 06, 2019 at 03:05:55PM +0100, Simon Goldschmidt wrote: > > > > On Fri, Dec 6, 20

Re: [PATCH] test/cmd_ut.c: fix cmd_ut_category

2020-01-10 Thread Tom Rini
On Thu, Jan 09, 2020 at 05:34:02PM +0100, Philippe Reynes wrote: > In the function cmd_ut_category, the prefix is used with > the function strncmp to know if the prefix should be > removed from the test name, even if the prefix is NULL. > > To avoid this issue, we consider that a prefix NULL > me

Re: [PATCH 1/3] dtimg/am57xx_evm_defconfig: Rename dtimg to adtimg

2020-01-10 Thread Tom Rini
On Tue, Dec 24, 2019 at 05:51:06PM +0100, Eugeniu Rosca wrote: > Rename the existing 'dtimg' command to 'adtimg', in order to: > - Suggest the Android origins and scope > - Be consistent with the upcoming 'abootimg' command (naming >suggested by Simon [*]) > > The change in _not_ backward c

Re: [PATCH 1/1] virtio: fix typo devicd

2020-01-10 Thread Tom Rini
On Tue, Dec 24, 2019 at 12:21:09PM +0100, Heinrich Schuchardt wrote: > %s/devicd/device > > Signed-off-by: Heinrich Schuchardt > Reviewed-by: Bin Meng Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH v2 1/1] arch: arm: Program GIC LPI configuration table

2020-01-10 Thread Tom Rini
On Mon, Dec 16, 2019 at 09:09:43AM -0800, Vladimir Olovyannikov wrote: > From: Bharat Kumar Reddy Gooty > > Programs the following: > 1. Redistributor PROCBASER configuration table (which > is common for all redistributors) > 2. Redistributor pending table (PENDBASER), for all the > available re

Re: [PATCH 3/3] cmd: adtimg: Refactor usage style

2020-01-10 Thread Tom Rini
On Tue, Dec 24, 2019 at 05:51:08PM +0100, Eugeniu Rosca wrote: > Trying to extend 'adtimg' functionality [1], we've been severely hit > by a major limitation in the command's usage scheme. Specifically, the > command's user interface appears to be too centric to getting the > DTB/DTBO entry [3] ba

Re: [PATCH 2/3] cmd: adtimg: Rename internal symbols

2020-01-10 Thread Tom Rini
On Tue, Dec 24, 2019 at 05:51:07PM +0100, Eugeniu Rosca wrote: > With 'dtimg.c' renamed to 'adtimg.c', now ensure the naming > consistency in the internal implementation of 'adtimg.c'. > > No functional change intended. > > Signed-off-by: Eugeniu Rosca > Reviewed-by: Sam Protsenko > Reviewed-b

Re: [PATCH] cmd/eeprom.c: prepend 0x to hex numbers in output message format

2020-01-10 Thread Tom Rini
On Wed, Dec 11, 2019 at 11:18:29AM +, Rasmus Villemoes wrote: > From: "Klaus H. Sorensen" > > If the numbers do not happen to contain any digits from [a-f], it's > not clear that they are base 16. > > Signed-off-by: Klaus H. Sorensen > Signed-off-by: Rasmus Villemoes > Reviewed-by: Lukasz

Re: [U-Boot] [PATCH 3/4] arm/km: remove board KMCOGE3UN

2020-01-10 Thread Tom Rini
On Mon, Nov 25, 2019 at 05:24:15PM +0100, Holger Brunck wrote: > This target is out of maintenance and can be removed. > > Signed-off-by: Holger Brunck > CC: Stefan Roese > CC: Valentin Longchamp > Reviewed-by: Stefan Roese Applied to u-boot/master, thanks! -- Tom signature.asc Descripti

Re: [U-Boot] [PATCH 2/4] km/boards: add MAC address offset as argument to ivm_populate_env

2020-01-10 Thread Tom Rini
On Mon, Nov 25, 2019 at 05:24:14PM +0100, Holger Brunck wrote: > For upcoming SECU board we have different MAC address offsets depending > on which functional unit we are running. In this case we need to pass > this value to the ivm_populate_env function instead of using the hard > coded config op

Re: [U-Boot] [PATCH v1] gcc-9: silence 'address-of-packed-member' warning

2020-01-10 Thread Tom Rini
On Fri, Nov 29, 2019 at 07:47:59PM +0200, Andy Shevchenko wrote: > GCC 9.x starts complaining about potential misalignment of the pointer to > the array (in this case alignment=2) in the packed (alignment=1) structures. > > Repeating Linus' Torvalds commit 6f303d60534c in the Linux kernel. > > O

Re: [PATCH 1/1] mkimage: simplify fit_check_params()

2020-01-10 Thread Tom Rini
On Wed, Dec 11, 2019 at 01:51:38PM +0100, Heinrich Schuchardt wrote: > fit_check_params() wants at least two of dflag, fflag, and lflag set. > > Simplify the logical constraint checking this. > > Signed-off-by: Heinrich Schuchardt Applied to u-boot/master, thanks! -- Tom signature.asc Desc

Re: [U-Boot] [PATCH 4/4] boards/km_arm: enable support for Macronix SPI NOR flash

2020-01-10 Thread Tom Rini
On Mon, Nov 25, 2019 at 05:24:16PM +0100, Holger Brunck wrote: > The M25P80 and M25P32 SPI flashes from Numonix/Micron > will be replaced by Marconix MX25L80 and MX25L32 flashes. > > Signed-off-by: Holger Brunck > CC: Stefan Roese > CC: Valentin Longchamp > Reviewed-by: Stefan Roese Applied

Re: [U-Boot] [PATCH] poweroff: add poweroff for mt6323 pmic

2020-01-10 Thread Tom Rini
On Fri, Nov 22, 2019 at 03:32:24PM +0100, Frank Wunderlich wrote: > this adds poweroff to bananapi r2 / mt7623 / mt6323 pmic > > Signed-off-by: Frank Wunderlich Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [PATCH 1/1] arm: cpu: armv8: add support for arm psci reset2.

2020-01-10 Thread Tom Rini
On Fri, Nov 22, 2019 at 02:50:01PM -0800, Vladimir Olovyannikov wrote: > From: Rajesh Ravi > > Current U-Boot has only support for psci reset. > Adding support for arm psci reset2 allows passing of reset level > and other platform sepcific parameters like strap settings > to lowlevel psci implem

Re: [U-Boot] [PATCH 9/9] drivers: mcfmii: add dm support

2020-01-10 Thread Tom Rini
On Fri, Nov 15, 2019 at 11:54:20PM +0100, Angelo Dureghello wrote: > From: Angelo Durgehello > > Add specific dm code, but maintaining this driver as is, so more in the > shape of a mii library. Can be moved to dm in a further step. > > Signed-off-by: Angelo Durgehello Applied to u-boot/maste

Re: [U-Boot] [PATCH 1/4] km/boards: fix typo for MAC address offset config option

2020-01-10 Thread Tom Rini
On Mon, Nov 25, 2019 at 05:24:13PM +0100, Holger Brunck wrote: > This patch only fixes a typo. > > Signed-off-by: Holger Brunck > CC: Stefan Roese > CC: Valentin Longchamp > Reviewed-by: Stefan Roese Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [PATCH 8/9] drivers: fsl_mcdmafec: conversion to dm

2020-01-10 Thread Tom Rini
On Fri, Nov 15, 2019 at 11:54:19PM +0100, Angelo Dureghello wrote: > From: Angelo Durgehello > > Full conversion to dm for all boards, legacy code removed. > > Signed-off-by: Angelo Durgehello Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [PATCH 5/9] m68k: add dm fec support

2020-01-10 Thread Tom Rini
On Fri, Nov 15, 2019 at 11:54:16PM +0100, Angelo Dureghello wrote: > From: Angelo Durgehello > > Add architecture-related code for dm fec support. > > Signed-off-by: Angelo Durgehello Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [PATCH 6/9] drivers: net: add mcf fec dm Kconfig support

2020-01-10 Thread Tom Rini
On Fri, Nov 15, 2019 at 11:54:17PM +0100, Angelo Dureghello wrote: > From: Angelo Durgehello > > Add ColdFire fec to Kconfig. > > Signed-off-by: Angelo Durgehello Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [PATCH 4/9] configs: purge unneeded fec defines

2020-01-10 Thread Tom Rini
On Fri, Nov 15, 2019 at 11:54:15PM +0100, Angelo Dureghello wrote: > From: Angelo Durgehello > > Remove unneeded fec-related defines after fec moved as dm. > > Signed-off-by: Angelo Durgehello Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [PATCH 7/9] drivers: mcffec: conversion to dm

2020-01-10 Thread Tom Rini
On Fri, Nov 15, 2019 at 11:54:18PM +0100, Angelo Dureghello wrote: > From: Angelo Durgehello > > Full conversion to dm for all boards, legacy code removed. > > Signed-off-by: Angelo Durgehello Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [PATCH] spl: fix stack usage check if gd is not initialized

2020-01-10 Thread Tom Rini
On Mon, Nov 11, 2019 at 10:30:46PM +0100, Simon Goldschmidt wrote: > Most platforms do not set up gd->start_addr_sp in SPL. Since this is > required for CONFIG_SPL_SYS_REPORT_SACK_F_USAGE to work correctly, set > up gd->start_addr_sp in SPL to the value passed to > board_init_f_init_reserve if it

Re: [U-Boot] [PATCH 3/9] configs: add eth dm support for all ColdFire boards

2020-01-10 Thread Tom Rini
On Fri, Nov 15, 2019 at 11:54:14PM +0100, Angelo Dureghello wrote: > From: Angelo Durgehello > > Add dm eth config options for all involved ColdFire-based boards. > > Signed-off-by: Angelo Durgehello Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [PATCH] m68k: Drop CONFIG_MCFPIT support

2020-01-10 Thread Tom Rini
On Mon, Nov 11, 2019 at 09:39:11AM -0500, Tom Rini wrote: > All platforms currently use the "MCFTMR" DMA timer rather than the PIT > timer, so drop the MCFPIT code. > > Cc: Huan Wang > Cc: Angelo Dureghello > Cc: TsiChung Liew > Cc: Wolfgang Wegner > Signed-off-by: Tom Rini > Reviewed-by: An

Re: [U-Boot] [PATCH 1/9] m68k: add fec base node to devicetrees

2020-01-10 Thread Tom Rini
On Fri, Nov 15, 2019 at 11:54:12PM +0100, Angelo Dureghello wrote: > From: Angelo Durgehello > > Add basic ethernet controller devicetree nodes for all ColdFire > families. > > Signed-off-by: Angelo Durgehello Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signatu

Re: [U-Boot] [PATCH] rtc: add support for DS3232 device

2020-01-10 Thread Tom Rini
On Tue, Nov 12, 2019 at 08:39:38AM +, Han Nandor wrote: > DS3232 is an i2c RTC with 236 bytes of battery-backed SRAM. > > Add an RTC driver for DS3232 device, which provides time and > date support. Also read and write functions are provided, > which can be used to access the SRAM memory. >

Re: [U-Boot] [PATCH] bootcount: add a DM i2c eeprom backing store for bootcount

2020-01-10 Thread Tom Rini
On Mon, Oct 28, 2019 at 06:44:06PM +, Robert Beckett wrote: > This driver allows the use of i2c eeprom device or partition as backing > store for boot counter values with DM enabled. > > Signed-off-by: Robert Beckett Applied to u-boot/master, thanks! -- Tom signature.asc Description: PG

Re: [U-Boot] [PATCH] ARM: reset: use do_reset in SPL/TPL if SYSRESET was not enabled for them

2020-01-10 Thread Tom Rini
On Thu, Nov 28, 2019 at 09:56:47AM +0100, Claudius Heine wrote: > In case CONFIG_SYSRESET is set, do_reset from reset.c will not be available > anywere, even if SYSRESET is disabled for SPL/TPL. > > 'do_reset' is called from SPL for instance from the panic handler and > PANIC_HANG is not set > >

[PATCH] drivers: net: fsl_enetc: fix SXGMII MAC configuration

2020-01-10 Thread Alex Marginean
Separate MAC and serdes configuration, MAC configuration must be applied at each enetc_start() as FLR clears it. This restores traffic for ENETC interfaces in USXGMII mode. Signed-off-by: Alex Marginean --- drivers/net/fsl_enetc.c | 36 +--- 1 file changed, 25 ins

[PATCH 1/1] efi_loader: describe returning of control

2020-01-10 Thread Heinrich Schuchardt
Provide a sober description of how control can be returned by a UEFI binary. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_boottime.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/efi_loader/efi_boottime.c b/lib/efi_loader/efi_boottime.c index fad2bd

Re: [PATCH 1/2] dts: add property removal option CONFIG_OF_REMOVE_PROPS

2020-01-10 Thread Tom Rini
On Sat, Jan 11, 2020 at 04:13:02AM +0900, Masahiro Yamada wrote: > Hi Tom, > > On Sat, Jan 11, 2020 at 1:39 AM Tom Rini wrote: > > > > quiet_cmd_shipped = SHIPPED $@ > > > -cmd_shipped = cat $< > $@ > > > +cmd_shipped = cat $< | $(objtree)/tools/fdtgrep -r -O dtb - -o $@\ > > > +

Re: [PATCH v5] reset: socfpga: Poll for reset status after deassert reset

2020-01-10 Thread Marek Vasut
On 1/10/20 6:48 AM, Ley Foon Tan wrote: > In Cyclone 5 SoC platform, the first USB probing is failed but second > probing is success. DWC2 USB driver read gsnpsid register right after > de-assert reset, but controller is not ready yet and it returns gsnpsid 0. > Polling reset status after de-assert

[U-Boot] [PATCH v2 6/6] configs: Add configs for J721e High Security EVM

2020-01-10 Thread Andrew F. Davis
Add new defconfig files for the J721e High Security EVM. These defconfigs are the same as for the non-secure part, except for: CONFIG_TI_SECURE_DEVICE option set to 'y' CONFIG_FIT_IMAGE_POST_PROCESS option set to 'y' CONFIG_SPL_FIT_IMAGE_POST_PROCESS option set to 'y' CONFIG_BOOTCO

[U-Boot] [PATCH v2 5/6] arm: K3: Increase default SYSFW image size allocation

2020-01-10 Thread Andrew F. Davis
The memory allocated to store the FIT image containing SYSFW and board configuration data is statically defined to the largest size expected. This was 276000 bytes but now needs to be grown to 277000 to make room for the slightly larger SYSFW image used on J721e High-Security devices. Signed-off-b

[U-Boot] [PATCH v2 4/6] arm: K3: Disable ROM configured firewalls

2020-01-10 Thread Andrew F. Davis
ROM configures certain firewalls based on its usage, which includes the one in front of boot peripherals. In specific case of boot peripherals, ROM does not open up the full address space corresponding to the peripherals. Like in OSPI, ROM only configures the firewall region for 32 bit address spac

[U-Boot] [PATCH v2 3/6] arm: K3: Fix header comment match AM6 specific file function

2020-01-10 Thread Andrew F. Davis
This file used to be the common location for K3 init when AM6 was the only device, but common code was moved to common.c and this file became AM6 specific, correct this header text. Signed-off-by: Andrew F. Davis Reviewed-by: Lokesh Vutla --- arch/arm/mach-k3/am6_init.c | 2 +- 1 file changed,

[U-Boot] [PATCH v2 2/6] configs: ti: Factor out call to 'args_mmc' into MMC common environment

2020-01-10 Thread Andrew F. Davis
Both 'loadfit' and 'mmcloados' start with a call to 'args_mmc' so this can be factored out to before eithers only call site. This also allows us to remove that call from 'loadfit', which should not have been calling it anyway as that command should not be MMC specific. Without the call to 'args_mmc

[U-Boot] [PATCH v2 0/6] J721e HS device support

2020-01-10 Thread Andrew F. Davis
Hello all, This series brings up High-Security (HS) device support on the J721e platform. Support for this K3 HS device is much like the existing AM65x HS and this series leverages much of that support. There are also a couple tangentially related fixups that I noticed while adding this support a

[U-Boot] [PATCH v2 1/6] configs: j721e_evm.h: Sync J721e environment configuration with AM65x

2020-01-10 Thread Andrew F. Davis
Some of the environment configuration in AM65x is not available in J721e due to additions on one but not the other. These two platforms are similar enough these common definitions should be factored out to a common area, prepare for this by synchronizing them. Signed-off-by: Andrew F. Davis Revie

Re: [U-Boot] [PATCH 0/6] J721e HS device support

2020-01-10 Thread Andrew F. Davis
On 1/10/20 1:38 PM, Andrew F. Davis wrote: > Hi Tom, > > Looks like -next wasn't used for this, ping on getting this into master now? > Looks like a minor merge conflict now in master for this, I'll post a v2 to help with that. Andrew > Thanks, > Andrew > > On 12/16/19 3:50 PM, Andrew F. Da

Re: [PATCH 1/2] dts: add property removal option CONFIG_OF_REMOVE_PROPS

2020-01-10 Thread Masahiro Yamada
Hi Tom, On Sat, Jan 11, 2020 at 1:39 AM Tom Rini wrote: > > quiet_cmd_shipped = SHIPPED $@ > > -cmd_shipped = cat $< > $@ > > +cmd_shipped = cat $< | $(objtree)/tools/fdtgrep -r -O dtb - -o $@\ > > + $(addprefix -P ,$(subst $\",,$(CONFIG_OF_REMOVE_PROPS))) > > > > $(obj)/%: $(s

Re: [U-Boot] [PATCH 0/6] J721e HS device support

2020-01-10 Thread Andrew F. Davis
Hi Tom, Looks like -next wasn't used for this, ping on getting this into master now? Thanks, Andrew On 12/16/19 3:50 PM, Andrew F. Davis wrote: > Hi Tom, > > I see you have a -next again, if you don't want to take this for the > v2020.01 perhaps this could be a good candidate for the next? > >

Re: regression with sunxi: psci: avoid error address-of-packed-member

2020-01-10 Thread Heinrich Schuchardt
On 1/10/20 4:30 PM, Nuno Gonçalves wrote: After [1] on a Orange Pi Zero I hang on Starting kernel. While this commit changed the order of clamp_set fixing it did not solve the problem for me. Do you mean that both with and without the patch your system does not start? Best regards Heinrich

[PATCH 1/1] efi_driver: debug output efi_uc_start, efi_uc_stop

2020-01-10 Thread Heinrich Schuchardt
Use the correct printf codes for the debug output in efi_uc_start() and efi_uc_stop(). Signed-off-by: Heinrich Schuchardt --- lib/efi_driver/efi_uclass.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/efi_driver/efi_uclass.c b/lib/efi_driver/efi_uclass.c index 40269b

[PATCH v2] cli: Make the sandbox board_run_command the default

2020-01-10 Thread Sean Anderson
If CONFIG_CMDLINE=n, common/cli.c calls board_run_command. This fails to link on most architectures. However, the sandbox architecture has an implementation which we can use. Signed-off-by: Sean Anderson --- Changes for v2: - Sent without any word wrap afaik - Rebased onto v2020.01 arch/sandb

Re: [PATCH] Make the sandbox board_run_command the default

2020-01-10 Thread Sean Anderson
> Somehow this patch is showing as corrupted. Did you create it with patman? I created it with git format-patch. Perhaps it got mangled by my email client.

Re: [PATCH 1/2] dts: add property removal option CONFIG_OF_REMOVE_PROPS

2020-01-10 Thread Masahiro Yamada
On Sat, Jan 11, 2020 at 1:39 AM Tom Rini wrote: > > On Wed, Jan 08, 2020 at 10:38:32PM +0100, Anatolij Gustschin wrote: > > > This can be used for device tree size reduction similar as > > CONFIG_OF_SPL_REMOVE_PROPS option. For tbs2910 board this > > shrinks the image size: all -2304.0 bss -16.0 t

Re: [PATCH 1/2] dts: add property removal option CONFIG_OF_REMOVE_PROPS

2020-01-10 Thread Tom Rini
On Wed, Jan 08, 2020 at 10:38:32PM +0100, Anatolij Gustschin wrote: > This can be used for device tree size reduction similar as > CONFIG_OF_SPL_REMOVE_PROPS option. For tbs2910 board this > shrinks the image size: all -2304.0 bss -16.0 text -2288.0 > > Signed-off-by: Anatolij Gustschin > --- >

Re: [PATCH 2/8] arm64: dts: Remove inconsistent use of 'arm, armv8' compatible string

2020-01-10 Thread Masahiro Yamada
On Thu, Jan 9, 2020 at 11:19 PM Michal Simek wrote: > > From: Rob Herring > > The 'arm,armv8' compatible string is only for software models. It adds > little value otherwise and is inconsistently used as a fallback on some > platforms. Remove it from those platforms. > > This fixes warnings gener

Re: [PATCH v3 1/9] image: android: Add functions for handling dtb field

2020-01-10 Thread Sam Protsenko
Hi Simon, On Wed, Jan 8, 2020 at 7:39 PM Simon Glass wrote: > > Hi Sam, > > On Tue, 24 Dec 2019 at 12:55, Sam Protsenko > wrote: > > > > Android Boot Image v2 adds "DTB" payload (and corresponding field in the > > image header). Provide functions for its handling: > > > > - android_image_get_

Re: [U-Boot] [PATCH] spl: fix entry_point equal to load_addr

2020-01-10 Thread Giulio Benetti
Hi All, On 12/7/19 10:28 PM, Simon Goldschmidt wrote: Hi Tom, On Fri, Dec 6, 2019 at 3:55 PM Tom Rini wrote: On Fri, Dec 06, 2019 at 03:05:55PM +0100, Simon Goldschmidt wrote: On Fri, Dec 6, 2019 at 2:49 PM Giulio Benetti wrote: Hello Tom, all, On 12/6/19 2:34 PM, Tom Rini wrote: On Fr

[PATCH v2 19/21] mmc: fsl_esdhc: add compatible for fsl, imxrt-usdhc

2020-01-10 Thread Giulio Benetti
Add compatible "fsl,imxrt-usdhc" to make mmc working on i.MXRT platforms with CONFIG_DM_MMC=y. Signed-off-by: Giulio Benetti --- drivers/mmc/Kconfig | 2 +- drivers/mmc/fsl_esdhc_imx.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/Kconfig b/drivers/m

[PATCH v2 18/21] mmc: fsl_esdhc: make if(CONFIG_IS_ENABLED(CLK)) an #if statement

2020-01-10 Thread Giulio Benetti
Not all architectures(i.e. i.MXRT) support mxc_get_clock() and use DM_CLK instead. So building could result in failure due to missing mxc_get_clock(). Make if(CONFIG_IS_ENABLED(CLK)) an #if statement. Signed-off-by: Giulio Benetti --- drivers/mmc/fsl_esdhc_imx.c | 38 ++-

[PATCH v2 20/21] imx: Add basic support for the NXP IMXRT10xx SoC family

2020-01-10 Thread Giulio Benetti
Add i.IMXRT family basic support. Signed-off-by: Giulio Benetti --- V1->V2: * introduced CONFIG_IMXRT --- arch/arm/Kconfig| 10 ++ arch/arm/Makefile | 4 +-- arch/arm/include/asm/arch-imxrt/clock.h | 10 ++ arch/arm/include/asm/a

[PATCH v2 17/21] ram: add SDRAM driver for i.MXRT SoCs

2020-01-10 Thread Giulio Benetti
Add SDRAM driver for i.MXRT SoCs. Signed-off-by: Giulio Benetti --- drivers/ram/Kconfig | 8 + drivers/ram/Makefile | 2 + drivers/ram/imxrt_sdram.c| 439 +++ include/dt-bindings/memory/imxrt-sdram.h | 100 ++ 4

[PATCH v2 21/21] imx: imxrt1050-evk: Add support for the NXP i.MXRT1050-EVK

2020-01-10 Thread Giulio Benetti
This commit adds board support for i.MXRT1050-EVK from NXP. This board is an evaluation kit provided by NXP for i.MXRT105x processor family. More information about this board can be found here: https://www.nxp.com/design/development-boards/i.mx-evaluation-and-development-boards/i.mx-rt1050-evaluat

[PATCH v2 16/21] serial_lpuart: add support for i.MXRT

2020-01-10 Thread Giulio Benetti
Add i.MXRT compatible string and cpu type support to lpuart driver, to use little endian 32 bits configurations. Also according to RM, the Receive RX FIFO Enable (RXFE) field in LPUART FIFO register is bit 3, so this definition should change to 0x08 as done for i.MX8. It needs also to set baudrate

[PATCH v2 15/21] serial_lpuart: add clock enable if CONFIG_CLK is defined

2020-01-10 Thread Giulio Benetti
This driver assumes that lpuart clock is already enabled before probing but using DM only lpuart won't be automatically enabled so add clk_enable() when probing if CONFIG_CLK is defined. If clock is not found, because DM is not used, let's emit a warning and proceed, because serial clock could also

[PATCH v2 10/21] clk: imx: pfd: add set_rate()

2020-01-10 Thread Giulio Benetti
Implement set_rate() for pfd. Signed-off-by: Giulio Benetti Reviewed-by: Lukasz Majewski --- drivers/clk/imx/clk-pfd.c | 22 ++ 1 file changed, 22 insertions(+) diff --git a/drivers/clk/imx/clk-pfd.c b/drivers/clk/imx/clk-pfd.c index 188b2b3b90..4ae55f5a07 100644 --- a/driv

[PATCH v2 13/21] gpio: mxc_gpio: add support for i.MXRT1050

2020-01-10 Thread Giulio Benetti
Add i.MXRT1050 support, there are 5 GPIO banks. Signed-off-by: Giulio Benetti --- V1->V2: * introduced this patch --- drivers/gpio/mxc_gpio.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/gpio/mxc_gpio.c b/drivers/gpio/mxc_gpio.c index 6592d141d3..c924e52f07

[PATCH v2 14/21] ARM: dts: imxrt1050: add dtsi file

2020-01-10 Thread Giulio Benetti
Add dtsi file for i.MXRT1050. Signed-off-by: Giulio Benetti --- arch/arm/dts/imxrt1050.dtsi | 146 +++ include/dt-bindings/pinctrl/pins-imxrt1050.h | 993 +++ 2 files changed, 1139 insertions(+) create mode 100644 arch/arm/dts/imxrt1050.dtsi create mode 100644

[PATCH v2 11/21] clk: imx: add i.IMXRT1050 clk driver

2020-01-10 Thread Giulio Benetti
Add i.MXRT1050 clk driver support. Signed-off-by: Giulio Benetti --- drivers/clk/imx/Kconfig | 16 ++ drivers/clk/imx/Makefile| 2 + drivers/clk/imx/clk-imxrt1050.c | 292 include/dt-bindings/clock/imxrt1050-clock.h | 6

[PATCH v2 12/21] pinctrl: add i.MXRT driver

2020-01-10 Thread Giulio Benetti
Add i.MXRT pinctrl driver. Signed-off-by: Giulio Benetti --- drivers/pinctrl/nxp/Kconfig | 14 ++ drivers/pinctrl/nxp/Makefile| 1 + drivers/pinctrl/nxp/pinctrl-imxrt.c | 40 + 3 files changed, 55 insertions(+) create mode 100644 drivers/pinc

[PATCH v2 07/21] clk: imx: pllv3: add set_rate() support

2020-01-10 Thread Giulio Benetti
Add generic set_rate() support. Signed-off-by: Giulio Benetti Reviewed-by: Lukasz Majewski --- drivers/clk/imx/clk-pllv3.c | 27 +++ 1 file changed, 27 insertions(+) diff --git a/drivers/clk/imx/clk-pllv3.c b/drivers/clk/imx/clk-pllv3.c index 9b37cd9cd9..a721dbee94 1006

[PATCH v2 09/21] clk: imx: pllv3: add support for PLLV3_AV type

2020-01-10 Thread Giulio Benetti
Add support for PLLV3 AV type. Signed-off-by: Giulio Benetti --- drivers/clk/imx/clk-pllv3.c | 76 + 1 file changed, 76 insertions(+) diff --git a/drivers/clk/imx/clk-pllv3.c b/drivers/clk/imx/clk-pllv3.c index d5087a104e..fc16416d5f 100644 --- a/drivers/clk/

[PATCH v2 04/21] clk: imx: pllv3: set div_mask differently if PLLV3 is GENERIC or USB

2020-01-10 Thread Giulio Benetti
div_mask is different for GENERIC and USB pll, so set it according. Signed-off-by: Giulio Benetti Reviewed-by: Lukasz Majewski --- drivers/clk/imx/clk-pllv3.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/clk/imx/clk-pllv3.c b/drivers/clk/imx/clk-pllv3.c index d1e4c3fe30..02c75c

[PATCH v2 08/21] clk: imx: pllv3: add PLLV3_SYS support

2020-01-10 Thread Giulio Benetti
Add PLLV3_SYS support by adding set/get_rate() for PLLV3_SYS but keeping generic enable()/disable(). Add a different driver because ops are different respect to GENERIC/USB. Signed-off-by: Giulio Benetti Reviewed-by: Lukasz Majewski --- drivers/clk/imx/clk-pllv3.c | 53 +

[PATCH v2 05/21] clk: imx: pllv3: add enable() support

2020-01-10 Thread Giulio Benetti
Before set_rate() pllv3 needs enable() to power the pll up. Add enable() taking into account different power_bit and different powerup_set, because some pll needs its power_bit to be set or reset to be powered on. Signed-off-by: Giulio Benetti --- drivers/clk/imx/clk-pllv3.c | 24 +++

[PATCH v2 06/21] clk: imx: pllv3: add disable() support

2020-01-10 Thread Giulio Benetti
Add disable() support. Signed-off-by: Giulio Benetti Reviewed-by: Lukasz Majewski --- drivers/clk/imx/clk-pllv3.c | 16 1 file changed, 16 insertions(+) diff --git a/drivers/clk/imx/clk-pllv3.c b/drivers/clk/imx/clk-pllv3.c index d8cbe3dd4e..9b37cd9cd9 100644 --- a/drivers/clk

[PATCH v2 02/21] armv7m: cache: add mmu_set_region_dcache_behaviour() stub for compatibility

2020-01-10 Thread Giulio Benetti
Since some driver requires this function add it as an empty stub when DCACHE is OFF. Signed-off-by: Giulio Benetti --- arch/arm/cpu/armv7m/cache.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/cpu/armv7m/cache.c b/arch/arm/cpu/armv7m/cache.c index f4ba3ad50e..7353698557 1006

[PATCH v2 03/21] clk: imx: pllv3: register PLLV3 GENERIC and USB as 2 different clocks

2020-01-10 Thread Giulio Benetti
Better to register the 2 clock as 2 different drivers because they work slightly differently depending on power_bit and powerup_set bits coming on next patches. Signed-off-by: Giulio Benetti Reviewed-by: Lukasz Majewski --- drivers/clk/imx/clk-pllv3.c | 20 +++- 1 file changed,

[PATCH v2 01/21] spl: fix entry_point equal to load_addr

2020-01-10 Thread Giulio Benetti
At the moment entry_point is set to image_get_load(header) that sets it to "load address" instead of "entry point", assuming entry_point is equal to load_addr, but it's not true. Then load_addr is set to "entry_point - header_size", but this is wrong too since load_addr is not an entry point. So u

[PATCH v2 00/21] Add i.MXRT family support

2020-01-10 Thread Giulio Benetti
This patchset add support for i.MXRT family starting from i.MXRT1050 SoC. It provides: - i.MXRT1050 SoC entry - i.MXRT pinctrl driver - i.MXRT serial driver tweaking - i.MXRT sdram controller driver - i.MXRT usdhc driver tweaking - i.MXRT1050-evk initial support It uses all DM clocks all around an

Re: [PATCH 16/16] mips: mtmips: add support for mt7628-rfb

2020-01-10 Thread Stefan Roese
On 08.01.20 04:02, Weijie Gao wrote: This patch adds support for mt7628 reference board Signed-off-by: Weijie Gao --- arch/mips/dts/Makefile| 1 + arch/mips/dts/mediatek,mt7628-rfb-u-boot.dtsi | 24 + arch/mips/dts/mediatek,mt7628-rfb.dts | 67 +++

Re: [PATCH] env: another attempt at fixing SPL build failures

2020-01-10 Thread Tom Rini
On Fri, Jan 10, 2020 at 02:28:54PM +, Rasmus Villemoes wrote: > On 15/12/2019 23.29, Rasmus Villemoes wrote: > > I'm also seeing the build failure that commit > > > > 7d4776545b env: solve compilation error in SPL > > > > tried to fix, namely that the reference to env_flags_validate from > >

Re: [PATCH] env: another attempt at fixing SPL build failures

2020-01-10 Thread Rasmus Villemoes
On 15/12/2019 23.29, Rasmus Villemoes wrote: > I'm also seeing the build failure that commit > > 7d4776545b env: solve compilation error in SPL > > tried to fix, namely that the reference to env_flags_validate from > env_htab cannot be satisfied when flags.o is not built in. However, > that commi

Re: U-Boot: wandboard ethernet problem with newest mainline

2020-01-10 Thread Fabio Estevam
Hi Heiko, On Thu, Jan 9, 2020 at 8:33 AM Heiko Schocher wrote: > If you have time, may I can ask, if you can test my patches, if they > do not break other board revisions? I haven't had a chance to look at your patches yet, but could you please submit the whole series to the list? I will try t

Re: [PATCH 15/16] mips: mtmips: enable SPL for all boards

2020-01-10 Thread Stefan Roese
On 08.01.20 04:02, Weijie Gao wrote: This patch enables SPL for all mtmips boards. And also remove defconfig files which are intend to build ram bootable u-boot files. Signed-off-by: Weijie Gao --- arch/mips/mach-mtmips/Kconfig | 26 --- board/gardena/smart-gateway-mt7688

Re: [PATCH 14/16] mips: mtmips: add SPL support

2020-01-10 Thread Stefan Roese
On 08.01.20 04:02, Weijie Gao wrote: This patch adds SPL support for mtmips platform. The lowlevel architecture is split into SPL and the rest parts are built into a memory loadable u-boot image. The increment of size is very small (< 10 KiB) and the memory bootable u-boot (u-boot.img) is genera

Re: [PATCH 14/35] common: Drop CONFIG_HAS_POST

2020-01-10 Thread Tom Rini
On Fri, Dec 27, 2019 at 09:42:04AM -0700, Simon Glass wrote: > Hi Tom, > > On Thu, 12 Dec 2019 at 06:59, Tom Rini wrote: > > > > On Wed, Dec 11, 2019 at 05:47:33PM -0700, Simon Glass wrote: > > > This only exists to control whether the post/ directory is build. It is > > > just as easy to check t

  1   2   3   >