Re: [U-Boot] [PATCH v3 2/4] USB: host: Add the USB3 host driver

2019-08-18 Thread Sherry Sun
Hi Marek, > > On 8/16/19 8:10 AM, Sherry Sun wrote: > > [...] > > > diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig index > > ac68aa2d27..cc1dfe463b 100644 > > --- a/drivers/usb/host/Kconfig > > +++ b/drivers/usb/host/Kconfig > > @@ -95,6 +95,15 @@ config USB_XHCI_FSL > >

Re: [U-Boot] Question about GPL v3 font

2019-08-18 Thread Masahiro Yamada
On Fri, Aug 16, 2019 at 2:13 AM Tom Rini wrote: > > On Tue, Aug 13, 2019 at 03:34:20AM -0600, Simon Glass wrote: > > Hi, > > > > On Fri, 26 Jul 2019 at 11:07, Tom Rini wrote: > > > > > > On Fri, Jul 26, 2019 at 06:42:47PM +0900, Masahiro Yamada wrote: > > > > > > > Hi. > > > > > > > > According

Re: [U-Boot] imx: add i.MX8MQ EVK support

2019-08-18 Thread Troy Kisky
Hi Peng In spl.c you have _ static void spl_dram_init(void) { /* ddr init */ if ((get_cpu_rev() & 0xfff) == CHIP_REV_2_1) ddr_init(_timing); else ddr_init(_timing_b0); } _ Could you explain why this is dependent on chip

Re: [U-Boot] [PATCH 2/2] mmc: Rename timeout parameters for clarification

2019-08-18 Thread Peng Fan
> Subject: [PATCH 2/2] mmc: Rename timeout parameters for clarification > > It's quite hard to figure out time units for various function that have > timeout > parameters. This leads to possible errors when one forgets to convert ms to > us, for example. Let's rename those parameters

Re: [U-Boot] [PATCH 1/2] mmc: Fix timeout values passed to mmc_wait_dat0()

2019-08-18 Thread Peng Fan
> Subject: [PATCH 1/2] mmc: Fix timeout values passed to mmc_wait_dat0() > > mmc_wait_dat0() expects timeout argument to be in usec units. But some > overlying functions operate on timeout in msec units. Convert timeout from > msec to usec when passing it to mmc_wait_dat0(). > > This fixes 'avb'

Re: [U-Boot] [PATCH v2 8/9] spl: Introduce SPL_DM_GPIO Kconfig define

2019-08-18 Thread Peng Fan
> Subject: [PATCH v2 8/9] spl: Introduce SPL_DM_GPIO Kconfig define > > This define indicates if DM_GPIO shall be supported in SPL. This allows proper > operation of DM converted GPIO drivers in SPL, which use > #if !CONFIG_IS_ENABLED(DM_GPIO) to also support not yet DM/DTS > converted boards. >

Re: [U-Boot] [PATCH v2 5/9] spi: Add support for SPL_OF_PLATDATA to mxs_spi.c driver

2019-08-18 Thread Peng Fan
> Subject: [PATCH v2 5/9] spi: Add support for SPL_OF_PLATDATA to mxs_spi.c > driver > > After this patch the mxs_spi.c DM/DTS driver can be used at early SPL to read > payload from SPI-NOR memories. > > It was necessary to adjust its name to 'fsl_imx_2{38}_spi' to match > requirements for

Re: [U-Boot] [PATCH v2 4/9] spi: fix: Call mxs_reset_block() during DM/DTS probe

2019-08-18 Thread Peng Fan
> Subject: [PATCH v2 4/9] spi: fix: Call mxs_reset_block() during DM/DTS probe > > Without this change the DM/DTS version of mxs_spi driver doesn't reset the > SPI IP block in probe. > As a result this driver (when used solely on U-Boot proper) relies on reset > performed by mxs spi driver in

Re: [U-Boot] [PATCH v2 3/9] spl: Init proper struct driver member (platdata_auto_alloc_size) for mxs_spi

