Re: [U-Boot] [PATCH] initcall: Move to inline function

2019-02-07 Thread Alexander Graf
> Am 08.02.2019 um 05:11 schrieb Simon Glass : > > Hi Alex, > >> On Sat, 2 Feb 2019 at 09:07, Alexander Graf wrote: >> >> >> >>> Am 02.02.2019 um 15:13 schrieb Simon Glass : >>> >>> Hi Alex, >>> On Thu, 31 Jan 2019 at 08:06, Alexander Graf wrote: The board_r init function

Re: [U-Boot] [PATCH 2/2] configs: sama5d27_som1_ek: Activate misc init for uSD variant

2019-02-07 Thread Eugen.Hristev
On 06.02.2019 16:19, Alexander Dahl wrote: > This was already set for 'sama5d27_som1_ek_mmc_defconfig' (first SD > card, full size). Without this option set, the MAC address is not read > from the I²C EEPROM at boot, and remains unset: > > U-Boot 2019.01 (Jan 01 2019 - 00:00:00 +) > >

Re: [U-Boot] [PATCH v3 01/60] mpc83xx: Introduce ARCH_MPC830*

2019-02-07 Thread Mario Six
On Mon, Jan 28, 2019 at 9:13 AM Mario Six wrote: > > Hi York, > On Tue, Jan 22, 2019 at 5:17 PM York Sun wrote: > > > > On 1/21/19 12:19 AM, Mario Six wrote: > > > Replace CONFIG_MPC830* with proper CONFIG_ARCH_MPC830* Kconfig options. > > > > > > Signed-off-by: Mario Six > > > > > > --- > > > >

Re: [U-Boot] [PATCH v2 0/7] Align U-Boot I2C DM bus ID handling with Linux

2019-02-07 Thread Michal Simek
Hi Simon, On 08. 02. 19 5:11, Simon Glass wrote: > Hi Michal, > > On Tue, 5 Feb 2019 at 00:58, Michal Simek wrote: >> >> Hi Simon, >> >> On 02. 02. 19 15:10, Simon Glass wrote: >>> Hi Michal, >>> >>> On Thu, 31 Jan 2019 at 08:31, Michal Simek wrote: U-Boot with I2C_DM enabled is not c

Re: [U-Boot] [PATCH 00/11] sound: Add sound support for Nyan

2019-02-07 Thread Simon Glass
Hi Tom, On Mon, 21 Jan 2019 at 16:43, Simon Glass wrote: > > Hi Tom, > > On Mon, 21 Jan 2019 at 10:46, Tom Warren wrote: > > > > Let's have Jon Hunter take a look, I'll take it in to tegra/master if he > > acks it. > > OK thank you. For now I've picked up the non-Tegra patches from that > serie

Re: [U-Boot] [PATCH v2 2/7] fdt: Introduce fdtdec_get_alias_highest_id()

2019-02-07 Thread Simon Glass
On Thu, 31 Jan 2019 at 08:31, Michal Simek wrote: > > Find out the highest alias ID used for certain subsystem. > This call will be used for alocating IDs for i2c buses which are not > described in DT. > > Signed-off-by: Michal Simek > --- > > Changes in v2: None > > include/fdtdec.h | 13 ++

Re: [U-Boot] [PATCH] initcall: Move to inline function

2019-02-07 Thread Simon Glass
Hi Alex, On Sat, 2 Feb 2019 at 09:07, Alexander Graf wrote: > > > > > Am 02.02.2019 um 15:13 schrieb Simon Glass : > > > > Hi Alex, > > > >> On Thu, 31 Jan 2019 at 08:06, Alexander Graf wrote: > >> > >> The board_r init function was complaining that we are looping through > >> an array, calling

Re: [U-Boot] [PATCH 1/1] tpm: simplify: tpm_set_global_lock()

