Re: [U-Boot] [PATCH 04/14] arm: socfpga: agilex: Add reset manager support

2019-05-13 Thread Ley Foon Tan
On Fri, May 10, 2019 at 11:26 PM Dinh Nguyen wrote: > > > > On 5/10/19 12:54 AM, Ley Foon Tan wrote: > > Add reset manager support for Agilex. > > > > Signed-off-by: Ley Foon Tan > > --- > > .../mach-socfpga/include/mach/reset_manager.h | 5 ++- > > .../include/mach/reset_manager_agilex.h

Re: [U-Boot] [PATCH 01/14] arm: socfpga: agilex: Add base address for Intel Agilex SoC

2019-05-13 Thread Ley Foon Tan
On Sat, May 11, 2019 at 2:11 AM Simon Goldschmidt wrote: > > Am 10.05.2019 um 16:59 schrieb Dinh Nguyen: > > > > > > On 5/10/19 12:54 AM, Ley Foon Tan wrote: > >> Add base address for Intel Agilex SoC. > >> > >> Signed-off-by: Ley Foon Tan > >> --- > >> .../include/mach/base_addr_agilex.h

Re: [U-Boot] [PATCH 01/14] arm: socfpga: agilex: Add base address for Intel Agilex SoC

2019-05-13 Thread Ley Foon Tan
On Fri, May 10, 2019 at 10:59 PM Dinh Nguyen wrote: > > > > On 5/10/19 12:54 AM, Ley Foon Tan wrote: > > Add base address for Intel Agilex SoC. > > > > Signed-off-by: Ley Foon Tan > > --- > > .../include/mach/base_addr_agilex.h | 38 +++ > > 1 file changed, 38

Re: [U-Boot] [PATCH 05/14] arm: socfpga: Move Stratix10 and Agilex system manager common code

2019-05-13 Thread Ley Foon Tan
On Fri, May 10, 2019 at 8:17 PM Marek Vasut wrote: > > On 5/10/19 7:54 AM, Ley Foon Tan wrote: > > Move Stratix10 and Agilex system manager common code to system_manager.h. > > > > Signed-off-by: Ley Foon Tan > > This becomes quite a bit of ifdeffery . Why don't you have the > system_manager.h

[U-Boot] [PATCH v2 1/2] mmc: fsl_esdhc: fix probe issue without CONFIG_BLK enabled

2019-05-13 Thread Yinbo Zhu
From: Yangbo Lu u-boot is trying to make CONFIG_BLK as a hard requirement for DM_MMC. But now it's still not. config BLK bool "Support block devices" depends on DM default y if DM_MMC When fsl_esdhc driver was reworked for DM_MMC support, DM_MMC without CONFIG_BLK

Re: [U-Boot] [PATCH 07/14] arm: socfpga: agilex: Add clock manager support

2019-05-13 Thread Ley Foon Tan
On Fri, May 10, 2019 at 8:17 PM Marek Vasut wrote: > > On 5/10/19 7:54 AM, Ley Foon Tan wrote: > > Add clock manager support for Agilex. > > > > Signed-off-by: Chee Hong Ang > > Signed-off-by: Ley Foon Tan > > --- > > arch/arm/mach-socfpga/Makefile| 4 + > >

[U-Boot] [PATCH v2 2/2] armv8: fsl-lsch3: add clock support for the second eSDHC

2019-05-13 Thread Yinbo Zhu
From: Yangbo Lu Layerscape began to use two eSDHC controllers, for example, LS1028A. They were same IP block with same reference clock. This patch is to add clock support for the second eSDHC. Signed-off-by: Yangbo Lu Signed-off-by: Yinbo Zhu ---

Re: [U-Boot] [PATCH 08/14] arm: socfpga: agilex: Add CCU support for Agilex

2019-05-13 Thread Ley Foon Tan
On Sat, May 11, 2019 at 2:40 AM Simon Goldschmidt wrote: > > Am 10.05.2019 um 07:54 schrieb Ley Foon Tan: > > Add CCU support for Agilex. > > This description could be a bit longer: what's CCU, and why do you add > it or when/by what will it be used. Will update description. Thanks. Regards Ley

Re: [U-Boot] [PATCH 10/14] ddr: altera: agilex: Add SDRAM driver for Agilex

2019-05-13 Thread Ley Foon Tan
On Fri, May 10, 2019 at 8:17 PM Marek Vasut wrote: > > On 5/10/19 7:54 AM, Ley Foon Tan wrote: > > Add SDRAM driver for Agilex SoC. > > > > Signed-off-by: Tien Fong Chee > > Signed-off-by: Ley Foon Tan > > --- > > drivers/ddr/altera/Kconfig| 6 +- > > drivers/ddr/altera/Makefile

Re: [U-Boot] [PATCH 13/14] arm: dts: agilex: Add base dtsi and devkit dts

2019-05-13 Thread Ley Foon Tan
On Fri, May 10, 2019 at 8:17 PM Marek Vasut wrote: > > On 5/10/19 7:54 AM, Ley Foon Tan wrote: > > Add device tree files for Agilex SoC platform. > > > > Signed-off-by: Ley Foon Tan > > Are these from Linux ? If so, which version and commit ? > > -- Yes, but with minor changes. It is from

[U-Boot] [PATCH] cmd: env: print a message when setting UEFI variable failed

2019-05-13 Thread AKASHI Takahiro
Error message will alert a user that setting/deleting a variable failed. Signed-off-by: AKASHI Takahiro --- cmd/nvedit_efi.c | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/cmd/nvedit_efi.c b/cmd/nvedit_efi.c index 2805e8182b41..e0d8f578ac33 100644 ---

