[U-Boot] [PATCH v2] usb: dwc3: Allocate and flush dwc->ep0_trb in a cache aligned manner

2017-10-15 Thread Faiz Abbas
A flush of the cache is required before any outbound DMA access can take place. The minimum size that can be flushed from the cache is one cache line size. Therefore, any buffer allocated for DMA should be in multiples of cache line size. Thus, allocate memory for ep0_trb in multiples of cache

[U-Boot] [Patch v2] LS2080A_SECURE_BOOT: Enable CONFIG_FSL_LS_PPA.

2017-10-15 Thread Udit Agarwal
Adds config CONFIG_FSL_LS_PPA and CONFIG_FSL_CAAM in LS2080AQDS and LS2080ARDB secure boot defconfig. Removes CONFIG_FIT, as not required when CONFIG_FSL_LS_PPA is enabled. Removes CONFIG_SPL_RSA as in QSPI boot SPL boot is not done. Signed-off-by: Udit Agarwal ---

[U-Boot] [PATCH v3 1/2] LS1088A_QSPI: SECURE_BOOT: Images validation

2017-10-15 Thread Udit Agarwal
Validates PPA, MC, DPC, Bootscript, DPL and Kernel images in ESBC phase using esbc_validate command. Add images validation in default environment under mcinitcmd prior to MC initialization. Add header address for PPA to be validated during ESBC phase for LS1088A platform based on LAyerscape

[U-Boot] [PATCH v3 2/2] LS1088A_QSPI: Add secure boot defconfigs for QSPI boot.

2017-10-15 Thread Udit Agarwal
Add the secure boot defconfigs for QSPI boot on LS1088ARDB and LS1088AQDS platforms. Signed-off-by: Udit Agarwal --- Changes in v3: Keeping defconfig options in sorted manner. board/freescale/ls1088a/MAINTAINERS | 10

Re: [U-Boot] Silencing SPL output

2017-10-15 Thread Heiko Schocher
Hello Chris, Am 16.10.2017 um 02:38 schrieb Chris Packham: This is probably something of a foot-gun but here we go... I was wondering if it's worth providing the ability to silence the output from the SPL. CONFIG_SILENT_CONSOLE exist for u-boot proper but the SPL preloader_console_init

[U-Boot] Silencing SPL output

2017-10-15 Thread Chris Packham
This is probably something of a foot-gun but here we go... I was wondering if it's worth providing the ability to silence the output from the SPL. CONFIG_SILENT_CONSOLE exist for u-boot proper but the SPL preloader_console_init bypasses anything that would set GD_FLG_SILENT. Even if it didn't the

Re: [U-Boot] [GIT PULL] u-boot-uniphier

2017-10-15 Thread Tom Rini
On Sun, Oct 15, 2017 at 11:28:48PM +0900, Masahiro Yamada wrote: > Hi Tom, > > Here are more UniPhier updates, including driver changes. > > I also picked up moveconfig and two NAND patches, > which have been left over for a while. > > The moveconfig patch is trivial enough. > The NAND patches

[U-Boot] [PATCH 2/4] net: designware: Pad small packets

2017-10-15 Thread Florian Fainelli
Make sure that we pad small packets to a minimum length of 60 bytes (without FCS). This is necessary to interface with Ethernet switches that will reject RUNT frames unless padded correctly. Signed-off-by: Florian Fainelli --- drivers/net/designware.c | 4 1 file

[U-Boot] [PATCH 3/4] net: phy: b53: Add b53_reg read/write commands

2017-10-15 Thread Florian Fainelli
Add a b53_reg read/write command which allows inspecting the switch registers. Because the Broadcom BCM53xx registers have different sizes, we need to split the accesses in 8, 16, 32, 48 or 64 bits to obtain expected results. Signed-off-by: Florian Fainelli ---

[U-Boot] [PATCH 4/4] configs: Update Lamobo_R1 with B53 switch options

2017-10-15 Thread Florian Fainelli
Enable CONFIG_B53_SWITCH, define the CPU/management port number (8) and enable all 5 ports of the switch to be usable. Signed-off-by: Florian Fainelli --- configs/Lamobo_R1_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/Lamobo_R1_defconfig

[U-Boot] [PATCH 1/4] net: phy: Add Broadcom BCM53xx switch driver

2017-10-15 Thread Florian Fainelli
Add a minimalistic Broadcom BCM53xx (roboswitch) switch driver similar to the Marvell MV88E617x. This takes care of configuring the minimum amount out of the switch hardware such that each user visible port (configurable) and the CPU port can forward packets between each other while preserving

[U-Boot] [PATCH 0/4] net: phy: Add Broadcom BCM53xx switch driver

2017-10-15 Thread Florian Fainelli
(this time after subscribing to the list) Hi all, This patch series adds support for the Broadcom BCM53xx switches, in particular BCM53125 which is found no the Lamobo R1 board. The driver is largely based on the DSA/b53 driver Linux driver and only incorporates what is necessary to succesfully

Re: [U-Boot] [PATCH V3] usb: xhci: Add Renesas R-Car xHCI driver

2017-10-15 Thread Marek Vasut
On 10/15/2017 05:11 PM, Bin Meng wrote: > Hi Marek, > > On Sun, Oct 15, 2017 at 9:01 PM, Marek Vasut wrote: >> Add firmware V3, firmware loader and XHCI glue for the Renesas R-Car >> Gen3 SoCs XHCI controller. Thus far only the R-Car Gen3 R8A7795 ES2.0+ >> and R8A7796 are

Re: [U-Boot] [PATCH V3] usb: xhci: Add Renesas R-Car xHCI driver

2017-10-15 Thread Bin Meng
Hi Marek, On Sun, Oct 15, 2017 at 9:01 PM, Marek Vasut wrote: > Add firmware V3, firmware loader and XHCI glue for the Renesas R-Car > Gen3 SoCs XHCI controller. Thus far only the R-Car Gen3 R8A7795 ES2.0+ > and R8A7796 are supported. > > Signed-off-by: Marek Vasut

[U-Boot] [GIT PULL] u-boot-uniphier

2017-10-15 Thread Masahiro Yamada
Hi Tom, Here are more UniPhier updates, including driver changes. I also picked up moveconfig and two NAND patches, which have been left over for a while. The moveconfig patch is trivial enough. The NAND patches were reviewed and accepted in Linux, so should be safe. The following changes

Re: [U-Boot] [PATCH 1/4] ARM: uniphier: enable DWC3 xHCI driver

2017-10-15 Thread Masahiro Yamada
2017-10-14 2:21 GMT+09:00 Masahiro Yamada : > Enable CONFIGs for the DWC3 core and the UniPhier specific glue layer. > > Signed-off-by: Masahiro Yamada > --- Series, applied to u-boot-uniphier. -- Best Regards Masahiro Yamada

Re: [U-Boot] [PATCH 00/20] ARM: uniphier: various refactoring for v2017.11-rc2

2017-10-15 Thread Masahiro Yamada
2017-10-13 19:21 GMT+09:00 Masahiro Yamada : > - Reactor of GPIO, clk, reset drivers. > - Clean up SOC code > - Sync DT > - Use more clock drivers > - Split U-Boot specific DT property > > > Masahiro Yamada (20): > ARM: uniphier: switch to

Re: [U-Boot] efi_loader triggers fec_mxc messages when booting off mmc

2017-10-15 Thread Fabio Estevam
Hi Heinrich, On Sun, Oct 15, 2017 at 1:33 AM, Heinrich Schuchardt wrote: > Hello Jonathan, > > the only place where I can find a string 'error frame:' is in > drivers/net/fec_mxc (line 885). > > It indicates that any of the following conditions was met > Frame length