2019-08-18 Thread Peng Fan
> Subject: [PATCH v2 3/9] spl: Init proper struct driver member > (platdata_auto_alloc_size) for mxs_spi > > This change initializes proper member of struct driver - > platdata_auto_alloc_size instead of priv_auto_alloc_size, which is setup > twice. > > Signed-off-by: Lukasz Majewski > > --- >

Re: [U-Boot] [PATCH v2 1/9] doc: fix: Replace SPL_OF_PLATDATA with OF_PLATDATA in examples

2019-08-18 Thread Peng Fan
> Subject: [PATCH v2 1/9] doc: fix: Replace SPL_OF_PLATDATA with > OF_PLATDATA in examples > > The of-plat.rst file till this change has been using #if > CONFIG_IS_ENABLED(SPL_OF_PLATDATA) it its examples. > > This is at best misleading as SPL_OF_PLATDATA is always defined when we > want to use

Re: [U-Boot] [PATCH v2 2/9] dts: imx28: Remove #include "imx28.dtsi" from imx28-u-boot.dtsi file

2019-08-18 Thread Peng Fan
> Subject: [PATCH v2 2/9] dts: imx28: Remove #include "imx28.dtsi" from > imx28-u-boot.dtsi file > > After this change it is possible to use imx28--u-boot.dtsi with the > imx28-u-boot.dtsi explicitly included without breaking setup from > imx28-.dts file. > > The problem is that the imx28.dtsi

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

2019-08-18 Thread Bin Meng
Hi Tom, This PR includes the following changes in x86: - QEMU build warning fix when CONFIG_DISTRO_DEFAULTS=n - Small fixes on x86 reST docs - Allow CBFS to be used in SPL - Remove x86 specific GD flags The following changes since commit 81fed78c0a59af0d5698b13608eb4d26be84f397: Merge tag

Re: [U-Boot] Travis test/py sandbox_spl test fail

2019-08-18 Thread Kever Yang
Hi Simon, Stephen,     Could you help to comment on my other mail, which patch cause this failure. Thanks, - Kever On 2019/8/14 下午11:49, Stephen Warren wrote: On 8/13/19 8:06 PM, Kever Yang wrote: Hi Stephen, On 2019/8/14 上午4:54, Stephen Warren wrote: On 8/13/19 3:39 AM, Simon Glass

Re: [U-Boot] [PATCH 0/1] i.MX8QM ROM 7720 a1 board won't boot

2019-08-18 Thread Peng Fan
> Subject: Re: [PATCH 0/1] i.MX8QM ROM 7720 a1 board won't boot > > On 16/08/19, Marcel Ziswiler wrote: > > Hi Oliver > > > > On Fri, 2019-08-16 at 12:43 +, Oliver Graute wrote: > > > I'am currently working on the following patch to get the imx8qm- > > > rom7720-a1 > > > > That version sounds

Re: [U-Boot] [PATCH 2/4] rockchip: dts: rk3328-rock64: enable usb3 xhci controller

2019-08-18 Thread Kever Yang
Hi Matwey, On 2019/8/17 下午10:15, Matwey V. Kornilov wrote: Hi Kever, I've just tested the series on my Rock64 and I see the following issue. An USB pen-drive is not discovered by `usb start' when attached to the USB3 (blue) port. The USB3 is not working correctly by the default code, and it

[U-Boot] [PATCH 2/2] odroid-c2: enable USB host controller

2019-08-18 Thread Beniamino Galvani
Enable the second USB controller, which is connected to a hub with 4 ports. The first controller is for the OTG port and is currently not supported. Signed-off-by: Beniamino Galvani --- arch/arm/dts/meson-gxbb-odroidc2-u-boot.dtsi | 8 configs/odroid-c2_defconfig | 7

[U-Boot] [PATCH 1/2] phy: meson: add GXBB PHY driver