[U-Boot] [PATCH] efi_loader: bootmgr: print a message when loading from BootNext failed

2019-05-13 Thread AKASHI Takahiro
If a user defines BootNext but not BootOrder and loading from BootNext fails, you will see only a message like this: BootOrder not defined This may confuse a user. Adding an error message will be helpful. Signed-off-by: AKASHI Takahiro --- lib/efi_loader/efi_bootmgr.c | 2 ++ 1 file

[U-Boot] [PATCH] efi_loader: variable: attributes may not be changed if a variable exists

2019-05-13 Thread AKASHI Takahiro
If a variable already exists, efi_set_variable() should not change the variable's attributes. This patch enforces it. Signed-off-by: AKASHI Takahiro --- lib/efi_loader/efi_variable.c | 9 + 1 file changed, 9 insertions(+) diff --git a/lib/efi_loader/efi_variable.c

[U-Boot] [PATCH v3 4/5] configs: mt7629_rfb: change MTK_QSPI to MTK_SNFI_SPI

2019-05-13 Thread Weijie Gao
This patch replaces MTK_QSPI with MTK_SNFI_SPI to ensure mtk_snfi_spi driver is built by default. Signed-off-by: Weijie Gao --- Changes since v2: none --- configs/mt7629_rfb_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/mt7629_rfb_defconfig

[U-Boot] [PATCH v3 3/5] arm: dts: change MT7629 to use spi-mem rather than qspi

2019-05-13 Thread Weijie Gao
The original mtk_qspi driver has been removed. We change MT7629 to use newly added mtk-spimem driver. Signed-off-by: Weijie Gao --- Changes since v1: rename node spimem to snfi. change pinctrl name and order. Changes since v2: none --- arch/arm/dts/mt7629-rfb.dts | 18 +-

[U-Boot] [PATCH v3 5/5] MAINTAINERS: change spi driver entry

2019-05-13 Thread Weijie Gao
Change mtk_qspi.c to mtk_snfi_spi.c Signed-off-by: Weijie Gao --- Changes since v1: rename mtk_spimem.c to spi_snfi_spi.c Changes since v2: none --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 33fd4652a42..cb9f8e23bd7 100644

[U-Boot] [PATCH v3 2/5] spi: add spi-mem driver for MediaTek MT7629 SoC

2019-05-13 Thread Weijie Gao
This patch adds spi-mem driver for MediaTek MT7629 SoC to access SPI-NOR and SPI-NAND flashes. Cc: Jagan Teki Signed-off-by: Weijie Gao --- Changes since v1: rename mtk_spimem to spi_snfi_spi. change pinctrl name. Changes since v2: remove udevice in mtk_snfi_priv. --- drivers/spi/Kconfig

[U-Boot] [PATCH v3 1/5] spi: remove obsolete mtk_qspi driver

2019-05-13 Thread Weijie Gao
Since u-boot has added the spi-mem framework and replaced the spi-nor framework, the mtk_qspi is no longer compatible with the new spi-nor driver. Remove this driver, and a new driver will be added later. Cc: Jagan Teki Signed-off-by: Weijie Gao --- Changes since v2: none ---

[U-Boot] [PATCH v3 0/5] Add spi-mem driver for MediaTek MT7629 SoC

2019-05-13 Thread Weijie Gao
Since u-boot has added the spi-mem framework and replaced the spi-nor framework, the mtk_qspi is no longer compatible with the new spi-nor driver. This patch series add a new spi-mem driver to replace the mtk_qspi driver. Weijie Gao (5): spi: remove obsolete mtk_qspi driver spi: add spi-mem

Re: [U-Boot] [PATCH v3 2/2] fit: Support compat string property in configuration node

2019-05-13 Thread Julius Werner
> Can you please add a change log, as this is a v3 patch. I didn't change anything in this one. (Should I have not called it v3 then? Sorry, I'm not familiar with the submission process here. I thought letting the individual patches in the series have different version numbers for the same set

Re: [U-Boot] [PATCH v3 1/2] fit: Support compression for non-kernel components (e.g. FDT)

2019-05-13 Thread Julius Werner
> Is there a change log for this patch?I think we discussed having a test. Sorry, forgot that. Is it okay if I just put it here or do you need me to resend a v4? --- Changes for v2: - made decompression work for all non-kernel images, not just FDTs Changes for v3: - fixed up debug output

Re: [U-Boot] [PATCH 1/1] imx8: cpu: fix warning for cpu_imx_get_temp

2019-05-13 Thread Peng Fan
Hi Igor, Not found your original mail, so reply Stefan's mail here. > -Original Message- > From: Stefan Agner [mailto:ste...@agner.ch] > Sent: 2019年5月13日 21:56 > To: Igor Opaniuk > Cc: u-boot@lists.denx.de; feste...@gmail.com; dl-uboot-imx > ; albert.u.b...@aribaud.net; Peng Fan > ;

Re: [U-Boot] [PATCH v2 11/18] usb: dwc3-generic: if no max speed is specified in DT, assume super speed

2019-05-13 Thread Marek Vasut
On 5/13/19 4:30 PM, Jean-Jacques Hiblot wrote: > There is no need to fail if the maximum speed is not specified. > If the speed is not specified, do the same as linux and assume super speed. > > Signed-off-by: Jean-Jacques Hiblot > --- > > Changes in v2: None > >

Re: [U-Boot] [PATCH] ARM: imx: cm_fx6: Drop ad-hoc SATA binding