Re: [U-Boot] [PATCH 2/2] mtd: nand: do not check R/B# for CMD_SET_FEATURES in nand_command(_lp)

2017-10-15 Thread Masahiro Yamada
2017-09-15 21:44 GMT+09:00 Masahiro Yamada : > Set Features (0xEF) command toggles the R/B# pin after 4 sub feature > parameters are written. > > Currently, nand_command(_lp) calls chip->dev_ready immediately after > the address cycle because NAND_CMD_SET_FEATURES

Re: [U-Boot] [PATCH 1/2] mtd: nand: do not check R/B# for CMD_READID in nand_command(_lp)

2017-10-15 Thread Masahiro Yamada
2017-09-15 21:44 GMT+09:00 Masahiro Yamada : > Read ID (0x90) command does not toggle the R/B# pin. Without this > patch, NAND_CMD_READID falls into the default: label, then R/B# is > checked by chip->dev_ready(). > > [masahiro: import Linux commit

[U-Boot] [PATCH 1/2] wandboard: Remove cpu type check prior to setup_sata()

2017-10-15 Thread Fabio Estevam
From: Fabio Estevam Inside setup_sata() there is a cpu type check, so there is no need to do this check in the board file. This also brings the benefit to allowing setup_sata() to be called for the mx6qp wandboard variant. Signed-off-by: Fabio Estevam

[U-Boot] [PATCH 2/2] udoo: Remove cpu type check prior to setup_sata()

2017-10-15 Thread Fabio Estevam
From: Fabio Estevam Inside setup_sata() there is a cpu type check, so there is no need to do this check in the board file. Signed-off-by: Fabio Estevam --- board/udoo/udoo.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git

Re: [U-Boot] [PATCH V2] usb: xhci: Add Renesas R-Car xHCI driver

2017-10-15 Thread Marek Vasut
On 10/15/2017 02:59 PM, Marek Vasut wrote: > Add firmware V3, firmware loader and XHCI glue for the Renesas R-Car > Gen3 SoCs XHCI controller. Thus far only the R-Car Gen3 R8A7795 ES2.0+ > and R8A7796 are supported. > > Signed-off-by: Marek Vasut > Cc: Nobuhiro

[U-Boot] [PATCH] ARM: rmobile: Enable xHCI on RCar Gen3 boards

2017-10-15 Thread Marek Vasut
Enable the XHCI support on all boards. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- configs/r8a7795_salvator-x_defconfig | 1 + configs/r8a7795_ulcb_defconfig | 1 + configs/r8a7796_salvator-x_defconfig | 1 +

[U-Boot] [PATCH] net: fec_mxc: Change "error frame" message to debug level

2017-10-15 Thread Fabio Estevam
From: Fabio Estevam As reported by Jonathan Gray: "After the recent changes to add SimpleNetworkProtocol to efi_loader when booting off mmc via an efi payload that doesn't use SimpleNetworkProtocol U-Boot's fec_mxc driver will now display various "error frame" messages.

[U-Boot] [PATCH V3] usb: xhci: Add Renesas R-Car xHCI driver

2017-10-15 Thread Marek Vasut
Add firmware V3, firmware loader and XHCI glue for the Renesas R-Car Gen3 SoCs XHCI controller. Thus far only the R-Car Gen3 R8A7795 ES2.0+ and R8A7796 are supported. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu Cc: Bin Meng

[U-Boot] [PATCH V2] usb: xhci: Add Renesas R-Car xHCI driver

2017-10-15 Thread Marek Vasut
Add firmware V3, firmware loader and XHCI glue for the Renesas R-Car Gen3 SoCs XHCI controller. Thus far only the R-Car Gen3 R8A7795 ES2.0+ and R8A7796 are supported. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu Cc: Bin Meng

[U-Boot] [PATCH] [RFC] MAINTAINERS: Add myself as RCar/RMobile comaintainer

