[U-Boot] [PATCH] fpga: Replace char * with const char * for filename

2019-02-14 Thread tien . fong . chee
From: Tien Fong Chee Ensure the string for filename is always constant, otherwise it can be corrupted by the writing. Signed-off-by: Tien Fong Chee --- drivers/fpga/zynqpl.c |3 ++- include/fpga.h|2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git

Re: [U-Boot] [PATCH v2 5/9] arm: exynos: Wait till ADC stabilizes before checking Odroid HC1 revision

2019-02-14 Thread Lukasz Majewski
On Wed, 13 Feb 2019 17:46:44 +0100 Krzysztof Kozlowski wrote: > Fix detection of Odroid HC1 (Exynos5422) after reboot if kernel > disabled the LDO4/VDD_ADC regulator. > > The LDO4 supplies both ADC block and the ADC input AIN9. Voltage on > AIN9 will rise slowly, so be patient and wait for it

Re: [U-Boot] [PATCH v2 7/9] power: regulator: s2mps11: Add enable delay

2019-02-14 Thread Lukasz Majewski
On Wed, 13 Feb 2019 17:46:46 +0100 Krzysztof Kozlowski wrote: > According to datasheet, the output on LDO regulators will start > appearing after 10-15 us. > > Signed-off-by: Krzysztof Kozlowski > --- > drivers/power/regulator/s2mps11_regulator.c | 9 - > 1 file changed, 8

Re: [U-Boot] [PATCH v2 8/9] arm: dts: exynos: Add supply for ADC block to Odroid XU3 family

2019-02-14 Thread Lukasz Majewski
On Wed, 13 Feb 2019 17:46:47 +0100 Krzysztof Kozlowski wrote: > The ADC block requires VDD supply to be on so provide one. > > Signed-off-by: Krzysztof Kozlowski > --- > arch/arm/dts/exynos5422-odroidxu3.dts | 1 + > 1 file changed, 1 insertion(+) > > diff --git

Re: [U-Boot] [PATCH 2/2] arm: mvebu: x530: Enable watchdog in SPL and U-Boot

2019-02-14 Thread Chris Packham
On Fri, Feb 15, 2019 at 3:12 PM Chris Packham wrote: > > Enable the hardware watchdog to guard against system lock ups when > running in the SPL or U-Boot. Stop the watchdog just before booting so > that the OS. D'oh managed to cut off the sentence. so that the OS can re-enable it if needed.

Re: [U-Boot] [PATCH v2 2/9] power: regulator: s2mps11: Fix step for LDO27 and LDO35

2019-02-14 Thread Lukasz Majewski
On Wed, 13 Feb 2019 17:46:41 +0100 Krzysztof Kozlowski wrote: > LDO27 and LDO35 have 25 mV step, not 50 mV. > > Signed-off-by: Krzysztof Kozlowski > --- > drivers/power/regulator/s2mps11_regulator.c | 4 > 1 file changed, 4 insertions(+) > > diff --git

Re: [U-Boot] [PATCH v2 1/9] adc: exynos-adc: Fix wrong bit operation used to stop the ADC

2019-02-14 Thread Lukasz Majewski
On Wed, 13 Feb 2019 17:46:40 +0100 Krzysztof Kozlowski wrote: > When stopping the ADC_V2_CON1_STC_EN should be cleared. > > Signed-off-by: Krzysztof Kozlowski > --- > drivers/adc/exynos-adc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/adc/exynos-adc.c

Re: [U-Boot] [PATCH 5/7] riscv: add support for multi-hart systems

2019-02-14 Thread Rick Chen
Hi Lukas > > From: Lukas Auer [mailto:lukas.a...@aisec.fraunhofer.de] > > Sent: Tuesday, February 12, 2019 6:14 AM > > To: u-boot@lists.denx.de > > Cc: Atish Patra; Anup Patel; Bin Meng; Andreas Schwab; Palmer Dabbelt; > > Alexander Graf; Lukas Auer; Anup Patel; Rick Jian-Zhi Chen(陳建志); Baruch >

Re: [U-Boot] [PATCH v2 4/8] spi: sun4i: Access registers and bits via enum offsets

2019-02-14 Thread Stefan Mavrodiev
On 2/15/19 1:56 AM, André Przywara wrote: On 14/02/2019 08:36, Jagan Teki wrote: Allwinner support two different SPI controllers one for A10 and another for A31 with minimal changes in register offsets and respective register bits, but the logic for accessing the SPI master via SPI slave

[U-Boot] [PATCH] misc: fs_loader: Replace label with DT phandle

2019-02-14 Thread tien . fong . chee
From: Tien Fong Chee In previously label which will be expanded to the node's full path was used, and now replacing label with most commonly used DT phandle. The codes were changed accordingly to the use of DT phandle and supporting multiple instances. Signed-off-by: Tien Fong Chee ---

[U-Boot] [PATCH v2] armv8 : fsl-layerscape : Fix hang when TFA is used.

2019-02-14 Thread Meenakshi Aggarwal
When TFA is used as EL3 firmware, then u-boot is crashing because DDR is not coherent. Changing DDR memory attributes to device type fix the issue. Signed-off-by: Meenakshi Aggarwal Signed-off-by: Udit Kumar --- arch/arm/cpu/armv8/fsl-layerscape/cpu.c | 7 --- 1 file changed, 4

Re: [U-Boot] [PATCH] sf: Add Macronix MX25R6435F SPI NOR flash to flash parameters array

2019-02-14 Thread Vignesh R
On 14/02/19 10:39 PM, Jagan Teki wrote: > + Vignesh > > On Mon, Jan 7, 2019 at 11:05 AM Ye Li wrote: >> >> On i.MX7ULP EVK board, we use MX25R6435F NOR flash, add its parameters >> and IDs to flash parameter array. Otherwise, the flash probe will fails. >> >> Signed-off-by: Ye Li >> --- >>

Re: [U-Boot] [v2, 1/3] mmc: fsl_esdhc: add esdhc_imx flag

2019-02-14 Thread Peng Fan
> -Original Message- > From: Y.b. Lu > Sent: 2019年2月15日 10:26 > To: u-boot@lists.denx.de > Cc: Jaehoon Chung ; Prabhakar Kushwaha > ; Peng Fan ; Y.b. Lu > > Subject: [v2, 1/3] mmc: fsl_esdhc: add esdhc_imx flag > > The fsl_esdhc driver was for Freescale eSDHC on MPC83XX/MPC85XX