2019-05-13 Thread Marek Vasut
On 5/14/19 12:28 AM, Christopher Spinrath wrote: > Hi Marek, Hi, > thanks for the patch! > > Unfortunately, I am unable to test this patch right now, because both > U-Boot v2019.04 and v2019.07-rc fail to boot on my (cm-fx6 based) > Utilite Pro... > I will debug this next weekend. Good, please

Re: [U-Boot] [PATCH v3 2/2] fit: Support compat string property in configuration node

2019-05-13 Thread Simon Glass
Hi, > This patch adds support for an optional optimization to compatible > string matching where the compatible string property from the root node > of the kernel FDT can be copied into the configuration node of the FIT > image. This is most useful when using compressed FDTs or when using FDT >

Re: [U-Boot] [PATCH v3 1/2] fit: Support compression for non-kernel components (e.g. FDT)

2019-05-13 Thread Simon Glass
Hi Julius, > This patch adds support for compressing non-kernel image nodes in a FIT > image (kernel nodes could already be compressed previously). This can > reduce the size of FIT images and therefore improve boot times > (especially when an image bundles many different kernel FDTs). The >

Re: [U-Boot] [PATCH 5/5] rockchip: rk3328: add rock64-rk3328_defconfig

2019-05-13 Thread Vagrant Cascadian
On 2019-05-13, Vagrant Cascadian wrote: > On 2019-05-13, Vagrant Cascadian wrote: >> On 2019-05-08, Matwey V. Kornilov wrote: >>> Signed-off-by: Matwey V. Kornilov >>> --- >>> configs/rock64-rk3328_defconfig | 91 >>> + >>> 1 file changed, 91

Re: [U-Boot] [PATCH 5/5] rockchip: rk3328: add rock64-rk3328_defconfig

2019-05-13 Thread Vagrant Cascadian
On 2019-05-13, Vagrant Cascadian wrote: > On 2019-05-08, Matwey V. Kornilov wrote: >> Signed-off-by: Matwey V. Kornilov >> --- >> configs/rock64-rk3328_defconfig | 91 >> + >> 1 file changed, 91 insertions(+) >> create mode 100644

Re: [U-Boot] [PATCH] ARM: imx: cm_fx6: Drop ad-hoc SATA binding

2019-05-13 Thread Christopher Spinrath
Hi Marek, thanks for the patch! Unfortunately, I am unable to test this patch right now, because both U-Boot v2019.04 and v2019.07-rc fail to boot on my (cm-fx6 based) Utilite Pro... I will debug this next weekend. However, I already have one comment inline: On 5/12/19 10:43 PM, Marek Vasut

Re: [U-Boot] [PATCH 3/7] warp7: include: configs: Differentiate bootscript address from loadaddr

2019-05-13 Thread Bryan O'Donoghue
On 09/05/2019 16:32, Bryan O'Donoghue wrote: On 08/05/2019 20:33, Pierre-Jean Texier wrote: Hi Bryan, Le 08/05/2019 à 20:14, Bryan O'Donoghue a écrit : Reusing the loadaddr to load the boot script breaks some of the logic we want to have around the bootscript/FIT load addresses. Making a

[U-Boot] [PATCH 1/1] flash-kernel: Marvell 8040 MACCHIATOBin Double-shot

2019-05-13 Thread Heinrich Schuchardt
Package: flash-kernel Version: 3.98 Severity: normal Tags: patch The model property in armada-8040-mcbin.dtb has been changed to 'Marvell 8040 MACCHIATOBin Double-shot' in Linux kernel 5.0. A new board 'Marvell 8040 MACCHIATOBin Single-shot' has been added. Signed-off-by: Heinrich Schuchardt

[U-Boot] [PATCH 1/2] arm: socfpga: remove re-added ad-hoc reset code

2019-05-13 Thread Simon Goldschmidt
commit c5de2b7eae68 ("arm: socfpga: implement proper peripheral reset") has removed the call to 'reset_deassert_peripherals_handoff()' from socfpga gen5 SPL since the reset driver now handles resets. However, commit c1d4b464c8b8 ("ARM: socfpga: Disable bridges in SPL unless booting from FPGA")

[U-Boot] [PATCH 2/2] arm: sofcpga: s10: remove unused ad-hoc reset code

2019-05-13 Thread Simon Goldschmidt
The stratix 10 reset manager ad-hoc code in arch/arm contains an unused function 'reset_deassert_peripherals_handoff' that has been added from the beginning. As this is probably a result of copying the gen5 reset manager and this function has never been used, remove it. Signed-off-by: Simon

Re: [U-Boot] [PATCH 1/2] arm: socfpga: remove re-added ad-hoc reset code

2019-05-13 Thread Simon Goldschmidt
Unfortunately, there's 2/2 (which removes this unused function from s10, too) missing here since patman won't let me send the mail due to "Ang" (from Ang, Chee Hong ) not being a well-formed email address... I'll work on that and re-send... Regards, Simon Am 13.05.2019 um 21:09 schrieb

[U-Boot] [PATCH 1/2] arm: socfpga: remove re-added ad-hoc reset code

2019-05-13 Thread Simon Goldschmidt
commit c5de2b7eae68 ("arm: socfpga: implement proper peripheral reset") has removed the call to 'reset_deassert_peripherals_handoff()' from socfpga gen5 SPL since the reset driver now handles resets. However, commit c1d4b464c8b8 ("ARM: socfpga: Disable bridges in SPL unless booting from FPGA")