2019-08-18 Thread Beniamino Galvani
This adds support for the USB PHY found on Amlogic GXBB SoCs. Signed-off-by: Beniamino Galvani --- drivers/phy/Kconfig | 8 ++ drivers/phy/Makefile | 1 + drivers/phy/meson-gxbb-usb2.c | 235 ++ 3 files changed, 244 insertions(+) create

[U-Boot] Enable USB host controller on Odroid-C2

2019-08-18 Thread Beniamino Galvani
Hi, these two patches enable the USB host controller on Odroid-C2. The first patch adds a PHY driver; the second one enables the necessary configuration options and updates the device tree. Note that the DWC2 driver currently does not support enabling PHYs from the device tree and so the

[U-Boot] [PATCH 08/10] x86: Move fsp_infoheader.h to the generic fsp directory

2019-08-18 Thread Simon Glass
This header file is the same for FSP v1 and v2. Move it into the general fsp directory. Signed-off-by: Simon Glass --- arch/x86/include/asm/fsp1/fsp_support.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/include/asm/fsp1/fsp_support.h

[U-Boot] [PATCH 03/10] x86: Create a new fsp_arch.h header

2019-08-18 Thread Simon Glass
At present fsp_support.h includes fsp_vpd.h which is an FPSv1 concept (VPD means Vital Product Data). For FSPv2 only UPD (Updatable Product Data) is used. To avoid mangling header files, put these two includes in a separate header which we can adjust as necessary for FSPv2. Signed-off-by: Simon

[U-Boot] [PATCH 07/10] x86: Move fsp_hob.h to the generic fsp directory

2019-08-18 Thread Simon Glass
This header file is the same for FSP v1 and v2. Move it into the general fsp directory. Signed-off-by: Simon Glass --- arch/x86/include/asm/{fsp1 => fsp}/fsp_hob.h| 0 arch/x86/include/asm/{fsp1 => fsp}/fsp_infoheader.h | 0 arch/x86/include/asm/fsp1/fsp_support.h | 1 + 3

[U-Boot] [PATCH 09/10] x86: Move fsp_bootmode.h to the generic fsp directory

2019-08-18 Thread Simon Glass
This header file is the same for FSP v1 and v2, although there may be some additions to come. Move it into the generic fsp directory. Signed-off-by: Simon Glass --- arch/x86/include/asm/{fsp1 => fsp}/fsp_bootmode.h | 0 arch/x86/include/asm/fsp1/fsp_support.h | 3 +-- 2 files

[U-Boot] [PATCH 04/10] x86: Move fsp_api.h inclusion out of fsp_support.h

2019-08-18 Thread Simon Glass
This header file is different for each version of FSP. Move it into the fsp_arch.h header file. Signed-off-by: Simon Glass --- arch/x86/include/asm/fsp1/fsp_support.h | 1 - arch/x86/include/asm/fsp_arch.h | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git

[U-Boot] [PATCH 10/10] x86: Move fsp_ffs.h include to fsp_arch.h

2019-08-18 Thread Simon Glass
This include file is only used for FSP v1. Avoid including it from fdt_support.h so we can use the latter with FSP v2. Signed-off-by: Simon Glass --- arch/x86/include/asm/fsp_arch.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/include/asm/fsp_arch.h

[U-Boot] [PATCH 06/10] x86: Move fsp_fv.h to the generic fsp directory

2019-08-18 Thread Simon Glass
This header file is the same for FSP v1 and v2. Move it into the general fsp directory. Signed-off-by: Simon Glass --- arch/x86/include/asm/{fsp1 => fsp}/fsp_fv.h | 0 arch/x86/include/asm/fsp1/fsp_support.h | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename

[U-Boot] [PATCH 02/10] x86: fsp: Move fsp_azalia include out of fsp_support.h

2019-08-18 Thread Simon Glass
This file is only used by one board and we don't need the types for most FSP files so it is wasteful to include it so widely. Drop it from this header. Signed-off-by: Simon Glass --- arch/x86/cpu/braswell/fsp_configs.c | 1 + arch/x86/include/asm/fsp1/fsp_support.h