2019-02-07 Thread Simon Glass
On Mon, 4 Feb 2019 at 17:38, Heinrich Schuchardt wrote: > > When in pack_byte_string() memcpy() is called for size 0 the source buffer > address has no relevance. So we can use NULL here. > > Signed-off-by: Heinrich Schuchardt > --- > lib/tpm-v1.c | 4 +--- > 1 file changed, 1 insertion(+), 3 de

Re: [U-Boot] [PATCH v2 0/7] Align U-Boot I2C DM bus ID handling with Linux

2019-02-07 Thread Simon Glass
Hi Michal, On Tue, 5 Feb 2019 at 00:58, Michal Simek wrote: > > Hi Simon, > > On 02. 02. 19 15:10, Simon Glass wrote: > > Hi Michal, > > > > On Thu, 31 Jan 2019 at 08:31, Michal Simek wrote: > >> > >> U-Boot with I2C_DM enabled is not capable to list i2c busses connected > >> to i2c mux. For get

Re: [U-Boot] [PATCH] cros: Expand the Chromium OS documentation

2019-02-07 Thread Simon Glass
Hi Tristan, On Mon, 4 Feb 2019 at 08:01, Tristan Bastian wrote: > > Hi Simon, > > I'm using the nyan-big chromebook (tegra124). > Is it possible to replace coreboot + depthcharge with just u-boot on the > internal spi flash? > If so, do you have some instructions for that? Possibly, although I

Re: [U-Boot] [PATCH v2 3/7] dm: core: Introduce dev_read_alias_highest_id()

2019-02-07 Thread Simon Glass
On Thu, 31 Jan 2019 at 08:31, Michal Simek wrote: > > It is wrapper for calling of_alias_get_highest_id() when live tree is > enabled and fdtdec_get_alias_highest_id() if not. > > Signed-off-by: Michal Simek > --- > > Changes in v2: > - New patch > > drivers/core/read.c | 8 > include/

Re: [U-Boot] [PATCH v2 1/7] dm: core: Add of_alias_get_highest_id()

2019-02-07 Thread Simon Glass
On Wed, 6 Feb 2019 at 23:46, Heiko Schocher wrote: > > Hello Michal, > > Am 31.01.2019 um 16:30 schrieb Michal Simek: > > The same functionality was added to Linux for i2c bus registration with this > > commit message: > > > > " > > of: base: add function to get highest id of an alias stem > > > >

Re: [U-Boot] [PATCH v2 4/7] dm: core: Add tests for dev_read_alias_highest_id()

2019-02-07 Thread Simon Glass
On Thu, 31 Jan 2019 at 08:31, Michal Simek wrote: > > It is checking the highest alias ID for eth, gpio, pci, i2c and error > code on non existing alias. > > Signed-off-by: Michal Simek > --- > > Changes in v2: > - New patch > > test/dm/test-fdt.c | 23 +++ > 1 file changed,

Re: [U-Boot] MAINTAINERS: update u-boot-atmel tree

2019-02-07 Thread Tom Rini
On Tue, Feb 05, 2019 at 10:20:39AM +, eugen.hris...@microchip.com wrote: > From: Eugen Hristev > > Update Atmel AT91 maintainership > > Signed-off-by: Eugen Hristev > Acked-by: Nicolas Ferre Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___

Re: [U-Boot] [U-Boot, v2] MAINTAINERS: Change fsl-qoriq, mpc85xx, mpc86xx maintainers

2019-02-07 Thread Tom Rini
On Mon, Feb 04, 2019 at 05:08:49PM +, York Sun wrote: > >From 19d9e77a6df1f1820f0e8a2bd987849bce14625e Mon Sep 17 00:00:00 2001 > From: York Sun > Date: Mon, 4 Feb 2019 08:22:58 -0800 > Subject: [PATCH v2] MAINTAINERS: Change fsl-qoriq, mpc85xx, mpc86xx > maintainers > > Change maintainers

Re: [U-Boot] [PATCH v2] arm: dts: am33xx: introduce 'am33xx-u-boot.dtsi'

2019-02-07 Thread Tom Rini
On Wed, Feb 06, 2019 at 12:49:50PM +0100, Hannes Schmelzer wrote: > commit fdce9d35dc36 ("arm: dts: am33xx: Sync dts with Linux 4.20.0") > did remove the "u-boot,dm-spl" flag from the 'ocp' bus which was > introduced with > commit 19aa4ac09db9 ("dts: am33xx: add u-boot, dm-spl to ocp bus") > > Du

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

2019-02-07 Thread Tom Rini
On Fri, Feb 08, 2019 at 01:17:21AM +0530, Jagan Teki wrote: > Hi Tom, > > Please pull this SPI-NOR sync. > > thanks, > Jagan. > > The following changes since commit e5fd39c886485e3dec77f4438a6e364c2987cf5f: > > Merge tag 'for-master-20190201' of git://git.denx.de/u-boot-rockchip > (2019-02-

Re: [U-Boot] Please pull u-boot-marvell/master

2019-02-07 Thread Tom Rini
On Tue, Feb 05, 2019 at 02:36:19PM +0100, Stefan Roese wrote: > Hi Tom, > > please pull the following Marvell related patches, mostly dealing > with the move to driver model (DM_VIDEO & DM_PCI) for the MVEBU > Armada XP / 38x platforms: > Applied to u-boot/master, thanks! -- Tom signature.a

Re: [U-Boot] [PULL] Please pull u-boot-rockchip: tags/for-master-20190205

2019-02-07 Thread Tom Rini
On Tue, Feb 05, 2019 at 10:38:30AM +0100, Philipp Tomsich wrote: > Tom, > > A merge-artifact slipped in with the last round of merges. > Here’s a PR to remove these (I didn’t throw this at Travis for obvious > reasons...). > > Thanks, > Philipp. > > > The following changes since commit e5fd39

[U-Boot] [ANN] U-Boot v2019.04-rc1 released

2019-02-07 Thread Tom Rini
Hey all, So, the scheduled release day for v2019.04-rc1 was a while ago, and so we are quite late. But that's because I really wanted to get a few things in and I've gotten feedback about taking in big changes post -rc1 being not a good thing. So in that vein, -rc1 is out now. I don't see "upda

[U-Boot] [PATCH v2 1/1] efi_selftest: LoadImage from file device path

2019-02-07 Thread Heinrich Schuchardt
Provide a unit test that calls LoadImage() with a file device path and executes the application via StartImage(). Signed-off-by: Heinrich Schuchardt --- v2 correct a comment --- lib/efi_selftest/Makefile | 3 + lib/efi_selftest/efi_selftest_loadimage.c | 529 +++

Re: [U-Boot] [PATCH v3 0/5] spi-flash: switch to "jedec, spi-nor" binding

2019-02-07 Thread Neil Armstrong
Le 07/02/2019 13:28, Jagan Teki a écrit : > On Tue, Jan 15, 2019 at 6:29 PM Neil Armstrong > wrote: >> >> There is no reason not to use the Linux "jedec,spi-nor" binding in u-boot. >> This patchset : >> - adds this compatible into sf_probe and will avoid changing the >> device tree files to a

[U-Boot] Pull request: u-boot-spi/master

2019-02-07 Thread Jagan Teki
Hi Tom, Please pull this SPI-NOR sync. thanks, Jagan. The following changes since commit e5fd39c886485e3dec77f4438a6e364c2987cf5f: Merge tag 'for-master-20190201' of git://git.denx.de/u-boot-rockchip (2019-02-02 10:11:20 -0500) are available in the Git repository at: git://git.denx.de/u-

Re: [U-Boot] [PATCH 1/2] fdt: Allow indicating a node is for U-Boot proper only

2019-02-07 Thread Marek Vasut
On 2/7/19 6:40 PM, Patrick DELAUNAY wrote: > Hi Marek, > >> From: Marek Vasut >> Sent: mardi 5 février 2019 09:55 >> >> On 2/4/19 3:40 PM, Simon Glass wrote: >>> On Mon, 4 Feb 2019 at 03:15, Patrick Delaunay >> wrote: This add missing parts for previous commit 06f94461a9f4 ("fdt:

Re: [U-Boot] [PATCH 1/2] fdt: Allow indicating a node is for U-Boot proper only

2019-02-07 Thread Patrick DELAUNAY
Hi Marek, > From: Marek Vasut > Sent: mardi 5 février 2019 09:55 > > On 2/4/19 3:40 PM, Simon Glass wrote: > > On Mon, 4 Feb 2019 at 03:15, Patrick Delaunay > wrote: > >> > >> This add missing parts for previous commit 06f94461a9f4 > >> ("fdt: Allow indicating a node is for U-Boot proper only")

Re: [U-Boot] [PATCH 1/3] ARM: rmobile: Switch CPU to non-secure HYP mode for r8a7790 based boards

2019-02-07 Thread Oleksandr
On 07.02.19 17:49, Marek Vasut wrote: On 2/7/19 4:28 PM, Oleksandr wrote: On 05.02.19 20:48, Marek Vasut wrote: Hi Marek Hi, Hi, On 1/31/19 6:38 PM, Oleksandr Tyshchenko wrote: From: Oleksandr Tyshchenko Both Lager and Stout boards are based on r8a7790 SoC. Leave platform specific f

Re: [U-Boot] [PATCH v2] arm: dts: am33xx: introduce 'am33xx-u-boot.dtsi'

2019-02-07 Thread Hannes Schmelzer
On 2/7/19 5:47 PM, Felix Brack wrote: Hi Hannes, Hi Felix, On 06.02.19 12:49, Hannes Schmelzer wrote: commit fdce9d35dc36 ("arm: dts: am33xx: Sync dts with Linux 4.20.0") did remove the "u-boot,dm-spl" flag from the 'ocp' bus which was introduced with commit 19aa4ac09db9 ("dts: am33xx: add u-

Re: [U-Boot] [PATCH v2] arm: dts: am33xx: introduce 'am33xx-u-boot.dtsi'

2019-02-07 Thread Felix Brack
Hi Hannes, On 06.02.19 12:49, Hannes Schmelzer wrote: > commit fdce9d35dc36 ("arm: dts: am33xx: Sync dts with Linux 4.20.0") > did remove the "u-boot,dm-spl" flag from the 'ocp' bus which was > introduced with > commit 19aa4ac09db9 ("dts: am33xx: add u-boot, dm-spl to ocp bus") > > Due to this al

Re: [U-Boot] [PATCH 1/3] ARM: rmobile: Switch CPU to non-secure HYP mode for r8a7790 based boards

2019-02-07 Thread Marek Vasut
On 2/7/19 4:28 PM, Oleksandr wrote: > > On 05.02.19 20:48, Marek Vasut wrote: > > Hi Marek Hi, >> On 1/31/19 6:38 PM, Oleksandr Tyshchenko wrote: >>> From: Oleksandr Tyshchenko >>> >>> Both Lager and Stout boards are based on r8a7790 SoC. >>> >>> Leave platform specific functions for bringing

Re: [U-Boot] [PATCH] Kconfig: fix BUILD_TARGET for ARCH_MVEBU

2019-02-07 Thread Stefan Roese
On 07.02.19 12:21, Baruch Siach wrote: Commit dc146ca11187 ("Kconfig: Migrate CONFIG_BUILD_TARGET") made the mvebu default build target depend on CONFIG_SPL_BUILD. Unfortunately, there is no such Kconfig symbol. Use the CONFIG_SPL symbol instead to fix that. Cc: Jagan Teki Signed-off-by: Baruch

Re: [U-Boot] [PATCH 1/3] ARM: rmobile: Switch CPU to non-secure HYP mode for r8a7790 based boards

2019-02-07 Thread Oleksandr
On 05.02.19 20:48, Marek Vasut wrote: Hi Marek On 1/31/19 6:38 PM, Oleksandr Tyshchenko wrote: From: Oleksandr Tyshchenko Both Lager and Stout boards are based on r8a7790 SoC. Leave platform specific functions for bringing seconadary CPUs up empty, since our target is to use PSCI for that.

Re: [U-Boot] Booting linux zImage on vexpress-a15

2019-02-07 Thread Liviu Dudau
On Thu, Feb 07, 2019 at 01:55:00PM +0100, Andre Wagner wrote: > Hi Liviu, > > thank you very much for your reply. A very good hint was that I need to set > the extra kernel parameter earlyprintk for showing further debug output. I > expected that setting the 'Early Printk' option in Kconfig is eno

Re: [U-Boot] Booting linux zImage on vexpress-a15

2019-02-07 Thread Andre Wagner
Hi Liviu, thank you very much for your reply. A very good hint was that I need to set the extra kernel parameter earlyprintk for showing further debug output. I expected that setting the 'Early Printk' option in Kconfig is enough. After adding this kernel parameter i can see the kernel boot m

Re: [U-Boot] [PATCH v4 00/20] SF: Migrate to Linux SPI NOR framework

2019-02-07 Thread Jagan Teki
On Tue, Feb 5, 2019 at 11:29 AM Vignesh R wrote: > > Here is the v4 of SPI NOR migration(github branch at [1]) with minor > cleanups > > Travis ci report: > https://travis-ci.org/r-vignesh/u-boot/builds/488868207 > > Change log: > Since v3: > Rebase on to the latest u-boot/master > Drop MODULE_LIC

Re: [U-Boot] [PATCH v3 0/5] spi-flash: switch to "jedec, spi-nor" binding

2019-02-07 Thread Jagan Teki
On Tue, Jan 15, 2019 at 6:29 PM Neil Armstrong wrote: > > There is no reason not to use the Linux "jedec,spi-nor" binding in u-boot. > This patchset : > - adds this compatible into sf_probe and will avoid changing the > device tree files to add a u-boot specific compatible to probe a spi flash.

[U-Boot] [PATCH] elf: fix cache flushing in 'bootelf -p' command

2019-02-07 Thread Kurban Mallachiev
Currently there are two problems in 'bootelf -p' (load elf by segments) command: - bss section is not flushed, so booted elf can have non zero values in bss; - at least on ARM there are 'CACHE: Misaligned operation at range...' warnings Use p_memsz instead of p_filesz during cache flushing for

[U-Boot] [PATCH] Kconfig: fix BUILD_TARGET for ARCH_MVEBU

2019-02-07 Thread Baruch Siach
Commit dc146ca11187 ("Kconfig: Migrate CONFIG_BUILD_TARGET") made the mvebu default build target depend on CONFIG_SPL_BUILD. Unfortunately, there is no such Kconfig symbol. Use the CONFIG_SPL symbol instead to fix that. Cc: Jagan Teki Signed-off-by: Baruch Siach --- Kconfig | 2 +- 1 file chang

Re: [U-Boot] [PATCH v5 00/15] SiFive FU540 Support

2019-02-07 Thread Anup Patel
> -Original Message- > From: Anup Patel > Sent: Tuesday, February 5, 2019 6:34 PM > To: Rick Chen ; Bin Meng ; > Joe Hershberger ; Michal Simek > ; Michal Simek ; Lukas Auer > ; Masahiro Yamada > ; Simon Glass > Cc: Alexander Graf ; Palmer Dabbelt ; > Paul Walmsley ; Atish Patra > ; Anup

Re: [U-Boot] [PATCH v3 04/22] vybrid: clock: Provide enable_i2c_clk() function for Vybrid

2019-02-07 Thread Stefan Agner
On 03.02.2019 00:02, Lukasz Majewski wrote: > Provide function to enable I2C clocks for vf610 - in the generic code. > This function overrides the default weak function implementation (which > only returns 1). > > Signed-off-by: Lukasz Majewski Reviewed-by: Stefan Agner -- Stefan > > --- >