Re: [U-Boot] [PATCH v2] include: android_bl_msg.h: Initial import

2019-05-13 Thread Eugeniu Rosca
I subscribe to the license-related question raised by Akashi and Sam (thank you both)! Tom's feedback is required before I push the next revision of the BCB command. On Mon, May 13, 2019 at 4:12 PM Sam Protsenko wrote: [..] > > Which license, BSD-2 (in SPDX) or Apache v2, is applied to this

Re: [U-Boot] [PATCH] net: phy: ti: Fix clock output DT property

2019-05-13 Thread Grygorii Strashko
On 10.05.19 20:49, Trent Piepho wrote: > The code block reading the DT property for the clock output control was > before the phy's DT node pointer was set, so it could never work. Move > it after the node pointer is set. > > Also store the unsigned 32-bit property into an unsigned value, not

Re: [U-Boot] [PATCH 10/11] evb-ast2500: Enable CONFIG_DM_MMC

2019-05-13 Thread Maxim Sloyko
Sounds good to me. Reviewed-by: Maksym Sloyko From: Simon Glass Date: Sat, May 11, 2019 at 12:26 PM To: U-Boot Mailing List Cc: Tom Rini, Marek Vasut, Simon Glass, Maxim Sloyko > This board builds with this option (although it may not work). Enable it > to stave off board removal for a bit.

Re: [U-Boot] [PATCH 5/5] rockchip: rk3328: add rock64-rk3328_defconfig

2019-05-13 Thread Vagrant Cascadian
On 2019-05-08, Matwey V. Kornilov wrote: > Signed-off-by: Matwey V. Kornilov > --- > configs/rock64-rk3328_defconfig | 91 > + > 1 file changed, 91 insertions(+) > create mode 100644 configs/rock64-rk3328_defconfig Thanks for submitting these patches

[U-Boot] [PATCH v2 1/1] imx8: cpu: fix warning for cpu_imx_get_temp

2019-05-13 Thread Igor Opaniuk
cpu_imx_get_temp() definition is wrapped with a ifdef macro, which leads to warnings if CONFIG_IMX_SCU_THERMAL isn't defined and there are still references to this function, as, for example, in cpu_imx_get_desc(). Drop ifdef as linker will automatically remove the function in case

[U-Boot] [PATCH v2 00/18] Improvement for the DWC3 USB generic driver and fixes for the K2 platforms

2019-05-13 Thread Jean-Jacques Hiblot
The K2 platforms have shown boot issues after switching to the DWC3 generic driver. Those are due to the fact that the USB domains are not turned off before booting linux and the phy were not properly initialized. Fixing it by improving the DWC3-generic driver and handling the USB power domain in

[U-Boot] [PATCH v2 18/18] ARM: DTS: keystone: complete the description of the USB PHY devices

2019-05-13 Thread Jean-Jacques Hiblot
As the PHY driver now handles the transitions of USB power domain, we must add this information in the node of each PHY. Also, the phy are expected in the "phys" property, not "usb-phys". Also add the aliases for the USB ports on boards with more than a single port. Signed-off-by: Jean-Jacques

[U-Boot] [PATCH v2 11/18] usb: dwc3-generic: if no max speed is specified in DT, assume super speed

2019-05-13 Thread Jean-Jacques Hiblot
There is no need to fail if the maximum speed is not specified. If the speed is not specified, do the same as linux and assume super speed. Signed-off-by: Jean-Jacques Hiblot --- Changes in v2: None drivers/usb/dwc3/dwc3-generic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

[U-Boot] [PATCH v2 14/18] ARM: keystone: increase PSC timeout

2019-05-13 Thread Jean-Jacques Hiblot
Turning off the USB clocks may take longer than 100us. Increase the timeout to 100ms. Signed-off-by: Jean-Jacques Hiblot --- Changes in v2: None arch/arm/mach-keystone/include/mach/psc_defs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[U-Boot] [PATCH v2 17/18] configs: k2g_evm_defconfig: disable XHCI_DWC3 and enable KEYSTONE_USB_PHY

2019-05-13 Thread Jean-Jacques Hiblot
KEYSTONE_USB_PHY is now required for proper USB operations. XHCI_DWC3 can be disabled as the xhci-dwc3 is not used anymore USB_DWC3_GADGET can also be removed, it is now selected automatically. Signed-off-by: Jean-Jacques Hiblot --- Changes in v2: None configs/k2g_evm_defconfig | 3 +-- 1

[U-Boot] [PATCH v2 13/18] usb: dwc3: Kconfig: get rid of obsolete mode selection

2019-05-13 Thread Jean-Jacques Hiblot
The mode selection for the DWC3 is kind of obsolete. The driver does not have to be host only or gadget only. This choice is confusing. All the remaining callers of dwc3_uboot_init() explicitly set dr_mode before calling the function, so none rely on a default behavior. Remove the choice menu and

[U-Boot] [PATCH v2 10/18] usb: dwc3-generic: add a new host driver that uses the dwc3 core

2019-05-13 Thread Jean-Jacques Hiblot
Currently the host driver used by dwc3-generic is "xhci-dwc3". This is a functional driver but it doesn't use the dwc3 core and, in particular, it lacks some bits that may be important. For example on the k2 platforms, it is important that the phy are properly suspended when the USB is not used

[U-Boot] [PATCH v2 02/18] usb: host: remove the xhci-zynqmp driver

2019-05-13 Thread Jean-Jacques Hiblot
This driver is not used anymore. Signed-off-by: Jean-Jacques Hiblot --- Changes in v2: None configs/avnet_ultra96_rev1_defconfig | 1 - .../xilinx_zynqmp_zc1751_xm015_dc1_defconfig | 1 - .../xilinx_zynqmp_zc1751_xm016_dc2_defconfig | 1 -

[U-Boot] [PATCH v2 06/18] usb: xhci: move xhci.h to include usb

2019-05-13 Thread Jean-Jacques Hiblot
The xhci.h header file is currently located under drivers/usb/xhci Move it to the include/usb folder to make it available to drivers that are not under drivers/usb/xhci Signed-off-by: Jean-Jacques Hiblot --- Changes in v2: None MAINTAINERS | 1 +

[U-Boot] [PATCH v2 16/18] phy: keystone-usb: handle the transition of the USB power domain

2019-05-13 Thread Jean-Jacques Hiblot
There is no proper power domain support for the keystone platforms. However we need to turn off the USB domains before jumping to linux or it fail to boot (observed with k2e and k2l platforms). This can be done in the PHY driver as it is dedicated only to the keystone platforms and matches the

[U-Boot] [PATCH v2 15/18] ARM: keystone: Do not enable the USB power domains at the board level

2019-05-13 Thread Jean-Jacques Hiblot
This breaks linux boot sequence. Observed on k2e and k2l platforms. Signed-off-by: Jean-Jacques Hiblot --- Changes in v2: None board/ti/ks2_evm/board.c | 13 - 1 file changed, 13 deletions(-) diff --git a/board/ti/ks2_evm/board.c b/board/ti/ks2_evm/board.c index

[U-Boot] [PATCH v2 09/18] usb: dwc3-generic: factorize code

2019-05-13 Thread Jean-Jacques Hiblot
Factor code for re-usability. This is another step toward adding host support. Signed-off-by: Jean-Jacques Hiblot --- Changes in v2: None drivers/usb/dwc3/dwc3-generic.c | 55 + 1 file changed, 35 insertions(+), 20 deletions(-) diff --git

[U-Boot] [PATCH v2 08/18] usb: dwc3-generic: use platdata

2019-05-13 Thread Jean-Jacques Hiblot
Separate platform data from the private data. This is one step toward adding host support. Signed-off-by: Jean-Jacques Hiblot --- Changes in v2: None drivers/usb/dwc3/dwc3-generic.c | 37 - 1 file changed, 23 insertions(+), 14 deletions(-) diff --git

[U-Boot] [PATCH v2 12/18] usb: dwc3: Add dwc3_of_parse() to get quirks information from DT

2019-05-13 Thread Jean-Jacques Hiblot
Add a new function that read quirk and configuration information from the DT. The goal is to allow platforms using their own version of DWC3 driver to migrate to the generic DWC3 driver. The function is adapted from the function dwc3_get_properties() in the linux dwc3 driver introduced in commit

[U-Boot] [PATCH v2 04/18] usb: dwc3: Use UCLASS_NOP instead of UCLASS_MISC for the DWC3 generic glue

2019-05-13 Thread Jean-Jacques Hiblot
dwc3-generic has been broken since MISC uclass has been modified to scan DT sub-nodes after bind. Fixing it by a using the no-op uclass. Signed-off-by: Jean-Jacques Hiblot --- Changes in v2: None drivers/usb/dwc3/dwc3-generic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[U-Boot] [PATCH v2 05/18] usb: dwc3: switch to peripheral mode when exiting

2019-05-13 Thread Jean-Jacques Hiblot
This allow the phy to enter idle and then suspend. the K2 platforms require the PHY to be suspended before the USB domain clock can be turned off. Signed-off-by: Jean-Jacques Hiblot --- Changes in v2: None drivers/usb/dwc3/core.c | 13 + 1 file changed, 13 insertions(+) diff

[U-Boot] [PATCH v2 07/18] usb: dwc3: always use the inlined version of dwc3_host_init/dwc3_host_exit

2019-05-13 Thread Jean-Jacques Hiblot
No one is actually implementing those functions. We could remove calls to these altogether, but it does not really hurt to keep the empty inlined version at the moment and it satisfies a symmetry with the gadget mode. Signed-off-by: Jean-Jacques Hiblot --- Changes in v2: None

[U-Boot] [PATCH v2 03/18] dm: Add a No-op uclass

2019-05-13 Thread Jean-Jacques Hiblot
This uclass is intended for devices that do not need any features from the uclass, including binding children. This will typically be used by devices that are used to bind child devices but do not use dm_scan_fdt_dev() to do it. That is for example the case of several USB wrappers that have 2

[U-Boot] [PATCH v2 01/18] usb: dwc3-generic: remove dm_scan_fdt_dev() from the remove() callback

2019-05-13 Thread Jean-Jacques Hiblot
There is simply no reason to do that here. Signed-off-by: Jean-Jacques Hiblot --- Changes in v2: None drivers/usb/dwc3/dwc3-generic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/dwc3/dwc3-generic.c b/drivers/usb/dwc3/dwc3-generic.c index

Re: [U-Boot] [PATCH v2] include: android_bl_msg.h: Initial import

2019-05-13 Thread Sam Protsenko
Hi Akashi, On Mon, May 13, 2019 at 3:09 AM AKASHI Takahiro wrote: > > On Fri, May 10, 2019 at 04:12:10PM +0300, Sam Protsenko wrote: > > From: Eugeniu Rosca > > > > Import the bootloader_message.h (former bootloader.h) from AOSP. > > > > The bootloader_message.h basically defines the flash