[U-Boot] [PATCH 05/10] x86: Move fsp_types.h to the generic fsp directory

2019-08-18 Thread Simon Glass
This header file is the same for FSP v1 and v2. Move it into the general fsp directory. Signed-off-by: Simon Glass --- arch/x86/include/asm/{fsp1 => fsp}/fsp_types.h | 0 arch/x86/include/asm/fsp1/fsp_support.h| 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename

[U-Boot] [PATCH 01/10] x86: Rename existing FSP code to fsp1

2019-08-18 Thread Simon Glass
Since there is now a new version of the FSP and it is incompatible with the existing version, move the code into an fsp1 directory. This will allow us to put FSP v2 code into an fsp2 directory. Add a Kconfig which defines which version is in use. Some of the code in this new fsp1/ directory is

[U-Boot] [PATCH 00/10] x86: Prepare for adding FSP2 code

2019-08-18 Thread Simon Glass
At present the x86 FSP (Firmware Support Package) code assumes that FSP version 1 is used. Since this code was added to U-Boot a new version (FSP2) has been produced by Intel. In preparation for adding support for FSP2, move the existing code into a directory that indicates it is used for FSP1.

[U-Boot] [PATCH v2 9/9] spi: Add support for SPL_OF_PLATDATA to mxs_gpio.c driver

2019-08-18 Thread Lukasz Majewski
After this patch the mxs_gpio.c DM/DTS driver can be used at early SPL to read states of gpio pins (and for example alter the boot flow). It was necessary to adjust its name to 'fsl_imx_2{38}_gpio' to match requirements for SPL_OF_PLATDATA usage. Signed-off-by: Lukasz Majewski --- Changes in

[U-Boot] [PATCH v2 8/9] spl: Introduce SPL_DM_GPIO Kconfig define

2019-08-18 Thread Lukasz Majewski
This define indicates if DM_GPIO shall be supported in SPL. This allows proper operation of DM converted GPIO drivers in SPL, which use #if !CONFIG_IS_ENABLED(DM_GPIO) to also support not yet DM/DTS converted boards. Signed-off-by: Lukasz Majewski --- Changes in v2: - New patch

[U-Boot] [PATCH v2 7/9] mmc: Replace printf with debug call for timeouts in the i.MX28 mxs driver

2019-08-18 Thread Lukasz Majewski
This change replaces printf() with debug() for the notification about commands timeouts. This is done on purpose (also other drivers use such approach - dw_mmc.c, mvebu_mmc.c), as the mmc core code (mmc.c) uses timeouts to assess if one is using sd card or eMMC device. In such situation timeout

[U-Boot] [PATCH v2 4/9] spi: fix: Call mxs_reset_block() during DM/DTS probe

2019-08-18 Thread Lukasz Majewski
Without this change the DM/DTS version of mxs_spi driver doesn't reset the SPI IP block in probe. As a result this driver (when used solely on U-Boot proper) relies on reset performed by mxs spi driver in SPL. In the use case where eMMC is used in SPL as a boot primary device, the

[U-Boot] [PATCH v2 2/9] dts: imx28: Remove #include "imx28.dtsi" from imx28-u-boot.dtsi file

2019-08-18 Thread Lukasz Majewski
After this change it is possible to use imx28--u-boot.dtsi with the imx28-u-boot.dtsi explicitly included without breaking setup from imx28-.dts file. The problem is that the imx28.dtsi included in a wrong place overrides the changes made in imx28-.dts. As a result some devices are "disabled" in

[U-Boot] [PATCH v2 6/9] mmc: Convert mxsmmc eMMC driver for i.MX2{38} to DM/DTS

2019-08-18 Thread Lukasz Majewski
This patch converts the mxsmmc driver to support DM/DTS. Moreover, it is also possible to use it in early SPL with SPL_OF_PLATDATA enabled. Signed-off-by: Lukasz Majewski --- Changes in v2: - Correct position of struct mmc_ops mxsmmc_ops to avoid build breaks on board using legacy i.MX28

