Re: [U-Boot] [PATCH v5 00/11] mmc: fixes for HS200/UHS core support

2017-12-10 Thread Jaehoon Chung
Hi JJ, On 12/01/2017 01:43 AM, Jean-Jacques Hiblot wrote: > This series applies on top of "[PATCH v2 00/26] mmc: Add support for HS200 > and UHS modes" > > It fixes a bug with old SD and MMC cards that support only the legacy mode. > This series also adresses the problem of increased code size th

[U-Boot] [RFC 3/5] sf: parse Serial Flash Discoverable Parameters (SFDP) tables

2017-12-10 Thread Prabhakar Kushwaha
This patch adds support to the JESD216 rev B standard and parses the SFDP tables to dynamically initialize the 'struct spi_nor_flash_parameter'. It has been ported from Linux commit "mtd: spi-nor: parse Serial Flash Discoverable Parameters (SFDP) tables". It Also ports all modifications done on to

[U-Boot] [RFC 5/5] sf: fsl_quadspi: Configue LUT based on padding information

2017-12-10 Thread Prabhakar Kushwaha
Padding or number of line required for instruction, address and data is pre-defined as per the selected read commond. Configure LUT based on the selected read command under flag SPI_XFER_BEGIN. Signed-off-by: Prabhakar Kushwaha --- drivers/spi/fsl_qspi.c | 55 +++

[U-Boot] [RFC 4/5] sf: fsl_qspi: Add support of fsl_qspi_set_mode

2017-12-10 Thread Prabhakar Kushwaha
SPI bus provide support dual and quad wire data transfers for tx and rx. This information is parsed from device tree and passed to slave device via set_mode of dm_spi_ops. Implement set_mode i.e. fsl_qspi_set_mode to store mode information in fsl_qspi_priv structure. Signed-off-by: Prabhakar Kush

[U-Boot] [RFC 1/5] sf: Add support of 1-2-2, 1-4-4 IO READ protocols

2017-12-10 Thread Prabhakar Kushwaha
IO READ protocols transfers both address and data on multiple data bits. 1-2-2(DUAL IO), 1-4-4(QUAD IO) transfer address on 2 data bits or 4 bits per rising edge of SCK respectively. This patch update spi_nor_flash_parameter->spi_nor_read_command array based on DUAL or QUAD IO flag enabled in flas

[U-Boot] [RFC 0/5] sf: Update spi-nor framework

2017-12-10 Thread Prabhakar Kushwaha
SPI-NOR framework currently supports- - (1-1-1, 1-1-2, 1-1-4) read protocols - read latency(dummy bytes) are hardcoded with the assumption that the flash would support it. - No support of mode bits. - No support of flash size above 128Mib This patch set add support of 1-2-2, 1-4-4 read protoc

[U-Boot] [RFC 2/5] sf: add method to support memory size above 128Mib

2017-12-10 Thread Prabhakar Kushwaha
This patch add support of memories with size above 128Mib. It has been ported from Linux commit "mtd: spi-nor: add a stateless method to support memory size above 128Mib". It convert 3byte opcode into 4byte opcode based upon OPCODES_4B or Spansion flash. Also the commands are malloc'ed at run time

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

2017-12-10 Thread Stefan Roese
On 09.12.2017 23:59, Florian Fainelli wrote: 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 Reviewed-by: Stefan Roese

[U-Boot] [PATCH v2] armv8: layerscape: sata: refine port register configuration

2017-12-10 Thread Yuantian Tang
Sata registers PP2C and PP3C are used to control the configuration of the PHY control OOB timing for the COMINIT/COMWAKE parameters respectively. Calculate those parameters from port clock frequency. Overwrite those registers with calculated values to get better OOB timing. Signed-off-by: Tang Yua

Re: [U-Boot] Updating ZFS for U-boot

2017-12-10 Thread Jorgen Lundman
The draft update for ZFS is ready, and is available here: https://github.com/lundman/u-boot/commit/c2727e5004fe011d19156d728babdf968515b28d I will refresh myself on U-boot commit procedures, and start the proper method soon. I did a question though, to be able to test file reading, I had to add

Re: [U-Boot] [PATCH v3 15/18] efi_loader: output load options in helloworld

2017-12-10 Thread Florian Fainelli
On 12/09/2017 10:40 PM, Heinrich Schuchardt wrote: > On 12/10/2017 12:09 AM, Florian Fainelli wrote: >> >> >> On 11/26/2017 05:05 AM, Heinrich Schuchardt wrote: >>> We need to test if we pass a valid image handle when loading >>> and EFI application. This cannot be done in efi_selftest as >>> it