[U-Boot] [PATCH v1] armv8: lx2160: Drop useless CONFIG_CMDLINE_EDITING from config.h

2019-05-13 Thread Andy Shevchenko
The commit 58c3e62040be ("armv8: lx2160ardb : Add support for LX2160ARDB platform") brought a new boards support with redundancy in the config.h file. One of them is CONFIG_CMDLINE_EDITING which is removed by this change. Cc: Priyanka Jain Cc: Peng Ma Cc: Prabhakar Kushwaha Signed-off-by:

[U-Boot] [PATCH] board: mediatek: Add pumpkin board support

2019-05-13 Thread Fabien Parent
The pumpkin board is made by Gossamer Engineering and is using a MediaTek SoC. The board currently comes in two available version: MT8516 SoC and MT8167 SoC. The board provides the following IOs: eMMC, NAND, SD card, USB type-A, Ethernet, Wi-Fi, Bluetooth, Audio (jack out, 2 PDM port, 1 analog

Re: [U-Boot] [PATCH 09/12] sh: mpr2: Remove the board

2019-05-13 Thread Marek Vasut
On 5/13/19 2:31 PM, Jonas Mark (BT-FIR/ENG1) wrote: > Hi Marek, Hi, >> Betreff: [PATCH 09/12] sh: mpr2: Remove the board >> >> Last change to this board was done in 2016, has no prospects of ever being >> converted to DM, drop it. >> >> Signed-off-by: Marek Vasut >> Cc: Chris Brandt >> Cc:

Re: [U-Boot] [PATCH 1/1] imx8: cpu: fix warning for cpu_imx_get_temp

2019-05-13 Thread Stefan Agner
Hi Igor, On 13.05.2019 12:46, Igor Opaniuk wrote: > cpu_imx_get_temp() definition is wrapped with a ifdef macro, > therefore all function references should be also wrapped the same way > instead IS_ENABLED() usage. > > Fix warning: > arch/arm/mach-imx/imx8/cpu.c: In function ‘cpu_imx_get_desc’:

[U-Boot] [PATCH v2 3/3] configs: update rk3288 veyron defconfigs

2019-05-13 Thread Urja Rannikko
Updates jerry, mickey, minnie and speedy defconfigs to: - fit the SPL in 32k - boot from SPI (only) - remove gadget support (these have no OTG port) Reviewed-by: Simon Glass Signed-off-by: Urja Rannikko --- v2: Rebase, include previous reviewed-by --- configs/chromebit_mickey_defconfig | 25

[U-Boot] [PATCH v2 2/3] configs: Move CONFIG_CMD_USB_MASS_STORAGE properly into Kconfig

2019-05-13 Thread Urja Rannikko
This affects RK3036, RK322X and RK3288 - the defconfig changes done by moveconfig.py for the veyrons were left out on purpose because they dont have an OTG port, and will get their config updated in the next commit. Signed-off-by: Urja Rannikko --- v2: Also cleanup now unrelevant comments about

[U-Boot] [PATCH v2 1/3] configs: Move CONFIG_SPI_FLASH_GIGADEVICE properly into Kconfig

2019-05-13 Thread Urja Rannikko
Affects rk3288 veyrons and rk3036, this was mostly done by moveconfig.py. Reviewed-by: Simon Glass Signed-off-by: Urja Rannikko -- v2: Rebase, include previous reviewed-by --- configs/chromebit_mickey_defconfig | 1 + configs/chromebook_jerry_defconfig | 1 +

Re: [U-Boot] [PATCH 00/13] System Firmware Loader for TI K3 family SoCs

2019-05-13 Thread Chee, Tien Fong
On Wed, 2019-05-08 at 13:43 -0500, dannenb...@ti.com wrote: > Hi TF, > thanks for chiming in. Comments inlined... > > On Wed, May 08, 2019 at 04:31:35AM +, Chee, Tien Fong wrote: > > > > On Tue, 2019-05-07 at 22:00 +0200, Simon Goldschmidt wrote: > > > > > > > > > On 07.05.19 19:25,

[U-Boot] [PATCH v3] dw_mmc: turn on the IO supply

2019-05-13 Thread Urja Rannikko
Fixes the microSD slot on the ASUS C201. Signed-off-by: Urja Rannikko --- v2: use #if CONFIG_IS_ENABLED(DM_REGULATOR) v3: Move ret variable inside the if block (only used there) --- drivers/mmc/dw_mmc.c | 16 1 file changed, 16 insertions(+) diff --git a/drivers/mmc/dw_mmc.c

Re: [U-Boot] [PATCH] ARM: socfpga: Fix FPGA bitstream loading code

2019-05-13 Thread Marek Vasut
On 5/13/19 2:58 PM, Chee, Tien Fong wrote: > On Thu, 2019-05-09 at 10:34 +0200, Marek Vasut wrote: >> On 5/9/19 5:57 AM, Chee, Tien Fong wrote: >>> >>> On Wed, 2019-05-08 at 14:55 +0200, Marek Vasut wrote: On 5/8/19 12:17 PM, Chee, Tien Fong wrote: > > > On Tue, 2019-05-07 at

Re: [U-Boot] [PATCH] ARM: socfpga: Fix FPGA bitstream loading code

2019-05-13 Thread Chee, Tien Fong
On Thu, 2019-05-09 at 10:34 +0200, Marek Vasut wrote: > On 5/9/19 5:57 AM, Chee, Tien Fong wrote: > > > > On Wed, 2019-05-08 at 14:55 +0200, Marek Vasut wrote: > > > > > > On 5/8/19 12:17 PM, Chee, Tien Fong wrote: > > > > > > > > > > > > On Tue, 2019-05-07 at 21:44 +0200, Marek Vasut wrote: >

Re: [U-Boot] [PATCH v2] dw_mmc: turn on the IO supply

2019-05-13 Thread Heiko Stuebner
Am Montag, 1. April 2019, 19:44:22 CEST schrieb Urja Rannikko: > Fixes the microSD slot on the ASUS C201. > > Signed-off-by: Urja Rannikko > --- > v2: use #if CONFIG_IS_ENABLED(DM_REGULATOR) > - > drivers/mmc/dw_mmc.c | 15 +++ > 1 file changed, 15 insertions(+) > > diff --git

Re: [U-Boot] [PATCH v2] spl: add overall SPL size check

2019-05-13 Thread Simon Goldschmidt
On Sat, May 11, 2019 at 3:55 AM Tom Rini wrote: > > On Mon, Apr 22, 2019 at 10:27:21PM +0200, Simon Goldschmidt wrote: > > > This adds a size check for SPL that can dynamically check generated > > SPL binaries (including devicetree) for a size limit that ensures > > this image plus global data,

Re: [U-Boot] [PATCH v2] arm: socfpga: Re-add support for Aries MCV SoM and MCVEV[KP] board

2019-05-13 Thread Simon Goldschmidt
On Sun, May 12, 2019 at 7:25 PM Wolfgang Grandegger wrote: > > Re-add support for Aries Embedded MCV SoM, which is CycloneV based > and the associated MCVEVK and MCVEVP baseboard. The board can boot > from eMMC. Ethernet and USB is supported. > > The Aries Embedded boards have been removed with

Re: [U-Boot] [PATCH 09/12] sh: mpr2: Remove the board

2019-05-13 Thread Jonas Mark (BT-FIR/ENG1)
Hi Marek, > Betreff: [PATCH 09/12] sh: mpr2: Remove the board > > Last change to this board was done in 2016, has no prospects of ever being > converted to DM, drop it. > > Signed-off-by: Marek Vasut > Cc: Chris Brandt > Cc: Mark Jonas > Cc: Nobuhiro Iwamatsu > Cc: Vladimir Zapolskiy > Cc:

[U-Boot] [PATCH 1/3] sysreset: switch to using SYSRESET_POWER_OFF for poweroff

2019-05-13 Thread Urja Rannikko
It seems that SYSRESET_POWER_OFF was added recently, and all previous code used SYSRESET_POWER for poweroff. SYSRESET_POWER is supposed to be a PMIC-level power cycle, not a poweroff. Signed-off-by: Urja Rannikko --- Note: I didnt touch the test/dm/sysreset.c code yet, mostly because I wanted to

[U-Boot] [PATCH 3/3] rk8xx: add a sysreset driver for poweroff

2019-05-13 Thread Urja Rannikko
Based on snooping around the linux kernel rk8xx driver. Tested on an ASUS C201. Signed-off-by: Urja Rannikko --- drivers/power/pmic/Kconfig | 1 + drivers/power/pmic/rk8xx.c | 62 +++--- include/power/rk8xx_pmic.h | 4 +++ 3 files changed, 63 insertions(+), 4

[U-Boot] [PATCH 2/3] sysreset: move stm32mp sysreset poweroff implementation to sysreset uclass

2019-05-13 Thread Urja Rannikko
This is a generic implementation. Add CONFIG_SYSRESET_CMD_POWEROFF to signal when we need it. Enable it from the STPMIC1 config and in sandbox. The config flag is transitionary, that is it can be removed after all poweroff implementations use sysreset, and just have CMD_POWEROFF depend on

Re: [U-Boot] [PATCH v2] dw_mmc: turn on the IO supply

2019-05-13 Thread Urja Rannikko
Hiya, On Thu, Apr 11, 2019 at 8:07 PM Urja Rannikko wrote: > > Hi, > > On Mon, Apr 1, 2019 at 5:44 PM Urja Rannikko wrote: > > > > Fixes the microSD slot on the ASUS C201. > > > > Signed-off-by: Urja Rannikko > > --- > > v2: use #if CONFIG_IS_ENABLED(DM_REGULATOR) > > Ping? Anything I should

[U-Boot] [PATCH 2/2] spi: imx: work with cs greater 0

2019-05-13 Thread Heiko Schocher
currently spi mxc driver can only handle cs 0. Allow it to handle also cs > 0. Signed-off-by: Heiko Schocher --- drivers/spi/mxc_spi.c | 54 +-- 1 file changed, 42 insertions(+), 12 deletions(-) diff --git a/drivers/spi/mxc_spi.c b/drivers/spi/mxc_spi.c

[U-Boot] [PATCH 1/2] spi: imx: remove doubled pointer from mxc_spi_probe

2019-05-13 Thread Heiko Schocher
in mxc_spi_probe() plat and mxcs pointer are created: struct mxc_spi_slave *plat = bus->platdata; struct mxc_spi_slave *mxcs = dev_get_platdata(bus); which have the same value. Remove plat pointer. Signed-off-by: Heiko Schocher --- drivers/spi/mxc_spi.c | 7 +++ 1 file changed, 3

[U-Boot] [PATCH 0/2] mxc_spi: DM improvements

2019-05-13 Thread Heiko Schocher
This series improves the mxc_spi DM support. builds clean on travis, see: https://travis-ci.org/hsdenx/u-boot-test/builds/531614870 Heiko Schocher (2): spi: imx: remove doubled pointer from mxc_spi_probe spi: imx: work with cs greater 0 drivers/spi/mxc_spi.c | 57

[U-Boot] [PATCH] configs: ls1088aqds: Enable config to write aligned data to TxFIFO

2019-05-13 Thread Kuldeep Singh
Enable config in LS1088aqds board to send only 16 bytes aligned data to TxFIFO while writing to flash Signed-off-by: Kuldeep Singh --- configs/ls1088aqds_tfa_defconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configs/ls1088aqds_tfa_defconfig

[U-Boot] [PATCH v3] riscv: Add Microchip MPFS Icicle board support

2019-05-13 Thread Padmarao Begari
This patch adds Microchip MPFS Icicle board support. For now, NS16550 serial driver is only enabled. The Microchip MPFS Icicle defconfig by default builds U-Boot for M-Mode with SMP support. Signed-off-by: Padmarao Begari --- Changes in v3 - Fix some typos - Remove CONFIG_DM, CONFIG_DM_SERIAL,

[U-Boot] [PATCH 1/1] imx8: cpu: fix warning for cpu_imx_get_temp

2019-05-13 Thread Igor Opaniuk
cpu_imx_get_temp() definition is wrapped with a ifdef macro, therefore all function references should be also wrapped the same way instead IS_ENABLED() usage. Fix warning: arch/arm/mach-imx/imx8/cpu.c: In function ‘cpu_imx_get_desc’: arch/arm/mach-imx/imx8/cpu.c:612:40: warning: implicit

Re: [U-Boot] [PATCH v1 03/18] dm: Add a No-op uclass

2019-05-13 Thread Jean-Jacques Hiblot
Hi Simon, On 07/05/2019 05:52, Simon Glass wrote: Hi Jean-Jacques, On Fri, 5 Apr 2019 at 06:56, Jean-Jacques Hiblot wrote: This uclass is intended for devices that do not need any features from the uclass, including binding children. This will typically be used by devices that are used to

[U-Boot] [PATCH 5/5] apalis-tk1: use UUID for rootfs

2019-05-13 Thread Igor Opaniuk
1. Replace usage of "/dev/mmcblk*p*" with a proper UUID of rootfs partition. This fixes the issue, when MMC controllers are probed in a different order in U-boot and Linux kernel. 2. Fix legacy USB command (both sdboot and usbboot can be used now). Signed-off-by: Igor Opaniuk ---

[U-Boot] [PATCH 4/5] apalis_imx6: use UUID for rootfs

2019-05-13 Thread Igor Opaniuk
1. Replace usage of "/dev/mmcblk*p*" with a proper UUID of rootfs partition. This fixes the issue, when MMC controllers are probed in a different order in U-boot and Linux kernel. 2. Fix legacy USB command (both sdboot and usbboot can be used now). Signed-off-by: Igor Opaniuk ---

[U-Boot] [PATCH 3/5] colibri_vf: use UUID for rootfs

2019-05-13 Thread Igor Opaniuk
Replace usage of "/dev/mmcblk*p*" with a proper UUID of rootfs partition. This fixes the issue, when MMC controllers are probed in a different order in U-boot and Linux kernel. Signed-off-by: Igor Opaniuk --- include/configs/colibri_vf.h | 15 +++ 1 file changed, 11 insertions(+), 4

[U-Boot] [PATCH 1/5] colibri_imx7: use UUID for rootfs

2019-05-13 Thread Igor Opaniuk
Replace usage of "/dev/mmcblk*p*" with a proper UUID of rootfs partition. This fixes the issue, when MMC controllers are probed in a different order in U-boot and Linux kernel. Signed-off-by: Igor Opaniuk --- include/configs/colibri_imx7.h | 47 -- 1 file

[U-Boot] [PATCH 2/5] colibri-imx6ull: use UUID for rootfs

2019-05-13 Thread Igor Opaniuk
Replace usage of "/dev/mmcblk*p*" with a proper UUID of rootfs partition. This fixes the issue, when MMC controllers are probed in a different order in U-boot and Linux kernel. Signed-off-by: Igor Opaniuk --- include/configs/colibri-imx6ull.h | 13 + 1 file changed, 9 insertions(+),

[U-Boot] [PATCH 2/2] armv8: ls1028a: enable workaround for errarum A-009007

2019-05-13 Thread Ran Wang
From: Yinbo Zhu This patch is to make usb erratum A-009007 applies to ls1028a Rx Compliance tests may fail intermittently at high jitter frequencies using default register values. Program register USB_PHY_RX_OVRD_IN_HI in certain sequence to make the Rx compliance test pass. Signed-off-by:

[U-Boot] [PATCH 1/2] armv8: Workaround for USB erratum of LS1028A

2019-05-13 Thread Ran Wang
This is suplement for patch which would handle A-008997 Signed-off-by: Ran Wang --- Depends: http://patchwork.ozlabs.org/patch/1083257/ http://patchwork.ozlabs.org/patch/1083258/ http://patchwork.ozlabs.org/patch/1083259/ arch/arm/cpu/armv8/fsl-layerscape/Kconfig

[U-Boot] Pull request for UEFI sub-system for v2019.07-rc3

2019-05-13 Thread Heinrich Schuchardt
The following changes since commit 82da478b8f8ed41ed8bdbd0269da36ef6aaef7e8: Merge branch '2019-05-10-master-imports' (2019-05-10 11:08:48 -0400) are available in the Git repository at: git://git.denx.de/u-boot-efi.git tags/efi-2019-07-rc3 for you to fetch changes up to