[U-Boot] [PATCH v2 5/9] spi: Add support for SPL_OF_PLATDATA to mxs_spi.c driver

2019-08-18 Thread Lukasz Majewski
After this patch the mxs_spi.c DM/DTS driver can be used at early SPL to read payload from SPI-NOR memories. It was necessary to adjust its name to 'fsl_imx_2{38}_spi' to match requirements for SPL_OF_PLATDATA usage. Signed-off-by: Lukasz Majewski --- Changes in v2: None

[U-Boot] [PATCH v2 1/9] doc: fix: Replace SPL_OF_PLATDATA with OF_PLATDATA in examples

2019-08-18 Thread Lukasz Majewski
The of-plat.rst file till this change has been using #if CONFIG_IS_ENABLED(SPL_OF_PLATDATA) it its examples. This is at best misleading as SPL_OF_PLATDATA is always defined when we want to use this SPL tinification feature (also in U-Boot proper). As a result the OF_PLATDATA SPL specific code is

[U-Boot] [PATCH v2 3/9] spl: Init proper struct driver member (platdata_auto_alloc_size) for mxs_spi

2019-08-18 Thread Lukasz Majewski
This change initializes proper member of struct driver - platdata_auto_alloc_size instead of priv_auto_alloc_size, which is setup twice. Signed-off-by: Lukasz Majewski --- Changes in v2: - New patch drivers/spi/mxs_spi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[U-Boot] [PATCH v2 0/9] imx: mxs: Fixes and DM/DTS conversion code for several i.MX28 drivers

2019-08-18 Thread Lukasz Majewski
This patch series focuses on fixing and enhancing the i.MX28 to be converted to DM/DTS. The mxs gpio, spi and eMMC drivers has been fixed and converted to DM/DTS. Changes in v2: - New patch - Correct position of struct mmc_ops mxsmmc_ops to avoid build breaks on board using legacy i.MX28 mmc

Re: [U-Boot] Rockpro64_V2.1 2018-07-02 Boot Freeze

2019-08-18 Thread Jagan Teki
+ Kever On Sun, Aug 18, 2019 at 1:21 AM Kurt Miller wrote: > > Hello, > > The Rockpro64_V2.1 2018-07-02 using master code base freezes > with only the following output: > > U-Boot TPL 2019.10-rc2-1-gdf33f86468-dirty (Aug 16 2019 - 22:31:31) > > Whereas another board dated 2018-06-06 works

Re: [U-Boot] [PATCH 1/1] riscv: qemu: enable CONFIG_CMD_BOOTEFI_SELFTEST

2019-08-18 Thread Heinrich Schuchardt
On 8/18/19 1:58 PM, Bin Meng wrote: > On Sun, Aug 18, 2019 at 6:51 PM Heinrich Schuchardt > wrote: >> >> Enable CONFIG_CMD_BOOTEFI_SELFTEST for the QEMU RISC-V boards. >> >> Travis CI QEMU testing has been enabled for qemu-riscv64_defconfig. With >> this patch we will test the UEFI sub-system on

[U-Boot] [PATCH 2/2] sun50i: a64: A64-Teres-I board detect builtin keyboard

2019-08-18 Thread Jonas Smedegaard
A64-Teres-I board is a laptop which comes with a builtin keyboard. The keyboard+trackpad controller pauses for 2 seconds at a firmware prompt before loading its HID interface. U-Boot needs to wait equally long to reliably enable the keyboard. Tested-by: Jonas Smedegaard Signed-off-by: Jonas

[U-Boot] [PATCH 1/2] sunxi: fix support board-specific CONFIG_PREBOOT