Re: [U-Boot] [PATCH v2] mx6ul_14x14_evk: Simplify the PMIC register writes

2019-02-14 Thread Peng Fan
> -Original Message- > From: Fabio Estevam [mailto:feste...@gmail.com] > Sent: 2019年2月14日 21:36 > To: sba...@denx.de > Cc: u-boot@lists.denx.de; Peng Fan ; Fabio Estevam > > Subject: [PATCH v2] mx6ul_14x14_evk: Simplify the PMIC register writes > > There is no need to store the values

Re: [U-Boot] [PATCH 1/3] mmc: fsl_esdhc: add esdhc_imx flag

2019-02-14 Thread Y.b. Lu
> -Original Message- > From: Peng Fan > Sent: Thursday, February 14, 2019 5:11 PM > To: Y.b. Lu ; u-boot@lists.denx.de > Cc: Jaehoon Chung ; Prabhakar Kushwaha > > Subject: RE: [PATCH 1/3] mmc: fsl_esdhc: add esdhc_imx flag > > > > > -Original Message- > > From: Y.b. Lu > >

[U-Boot] [v2, 2/3] mmc: fsl_esdhc: clean up register definition

2019-02-14 Thread Y.b. Lu
The fsl_esdhc driver was for Freescale eSDHC on MPC83XX/MPC85XX initially. The later QoriQ series processors (which are evolutions of MPC83XX/MPC85XX) and i.MX series processors were using this driver for their eSDHCs too. So there are two evolution directions for eSDHC now. For the two series

[U-Boot] [v2, 3/3] mmc: fsl_esdhc: clarify i.MX eSDHC specific functions

2019-02-14 Thread Y.b. Lu
A previous patch had added SDR104/HS200 support for fsl_esdhc. However this was only for i.MX eSDHC, and QorIQ eSDHC used different registers and method. This patch is to clarify i.MX eSDHC specific functions defined in that patch, and to use them only for i.MX eSDHC. The QorIQ eSDHC SDR104/HS200

[U-Boot] [v2, 1/3] mmc: fsl_esdhc: add esdhc_imx flag

2019-02-14 Thread Y.b. Lu
The fsl_esdhc driver was for Freescale eSDHC on MPC83XX/MPC85XX initially. The later QoriQ series processors (which were evolutions of MPC83XX/MPC85XX) and i.MX series processors were using this driver for their eSDHCs too. So there are two evolution directions for eSDHC now. For the two series

[U-Boot] [PATCH] ARM: da8xxevm: Add NAND instructions for da850-evm to README

2019-02-14 Thread Adam Ford
The README.da850 file continues information on how to burn NAND for the LCDK, but not the DA850-EVM. This patch adds both the commands and dip switch instructions for burning and booting NAND. Signed-off-by: Adam Ford diff --git a/board/davinci/da8xxevm/README.da850

[U-Boot] [PATCH 0/2] x530: Enable watchdog

2019-02-14 Thread Chris Packham
We've seen some issues with the x530 under extreme conditions where the DDR gets into a bad state. Generally this results in an application crash, kernel panic then a lock-up in u-boot (generally just as the SPL hands off to u-boot proper). Enabling the watchdog prevents the lock up and will let

[U-Boot] [PATCH 1/2] watchdog: orion_wdt: support SPL usage

2019-02-14 Thread Chris Packham
When run from the SPL the mvebu targets are using the hardware default offset for the SoC peripherals. devfdt_get_addr_size_index() understands how to deal with this via dm_get_translation_offset() so use this instead of fdtdec_get_addr_size_auto_noparent(). Signed-off-by: Chris Packham ---

[U-Boot] [PATCH 2/2] arm: mvebu: x530: Enable watchdog in SPL and U-Boot

2019-02-14 Thread Chris Packham
Enable the hardware watchdog to guard against system lock ups when running in the SPL or U-Boot. Stop the watchdog just before booting so that the OS. Signed-off-by: Chris Packham --- arch/arm/dts/armada-385-atl-x530-u-boot.dtsi | 4 ++ board/alliedtelesis/x530/x530.c | 48

Re: [U-Boot] [PATCH v2] ARM: tegra: enable ums on nyan boards

2019-02-14 Thread Tristan Bastian
Am 15.02.2019 00:42 schrieb Stephen Warren : > > On 2/14/19 4:25 PM, Tristan Bastian wrote: > > This patch enables UMS on the nyan devices like the nyan-big. > > A patch like this has been sent in by Stephen Warren some time ago for > > other tegra devices: commit

[U-Boot] [PATCH] ARM: dts: uniphier: sync with Linux 5.0-rc2

2019-02-14 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- arch/arm/dts/uniphier-ld20.dtsi | 11 --- arch/arm/dts/uniphier-ld4.dtsi | 14 ++ arch/arm/dts/uniphier-pro4.dtsi | 16 arch/arm/dts/uniphier-pxs2.dtsi | 6 -- arch/arm/dts/uniphier-sld8.dtsi | 14 ++ 5

Re: [U-Boot] [PATCH v2 8/8] spi: sun4i: Driver cleanup

2019-02-14 Thread André Przywara
On 14/02/2019 08:36, Jagan Teki wrote: > - drop unused macros. > - use base instead of base_addr, for better code readability Actually this part is now pretty pointless, since we use it only a few times, and base_addr is actually more descriptive than just "base". > - move .probe and

Re: [U-Boot] [PATCH v2 7/8] spi: sun4: Add A31 spi controller support

2019-02-14 Thread André Przywara
On 14/02/2019 08:36, Jagan Teki wrote: Hi, > Add A31 spi controller support for existing sun4i_spi driver via driver > data, this would simply add A31 register along with proper register bits > via enum sets. > > Signed-off-by: Jagan Teki > --- > drivers/spi/Kconfig | 4 +- >

Re: [U-Boot] [PATCH v2 4/8] spi: sun4i: Access registers and bits via enum offsets

