[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

[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 --

[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 ---

[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

[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 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

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

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.

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

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: [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)/%:

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]

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 >

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

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. > >

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

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:

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

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: [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 >

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,

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

[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

[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 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

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:

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

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] 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:

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 >

[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

[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

[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.

[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'

[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

[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

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

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] 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

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: [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 $@\ > > > +

[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

[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 ---

[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 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

[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

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 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] 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 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 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

[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

[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 --

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

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: [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:

[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 ---

Re: [PATCH V4 2/4] aes: add support of aes192 and aes256

2020-01-10 Thread Simon Glass
On Tue, 7 Jan 2020 at 03:22, Philippe Reynes wrote: > > Until now, we only support aes128. This commit add the support > of aes192 and aes256. > > Signed-off-by: Philippe Reynes > --- > arch/arm/mach-tegra/tegra20/crypto.c | 41 ++- > cmd/aes.c| 38

[PATCH 04/10] armv7R: K3: r5_mpu: Enable execute permission for MCU0 BTCM

2020-01-10 Thread Keerthy
Enable execute permission for mcu_r5fss0_core0 BTCM so that we can jump to a firmware directly from SPL. Signed-off-by: Keerthy --- arch/arm/mach-k3/r5_mpu.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-k3/r5_mpu.c b/arch/arm/mach-k3/r5_mpu.c index

[PATCH 03/10] arm: k3: Add support for loading non linux remote cores

2020-01-10 Thread Keerthy
Add MAIN domain R5FSS0 remoteproc support from spl. This enables loading the elf firmware in SPL and starting the remotecore. In order to start the core, there should be a file with path "/lib/firmware/j7-main-r5f0_0-fw" under filesystem of respective boot mode. Signed-off-by: Keerthy

[PATCH 02/10] Makefile: Enable CMD_ELF for SPL as well

2020-01-10 Thread Keerthy
Enable CMD_ELF for SPL as well. While at it stub out code not relevant for SPL. Signed-off-by: Keerthy --- cmd/Makefile | 2 +- cmd/elf.c| 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/cmd/Makefile b/cmd/Makefile index 8df39f3a19..95bb87c6db 100644 --- a/cmd/Makefile

[PATCH 05/10] armv7R: K3: Add support for jumping to firmware

2020-01-10 Thread Keerthy
MCU Domain rf50 is currently shutting down after loading the ATF. Load elf firmware and jump to firmware post loading ATF. ROM doesn't enable ATCM memory, so make sure that firmware that is being loaded doesn't use ATCM memory or override SPL. Signed-off-by: Keerthy Signed-off-by: Lokesh Vutla

[PATCH 00/10] arm: k3: Add support for loading main_r5fss0_core0

2020-01-10 Thread Keerthy
This patch series enables mcu_r5fss0_core0 & main_r5fss0_core0. Tested for firmware loading and execution on J721e. Faiz Abbas (1): configs: j721e_evm_r5: Add configs for environment in eMMC Keerthy (9): cmd: elf: Export out load_elf_image_phdr Makefile: Enable CMD_ELF for SPL as well

[PATCH 01/10] cmd: elf: Export out load_elf_image_phdr

2020-01-10 Thread Keerthy
Export out load_elf_image_phdr so that it can be reused to load elf segments outside cmd/elf Signed-off-by: Keerthy --- cmd/elf.c | 4 ++-- include/elf.h | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/cmd/elf.c b/cmd/elf.c index 32f12a72b9..ea76fb42aa 100644 ---

[PATCH 06/10] arm: dts: k3-j721e-r5: Add fs_loader node

2020-01-10 Thread Keerthy
Add fs_loader node which will be needed for loading firmwares from the boot media/filesystem. Signed-off-by: Keerthy Signed-off-by: Lokesh Vutla --- arch/arm/dts/k3-j721e-r5-common-proc-board.dts | 6 ++ 1 file changed, 6 insertions(+) diff --git

[PATCH 07/10] arm: dts: k3-j721e-r5: Enable r5fss0 cluster in SPL

2020-01-10 Thread Keerthy
Enable MAIN domain r5fss0 cluster and its core0 in R5 spl. Signed-off-by: Keerthy Signed-off-by: Lokesh Vutla --- arch/arm/dts/k3-j721e-r5-common-proc-board.dts | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/dts/k3-j721e-r5-common-proc-board.dts

RE: SPL too large for firefly-rk3288 and tinker-rk3288 since 2020.01

2020-01-10 Thread Guillaume Gardet
> -Original Message- > From: Jagan Teki > Sent: 10 January 2020 11:13 > To: Guillaume Gardet > Cc: Simon Glass ; Lin Huang ; u- > b...@lists.denx.de > Subject: Re: SPL too large for firefly-rk3288 and tinker-rk3288 since 2020.01 > > On Fri, Jan 10, 2020 at 3:12 PM Guillaume Gardet >

[PATCH 2/3] KM/kmp204x: qrio and i2c deblock code moved to common

2020-01-10 Thread Holger Brunck
This patch moves the qrio and i2c deblocking code to keymile/common as it will also be used by the upcoming CENT2 board. Signed-off-by: Holger Brunck CC: Priyanka Jain --- board/keymile/{kmp204x => common}/qrio.c | 84 ++-- board/keymile/common/qrio.h | 40

[PATCH 1/3] kmp204x: do not make FPGA config error fail board_early_init_r

2020-01-10 Thread Holger Brunck
This prevents the board from booting which is not the expected behavior. Signed-off-by: Valentin Longchamp Signed-off-by: Holger Brunck CC: Priyanka Jain --- board/keymile/kmp204x/kmp204x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/keymile/kmp204x/kmp204x.c

[PATCH 3/3] km/common: fix for CPUWD reset reason

2020-01-10 Thread Holger Brunck
From: Rainer Boschung The CPUWD reset reason is used for kmp204x. And the qrio cpu reset request is configured to operate in core reset mode. But for the evaluation of the qrio's reset reason register the CPUWD figures as a unit reset source rather than a core reset source. This patch defines

Re: [PATCH 09/10] configs: j721e_evm_r5: Add configs for environment in eMMC

2020-01-10 Thread Lokesh Vutla
On 10/01/20 3:53 PM, Keerthy wrote: > From: Faiz Abbas > > Add config to save and read back environment from eMMC. > > Signed-off-by: Faiz Abbas > Signed-off-by: Keerthy This is already posted. https://patchwork.ozlabs.org/patch/1197305/ Thanks and regards, Lokesh > --- >

Re: [PATCH 02/10] Makefile: Enable CMD_ELF for SPL as well

2020-01-10 Thread keerthy
On 1/10/2020 4:00 PM, Simon Goldschmidt wrote: On Fri, Jan 10, 2020 at 11:24 AM Keerthy wrote: Enable CMD_ELF for SPL as well. While at it stub out code not relevant for SPL. Signed-off-by: Keerthy --- cmd/Makefile | 2 +- cmd/elf.c| 2 ++ 2 files changed, 3 insertions(+), 1

[RESEND v2 02/10] pinctrl: mediatek: add driver for MT7622

2020-01-10 Thread Sam Shih
This patch add Pinctrl driver for MediaTek MT7622 SoC. Signed-off-by: Sam Shih Reviewed-by: Ryder Lee --- drivers/pinctrl/mediatek/Kconfig | 4 + drivers/pinctrl/mediatek/Makefile | 1 + drivers/pinctrl/mediatek/pinctrl-mt7622.c | 752 ++ 3 files

[RESEND v2,00/10] Add support for MediaTek MT7622 SoC

2020-01-10 Thread Sam Shih
A gentle ping on this whole patch series This patch series adds basic boot support on eMMC/SD/spi-nor for the MediaTek MT7622 SoC based boards. This series add the clock, pinctrl drivers and the SoC initializaton code. Change since V1: - move mt7622/23/29 u-boot properties to -u-boot.dtsi files

RE: [PATCH 2/2] include/configs: ls1012afrwy: adjust kernel_addr_r from 0x81000000 to 0x96000000 to get rid of error when boot kernel with booti command in uboot

2020-01-10 Thread Priyanka Jain (OSS)
>-Original Message- >From: U-Boot On Behalf Of Biwen Li >Sent: Friday, January 10, 2020 7:27 AM >To: Priyanka Jain ; Jagdish Gediya >; Anji Jagarlmudi >Cc: u-boot@lists.denx.de; Jiafei Pan ; Xiaobo Xie > >Subject: [PATCH 2/2] include/configs: ls1012afrwy: adjust kernel_addr_r from

[RESEND v2 04/10] clk: mediatek: add driver for MT7622

2020-01-10 Thread Sam Shih
This patch add clock driver for MediaTek MT7622 SoC. Signed-off-by: Ryder Lee Signed-off-by: Sam Shih --- drivers/clk/mediatek/Makefile | 1 + drivers/clk/mediatek/clk-mt7622.c | 678 + include/dt-bindings/clock/mt7622-clk.h | 271 ++ 3 files

[RESEND v2 01/10] ARM: MediaTek: Add support for MediaTek MT7622 SoC

2020-01-10 Thread Sam Shih
Add support for MediaTek MT7622 SoC. This include the file that will initialize the SoC after boot and its device tree. Signed-off-by: Sam Shih Reviewed-by: Ryder Lee --- arch/arm/dts/mt7622-u-boot.dtsi| 29 arch/arm/dts/mt7622.dtsi | 185 +

RE: [PATCH 1/2] include/configs: ls1012ardb: adjust kernel_addr_r from 0x81000000 to 0x96000000 to get rid of error when boot kernel with booti command in uboot

2020-01-10 Thread Priyanka Jain (OSS)
>-Original Message- >From: U-Boot On Behalf Of Biwen Li >Sent: Friday, January 10, 2020 7:27 AM >To: Priyanka Jain ; Jagdish Gediya >; Anji Jagarlmudi >Cc: u-boot@lists.denx.de; Jiafei Pan ; Xiaobo Xie > >Subject: [PATCH 1/2] include/configs: ls1012ardb: adjust kernel_addr_r from

i.mx8m nano boot from qspi

2020-01-10 Thread KLAUS.DANNECKER
Hello, my evalboard is 8MNANOD4-EVK I want to boot via the QSPI interface. How do i have to configure the U-boot for this? Background: I would like to make my own board based on this evalboard, but with only the QSPI interface for booting. Now i have found that nxp only supports the u-boot from

[v2 2/2] km/scripts: product env and auto-reset for ramfs

2020-01-10 Thread Holger Brunck
This patch adds the possibility in both debug and ramfs modes to optionally load an env file from /tftpboot/$tftppath (this is ignored if not present, so the change is backward compatible). This gives the debug and ramfs scripts the possibility to set uboot environment variables that were

Re: [PATCH 02/10] Makefile: Enable CMD_ELF for SPL as well

2020-01-10 Thread Simon Goldschmidt
On Fri, Jan 10, 2020 at 11:41 AM keerthy wrote: > > > > On 1/10/2020 4:00 PM, Simon Goldschmidt wrote: > > On Fri, Jan 10, 2020 at 11:24 AM Keerthy wrote: > >> > >> Enable CMD_ELF for SPL as well. While at it stub out > >> code not relevant for SPL. > >> > >> Signed-off-by: Keerthy > >> --- >

[v2 1/2] km/scripts: fix run ramfs and COGE5 tftppath problem

2020-01-10 Thread Holger Brunck
The tftppath was not set in case of run ramfs. It worked only by chance if was already set before. Also check the boardname before setting the tftppath for COGE5. Signed-off-by: Holger Brunck CC: Tom Rini --- board/keymile/scripts/develop-common.txt | 3 ++-

[PATCH v2] MAINTAINERS: Add entry for rng drivers

2020-01-10 Thread Sughosh Ganu
Take up maintainership of random number generator drivers with Heinrich Schuchardt as the reviewer. Signed-off-by: Sughosh Ganu --- Changes since V1: * Added entries for cmd/rng.c and include/rng.h MAINTAINERS | 9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS

[PATCH 09/10] configs: j721e_evm_r5: Add configs for environment in eMMC

2020-01-10 Thread Keerthy
From: Faiz Abbas Add config to save and read back environment from eMMC. Signed-off-by: Faiz Abbas Signed-off-by: Keerthy --- configs/j721e_evm_a72_defconfig | 3 +++ configs/j721e_evm_r5_defconfig | 2 ++ include/configs/j721e_evm.h | 6 ++ 3 files changed, 11 insertions(+) diff

[PATCH 08/10] include: configs: j721e_evm: Add env variables for mcu_r5fss0_core0 & main_r5fss0_core0

2020-01-10 Thread Keerthy
Add env variables for mcu_r5fss0_core0 & main_r5fss0_core0 firmware loadaddr and name. Signed-off-by: Keerthy --- include/configs/j721e_evm.h | 4 1 file changed, 4 insertions(+) diff --git a/include/configs/j721e_evm.h b/include/configs/j721e_evm.h index 84518786c7..d3a9330069 100644 ---

[PATCH 10/10] configs: j721e_evm_r5: Enable R5F remoteproc support

2020-01-10 Thread Keerthy
Enable r5f remoteproc support in r5 defconfig so that r5s can be started in spl. Signed-off-by: Keerthy Signed-off-by: Lokesh Vutla --- configs/j721e_evm_r5_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/j721e_evm_r5_defconfig b/configs/j721e_evm_r5_defconfig index

Re: [PATCH 02/10] Makefile: Enable CMD_ELF for SPL as well

2020-01-10 Thread Simon Goldschmidt
On Fri, Jan 10, 2020 at 11:24 AM Keerthy wrote: > > Enable CMD_ELF for SPL as well. While at it stub out > code not relevant for SPL. > > Signed-off-by: Keerthy > --- > cmd/Makefile | 2 +- > cmd/elf.c| 2 ++ > 2 files changed, 3 insertions(+), 1 deletion(-) > > diff --git a/cmd/Makefile

RE: SPL too large for firefly-rk3288 and tinker-rk3288 since 2020.01

2020-01-10 Thread Guillaume Gardet
> -Original Message- > From: Jagan Teki > Sent: 10 January 2020 11:37 > To: Guillaume Gardet > Cc: Simon Glass ; Lin Huang ; u- > b...@lists.denx.de; nd > Subject: Re: SPL too large for firefly-rk3288 and tinker-rk3288 since 2020.01 > > On Fri, Jan 10, 2020 at 4:02 PM Guillaume

Re: [PATCH 00/16] Refactor the architecture parts of mt7628

2020-01-10 Thread Weijie Gao
On Thu, 2020-01-09 at 13:36 +0100, Stefan Roese wrote: > Hi Weijie, > > On 09.01.20 09:49, Weijie Gao wrote: > > On Thu, 2020-01-09 at 08:52 +0100, Stefan Roese wrote: > >> Hi Weijie, > >> > >> On 08.01.20 03:59, Weijie Gao wrote: > >>> This patch series are divided into two parts: > >>> > >>>

RE: [EXT] Re: [Patch v3] net: pfe_eth: Use spi_flash_read API to access flash memory

2020-01-10 Thread Kuldeep Singh
Hi Frieder, > -Original Message- > From: Schrempf Frieder > Sent: Wednesday, January 8, 2020 2:52 PM > To: Kuldeep Singh ; u-boot@lists.denx.de > Cc: Joe Hershberger ; Thomas Hebb > ; Patrick Delaunay > Subject: [EXT] Re: [Patch v3] net: pfe_eth: Use spi_flash_read API to access > flash

[RESEND v2 07/10] mmc: add mmc and sd support for MT7622

2020-01-10 Thread Sam Shih
This patch add mmc and sd support for Mediatek MT7622 SoCs Signed-off-by: Sam Shih Reviewed-by: Ryder Lee --- drivers/mmc/mtk-sd.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/mmc/mtk-sd.c b/drivers/mmc/mtk-sd.c index eaa584a4df..a3ede3070a 100644 ---

[RESEND v2 06/10] power: domain: add power domain support for MT7622

2020-01-10 Thread Sam Shih
This patch add power domain support for Mediatek MT7622 SoCs Signed-off-by: Ryder Lee Signed-off-by: Sam Shih --- drivers/power/domain/mtk-power-domain.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/power/domain/mtk-power-domain.c b/drivers/power/domain/mtk-power-domain.c

[RESEND v2 03/10] pinctrl: mediatek: add support for different pinctrl

2020-01-10 Thread Sam Shih
Due to the pinctrl hardware of MT7622 is difference from others SoC which using the common part of mediatek pinctrl. So we need to modify the common part of mediatek pinctrl. Signed-off-by: Sam Shih Reviewed-by: Ryder Lee --- drivers/pinctrl/mediatek/pinctrl-mt7622.c | 2 +

[RESEND v2 05/10] clk: mediatek: fix clock-rate overflow problem

2020-01-10 Thread Sam Shih
This patch fix clock-rate overflow problem in mediatek clock driver common part. Signed-off-by: Sam Shih Reviewed-by: Ryder Lee --- drivers/clk/mediatek/clk-mtk.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/clk/mediatek/clk-mtk.c

[RESEND v2 08/10] Add support for MT7622 reference board

2020-01-10 Thread Sam Shih
This adds a general board file based on MT7622 SoCs from MediaTek. This commit is adding the basic boot support for the MT7622 rfb. Signed-off-by: Sam Shih Reviewed-by: Ryder Lee Tested-by: Frank Wunderlich --- arch/arm/dts/Makefile | 1 + arch/arm/dts/mt7622-rfb.dts|

  1   2   3   >