2019-08-18 Thread Jonas Smedegaard
commit 37304aaf60bf ("Convert CONFIG_USE_PREBOOT and CONFIG_PREBOOT to Kconfig") intended to support CONFIG_PREBOOT, but include/configs/sunxi-common.h hardcodes preboot as part of internally defined CONSOLE_STDIN_SETTINGS, silently ignoring any board-specific CONFIG_PREBOOT. Tested-by: Jonas

Re: [U-Boot] [PATCH 2/2] global_data: Remove comment of reserved arch-specific GD flags

2019-08-18 Thread Bin Meng
On Fri, Aug 16, 2019 at 11:59 PM Simon Glass wrote: > > On Fri, 16 Aug 2019 at 10:05, Simon Goldschmidt > wrote: > > > > > > > > Stefan Roese schrieb am Fr., 16. Aug. 2019, 14:45: > >> > >> With the removal of the x86 specific GD flags, there are no arch- > >> specific GD flags any more. Let's

Re: [U-Boot] [PATCH v2 3/6] cbfs: Move static variables into a struct

2019-08-18 Thread Bin Meng
On Fri, Aug 16, 2019 at 10:43 PM Bin Meng wrote: > > On Thu, Aug 15, 2019 at 3:18 PM Bin Meng wrote: > > > > On Thu, Aug 15, 2019 at 9:56 AM Simon Glass wrote: > > > > > > At present there are a number of static variables in BSS. This cannot work > > > with SPL, at least until BSS is available

Re: [U-Boot] [PATCH v2 6/6] cbfs: Rename camel-case variables

2019-08-18 Thread Bin Meng
On Fri, Aug 16, 2019 at 10:44 PM Bin Meng wrote: > > On Thu, Aug 15, 2019 at 9:56 AM Simon Glass wrote: > > > > Rename some camel-case variables to match U-Boot style. > > > > Camel case is not generally allowed in U-Boot. Rename this variable to fit > > in with the style. > > > > Signed-off-by:

Re: [U-Boot] [PATCH 1/2] x86: Remove x86 specific GD flags as they are not referenced at all

2019-08-18 Thread Bin Meng
On Fri, Aug 16, 2019 at 11:04 PM Simon Goldschmidt wrote: > > > > Stefan Roese schrieb am Fr., 16. Aug. 2019, 14:45: >> >> This patch removes the x86 architecture specific GD flags >> (GD_FLG_COLD_BOOT & GD_FLG_WARM_BOOT), as they are not used. Only >> GD_FLG_COLD_BOOT is referenced in

Re: [U-Boot] [PATCH v2 4/6] cbfs: Move result variable into the struct

2019-08-18 Thread Bin Meng
On Fri, Aug 16, 2019 at 10:43 PM Bin Meng wrote: > > On Thu, Aug 15, 2019 at 9:56 AM Simon Glass wrote: > > > > Move the result variable into the struct also, so that it can be used when > > BSS is not available. Add a function to read it. > > > > Note that all functions sill use the BSS version

Re: [U-Boot] [PATCH v2 2/6] cbfs: Move declarations above functions

2019-08-18 Thread Bin Meng
On Fri, Aug 16, 2019 at 10:42 PM Bin Meng wrote: > > On Thu, Aug 15, 2019 at 9:56 AM Simon Glass wrote: > > > > At present this file has a function at the top, above declarations. This > > is normally avoided, so fix it. > > > > Signed-off-by: Simon Glass > > Reviewed-by: Bin Meng > > --- > >

Re: [U-Boot] [PATCH v2 5/6] cbfs: Add functions to support multiple CBFSs

2019-08-18 Thread Bin Meng
On Fri, Aug 16, 2019 at 10:43 PM Bin Meng wrote: > > On Thu, Aug 15, 2019 at 9:56 AM Simon Glass wrote: > > > > Sometimes an image has multiple CBFS. The current CBFS API is limited to > > handling only one at time. Also it keeps track of the CBFS internally in > > BSS, which does not work

Re: [U-Boot] [PATCH v2 1/6] cbfs: Allow CBFS to be used in SPL