2019-02-14 Thread André Przywara
On 14/02/2019 08:36, Jagan Teki wrote: > Allwinner support two different SPI controllers one for A10 and > another for A31 with minimal changes in register offsets and > respective register bits, but the logic for accessing the SPI > master via SPI slave remains nearly similar. > > Add enum

Re: [U-Boot] [PATCH v2 6/8] spi: sun4i: Add CLK support

2019-02-14 Thread André Przywara
On 14/02/2019 08:36, Jagan Teki wrote: > Add CLK support to enable AHB and MOD SPI clocks on sun4i_spi driver. > > Note, that the code will enable and disable clock in claim and release > calls to make proper clock and reset handling between claiming and > releasing SPI bus. That doesn't really

Re: [U-Boot] [PATCH v2 1/8] spi: sun4i: Poll for rxfifo empty

2019-02-14 Thread André Przywara
On 14/02/2019 08:36, Jagan Teki wrote: > To drain rx fifo the fifo need to poll till the fifo > count become empty. Thanks for the changes! Just realised, the description is somewhat misleading: We are not waiting for the FIFO count to become empty, but actually for the RX FIFO to fill up. Can

Re: [U-Boot] [PATCH v2] ARM: tegra: enable ums on nyan boards

2019-02-14 Thread Stephen Warren
On 2/14/19 4:25 PM, Tristan Bastian wrote: This patch enables UMS on the nyan devices like the nyan-big. A patch like this has been sent in by Stephen Warren some time ago for other tegra devices: commit e6607cffef965011ef0ddc0fbe6f4b7c0d53aeec But the nyan devices never received that

Re: [U-Boot] [RFC 4/9] arm: imx7d-pico-pi: Convert to DM MMC initialization

2019-02-14 Thread Joris Offouga
Le 15/02/2019 à 00:08, Fabio Estevam a écrit : Hi Joris, On Thu, Feb 14, 2019 at 8:46 PM Joris Offouga wrote: it is not possible to convert that i2c and do not convert the pmic. on Ok, we can skip I2C and PMIC for now. the other hand, even without pmic and usb conversion there is always

[U-Boot] [PATCH v2] ARM: tegra: enable ums on nyan boards

2019-02-14 Thread Tristan Bastian
This patch enables UMS on the nyan devices like the nyan-big. A patch like this has been sent in by Stephen Warren some time ago for other tegra devices: commit e6607cffef965011ef0ddc0fbe6f4b7c0d53aeec But the nyan devices never received that functionality. v2: fixed corrupted patch

Re: [U-Boot] [RFC 4/9] arm: imx7d-pico-pi: Convert to DM MMC initialization

2019-02-14 Thread Fabio Estevam
Hi Joris, On Thu, Feb 14, 2019 at 8:46 PM Joris Offouga wrote: > it is not possible to convert that i2c and do not convert the pmic. on Ok, we can skip I2C and PMIC for now. > the other hand, even without pmic and usb conversion there is always the > dfu error when i try to update u-boot via

Re: [U-Boot] [PATCH 5/7] arm: mach-k3: Add secure device build support

2019-02-14 Thread Andrew F. Davis
On 2/13/19 9:46 PM, Lokesh Vutla wrote: > > > On 14/02/19 12:07 AM, Andrew F. Davis wrote: >> K3 HS devices require signed binaries for boot, use the SECDEV tools >> to sign the boot artifacts during build. >> >> Signed-off-by: Andrew F. Davis >> --- >> MAINTAINERS | 1 +

Re: [U-Boot] [PATCH] ARM: tegra: enable ums on nyan boards

2019-02-14 Thread Stephen Warren
On 2/14/19 3:49 PM, Tristan Bastian wrote: This patch enables UMS on the nyan devices like the nyan-big. A patch like this has been sent in by Stephen Warren some time ago for other tegra devices: commit e6607cffef965011ef0ddc0fbe6f4b7c0d53aeec But the nyan devices never received that

[U-Boot] [PATCH] ARM: tegra: enable ums on nyan boards

2019-02-14 Thread Tristan Bastian
This patch enables UMS on the nyan devices like the nyan-big. A patch like this has been sent in by Stephen Warren some time ago for other tegra devices: commit e6607cffef965011ef0ddc0fbe6f4b7c0d53aeec But the nyan devices never received that functionality. Signed-off-by: Tristan Bastian ---

Re: [U-Boot] [RFC 4/9] arm: imx7d-pico-pi: Convert to DM MMC initialization

2019-02-14 Thread Joris Offouga
Hi Fabio On 14 Feb 2019, at 17:48, Fabio Estevam wrote: Hi Joris, On Thu, Feb 14, 2019 at 2:42 PM Joris Offouga wrote: Since I do not convert the pmic, I do not convert the i2c either ? I think it is OK to convert I2C now. it is not possible to convert that i2c and do not convert the

[U-Boot] [REGRESSION] tegra: efi: EFI boot on nyan-big/tegra124 not possible

2019-02-14 Thread Tristan Bastian
Hello, On my nyan-big Chromebook(tegra124) efi booting is broken since stable v2019.01. v2018.11 is working fine.. I'm not sure if other tegra devices are working or not.. I'm getting the following output with u-boot v2019.01 if I try to start grub-efi-arm to boot ubuntu: [...] 67482

Re: [U-Boot] [PATCH 1/2] nyan-big: change spi delay

2019-02-14 Thread Tristan Bastian
Hi Jon, Hi Stephen, could you take a look at these two patches since I didn't get heard anything from Tom.. Thanks, Tristan Am 21.01.19 um 22:55 schrieb Simon Glass: On Thu, 17 Jan 2019 at 10:33, Simon Glass wrote: On Wed, 16 Jan 2019 at 11:50, Tristan Bastian wrote: Internal keyboard

Re: [U-Boot] [PATCH 1/7] arm: K3: Avoid use of MCU_PSRAM0 before SYSFW is loaded

2019-02-14 Thread Andrew F. Davis
On 2/13/19 9:32 PM, Lokesh Vutla wrote: > > > On 14/02/19 12:07 AM, Andrew F. Davis wrote: >> On HS devices the 512b region of reset isolated memory called >> MCU_PSRAM0 is firewalled by default. Until SYSFW is loaded we >> cannot use this memory. It is only used to store a single value >> left