2017-10-15 Thread Marek Vasut
To help out with the RCar/RMobile upstreaming, I'm adding myself as the RCar/RMobile maintainer. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS

Re: [U-Boot] 'filesize' env var - making U-Boot command more scriptable?

2017-10-15 Thread Wolfgang Denk
Dear Tim, In message you wrote: > > Various U-Boot commands that deal with files/blobs end up setting the > 'filesize' env variable to be used for subsequent commands which is > very handy. I haven't found this documented

Re: [U-Boot] [PATCH v2 0/3] kbuild: always use relative path for __FILE__

2017-10-15 Thread Masahiro Yamada
2017-10-14 6:39 GMT+09:00 Tom Rini : > On Sat, Oct 14, 2017 at 03:35:23AM +0900, Masahiro Yamada wrote: >> 2017-10-13 22:53 GMT+09:00 Tom Rini : >> > On Fri, Oct 13, 2017 at 09:21:19PM +0900, Masahiro Yamada wrote: >> >> 2017-10-13 21:11 GMT+09:00 Tom Rini

Re: [U-Boot] [PATCH v3 1/1] x86: provide CONFIG_BUILD_ROM

2017-10-15 Thread Bin Meng
Hi Heinrich, On Sun, Oct 15, 2017 at 5:10 PM, Heinrich Schuchardt wrote: > On 10/14/2017 02:31 PM, Bin Meng wrote: >> Hi Heinrich, >> >> On Sat, Oct 14, 2017 at 3:10 PM, Heinrich Schuchardt >> wrote: >>> Up to now we depended on an exported variable to

Re: [U-Boot] [PATCH] moveconfig: Fix error message for a missing toolchain

2017-10-15 Thread Masahiro Yamada
2017-10-10 12:00 GMT+09:00 Masahiro Yamada : > 2017-10-08 19:31 GMT+09:00 Tuomas Tynkkynen : >> Due to misplaced quote the error message is literally e.g.: >> >> MigoR_defconfig >> Tool chain for '%s' is missing. Do nothing. >> %

Re: [U-Boot] [PATCH] moveconfig: fix error message in do_autoconf()

2017-10-15 Thread Masahiro Yamada
2017-08-28 5:10 GMT+09:00 Simon Glass : > +Tom > > On 27 August 2017 at 02:00, Chris Packham wrote: >> Move the % arch outside the double quote so that the missing toolchain >> message is displayed correctly. >> >> Signed-off-by: Chris Packham

Re: [U-Boot] [PATCH v3 1/1] x86: provide CONFIG_BUILD_ROM

2017-10-15 Thread Heinrich Schuchardt
On 10/14/2017 02:31 PM, Bin Meng wrote: > Hi Heinrich, > > On Sat, Oct 14, 2017 at 3:10 PM, Heinrich Schuchardt > wrote: >> Up to now we depended on an exported variable to build u-boot.rom. >> We should be able to specify it in the configuration file, too. >> >> With this

Re: [U-Boot] [PATCH] spi: kirkwood_spi: implement workaround for FE-9144572

2017-10-15 Thread Stefan Roese
On 13.10.2017 03:05, Chris Packham wrote: Erratum NO. FE-9144572: The device SPI interface supports frequencies of up to 50 MHz. However, due to this erratum, when the device core clock is 250 MHz and the SPI interfaces is configured for 50MHz SPI clock and CPOL=CPHA=1 there might occur data

Re: [U-Boot] [PATCH 1/1] configs: DISTRO_DEFAULTS for MACCHIATObin

2017-10-15 Thread Stefan Roese
On 15.10.2017 07:03, Heinrich Schuchardt wrote: Enable DISTRO_DEFAULTS for mvebu_db_armada8k_defconfig mvebu_mcbin-88f8040_defconfig Signed-off-by: Heinrich Schuchardt --- configs/mvebu_db_armada8k_defconfig | 1 + configs/mvebu_mcbin-88f8040_defconfig | 1 + 2 files