2019-08-18 Thread Bin Meng
On Fri, Aug 16, 2019 at 10:42 PM Bin Meng wrote: > > On Thu, Aug 15, 2019 at 9:56 AM Simon Glass wrote: > > > > Add a new Kconfig option to enable CBFS in SPL. This can be useful when > > the memory-init code is in CBFS. > > > > Signed-off-by: Simon Glass > > Reviewed-by: Bin Meng > > --- > >

Re: [U-Boot] [PATCH 1/1] riscv: qemu: enable CONFIG_CMD_BOOTEFI_SELFTEST

2019-08-18 Thread Bin Meng
On Sun, Aug 18, 2019 at 6:51 PM Heinrich Schuchardt wrote: > > Enable CONFIG_CMD_BOOTEFI_SELFTEST for the QEMU RISC-V boards. > > Travis CI QEMU testing has been enabled for qemu-riscv64_defconfig. With > this patch we will test the UEFI sub-system on the board. > > Signed-off-by: Heinrich

Re: [U-Boot] [PATCH v5 1/5] usb_kdb: only process events successfully received

2019-08-18 Thread Marek Vasut
On 8/18/19 10:55 AM, Michal Suchanek wrote: > Causes unbound key repeat on error otherwise. > > Signed-off-by: Michal Suchanek > --- > v2: fix indentation > v4: fix ! condition to >= 0 > v5: fix commit message typo Applied all, thanks. ___ U-Boot

[U-Boot] [PATCH 1/1] riscv: qemu: enable CONFIG_CMD_BOOTEFI_SELFTEST

2019-08-18 Thread Heinrich Schuchardt
Enable CONFIG_CMD_BOOTEFI_SELFTEST for the QEMU RISC-V boards. Travis CI QEMU testing has been enabled for qemu-riscv64_defconfig. With this patch we will test the UEFI sub-system on the board. Signed-off-by: Heinrich Schuchardt --- configs/qemu-riscv32_defconfig | 1 +

[U-Boot] [PATCH v5 4/5] usb: Add nonblock argument to submit_int_msg

2019-08-18 Thread Michal Suchanek
This will be used to implement non-blocking keyboard polling in case of errors. Signed-off-by: Michal Suchanek --- v2: add missing hunk from last patch v4: - propagate nonblock argument to wrapper - add documentation of nonblock argument to wrapper v5: - also propagate the extra argument

[U-Boot] [PATCH v5 5/5] dwc2: use the nonblock argument in submit_int_msg

2019-08-18 Thread Michal Suchanek
An USB 1.1 keyboard connected to dwc2 through a high-speed hub does not report status until it changes. With this patch you can enable keyboard by pressing a key while USB devices are probed. Without a keypress no state is reported and the probe times out. We don't want to wait for a keypress or

[U-Boot] [PATCH v5 3/5] usb: storage: submit_int_msg -> usb_int_msg

2019-08-18 Thread Michal Suchanek
Use the wrapper as other callers do. Signed-off-by: Michal Suchanek --- v2: usb_submit_int_msg -> usb_int_msg v3: fix indentation v5: fix superfluous space in type cast --- common/usb_storage.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/usb_storage.c

[U-Boot] [PATCH v5 1/5] usb_kdb: only process events successfully received

2019-08-18 Thread Michal Suchanek
Causes unbound key repeat on error otherwise. Signed-off-by: Michal Suchanek --- v2: fix indentation v4: fix ! condition to >= 0 v5: fix commit message typo --- common/usb_kbd.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/common/usb_kbd.c b/common/usb_kbd.c index

[U-Boot] [PATCH v5 2/5] usb: usb_submit_int_msg -> usb_int_msg

2019-08-18 Thread Michal Suchanek
This aligns naming with usb_bulk_msg and usb_control_msg. Signed-off-by: Michal Suchanek --- v2: new patch v4: fix indentation of function arguments --- common/usb.c | 4 ++-- common/usb_kbd.c | 8 include/usb.h| 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff