[U-Boot] [PATCH] arm64: zynqmp: Setup DM_ETH/MMC if NET/MMC is enabled

2019-01-15 Thread Michal Simek
Setup proper ETH/MMC dependency for the whole platform. Signed-off-by: Michal Simek --- arch/arm/Kconfig | 2 ++ configs/avnet_ultra96_rev1_defconfig | 2 -- configs/xilinx_zynqmp_mini_emmc0_defconfig | 1 - configs/xilinx_zynqmp_mini_emmc1_defc

[U-Boot] [PATCH] arm64: zynqmp: Enable net configs for zc1275

2019-01-15 Thread Michal Simek
From: Siva Durga Prasad Paladugu This patch enable net configs for zc1275 board. Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- Depends on fixed phy patches. --- configs/xilinx_zynqmp_zc1275_revB_defconfig | 4 1 file changed, 4 insertions(+) diff --git a/co

Re: [U-Boot] [PATCH 3/6] ARM: socfpga: Add the configuration for FPGA SoCFPGA A10 SoCDK

2019-01-15 Thread Chee, Tien Fong
On Thu, 2019-01-03 at 21:15 +0100, Marek Vasut wrote: > On 1/3/19 6:36 AM, Chee, Tien Fong wrote: > > > > On Tue, 2019-01-01 at 21:29 +0100, Marek Vasut wrote: > > > > > > On 1/1/19 4:32 AM, Chee, Tien Fong wrote: > > > > > > > > > > > > On Sun, 2018-12-30 at 16:47 +0100, Marek Vasut wrote: > >

Re: [U-Boot] [PATCH v1 11/21] ARM: DTS: Update pcm052 based dts files (bk4r1/pcm052.dts)

2019-01-15 Thread Lukasz Majewski
Hi Tom, > On Mon, Jan 14, 2019 at 03:17:30PM +0100, Lukasz Majewski wrote: > > This commit provides update to the bk4r1.dts file with > > more on SoC HW description. > > Moreover, a new vf610-pcm052.drsi file has been introduced > > to reuse the common code between devices based on Phytec's > > pc

[U-Boot] [PATCH] ARM: zynqmp_r5: Setup DM_ETH/MMC if NET/MMC is enabled

2019-01-15 Thread Michal Simek
Setup proper ETH/MMC dependency for the whole platform. Signed-off-by: Michal Simek --- arch/arm/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 271d883d99ff..8346b172ac61 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -931,6 +931

Re: [U-Boot] [PATCH 2/2] travis: Wire Xilinx Versal Virt platform

2019-01-15 Thread Alexander Graf
On 15.01.19 08:07, Michal Simek wrote: > On 07. 01. 19 23:59, Tom Rini wrote: >> On Mon, Jan 07, 2019 at 09:15:17PM +0100, Alexander Graf wrote: >>> >>> >>> On 07.01.19 18:13, Tom Rini wrote: On Mon, Jan 07, 2019 at 05:57:10PM +0100, Alexander Graf wrote: > On 01/07/2019 01:46 PM, Michal

Re: [U-Boot] [PATCH 2/2] travis: Wire Xilinx Versal Virt platform

2019-01-15 Thread Michal Simek
On 15. 01. 19 9:54, Alexander Graf wrote: > > > On 15.01.19 08:07, Michal Simek wrote: >> On 07. 01. 19 23:59, Tom Rini wrote: >>> On Mon, Jan 07, 2019 at 09:15:17PM +0100, Alexander Graf wrote: On 07.01.19 18:13, Tom Rini wrote: > On Mon, Jan 07, 2019 at 05:57:10PM +0100, Alex

Re: [U-Boot] [PATCH 2/2] travis: Wire Xilinx Versal Virt platform

2019-01-15 Thread Alexander Graf
On 15.01.19 09:56, Michal Simek wrote: > On 15. 01. 19 9:54, Alexander Graf wrote: >> >> >> On 15.01.19 08:07, Michal Simek wrote: >>> On 07. 01. 19 23:59, Tom Rini wrote: On Mon, Jan 07, 2019 at 09:15:17PM +0100, Alexander Graf wrote: > > > On 07.01.19 18:13, Tom Rini wrote: >>>

Re: [U-Boot] [PATCH] net: fix env flags for eth10addr and above

2019-01-15 Thread Joe Hershberger
On Thu, Nov 22, 2018 at 10:06 AM Simon Goldschmidt wrote: > > With CONFIG_REGEX enabled, ETHADDR_WILDCARD is set up for up to 10 > interfaces (0..9) as the number can only have one digit. > > On boards with more than 10 interfaces, this leads to the protection > and format checks being absent for

Re: [U-Boot] [PATCH] net: remove duplicate definition of ETHADDR_WILDCARD

2019-01-15 Thread Joe Hershberger
On Thu, Nov 22, 2018 at 9:58 AM Simon Goldschmidt wrote: > > ETHADDR_WILDCARD is defined as the same value in both env_flags.h > and env_callback.h > > As env_callback.h includes env_flags.h, remove the duplicate definition > from env_callback.h > > Signed-off-by: Simon Goldschmidt Acked-by: Joe

Re: [U-Boot] [PATCH v4 0/9] cmd: add efitool for efi environment

2019-01-15 Thread Alexander Graf
> Am 15.01.2019 um 03:55 schrieb AKASHI Takahiro : > > This patch set is a collection of patches to enhance efi user interfaces > /commands. It will help improve user experience on efi boot and make it > more usable *without* edk2's shell utility. Thanks a lot again. This is invaluable for efi_

Re: [U-Boot] rk3288: firefly: flashing emmc from maskrom using USB

2019-01-15 Thread Jack Mitchell
On 15/01/2019 02:05, Kever Yang wrote: > HI Jack, > > > On 01/15/2019 01:28 AM, Jack Mitchell wrote: >> I'm having issues flashing the emmc on my firefly board using USB. For >> some reason it seems as though trying to write to the emmc flash sector >> 0x40 for uboot spl+proper from the Maskrom/Loa

Re: [U-Boot] [PATCH v2 1/7] cmd: part: Add 'number' sub-command

2019-01-15 Thread Igor Opaniuk
Reviewed-by: Igor Opaniuk On Wed, 12 Dec 2018 at 19:12, Ruslan Trofymenko wrote: > > This sub-command serves for getting the partition index from > partition name. Also it can be used to test the existence of specified > partition. > > Signed-off-by: Ruslan Trofymenko > Reviewed-by: Alistair St

Re: [U-Boot] Proposed fastboot changes

2019-01-15 Thread Alex Kiernan
On Mon, Jan 14, 2019 at 8:49 PM Douglas Zobel wrote: > > I've made some changes to the fastboot handlers to meet my needs. If there > is interest, I can prepare patches and submit them upstream. The changes are: > > BUGFIX: Currently the 'fastboot format [partition]' command (run from PC) > f

Re: [U-Boot] [PATCH v2 6/7] doc: android: Add simple guide for A/B updates

2019-01-15 Thread Igor Opaniuk
Reviewed-by: Igor Opaniuk On Wed, 12 Dec 2018 at 19:12, Ruslan Trofymenko wrote: > > Add a short documentation for A/B enablement and 'ab_select' command > usage. > > Signed-off-by: Ruslan Trofymenko > Reviewed-by: Alistair Strachan > Reviewed-by: Sam Protsenko > --- > Changes in v2: > * Сh

Re: [U-Boot] [PATCH v2 4/7] cmd: Add 'ab_select' command

2019-01-15 Thread Igor Opaniuk
Hello Ruslan, On Wed, 12 Dec 2018 at 19:12, Ruslan Trofymenko wrote: > > For A/B system update support the Android boot process requires to send > 'androidboot.slot_suffix' parameter as a command line argument. This > patch implementes 'ab_select' command which allows us to obtain current > slot

[U-Boot] [PATCH 1/5] arm64: zynqmp: Setup proper SPI dependency

2019-01-15 Thread Michal Simek
Select DM_SPI/DM_SPI_FLASH for the whole SoC. Signed-off-by: Michal Simek --- arch/arm/Kconfig | 2 ++ configs/avnet_ultra96_rev1_defconfig | 2 -- configs/xilinx_zynqmp_mini_qspi_defconfig | 2 -- configs/xilinx_zynqmp_zcu100_revC_defconfig | 2 -- c

[U-Boot] [PATCH 3/5] arm64: zynqmp: Enable ISSI flash for some platforms

2019-01-15 Thread Michal Simek
Enable ISSI flash for platforms. Xilinx reference boards are also used internally with different flash part to increase coverage that's why enable also ISSI parts for all these boards even if that board is released only with one part. Signed-off-by: Michal Simek --- configs/avnet_ultra96_rev1_d

[U-Boot] [PATCH 2/5] arm64: zynqmp: Enable SPI on several boards

2019-01-15 Thread Michal Simek
Enable GQSPI driver, SF command and SPL support for some platforms. Signed-off-by: Michal Simek --- configs/xilinx_zynqmp_zc1232_revA_defconfig | 3 +++ configs/xilinx_zynqmp_zc1254_revA_defconfig | 3 +++ configs/xilinx_zynqmp_zc1275_revA_defconfig | 3 +++ configs/xilinx_zynqmp

[U-Boot] [PATCH 5/5] arm64: zynqmp: Disable MMC for for zc12xx_revA boards

2019-01-15 Thread Michal Simek
All these boards have no SD enabled. Signed-off-by: Michal Simek --- configs/xilinx_zynqmp_zc1232_revA_defconfig | 2 +- configs/xilinx_zynqmp_zc1254_revA_defconfig | 2 +- configs/xilinx_zynqmp_zc1275_revA_defconfig | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/configs

[U-Boot] [PATCH 4/5] arm64: zynqmp: Enable FPGA_LOAD_SECURE command

2019-01-15 Thread Michal Simek
Enable fpga load secure feature for xilinx platforms. Signed-off-by: Michal Simek --- configs/xilinx_zynqmp_zc1232_revA_defconfig | 1 + configs/xilinx_zynqmp_zc1254_revA_defconfig | 1 + configs/xilinx_zynqmp_zc1275_revA_defconfig | 1 + configs/xilinx_zynqmp_zc1275_revB_defconf

Re: [U-Boot] [PATCH v2 3/7] common: Implement A/B metadata

2019-01-15 Thread Igor Opaniuk
Hi, On Wed, 12 Dec 2018 at 19:12, Ruslan Trofymenko wrote: > > This patch determines the A/B-specific bootloader message structure > that is the basis for implementation of recovery and A/B update > functions. A/B metadata is stored in this structure and used to decide > which slot should we use

Re: [U-Boot] [PATCH v2 7/7] env: am57xx: Implement A/B boot process

2019-01-15 Thread Igor Opaniuk
Reviewed-by: Igor Opaniuk On Wed, 12 Dec 2018 at 19:12, Ruslan Trofymenko wrote: > > Add support for A/B boot process on AM57xx based boards: > > 1. Define 'slot_suffix' variable (using 'ab_select' command) > 2. Extend 'emmc_android_boot' boot command (add commands for A/B boot > proces

Re: [U-Boot] [PATCH] common: Break USB_STORAGE dependency between SPL and u-boot proper

2019-01-15 Thread Marek Vasut
On 1/15/19 12:07 PM, Abel Vesa wrote: > Some boards might need USB_STORAGE enabled in u-boot proper but not in SPL. > Make a separate config for SPL and keep the same depends on conditions but > for SPL. Is this new or is this something which worked before and broke in the last few releases ? I r

Re: [U-Boot] [PATCH 3/6] ARM: socfpga: Add the configuration for FPGA SoCFPGA A10 SoCDK

2019-01-15 Thread Marek Vasut
On 1/15/19 9:16 AM, Chee, Tien Fong wrote: > On Thu, 2019-01-03 at 21:15 +0100, Marek Vasut wrote: >> On 1/3/19 6:36 AM, Chee, Tien Fong wrote: >>> >>> On Tue, 2019-01-01 at 21:29 +0100, Marek Vasut wrote: On 1/1/19 4:32 AM, Chee, Tien Fong wrote: > > > On Sun, 2018-12-30 at 1

[U-Boot] [PATCH v2] arm64: mvebu: Add basic support for uDPU board

2019-01-15 Thread Vladimir Vid
This adds initial support for micro-DPU (uDPU) board which is based on Armada-3720 SoC. micro-DPU is the single-port FTTdp "distribution point unit" made by Methode Electronics which offers complete modularity with replaceable SFP modules both for uplink and downlink (G.hn over twisted-pair, G.h

[U-Boot] [PATCH] common: Break USB_STORAGE dependency between SPL and u-boot proper

2019-01-15 Thread Abel Vesa
Some boards might need USB_STORAGE enabled in u-boot proper but not in SPL. Make a separate config for SPL and keep the same depends on conditions but for SPL. Signed-off-by: Abel Vesa --- common/Makefile| 2 +- configs/apalis_imx6_defconfig | 1 + configs/colibri_imx6_defconfi

Re: [U-Boot] [PATCH] common: Break USB_STORAGE dependency between SPL and u-boot proper

2019-01-15 Thread Abel Vesa
On 19-01-15 12:27:11, Marek Vasut wrote: > On 1/15/19 12:07 PM, Abel Vesa wrote: > > Some boards might need USB_STORAGE enabled in u-boot proper but not in SPL. > > Make a separate config for SPL and keep the same depends on conditions but > > for SPL. > > Is this new or is this something which w

[U-Boot] Help/Clue to improve Z-turn board support

2019-01-15 Thread Alexandre GRIVEAUX
Hello, I tried to have mainline uboot for Z-turn board (patch sent in December, wrong window: [PATCH] ARM: zynq: Adding ps7_init_gpl.c for Z-turn board) Even with the right ps7_init_gpl.c : the board doesn't boot. I tried to correct zynq-zturn.dts [0] because I don't find MYIR references in d

[U-Boot] [PATCH 1/2] mips: mt7688: gardena-smart-gateway: Update mtdparts/mtdids for Kernel 4.19

2019-01-15 Thread Stefan Roese
With the new SPI NOR framework in v4.19, we need to adapt the MTD parts so that the kernel cmdline parameter "mtdparts=" uses the correct naming for the devices. Signed-off-by: Stefan Roese Cc: Daniel Schwierzeck --- configs/gardena-smart-gateway-mt7688-ram_defconfig | 4 ++-- configs/gardena-s

[U-Boot] [PATCH 2/2] mips: mt7688: gardena-smart-gateway: Enable green power LED on startup

2019-01-15 Thread Stefan Roese
Set the correct power-up state (default-state) of the green power LED. Signed-off-by: Stefan Roese Cc: Daniel Schwierzeck --- arch/mips/dts/gardena-smart-gateway-mt7688.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mips/dts/gardena-smart-gateway-mt7688.dts b/arch

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

2019-01-15 Thread Neil Armstrong
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. - switches all DTS/DTSI files to "jedec,spi-nor" - remove the "sp

[U-Boot] [PATCH v3 1/5] mtd: sf_probe: add jedec, spi-nor compatible

2019-01-15 Thread Neil Armstrong
There is no reason not to use the Linux "jedec,spi-nor" binding in u-boot. This patch 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. This change is needed to enable SPI NOR Flash support using the non-modif

[U-Boot] [PATCH v3 2/5] dts: switch spi-flash to jedec, spi-nor compatible

2019-01-15 Thread Neil Armstrong
There is no reason not to use the Linux "jedec,spi-nor" binding in U-Boot dts files. This compatible has been added in sf_probe, let use it. This patch switches to jedec,spi-nor when spi-flash is used in the DTS and DTSI files, and removed spi-flash when jedec,spi-nor is already present. The x86

[U-Boot] [PATCH v3 3/5] x86: dts: switch spi-flash to jedec, spi-nor compatible

2019-01-15 Thread Neil Armstrong
The x86 code and DT uses "spi-flash" to detect a flash node, switch to "jedec,spi-nor" in the DTS files and in fdtdec by switching the GENERIC_SPI_FLASH value to to jedec,spi-nor. Signed-off-by: Neil Armstrong Reviewed-by: Simon Goldschmidt --- arch/x86/dts/bayleybay.dts| 2

[U-Boot] [PATCH v3 5/5] doc: device-tree-bindings: switch from spi-flash to jedec, spi-nor

2019-01-15 Thread Neil Armstrong
Since all DTS files has been switched to "jedec,spi-nor", remove the "spi-flash" compatible from the bindings examples. Signed-off-by: Neil Armstrong Reviewed-by: Simon Goldschmidt --- doc/device-tree-bindings/pinctrl/atmel,at91-pio4-pinctrl.txt | 2 +- doc/device-tree-bindings/spi/spi-atcspi20

[U-Boot] [PATCH v3 4/5] mtd: sf_probe: remove spi-flash compatible

2019-01-15 Thread Neil Armstrong
Now the "spi-flash" compatible has been removed in the DTS files, remove this compatible from sf_probe to finally use the Linux "jedec,spi-nor" compatible. Signed-off-by: Neil Armstrong Reviewed-by: Simon Goldschmidt --- drivers/mtd/spi/sf_probe.c | 1 - 1 file changed, 1 deletion(-) diff --gi

[U-Boot] Please pull from u-boot-i2c

2019-01-15 Thread Heiko Schocher
Hello Tom, please pull from u-boot-i2c.git master The following changes since commit d3689267f92c5956e09cc7d1baa4700141662bff: Prepare v2019.01 (2019-01-14 17:02:36 -0500) are available in the Git repository at: git://git.denx.de/u-boot-i2c.git master for you to fetch changes up to 1d7b6

Re: [U-Boot] [PATCH] common: Break USB_STORAGE dependency between SPL and u-boot proper

2019-01-15 Thread Vignesh R
On 15/01/19 4:37 PM, Abel Vesa wrote: > Some boards might need USB_STORAGE enabled in u-boot proper but not in SPL. > Make a separate config for SPL and keep the same depends on conditions but > for SPL. > > Signed-off-by: Abel Vesa > --- > common/Makefile| 2 +- > configs/apa

[U-Boot] [PATCH 2/3] arm64: zynqmp: Convert all reference boards to OF_SEPARATE

2019-01-15 Thread Michal Simek
Build warning was added by: "fdt: Add warning about CONFIG_OF_EMBED" (sha1: 841d5fbae4e993476fa87d8933db0cd58d3c2d41) ZynqMP mini configurations are not moved yet and it is questionable if make sense to move them too. Signed-off-by: Michal Simek --- Depends on the patch: "tools: zynqimage: Alig

[U-Boot] [PATCH 3/3] ARM: zynq: Convert all boards to OF_SEPARATE

2019-01-15 Thread Michal Simek
Build warning was added by: "fdt: Add warning about CONFIG_OF_EMBED" (sha1: 841d5fbae4e993476fa87d8933db0cd58d3c2d41) Zynq mini configurations are not moved yet and it is questionable if make sense to move them too. Signed-off-by: Michal Simek --- configs/syzygy_hub_defconfig| 1 - con

[U-Boot] [PATCH 1/3] tools: zynqimage: Align image_size/image_stored_size

2019-01-15 Thread Michal Simek
Bootrom is not capable to work with non aligned bootloader sizes. SPL with OF_SEPARATE generates non-align images quite often that's why this change is required before OF_SEPARATE enableding. Signed-off-by: Michal Simek --- tools/zynqmpbif.c | 4 ++-- tools/zynqmpimage.c | 1 + 2 files change

Re: [U-Boot] [PATCH v4 9/9] cmd: env: add "-e" option for handling UEFI variables

2019-01-15 Thread Alexander Graf
On 01/15/2019 04:47 AM, Heinrich Schuchardt wrote: On 1/15/19 3:55 AM, AKASHI Takahiro wrote: "env [print|set] -e" allows for handling uefi variables without knowing details about mapping to corresponding u-boot variables. Why do we need two alternative ways to achieve the same result? We alrea

Re: [U-Boot] [PATCH v4 9/9] cmd: env: add "-e" option for handling UEFI variables

2019-01-15 Thread Alexander Graf
On 01/15/2019 03:55 AM, AKASHI Takahiro wrote: "env [print|set] -e" allows for handling uefi variables without knowing details about mapping to corresponding u-boot variables. Signed-off-by: AKASHI Takahiro --- cmd/nvedit.c | 61 ++-- 1 file ch

[U-Boot] [PATCH] fdt: support booting with dtb in Android image

2019-01-15 Thread Shawn Guo
Some platforms choose to store device tree blob in Android image second area. Let's try to look for dtb from there when booting an Android image, and use it for booting if found. Signed-off-by: Shawn Guo --- common/image-fdt.c | 21 + 1 file changed, 21 insertions(+) diff -

Re: [U-Boot] configs: Enable CONFIG_BLK in a few TI boards

2019-01-15 Thread Tom Rini
On Tue, Jan 08, 2019 at 06:16:31PM +0530, Faiz Abbas wrote: > With DM conversion completed, enable CONFIG_BLK for a > few pending TI boards. > > Signed-off-by: Faiz Abbas > Reviewed-by: Lokesh Vutla > --- > configs/am335x_boneblack_vboot_defconfig | 1 - > configs/am335x_evm_defconfig

[U-Boot] [PATCH] mkimage: fixup CONFIG_FIT_EXTERNAL_OFFSET

2019-01-15 Thread Patrick Wildt
The last parameter is expected to be the imagefile. Since -E is a flag having the output name before -p will make mkimage ignore the external offset option. Signed-off-by: Patrick Wildt --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6a

Re: [U-Boot] [PATCH] common: Break USB_STORAGE dependency between SPL and u-boot proper

2019-01-15 Thread Abel Vesa
On 19-01-15 18:38:00, Vignesh R wrote: > > > On 15/01/19 4:37 PM, Abel Vesa wrote: > > Some boards might need USB_STORAGE enabled in u-boot proper but not in SPL. > > Make a separate config for SPL and keep the same depends on conditions but > > for SPL. > > > > Signed-off-by: Abel Vesa > > --

[U-Boot] Please pull u-boot-dm

2019-01-15 Thread Simon Glass
Hi Tom, https://travis-ci.org/sglass68/u-boot/builds The following changes since commit d3689267f92c5956e09cc7d1baa4700141662bff: Prepare v2019.01 (2019-01-14 17:02:36 -0500) are available in the Git repository at: git://git.denx.de/u-boot-dm.git tags/dm-pull-15jan19 for you to fetch chan

Re: [U-Boot] [PATCH] common: Break USB_STORAGE dependency between SPL and u-boot proper

2019-01-15 Thread Tom Rini
On Tue, Jan 15, 2019 at 11:07:23AM +, Abel Vesa wrote: > Some boards might need USB_STORAGE enabled in u-boot proper but not in SPL. > Make a separate config for SPL and keep the same depends on conditions but > for SPL. > > Signed-off-by: Abel Vesa > --- > common/Makefile|

Re: [U-Boot] [PATCH] common: Break USB_STORAGE dependency between SPL and u-boot proper

2019-01-15 Thread Tom Rini
On Tue, Jan 15, 2019 at 04:05:43PM +, Abel Vesa wrote: > On 19-01-15 11:02:09, Tom Rini wrote: > > On Tue, Jan 15, 2019 at 11:07:23AM +, Abel Vesa wrote: > > > > > Some boards might need USB_STORAGE enabled in u-boot proper but not in > > > SPL. > > > Make a separate config for SPL and ke

[U-Boot] [PATCH u-boot 00/11] meson: add support for Video Output

2019-01-15 Thread Neil Armstrong
This patchset adds support for CVBS and/or HDMI output for Amlogic Meson GX SoCs (GXBB, GXL and GXM) based on the Linux Meson DRM driver ported to the U-Boot Video DM model. It supports only the "DMT" video modes reported by the monitors since AVI InfoFrame management is missing from the U-Boot vid

[U-Boot] [PATCH u-boot 01/11] power: domain: meson-gx-pwrc-vpu: add missing depends

2019-01-15 Thread Neil Armstrong
From: Maxime Jourdan MESON_GX_VPU_POWER_DOMAIN should depend on POWER_DOMAIN. Signed-off-by: Maxime Jourdan Signed-off-by: Neil Armstrong --- drivers/power/domain/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/power/domain/Kconfig b/drivers/power/domain/Kc

[U-Boot] [PATCH u-boot 03/11] video: dw_hdmi: add support for color conversion

2019-01-15 Thread Neil Armstrong
From: Jorge Ramirez-Ortiz Some IPs like the meson VPU can only feed a particular pixel format to dw_hdmi. As of now, the driver is hardcoded to use RGB888 as input. This commit enables different pixel format inputs, with the appropriate CSC configuration. Signed-off-by: Jorge Ramire-Ortiz Sign

[U-Boot] [PATCH u-boot 02/11] video: dw_hdmi: support SoC specific read/write ops

2019-01-15 Thread Neil Armstrong
From: Jorge Ramirez-Ortiz Some IPs like the meson VPU have a specific way to write to dw_hdmi registers. Make it configurable. Signed-off-by: Jorge Ramirez-Ortiz [added commit description] Signed-off-by: Maxime Jourdan Signed-off-by: Neil Armstrong --- drivers/video/dw_hdmi.c | 14 ++

[U-Boot] [PATCH u-boot 07/11] arm64: dts: meson-gx: add hhi reg entry to hdmi_tx

2019-01-15 Thread Neil Armstrong
From: Maxime Jourdan There's no reliable way to reuse the hhi entry from the vpu as is done in the linux kernel, so we duplicate it here. We will be able to sync against kernel DTS in the future when the VPU gets based on the clock framework rather than the HHI reg. Signed-off-by: Maxime Jourda

[U-Boot] [PATCH u-boot 08/11] arm: meson: board-gx: Setup VPU in fdt

2019-01-15 Thread Neil Armstrong
From: Maxime Jourdan If VIDEO_MESON is enabled, we need to setup the fdt for the framebuffer. Call meson_vpu_rsv_fb() which reserves the framebuffer memory region for EFI, and sets up simple-framebuffer nodes if simplefb support is enabled. Signed-off-by: Maxime Jourdan Signed-off-by: Neil Arm

[U-Boot] [PATCH u-boot 06/11] arm64: dts: meson-gx: Add hdmi_5v regulator as hdmi tx supply

2019-01-15 Thread Neil Armstrong
The hdmi_5v regulator must be enabled to provide power to the physical HDMI PHY and enables the HDMI 5V presence loopback for the monitor. Fixes: b409f625a6d5 ("ARM64: dts: meson-gx: Add HDMI_5V regulator on selected boards") Signed-off-by: Neil Armstrong Signed-off-by: Kevin Hilman [backport o

[U-Boot] [PATCH u-boot 09/11] configs: meson64: use vidconsole and usbkbd if enabled

2019-01-15 Thread Neil Armstrong
Allows displaying the console via video and using a USB keyboard. Also enables CONFIG_SPLASH_SCREEN if using video. Signed-off-by: Neil Armstrong Signed-off-by: Maxime Jourdan --- include/configs/meson64.h | 23 +++ 1 file changed, 23 insertions(+) diff --git a/include/con

[U-Boot] [PATCH u-boot 05/11] arm64: dts: meson-gx: vpu should be probed before relocation

2019-01-15 Thread Neil Armstrong
From: Maxime Jourdan Flag the appropriate nodes with u-boot,dm-pre-reloc Signed-off-by: Maxime Jourdan Signed-off-by: Neil Armstrong --- arch/arm/dts/meson-gx-u-boot.dtsi | 15 +++ arch/arm/dts/meson-gxbb-nanopi-k2-u-boot.dtsi | 7 +++ arch/arm/dts/meson-g

[U-Boot] [PATCH u-boot 11/11] arm: libretech-cc: enable video by default

2019-01-15 Thread Neil Armstrong
From: Maxime Jourdan libretech-cc being the main device tested with CONFIG_VIDEO_MESON, let's enable it by default. Also enable: - CONFIG_SYS_WHITE_ON_BLACK for prettiness - CONFIG_VIDEO_DT_SIMPLEFB for framebuffer sharing with kernel Signed-off-by: Maxime Jourdan Signed-off-by: Neil Armstro

[U-Boot] [PATCH u-boot 10/11] arm: meson64: enable console mux and console env by default

2019-01-15 Thread Neil Armstrong
From: Maxime Jourdan With the recent addition of the meson VPU driver, enable the following config entries by default for meson-64 targets: CONFIG_CONSOLE_MUX, CONFIG_SYS_CONSOLE_IS_IN_ENV. This allows outputting the console via video if CONFIG_VIDEO_MESON is selected. Signed-off-by: Maxime Jou

Re: [U-Boot] [PATCH] common: Break USB_STORAGE dependency between SPL and u-boot proper

2019-01-15 Thread Abel Vesa
On 19-01-15 11:02:09, Tom Rini wrote: > On Tue, Jan 15, 2019 at 11:07:23AM +, Abel Vesa wrote: > > > Some boards might need USB_STORAGE enabled in u-boot proper but not in SPL. > > Make a separate config for SPL and keep the same depends on conditions but > > for SPL. > > > > Signed-off-by:

Re: [U-Boot] [PATCH] common: Break USB_STORAGE dependency between SPL and u-boot proper

2019-01-15 Thread Abel Vesa
On 19-01-15 11:10:51, Tom Rini wrote: > On Tue, Jan 15, 2019 at 04:05:43PM +, Abel Vesa wrote: > > On 19-01-15 11:02:09, Tom Rini wrote: > > > On Tue, Jan 15, 2019 at 11:07:23AM +, Abel Vesa wrote: > > > > > > > Some boards might need USB_STORAGE enabled in u-boot proper but not in > > >

Re: [U-Boot] [PATCH 2/2] lib: fdtdec: fixup fdtdec_get_addr_size

2019-01-15 Thread Simon Glass
Hi Keerthy, On Mon, 14 Jan 2019 at 18:52, J, KEERTHY wrote: > > > > On 1/15/2019 6:23 AM, Simon Glass wrote: > > Hi Keerthy, > > > > On Thu, 3 Jan 2019 at 21:39, Keerthy wrote: > >> > >> > >> > >> On Thursday 03 January 2019 11:44 PM, s...@google.com wrote: > >>> On 12/21/18 9:24 AM, Keerthy wro

[U-Boot] [PATCH 3/4] MIPS: mscc: ocelot: add switch reset support

2019-01-15 Thread Gregory CLEMENT
On some ocelots platform a workaround is needed in order to be able to reset the switch without resetting the DDR. Signed-off-by: Gregory CLEMENT --- board/mscc/ocelot/ocelot.c | 28 1 file changed, 28 insertions(+) diff --git a/board/mscc/ocelot/ocelot.c b/board/ms

[U-Boot] [PATCH 2/4] net: add MSCC Ocelot switch support

2019-01-15 Thread Gregory CLEMENT
This patch adds support for the Microsemi Ethernet switch present on Ocelot SoCs. Signed-off-by: Gregory CLEMENT --- MAINTAINERS | 1 + drivers/net/Kconfig | 7 + drivers/net/Makefile| 1 + drivers/net/ocelot_switch.c | 837 ++

[U-Boot] [PATCH 4/4] configs: mscc_ocelot: add network support

2019-01-15 Thread Gregory CLEMENT
Now that network support is added for the ocelot platform, let's add it in the default configuration. Signed-off-by: Gregory CLEMENT --- configs/mscc_ocelot_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/mscc_ocelot_defconfig b/configs/mscc_ocelot_defconfig index fb6a5bdc3

[U-Boot] [PATCH 0/4] Add network support for Ocelots SoCs

2019-01-15 Thread Gregory CLEMENT
Hello, this series allows to use the switch component of the Ocelots SoC as a network interface. The binding used is exactly the same of the one already used by Linux. There is also a patch adding a workaround needed on the Ocelot based boards: indeed the pin connected to the DDR reset is part o

[U-Boot] [PATCH 1/4] MIPS: mscc: ocelot: Add ethernet nodes for Ocelot

2019-01-15 Thread Gregory CLEMENT
Import Ethernet related nodes from Linux Signed-off-by: Gregory CLEMENT --- arch/mips/dts/mscc,ocelot.dtsi | 97 + arch/mips/dts/ocelot_pcb123.dts | 20 +++ 2 files changed, 117 insertions(+) diff --git a/arch/mips/dts/mscc,ocelot.dtsi b/arch/mips/dts/mscc,o

[U-Boot] [PATCH 0/2] MSCC: Add sysreset driver for MSCC SoCs

2019-01-15 Thread Horatiu Vultur
This patch series adds sysreset drivers for MSCC SoCs. There are 3 drivers: sysreset_jr2, sysreset_ocelot and sysreset_luton. This is based off the u-boot-mips/next repository. Horatiu Vultur (2): MSCC: Add sysreset drivers for MSCC Socs MSCC: Remove reset.c MAINTAINERS

[U-Boot] [PATCH 1/2] MSCC: Add sysreset drivers for MSCC Socs

2019-01-15 Thread Horatiu Vultur
Add sysreset driver for Luton, Ocelot and Jaguar2 SoCs. Signed-off-by: Horatiu Vultur --- MAINTAINERS | 1 + arch/mips/dts/mscc,jr2.dtsi | 7 +- arch/mips/dts/mscc,luton.dtsi| 10 +++ arch/mips/dts/mscc,ocelot.dtsi | 5 ++ board/mscc/ocelot/ocelot.c |

[U-Boot] [PATCH 2/2] MSCC: Remove reset.c

2019-01-15 Thread Horatiu Vultur
Remove reset.c because it is not used anymore. It is superseed by sysreset driver. Signed-off-by: Horatiu Vultur --- arch/mips/mach-mscc/Makefile | 2 +- arch/mips/mach-mscc/include/mach/ddr.h | 18 - arch/mips/mach-mscc/reset.c| 47

Re: [U-Boot] [PATCH 3/4] net: dm: fec: Support the phy-supply binding

2019-01-15 Thread Martin Fuzzey
Hi Adam, On 13/01/2019 15:00, Adam Ford wrote: On Thu, Oct 4, 2018 at 12:55 PM Martin Fuzzey wrote: Configure the phy regulator if defined by the "phy-supply" DT phandle. Signed-off-by: Martin Fuzzey This patch seems to break the Ethernet on my board, but I think I have a possible solution

Re: [U-Boot] [PATCH 3/4] net: dm: fec: Support the phy-supply binding

2019-01-15 Thread Adam Ford
On Tue, Jan 15, 2019 at 11:08 AM Martin Fuzzey wrote: > > Hi Adam, > > On 13/01/2019 15:00, Adam Ford wrote: > > On Thu, Oct 4, 2018 at 12:55 PM Martin Fuzzey > > wrote: > >> Configure the phy regulator if defined by the "phy-supply" DT phandle. > >> > >> Signed-off-by: Martin Fuzzey > > This pa

[U-Boot] [PATCH] net: dm: fec: Fix regulator enable when using DM_REGULATOR

2019-01-15 Thread Adam Ford
When DM_REGULATOR is enabled, the driver attempts to call regulator_autoset() which expects the regulators to be on at boot and/or always on and fails if they are not true. For a more generic approach, this patch just calls regulator_set_enable() which shouldn't have such restrictions. Fixes: ad8c

Re: [U-Boot] [PATCH] net: dm: fec: Fix regulator enable when using DM_REGULATOR

2019-01-15 Thread Martin Fuzzey
Hi Adam, On 15/01/2019 18:26, Adam Ford wrote: When DM_REGULATOR is enabled, the driver attempts to call regulator_autoset() which expects the regulators to be on at boot and/or always on and fails if they are not true. For a more generic approach, this patch just calls regulator_set_enable() wh

[U-Boot] [PATCH v3] adding saveenv-command for bananapi r2

2019-01-15 Thread Frank Wunderlich
bananapi r2 can be booted from sd-card and emmc saving the environment have to choose the storage from which the device has booted also the offset is set to 1MB to make sure env is written to block "user data area" between uboot and first partition https://www.fw-web.de/dokuwiki/lib/exe/fetch.php

Re: [U-Boot] [PATCH] net: dm: fec: Fix regulator enable when using DM_REGULATOR

2019-01-15 Thread Joe Hershberger
On Tue, Jan 15, 2019 at 11:27 AM Adam Ford wrote: > > When DM_REGULATOR is enabled, the driver attempts to call > regulator_autoset() which expects the regulators to be on at boot > and/or always on and fails if they are not true. > For a more generic approach, this patch just calls > regulator_se

[U-Boot] pfuze100 regulator returning wrong values

2019-01-15 Thread Adam Ford
I have an i.MX6Q powered by the pfuze100 regulator with DM_PMIC, DM_REGULATOR, and OF_CONTROL enabled along wtih CMD_REGULATOR and CMD_PMIC. Our device tree is configured to use the minimum and max voltage ratings for the parts on the board, and not the absolute min and max ratings for the PMIC it

Re: [U-Boot] Proposed fastboot changes

2019-01-15 Thread Douglas Zobel
On Tue, Jan 15, 2019 at 4:12 AM Alex Kiernan wrote: > On Mon, Jan 14, 2019 at 8:49 PM Douglas Zobel > wrote: > > > > I've made some changes to the fastboot handlers to meet my needs. If > there is interest, I can prepare patches and submit them upstream. The > changes are: > > > > BUGFIX: Cur

[U-Boot] no DTB with nand SPL on sama5d3

2019-01-15 Thread Daniel Evans
After flashing my boot.bin to nand I get the following output: RomBOOT Missing DTB ### ERROR ### Please RESET the board ### I found the error message in fdtdec.c, but not sure what I am missing. I have checked that my DTB is included in the boot.bin output. Any insight on what I am missing?

Re: [U-Boot] mmc: hi6220_dw_mmc: add driver model support

2019-01-15 Thread Tom Rini
On Mon, Dec 17, 2018 at 05:02:31PM +0800, Shawn Guo wrote: > As requested by driver model migration plan, it adds driver model > support, i.e. CONFIG_DM_MMC, for hi6220_dw_mmc driver. > > Signed-off-by: Shawn Guo > --- > drivers/mmc/hi6220_dw_mmc.c | 83 + >

Re: [U-Boot] [PATCH v1 01/21] ARM: DTS: vybrid: Add vf-u-boot.dtsi to set 'u-boot, dm-pre-reloc' in soc

2019-01-15 Thread Tom Rini
On Tue, Jan 15, 2019 at 08:58:58AM +0100, Lukasz Majewski wrote: > Hi Tom, > > > On Mon, Jan 14, 2019 at 03:17:20PM +0100, Lukasz Majewski wrote: > > > > > This property is necessary to allow pinctrl configuration before > > > relocation (uart, DDR pins). > > > > > > Separate file will facilitat

Re: [U-Boot] [PATCH v1 11/21] ARM: DTS: Update pcm052 based dts files (bk4r1/pcm052.dts)

2019-01-15 Thread Tom Rini
On Tue, Jan 15, 2019 at 09:20:16AM +0100, Lukasz Majewski wrote: > Hi Tom, > > > On Mon, Jan 14, 2019 at 03:17:30PM +0100, Lukasz Majewski wrote: > > > This commit provides update to the bk4r1.dts file with > > > more on SoC HW description. > > > Moreover, a new vf610-pcm052.drsi file has been int

Re: [U-Boot] [U-Boot, v2, 2/3] mmc: Convert HI6220 MMC driver to driver model

2019-01-15 Thread Tom Rini
On Thu, Dec 27, 2018 at 07:04:04PM +0530, Manivannan Sadhasivam wrote: > From: Manivannan Sadhasivam > > Convert HiSilicon HI6220 MMC driver based on DWMMC IP to driver > model. > > Signed-off-by: Manivannan Sadhasivam > Reviewed-by: Simon Glass > --- > > Changes in v2: Added Simon's Reviewe

Re: [U-Boot] [U-Boot, v4, 3/6] common: command: Rework the 'cmd is repeatable' logic

2019-01-15 Thread Tom Rini
On Mon, Dec 03, 2018 at 10:54:20PM +0100, Boris Brezillon wrote: > The repeatable property is currently attached to the main command and > sub-commands have no way to change the repeatable value (the > ->repeatable field in sub-command entries is ignored). > > Replace the ->repeatable field by an

Re: [U-Boot] [U-Boot, v4, 1/6] common: command: Fix command auto-completion

2019-01-15 Thread Tom Rini
On Mon, Dec 03, 2018 at 10:54:18PM +0100, Boris Brezillon wrote: > When auto-completing command arguments, the last argument is not > necessarily the one we need to auto-complete. When the last character is > a space, a tab or '\0' what we want instead is list all possible values, > or if there's

Re: [U-Boot] [U-Boot, v4, 3/6] common: command: Rework the 'cmd is repeatable' logic

2019-01-15 Thread Tom Rini
On Mon, Dec 03, 2018 at 10:54:20PM +0100, Boris Brezillon wrote: > The repeatable property is currently attached to the main command and > sub-commands have no way to change the repeatable value (the > ->repeatable field in sub-command entries is ignored). > > Replace the ->repeatable field by an

Re: [U-Boot] [U-Boot,RFC] blk: Increase cache element size

2019-01-15 Thread Tom Rini
On Wed, Aug 08, 2018 at 01:20:29PM +0200, Marek Vasut wrote: > Cache up to 4 kiB entries. 4 kiB is the default block size on ext4, yet > the underlying block layer devices usually report support for 512B . In > most cases, the 512B support is emulated (ie. SD cards, SSDs, USB sticks > etc.) and th

Re: [U-Boot] [U-Boot,v2] image: fix compiling without CMD_FDT

2019-01-15 Thread Tom Rini
On Mon, Dec 17, 2018 at 08:14:42PM +0100, Simon Goldschmidt wrote: > Booting an image currently sets the environment variable "fdtaddr" > by calling into 'cmd/fdt.c'. As a result, linking U-Boot fails if > CMD_FDT is not enabled. > > Fix this by adding 'if (CONFIG_IS_ENABLED(CMD_FDT))' to the two

Re: [U-Boot] [U-Boot, v4, 4/6] command: commands: Add macros to declare commands with subcmds

2019-01-15 Thread Tom Rini
On Mon, Dec 03, 2018 at 10:54:21PM +0100, Boris Brezillon wrote: > Most cmd/xxx.c source files expose several commands through a single > entry point. Some of them are doing the sub-command parsing manually in > their do_() function, others are declaring a table of sub-commands > and then use find

Re: [U-Boot] [U-Boot, v4, 6/6] cmd: adc: Use the sub-command infrastructure

2019-01-15 Thread Tom Rini
On Mon, Dec 03, 2018 at 10:54:23PM +0100, Boris Brezillon wrote: > And you get sub-command auto-completion for free. > > Signed-off-by: Boris Brezillon > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [U-Boot, v4, 2/6] common: command: Expose a generic helper to auto-complete sub commands

2019-01-15 Thread Tom Rini
On Mon, Dec 03, 2018 at 10:54:19PM +0100, Boris Brezillon wrote: > Some commands have a table of sub-commands. With minor adjustments, > complete_cmdv() is able to provide auto-completion for sub-commands > (it's just about passing the table of commands instead of taking the > global one). > We re

Re: [U-Boot] [U-Boot,v2] adding saveenv-command for bananapi r2

2019-01-15 Thread Tom Rini
On Tue, Dec 04, 2018 at 02:44:28PM +0100, Frank Wunderlich wrote: > changes since v1: fixed bracket-style in if-else statement > > >From 47701fbea478ce09a5ef43d914261bf00eb50544 Mon Sep 17 00:00:00 2001 > From: Frank Wunderlich > Date: Mon, 3 Dec 2018 15:32:58 +0100 > Subject: [PATCH] adding sav

Re: [U-Boot] [U-Boot, v4, 5/6] cmd: mtd: Use the subcmd infrastructure to declare mtd sub-commands

2019-01-15 Thread Tom Rini
On Mon, Dec 03, 2018 at 10:54:22PM +0100, Boris Brezillon wrote: > It's way simpler this way, and we also gain auto-completion support for > free (MTD name auto-completion has been added with mtd_name_complete()) > > Signed-off-by: Boris Brezillon > Reviewed-by: Tom Rini Applied to u-boot/mast

Re: [U-Boot] [U-Boot, 2/2] cmd: mmc: Invalidate MMC block cache after init

2019-01-15 Thread Tom Rini
On Thu, Jan 03, 2019 at 10:09:44PM +0100, Marek Vasut wrote: > Make sure the block cache is cleared for the MMC device after it was > reinitialized to avoid having any stale data in the cache, like e.g. > partition tables or such. > > Signed-off-by: Marek Vasut > Cc: Jaehoon Chung Applied to u

Re: [U-Boot] [U-Boot, 06/11] arm: dts: add ethernet related node for MT7623 SoC

2019-01-15 Thread Tom Rini
On Thu, Dec 20, 2018 at 04:12:54PM +0800, Weijie Gao wrote: > This patch adds ethernet gmac node for MT7623 with MT7530 gigabit switch. > > Signed-off-by: Mark Lee Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature _

Re: [U-Boot] [U-Boot, 4/5] omap3: igep00x0: Switch to simple malloc in SPL

2019-01-15 Thread Tom Rini
On Thu, Dec 27, 2018 at 05:03:29PM +0100, Enric Balletbo i Serra wrote: > To save more space, switch to simple malloc here. > > Signed-off-by: Enric Balletbo i Serra Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___

Re: [U-Boot] misc: fs_loader: Switching private data allocation to DM auto allocation

2019-01-15 Thread Tom Rini
On Mon, Dec 10, 2018 at 09:29:44PM +0800, tien.fong.c...@intel.com wrote: > From: Tien Fong Chee > > Switching private data manual allocation to driver model auto allocation > so users no longer need to deallocate themself because this would be > deallocated by driver model when the device is no

  1   2   >