Re: [U-Boot] [PATCH v2 1/1] configs: rk3288: Tinker Board SPL file must fit into 32 KiB

2019-02-14 Thread Philipp Tomsich
> On 13.02.2019, at 22:38, Heinrich Schuchardt wrote: > > The SPL image for the Tinker Board has to fit into 32 KiB. This includes > 4 KiB for the device tree and up to 2 KiB for the file header. > > A new configuration variable CONFIG_SPL_WITH_DTB_SIZE_LIMIT is introduced > to define the

Re: [U-Boot] [PATCH 1/3] videomodes: Allow EDID timings where hsync/vsync pulse is 0

2019-02-14 Thread Priit Laes
On Thu, Feb 14, 2019 at 10:42:51PM +0530, Jagan Teki wrote: > Hi Anatolij, > > On Wed, Dec 19, 2018 at 6:36 PM Priit Laes wrote: > > > > From: Priit Laes > > > > Current EDID detailed timing parser errors out when either > > horizontal or vertical pulse sync width is 0, thus not > > allowing a

Re: [U-Boot] [PATCH V2 3/3] sunxi: Fix A33 memory initialization

2019-02-14 Thread André Przywara
On 14/02/2019 16:36, Philipp Tomsich wrote: > > >> On 14.02.2019, at 16:58, Michael Trimarchi >> wrote: >> >> Set two rank timing and exit self-refresh timing seems not done >> properly. We know use the same write that we are using >> on H5 silicon. Tested was done in A33 allwinner cpu, dual

[U-Boot] [PATCH] ARM: am3517_evm: Enable Falcon Mode

2019-02-14 Thread Adam Ford
The other OMAP3 based Logic PD boards have Falcon Mode enabled, so this patch makes it possible on the AM3517-evm as well. Signed-off-by: Adam Ford diff --git a/configs/am3517_evm_defconfig b/configs/am3517_evm_defconfig index 7a74e9e90d..9ba518f3d2 100644 --- a/configs/am3517_evm_defconfig +++

Re: [U-Boot] configs: move CONFIG_SPL_TEXT_BASE to Kconfig

2019-02-14 Thread Simon Goldschmidt
Am 19.01.2019 um 17:57 schrieb Tom Rini: On Sat, Jan 19, 2019 at 05:52:46PM +0100, Simon Goldschmidt wrote: Hi Tom, Am Fr., 18. Jan. 2019, 23:02 hat Tom Rini geschrieben: On Mon, Jan 07, 2019 at 10:12:42AM +0100, Simon Goldschmidt wrote: On Wed, Jan 2, 2019 at 9:13 PM Simon Goldschmidt

Re: [U-Boot] [PATCH] efi_loader: Swap roles with Heinrich

2019-02-14 Thread Heinrich Schuchardt
On 2/14/19 2:35 PM, Alexander Graf wrote: > Heinrich is going to take over maintainership of the efi_loader tree > going forward. > > To ensure that I will still receive review mails at least, add me as > reviewer with a stable email address. > > Signed-off-by: Alexander Graf Signed-off-by:

Re: [U-Boot] [PATCH v8 2/8] ARM: socfpga: Add default FPGA bitstream fitImage for Arria10 SoCDK

2019-02-14 Thread Chee, Tien Fong
On Thu, 2019-02-14 at 17:26 +0100, Marek Vasut wrote: > On 2/14/19 4:47 PM, Chee, Tien Fong wrote: > > > > On Thu, 2019-02-14 at 16:13 +0100, Marek Vasut wrote: > > > > > > On 2/14/19 4:11 PM, Chee, Tien Fong wrote: > > > > > > > > > > > > On Thu, 2019-02-14 at 13:24 +0100, Marek Vasut wrote:

Re: [U-Boot] [PATCH v8 6/8] spl : socfpga: Implement fpga bitstream loading with socfpga loadfs

2019-02-14 Thread Chee, Tien Fong
On Thu, 2019-02-14 at 17:27 +0100, Marek Vasut wrote: > On 2/14/19 4:37 PM, Chee, Tien Fong wrote: > > > > On Thu, 2019-02-14 at 16:21 +0100, Marek Vasut wrote: > > > > > > On 2/14/19 4:15 PM, Chee, Tien Fong wrote: > > > > > > > > > > > > On Thu, 2019-02-14 at 13:28 +0100, Marek Vasut wrote:

Re: [U-Boot] [PATCH v8 6/8] spl : socfpga: Implement fpga bitstream loading with socfpga loadfs

2019-02-14 Thread Marek Vasut
On 2/14/19 4:37 PM, Chee, Tien Fong wrote: > On Thu, 2019-02-14 at 16:21 +0100, Marek Vasut wrote: >> On 2/14/19 4:15 PM, Chee, Tien Fong wrote: >>> >>> On Thu, 2019-02-14 at 13:28 +0100, Marek Vasut wrote: On 2/14/19 12:38 PM, Chee, Tien Fong wrote: > > > On Thu, 2019-02-14

Re: [U-Boot] [PATCH v8 2/8] ARM: socfpga: Add default FPGA bitstream fitImage for Arria10 SoCDK

2019-02-14 Thread Marek Vasut
On 2/14/19 4:47 PM, Chee, Tien Fong wrote: > On Thu, 2019-02-14 at 16:13 +0100, Marek Vasut wrote: >> On 2/14/19 4:11 PM, Chee, Tien Fong wrote: >>> >>> On Thu, 2019-02-14 at 13:24 +0100, Marek Vasut wrote: On 2/14/19 12:23 PM, Chee, Tien Fong wrote: > > > On Thu, 2019-02-14

Re: [U-Boot] [PATCH v8 6/8] spl : socfpga: Implement fpga bitstream loading with socfpga loadfs

2019-02-14 Thread Chee, Tien Fong
On Thu, 2019-02-14 at 16:33 +, Westergreen, Dalon wrote: > On Thu, 2019-02-14 at 15:15 +, Chee, Tien Fong wrote: > > > > On Thu, 2019-02-14 at 13:28 +0100, Marek Vasut wrote: > > > > > > On 2/14/19 12:38 PM, Chee, Tien Fong wrote: > > > > > > > > On Thu, 2019-02-14 at 11:42 +0100, Marek

Re: [U-Boot] [PATCH v8 6/8] spl : socfpga: Implement fpga bitstream loading with socfpga loadfs

2019-02-14 Thread Westergreen, Dalon
On Thu, 2019-02-14 at 16:59 +, Chee, Tien Fong wrote: > On Thu, 2019-02-14 at 16:33 +, Westergreen, Dalon wrote: > > On Thu, 2019-02-14 at 15:15 +, Chee, Tien Fong wrote: > > > On Thu, 2019-02-14 at 13:28 +0100, Marek Vasut wrote: > > > > On 2/14/19 12:38 PM, Chee, Tien Fong wrote: > >

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

2019-02-14 Thread Jagan Teki
Hi Tom, PR about some random fixes. Summary: - MMC CD pin fix on Orangepi Zero plus - SPI boot for Olinuxino Lime2-eMMC boards - Change in dram frequnecy for tbs_a711 The following changes since commit dbe70c7d4e3d5c705a98d82952e05a591efd0683: Merge branch 'master' of

Re: [U-Boot] [PATCH 1/3] videomodes: Allow EDID timings where hsync/vsync pulse is 0

2019-02-14 Thread Jagan Teki
Hi Anatolij, On Wed, Dec 19, 2018 at 6:36 PM Priit Laes wrote: > > From: Priit Laes > > Current EDID detailed timing parser errors out when either > horizontal or vertical pulse sync width is 0, thus not > allowing a display with EDID listed below work properly. > > Of-course, this is somewhat

Re: [U-Boot] [PATCH] sf: Add Macronix MX25R6435F SPI NOR flash to flash parameters array

2019-02-14 Thread Jagan Teki
+ Vignesh On Mon, Jan 7, 2019 at 11:05 AM Ye Li wrote: > > On i.MX7ULP EVK board, we use MX25R6435F NOR flash, add its parameters > and IDs to flash parameter array. Otherwise, the flash probe will fails. > > Signed-off-by: Ye Li > --- > drivers/mtd/spi/spi_flash_ids.c | 1 + > 1 file changed,

Re: [U-Boot] [PATCH v3] dm: spi: Read default speed and mode values from DT

2019-02-14 Thread Jagan Teki
On Tue, Feb 12, 2019 at 7:14 PM Patrick DELAUNAY wrote: > > Hi Jagan > > > From: Jagan Teki > > Sent: samedi 9 février 2019 17:22 > > Subject: Re: [PATCH v3] dm: spi: Read default speed and mode values from DT > > > > On Mon, Jan 28, 2019 at 2:37 PM Patrick Delaunay > > wrote: > > > > > > This

Re: [U-Boot] [PATCH v8 6/8] spl : socfpga: Implement fpga bitstream loading with socfpga loadfs

2019-02-14 Thread Chee, Tien Fong
On Thu, 2019-02-14 at 16:33 +, Westergreen, Dalon wrote: > On Thu, 2019-02-14 at 15:15 +, Chee, Tien Fong wrote: > > > > On Thu, 2019-02-14 at 13:28 +0100, Marek Vasut wrote: > > > > > > On 2/14/19 12:38 PM, Chee, Tien Fong wrote: > > > > > > > > On Thu, 2019-02-14 at 11:42 +0100, Marek

Re: [U-Boot] mx6cuboxi: Detecting wrong .dtb (v2019.01)

2019-02-14 Thread Vagrant Cascadian
On 2019-02-14, Baruch Siach wrote: > On Thu, Feb 14 2019, Vagrant Cascadian wrote: >> On 2019-02-14, Baruch Siach wrote: >>> On Wed, Feb 13 2019, Fabio Estevam wrote: On Wed, Feb 13, 2019 at 2:52 PM Vagrant Cascadian wrote: > > I *think* this board is getting the wrong fdtfile

Re: [U-Boot] [RFC 4/9] arm: imx7d-pico-pi: Convert to DM MMC initialization

2019-02-14 Thread Fabio Estevam
Hi Joris, On Thu, Feb 14, 2019 at 2:42 PM Joris Offouga wrote: > Since I do not convert the pmic, I do not convert the i2c either ? I think it is OK to convert I2C now. Thanks ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [RFC 4/9] arm: imx7d-pico-pi: Convert to DM MMC initialization

2019-02-14 Thread Joris Offouga
Le 14/02/2019 à 13:58, Fabio Estevam a écrit : Hi Joris, On Thu, Feb 14, 2019 at 10:15 AM Offouga Joris wrote: Hi Fabio I am preparing the next and I hope to be able to send it soon. give me the instructions to follow and I will add them Please check the series I have just sent converting

Re: [U-Boot] [PATCH V2 3/3] sunxi: Fix A33 memory initialization

2019-02-14 Thread Michael Nazzareno Trimarchi
Hi Philipp On Thu, Feb 14, 2019 at 5:36 PM Philipp Tomsich wrote: > > > > > On 14.02.2019, at 16:58, Michael Trimarchi > > wrote: > > > > Set two rank timing and exit self-refresh timing seems not done > > properly. We know use the same write that we are using > > on H5 silicon. Tested was

Re: [U-Boot] [PATCH V2 3/3] sunxi: Fix A33 memory initialization

2019-02-14 Thread Philipp Tomsich
> On 14.02.2019, at 16:58, Michael Trimarchi > wrote: > > Set two rank timing and exit self-refresh timing seems not done > properly. We know use the same write that we are using > on H5 silicon. Tested was done in A33 allwinner cpu, dual rank > connection connected with two

Re: [U-Boot] [PATCH v8 6/8] spl : socfpga: Implement fpga bitstream loading with socfpga loadfs

2019-02-14 Thread Westergreen, Dalon
On Thu, 2019-02-14 at 15:15 +, Chee, Tien Fong wrote: > On Thu, 2019-02-14 at 13:28 +0100, Marek Vasut wrote: > > On 2/14/19 12:38 PM, Chee, Tien Fong wrote: > > > On Thu, 2019-02-14 at 11:42 +0100, Marek Vasut wrote: > > > > On 2/14/19 7:50 AM, Chee, Tien Fong wrote: > > > > > > > > > > On

Re: [U-Boot] [U-Boot, v4, 1/1] avb: add support for named persistent values