Re: [U-Boot] [PATCH v2 2/5] net: sun8i_emac: Support RX/TX delay chains

2017-12-10 Thread Simon Glass
Hi Joe, On 7 December 2017 at 11:45, Joe Hershberger wrote: > > On Wed, Dec 6, 2017 at 8:35 PM, Chen-Yu Tsai wrote: > > On Thu, Dec 7, 2017 at 4:20 AM, Joe Hershberger > > wrote: > >> On Tue, Dec 5, 2017 at 8:34 PM, Chen-Yu Tsai wrote: > >>> On Wed, Dec 6, 2017 at 4:50 AM, Joe Hershberger >

Re: [U-Boot] [PATCH v2 07/19] fdt: Add compatible strings for Arria 10

2017-12-10 Thread Simon Glass
Hi, On 25 September 2017 at 03:08, Marek Vasut wrote: > On 09/25/2017 10:40 AM, tien.fong.c...@intel.com wrote: >> From: Tien Fong Chee >> >> Add compatible strings for Intel Arria 10 SoCFPGA device. >> >> Signed-off-by: Tien Fong Chee > > Applied, thanks > >> --- >> include/fdtdec.h | 2 ++ >>

Re: [U-Boot] [PATCH] net: sh-eth: Add to Kconfig and convert

2017-12-10 Thread Joe Hershberger
On Fri, Dec 1, 2017 at 1:08 AM, Nobuhiro Iwamatsu wrote: > This adds SH_ETHER to drivers/net/Kconfig and convert to Kconfig. > > Signed-off-by: Nobuhiro Iwamatsu Travis seems unhappy with this patch. https://travis-ci.org/jhershbe/u-boot/jobs/314078906 Please have a look. Thanks, -Joe

[U-Boot] [PATCH] gpio/hsdk: Depend on DM_GPIO instead of simple DM

2017-12-10 Thread Alexey Brodkin
This driver really is DM GPIO one and so we need to have a correct dependency, because DM alone doesn't provide required for CMD_GPIO call and we're seeing build failures like this: -->8- cmd/built-in.o: In function 'do_gpio': .../cmd/gpio.c:188: undefined re

[U-Boot] [PATCH] README: update the kernel coding style reference

2017-12-10 Thread Baruch Siach
The old CodingStyle document has been converted to ReST and moved elsewhere. Link to the web version of this document instead. Signed-off-by: Baruch Siach --- README | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README b/README index 2df0e1f8a78e..93c7ea966589 100644 -

Re: [U-Boot] [PATCH 3/3] ARM: imx: cm_fx6: env: don't run boot scripts twice

2017-12-10 Thread Fabio Estevam
On Sat, Dec 9, 2017 at 1:37 PM, wrote: > From: Christopher Spinrath > > Boot scripts located in the root directory of the first partition of > USB, mmc, and SATA drives are executed twice: first by the distro boot > command and then by the legacy boot command. This may have weird side > effects

Re: [U-Boot] [PATCH 2/3] ARM: imx: cm_fx6: env: support distro boot command

2017-12-10 Thread Fabio Estevam
On Sat, Dec 9, 2017 at 1:37 PM, wrote: > From: Christopher Spinrath > > The current default environment of the cm_fx6 is not suitable for > booting modern distributions. > > Instead of extending the custom environment, let's use the distro > boot command, which has been developed for precisely t

Re: [U-Boot] [PATCH 1/3] ARM: imx: cm_fx6: env: use standard variables

2017-12-10 Thread Fabio Estevam
On Sat, Dec 9, 2017 at 1:37 PM, wrote: > From: Christopher Spinrath > > In preparation for supporting the distro boot command, introduce the > standard variables for specifying load addresses, which are documented > in README and doc/README.distro, and replace the custom variables > used so far

[U-Boot] [PATCH] arm64: mvebu: armada-8k: support SD card environment

2017-12-10 Thread Baruch Siach
Allow storing the environment on the Macchiatobin SD card. This is useful for distribution of SD card software images. Currently, the environment is always loaded from the SPI flash whose content might be incompatible with SD card kernel loading. Use the last 64KB of the 32MB boot partition as per

Re: [U-Boot] [PATCH] efi_loader: Fix partition offsets

2017-12-10 Thread Mark Kettenis
> From: Alexander Graf > Date: Thu, 7 Dec 2017 11:27:15 +0100 > > On 07.12.17 08:00, Jonathan Gray wrote: > > On Fri, Dec 01, 2017 at 04:10:33PM +0100, Alexander Graf wrote: > >> Commit 884bcf6f65 (efi_loader: use proper device-paths for partitions) > >> tried > >> to introduce the el torito sch