2019-02-14 Thread Simon Glass
Hi Igor, On Thu, 14 Feb 2019 at 17:19, Igor Opaniuk wrote: > > Hi Simon, > > I've fixed failing test on sandbox_flattree by keeping all defined > global variables in a driver-private data struct(as you suggested), > which > permits to probe multiple tee sandbox devices (sent v5, kept you R-b >

Re: [U-Boot] [U-Boot, v4, 1/1] avb: add support for named persistent values

2019-02-14 Thread Simon Glass
HI Igor, On Wed, 13 Feb 2019 at 16:39, Igor Opaniuk wrote: > > Hi Simon, > > Seems that there is an issue in dm test framework (if understood > everything correctly), > > I've noticed that dm_root is updated when dm tests are being invoked, > and that's why the new tee udevice is allocated,

Re: [U-Boot] [U-Boot, v4, 1/1] avb: add support for named persistent values

2019-02-14 Thread Igor Opaniuk
Hi Simon, I've fixed failing test on sandbox_flattree by keeping all defined global variables in a driver-private data struct(as you suggested), which permits to probe multiple tee sandbox devices (sent v5, kept you R-b tag, please let me know if there are any objections from your side). But the

Re: [U-Boot] [PATCH v2 1/7] fs: ext4: do not allow writes if metadata checksum is active

2019-02-14 Thread Jean-Jacques Hiblot
On 01/02/2019 16:23, Tom Rini wrote: On Fri, Feb 01, 2019 at 03:33:34PM +0100, Jean-Jacques Hiblot wrote: u-boot does not supports updating the metadata chacksums Signed-off-by: Jean-Jacques Hiblot --- Changes in v2: - Prevent write access if metadata checksum is enabled

[U-Boot] [PATCH V2 3/3] sunxi: Fix A33 memory initialization

2019-02-14 Thread Michael Trimarchi
Set two rank timing and exit self-refresh timing seems not done properly. We know use the same write that we are using on H5 silicon. Tested was done in A33 allwinner cpu, dual rank connection connected with two MT41K512M16HA-125:A memory model. Memory is configure as DDR3 1.5V Signed-off-by:

[U-Boot] [PATCH V2 2/3] sunxi: Don't change the rank in dram size detection in A33

2019-02-14 Thread Michael Trimarchi
Change the size create a glitch in the clken signal on second bank. According to the ddr manual the clken need to be sent accros the reset signal coming the cpu. The rank is calculated just before this function is called and the mctl_set_cr should not change this value anymore Signed-off-by:

[U-Boot] [PATCH V2 1/3] sunxi: Use clrsetbits_le32 instead of multiple instruction

2019-02-14 Thread Michael Trimarchi
Signed-off-by: Michael Trimarchi --- V1->V2: none --- arch/arm/mach-sunxi/dram_sun8i_a33.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/arch/arm/mach-sunxi/dram_sun8i_a33.c b/arch/arm/mach-sunxi/dram_sun8i_a33.c index 1da2727f98..83212aaddf 100644 ---

Re: [U-Boot] [PATCH v8 2/8] ARM: socfpga: Add default FPGA bitstream fitImage for Arria10 SoCDK

2019-02-14 Thread Chee, Tien Fong
On Thu, 2019-02-14 at 16:13 +0100, Marek Vasut wrote: > On 2/14/19 4:11 PM, Chee, Tien Fong wrote: > > > > On Thu, 2019-02-14 at 13:24 +0100, Marek Vasut wrote: > > > > > > On 2/14/19 12:23 PM, Chee, Tien Fong wrote: > > > > > > > > > > > > On Thu, 2019-02-14 at 11:35 +0100, Marek Vasut wrote:

Re: [U-Boot] [PATCH] arm: socfpga: move gen5 SDR driver to DM

2019-02-14 Thread Simon Goldschmidt
On Thu, Feb 14, 2019 at 4:37 PM Dinh Nguyen wrote: > > Hi Marek, > > On 2/9/19 4:01 AM, Marek Vasut wrote: > > On 2/7/19 10:23 PM, Simon Goldschmidt wrote: > >> To clean up reset handling for socfpga gen5, let's move the code snippet > >> taking the DDR controller out of reset from SPL to the DDR

Re: [U-Boot] [PATCH v2] warp7: README: Adjust the binary name after DM conversion

2019-02-14 Thread Fabio Estevam
Hi Joris, On Thu, Feb 14, 2019 at 11:43 AM Joris Offouga wrote: > Hi Fabio > > Fix typo warp7_config into warp7_defconig make warp7_config make Also works fine. I agree with you that "make warp_defconfig" is preferable and I will make such change after this one gets applied. Thanks for

Re: [U-Boot] [PATCH] arm: socfpga: move gen5 SDR driver to DM

2019-02-14 Thread Dinh Nguyen
Hi Marek, On 2/9/19 4:01 AM, Marek Vasut wrote: > On 2/7/19 10:23 PM, Simon Goldschmidt wrote: >> To clean up reset handling for socfpga gen5, let's move the code snippet >> taking the DDR controller out of reset from SPL to the DDR driver. >> >> While at it, port the ddr driver to UCLASS_RAM and

Re: [U-Boot] [PATCH v8 6/8] spl : socfpga: Implement fpga bitstream loading with socfpga loadfs

2019-02-14 Thread Chee, Tien Fong
On Thu, 2019-02-14 at 16:21 +0100, Marek Vasut wrote: > On 2/14/19 4:15 PM, Chee, Tien Fong wrote: > > > > On Thu, 2019-02-14 at 13:28 +0100, Marek Vasut wrote: > > > > > > On 2/14/19 12:38 PM, Chee, Tien Fong wrote: > > > > > > > > > > > > On Thu, 2019-02-14 at 11:42 +0100, Marek Vasut wrote:

Re: [U-Boot] [PATCH v8 4/8] ARM: socfpga: Add FPGA drivers for Arria 10 FPGA bitstream loading

2019-02-14 Thread Marek Vasut
On 2/14/19 4:23 PM, Chee, Tien Fong wrote: > On Thu, 2019-02-14 at 16:15 +0100, Marek Vasut wrote: >> On 2/14/19 4:14 PM, Chee, Tien Fong wrote: >>> >>> On Thu, 2019-02-14 at 13:29 +0100, Marek Vasut wrote: On 2/14/19 1:14 PM, Chee, Tien Fong wrote: > > > On Thu, 2019-02-14

Re: [U-Boot] [PATCH v8 4/8] ARM: socfpga: Add FPGA drivers for Arria 10 FPGA bitstream loading

2019-02-14 Thread Chee, Tien Fong
On Thu, 2019-02-14 at 16:15 +0100, Marek Vasut wrote: > On 2/14/19 4:14 PM, Chee, Tien Fong wrote: > > > > On Thu, 2019-02-14 at 13:29 +0100, Marek Vasut wrote: > > > > > > On 2/14/19 1:14 PM, Chee, Tien Fong wrote: > > > > > > > > > > > > On Thu, 2019-02-14 at 11:41 +0100, Marek Vasut wrote:

Re: [U-Boot] [PATCH v8 6/8] spl : socfpga: Implement fpga bitstream loading with socfpga loadfs

2019-02-14 Thread Marek Vasut
On 2/14/19 4:15 PM, Chee, Tien Fong wrote: > On Thu, 2019-02-14 at 13:28 +0100, Marek Vasut wrote: >> On 2/14/19 12:38 PM, Chee, Tien Fong wrote: >>> >>> On Thu, 2019-02-14 at 11:42 +0100, Marek Vasut wrote: On 2/14/19 7:50 AM, Chee, Tien Fong wrote: > > > On Wed, 2019-02-13

Re: [U-Boot] [PATCH v8 2/8] ARM: socfpga: Add default FPGA bitstream fitImage for Arria10 SoCDK

2019-02-14 Thread Marek Vasut
On 2/14/19 4:11 PM, Chee, Tien Fong wrote: > On Thu, 2019-02-14 at 13:24 +0100, Marek Vasut wrote: >> On 2/14/19 12:23 PM, Chee, Tien Fong wrote: >>> >>> On Thu, 2019-02-14 at 11:35 +0100, Marek Vasut wrote: On 2/14/19 7:04 AM, Chee, Tien Fong wrote: > > > On Thu, 2019-02-14

Re: [U-Boot] [PATCH v8 6/8] spl : socfpga: Implement fpga bitstream loading with socfpga loadfs

2019-02-14 Thread Chee, Tien Fong
On Thu, 2019-02-14 at 13:28 +0100, Marek Vasut wrote: > On 2/14/19 12:38 PM, Chee, Tien Fong wrote: > > > > On Thu, 2019-02-14 at 11:42 +0100, Marek Vasut wrote: > > > > > > On 2/14/19 7:50 AM, Chee, Tien Fong wrote: > > > > > > > > > > > > On Wed, 2019-02-13 at 17:25 +0100, Marek Vasut wrote:

Re: [U-Boot] [PATCH v8 4/8] ARM: socfpga: Add FPGA drivers for Arria 10 FPGA bitstream loading

2019-02-14 Thread Marek Vasut
On 2/14/19 4:14 PM, Chee, Tien Fong wrote: > On Thu, 2019-02-14 at 13:29 +0100, Marek Vasut wrote: >> On 2/14/19 1:14 PM, Chee, Tien Fong wrote: >>> >>> On Thu, 2019-02-14 at 11:41 +0100, Marek Vasut wrote: On 2/14/19 7:44 AM, Chee, Tien Fong wrote: > > > On Wed, 2019-02-13

Re: [U-Boot] [PATCH v8 4/8] ARM: socfpga: Add FPGA drivers for Arria 10 FPGA bitstream loading

2019-02-14 Thread Chee, Tien Fong
On Thu, 2019-02-14 at 13:29 +0100, Marek Vasut wrote: > On 2/14/19 1:14 PM, Chee, Tien Fong wrote: > > > > On Thu, 2019-02-14 at 11:41 +0100, Marek Vasut wrote: > > > > > > On 2/14/19 7:44 AM, Chee, Tien Fong wrote: > > > > > > > > > > > > On Wed, 2019-02-13 at 17:20 +0100, Marek Vasut wrote:

Re: [U-Boot] [PATCH v8 3/8] fit: Add function declarations to the header file

2019-02-14 Thread Chee, Tien Fong
On Thu, 2019-02-14 at 13:28 +0100, Marek Vasut wrote: > On 2/14/19 12:51 PM, Chee, Tien Fong wrote: > > > > On Wed, 2019-02-13 at 17:11 +0100, Marek Vasut wrote: > > > > > > On 2/13/19 3:18 PM, tien.fong.c...@intel.com wrote: > > > > > > > > > > > > From: Tien Fong Chee > > > > > > > >

Re: [U-Boot] [PATCH v8 2/8] ARM: socfpga: Add default FPGA bitstream fitImage for Arria10 SoCDK

2019-02-14 Thread Chee, Tien Fong
On Thu, 2019-02-14 at 13:24 +0100, Marek Vasut wrote: > On 2/14/19 12:23 PM, Chee, Tien Fong wrote: > > > > On Thu, 2019-02-14 at 11:35 +0100, Marek Vasut wrote: > > > > > > On 2/14/19 7:04 AM, Chee, Tien Fong wrote: > > > > > > > > > > > > On Thu, 2019-02-14 at 00:04 +0100, Marek Vasut wrote:

Re: [U-Boot] [PATCH v8 4/8] ARM: socfpga: Add FPGA drivers for Arria 10 FPGA bitstream loading

2019-02-14 Thread Marek Vasut
On 2/14/19 1:14 PM, Chee, Tien Fong wrote: > On Thu, 2019-02-14 at 11:41 +0100, Marek Vasut wrote: >> On 2/14/19 7:44 AM, Chee, Tien Fong wrote: >>> >>> On Wed, 2019-02-13 at 17:20 +0100, Marek Vasut wrote: On 2/13/19 3:18 PM, tien.fong.c...@intel.com wrote: > > > From: Tien

Re: [U-Boot] [PATCH v8 6/8] spl : socfpga: Implement fpga bitstream loading with socfpga loadfs

2019-02-14 Thread Marek Vasut
On 2/14/19 12:38 PM, Chee, Tien Fong wrote: > On Thu, 2019-02-14 at 11:42 +0100, Marek Vasut wrote: >> On 2/14/19 7:50 AM, Chee, Tien Fong wrote: >>> >>> On Wed, 2019-02-13 at 17:25 +0100, Marek Vasut wrote: On 2/13/19 3:18 PM, tien.fong.c...@intel.com wrote: > > > From: Tien

Re: [U-Boot] [PATCH v8 2/8] ARM: socfpga: Add default FPGA bitstream fitImage for Arria10 SoCDK

2019-02-14 Thread Marek Vasut
On 2/14/19 12:23 PM, Chee, Tien Fong wrote: > On Thu, 2019-02-14 at 11:35 +0100, Marek Vasut wrote: >> On 2/14/19 7:04 AM, Chee, Tien Fong wrote: >>> >>> On Thu, 2019-02-14 at 00:04 +0100, Marek Vasut wrote: On 2/13/19 11:45 PM, Dalon L Westergreen wrote: > > > On Wed,

Re: [U-Boot] [PATCH v8 3/8] fit: Add function declarations to the header file

2019-02-14 Thread Marek Vasut
On 2/14/19 12:51 PM, Chee, Tien Fong wrote: > On Wed, 2019-02-13 at 17:11 +0100, Marek Vasut wrote: >> On 2/13/19 3:18 PM, tien.fong.c...@intel.com wrote: >>> >>> From: Tien Fong Chee >>> >>> Adding some function declarations to the header file, so these >>> functions can be referred by other C

Re: [U-Boot] [PATCH v2] warp7: README: Adjust the binary name after DM conversion

2019-02-14 Thread Joris Offouga
Le 09/02/2019 à 15:01, Fabio Estevam a écrit : After the conversion to DM the U-Boot binary is called u-boot-dtb.imx, so fix the README file accordingly. Signed-off-by: Fabio Estevam --- Changes since v1: - Fix all occurrances board/warp7/README | 12 ++-- 1 file changed, 6

Re: [U-Boot] [PATCH v2] rpi: add Compute Module 3+

2019-02-14 Thread Alexander Graf
On 30.01.19 23:24, Jonathan Gray wrote: > Add Raspberry Pi Compute Module 3+ to list of models, the revision code > is 0x10 according to the list on raspberrypi.org. > > v2: Use the same dtb name as CM3 as CM3+ is a drop in replacement > for CM3. > > Signed-off-by: Jonathan Gray

[U-Boot] [PATCH v2] warp7: Fix the write to the LDOGCTL PMIC register

2019-02-14 Thread Fabio Estevam
The third parameter of the pmic_clrsetbits() function is the mask to the register and the correct mask is 1 not 0. Since the LDOGCTL only contains a single valid bit (bit 0), we can use pmic_reg_write() and write 1 directly, which fixes the problem in a simpler way and use the original pmic

[U-Boot] [PATCH] rpi: Make Matthias maintainer

2019-02-14 Thread Alexander Graf
Matthias Brugger agreed to take over maintainership from me for the Raspberry Pi tree. Add him to the MAINTAINERS file instead. Signed-off-by: Alexander Graf --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index

[U-Boot] [PATCH v2] mx6ul_14x14_evk: Simplify the PMIC register writes

2019-02-14 Thread Fabio Estevam
There is no need to store the values written to the PMIC inside the 'reg' variable. Make it simpler by writing the values directly. Signed-off-by: Fabio Estevam --- Changes since v1: - Remove 1/2 notation, since this is a standalome patch - Add Peng Fan on Cc

[U-Boot] [PATCH] efi_loader: Swap roles with Heinrich

2019-02-14 Thread Alexander Graf
Heinrich is going to take over maintainership of the efi_loader tree going forward. To ensure that I will still receive review mails at least, add me as reviewer with a stable email address. Signed-off-by: Alexander Graf --- MAINTAINERS | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

[U-Boot] [PATCH 1/2] mx6ul_14x14_evk: Simplify the PMIC register writes

2019-02-14 Thread Fabio Estevam
There is no need to store the values written to the PMIC inside the 'reg' variable. Make it simpler by writing the values directly. Signed-off-by: Fabio Estevam --- board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git

[U-Boot] [PATCH] warp7: Fix the write to the LDOGCTL PMIC register

2019-02-14 Thread Fabio Estevam
The third parameter of the pmic_clrsetbits() function is the mask to the register and the correct mask is 1 not 0. Since the LDOGCTL only contains a single valid register (bit 0), we can use pmic_reg_write() and write 1 directly, which fixes the problem in a simpler way and use the original pmic

Re: [U-Boot] [PATCH 1/1] efi_selftest: fix memory allocation in HII tests

2019-02-14 Thread Alexander Graf
On 12.02.19 22:01, Heinrich Schuchardt wrote: > In efi_selftest we are in EFI land. We cannot call U-Boot library > functions malloc() and free() but should use the boot time services > instead. > > Signed-off-by: Heinrich Schuchardt Reviewed-by: Alexander Graf Alex

Re: [U-Boot] [PATCH 1/1] efi_selftest: do not use efi_free_pool()

2019-02-14 Thread Alexander Graf
On 12.02.19 22:02, Heinrich Schuchardt wrote: > In efi_selftest we are in EFI land. We should not use U-Boot library > functions but boot time services for memory management. > > Signed-off-by: Heinrich Schuchardt Reviewed-by: Alexander Graf Alex

[U-Boot] [PATCH] mmc: Downgrade SD/MMC from UHS/HS200/HS400 modes before boot

2019-02-14 Thread Marek Vasut
Older kernel versions or systems which do not connect eMMC reset line properly may not be able to handle situations where either the eMMC is left in HS200/HS400 mode or SD card in UHS modes by the bootloader and may misbehave. Downgrade the eMMC to HS/HS52 mode and/or SD card to non-UHS mode

Re: [U-Boot] Antwort: Re: [PATCH] zynq: fix I2C in SPL

2019-02-14 Thread Hannes Schmelzer
On 2/14/19 1:26 PM, Michal Simek wrote: On 14. 02. 19 8:52, Hannes Schmelzer wrote: Hi, Hi Michal, first of all I would rephrase subject a little bit. Something like: "ARM: zynq: Add missing i2c get_rate for fixing i2c SPL" OK. On 14. 02. 19 6:50, Hannes Schmelzer wrote: The commit

  1   2   >