[U-Boot] [PATCH 1/2] git-mailrc: Replace tabs with spaces in alias entries

2018-06-27 Thread Adam Sampson
patman's _ReadAliasFile only splits on spaces, not tabs, so the entries for dinh and maxime weren't being recognised as valid. I'll fix patman in a separate patch, but this makes all the entries consistent. Signed-off-by: Adam Sampson --- doc/git-mailrc | 4 ++-- 1 file changed, 2

Re: [U-Boot] [PATCH v5] xilinx: zynq: Add support to secure images

2018-06-27 Thread Michal Simek
On 27.6.2018 16:33, Michal Simek wrote: > On 26.6.2018 11:32, Siva Durga Prasad Paladugu wrote: >> This patch basically adds two new commands for loadig secure >> images. >> 1. zynq rsa adds support to load secure image which can be both >>authenticated or encrypted or both authenticated and

[U-Boot] [PULL] Please pull u-boot-imx

2018-06-27 Thread Stefano Babic
Hi Tom, please pull from u-boot-imx, thanks ! As discussed in previous thread, I have merged some NAND patches, too (see Stefan's and Jorg's patches). -- The following changes since commit a715415bb5948c84cc44c601b193188990f7238b: Merge branch 'master' of git://git.denx.de/u-boot-usb

Re: [U-Boot] [PATCH] spi_flash: add a bunch of winbond flashes to id-table

2018-06-27 Thread Hannes Schmelzer
On 06/27/2018 01:57 PM, Jagan Teki wrote: On Wed, Jun 27, 2018 at 2:44 AM, Hannes Schmelzer wrote: This commit adds the following flashes to the id-table - W25Q16JV - W25Q32JV - W25Q64JV - W25Q128JV - W25Q256JV Just to curious, have you tested all these? hi jagan, yes they are tested

Re: [U-Boot] [RFC PATCH 08/20] mtd: nand: Add core infrastructure to deal with NAND devices

2018-06-27 Thread Miquel Raynal
Hi Jagan, On Wed, 27 Jun 2018 16:38:26 +0530, Jagan Teki wrote: > On Wed, Jun 6, 2018 at 9:00 PM, Miquel Raynal > wrote: > > From: Boris Brezillon > > > > Add an intermediate layer to abstract NAND device interface so that > > some logic can be shared between SPI NANDs, parallel/raw NANDs, >

Re: [U-Boot] [PATCH v2] rsa: Support LibreSSL in rsa-sign.c

2018-06-27 Thread Jonathan Gray
On Wed, Jun 27, 2018 at 12:33:05PM +0200, parazyd wrote: > At present rsa-sign.c can not be compiled with LibreSSL older than > 2.7.0. This commit adjusts the guards in the rsa-sign.c to check for > LiBRESSL_VERSION_NUMBER where necessary. These tests are wrong, an undefined cpp macro will be 0

[U-Boot] [PATCH] ARC: AXS10x: add tool and make target to generate bsp

2018-06-27 Thread Eugeniy Paltsev
AXS10x boards have preloader that reads SPI flash pages and searches special image header to fetch and load binary. Add tool, make target (bsp-generate) to generate update script and u-boot binary image with header for preloader. Also add script to default environment to apply updates.

[U-Boot] [PATCH 0/2] usb_kbd with DM enabled

2018-06-27 Thread Michal Simek
Hi, I am playing with usb keyboard support with USB_DM on and I see some issues which I want to share with you. First of all there is missing support for multiple usb keyboards because all are registered as usbkbd. This can be changed by - strcpy(usb_kbd_dev.name, DEVNAME); +

Re: [U-Boot] [PATCH 1/2] imx: imx6sx-sdb: Enable DM QSPI driver

2018-06-27 Thread Fabio Estevam
Hi Jagan, On Wed, Jun 27, 2018 at 7:27 AM, Jagan Teki wrote: > We still not sync with Linux on this area, better to append or add > -u-boot.dtsi for this change. will remove once synced. This is not good. Why U-Boot needs its own spi flash bindings? Why can't it use the same bindings used in

Re: [U-Boot] [PATCH v3 7/7] cmd: Add bind/unbind commands to bind a device to a driver from the command line

2018-06-27 Thread Michal Simek
On 22.6.2018 14:25, Jean-Jacques Hiblot wrote: > In some cases it can be useful to be able to bind a device to a driver from > the command line. > The obvious example is for versatile devices such as USB gadget. > Another use case is when the devices are not yet ready at startup and > require some

[U-Boot] [PATCH u-boot] boards: amlogic: Fix boards README

2018-06-27 Thread Neil Armstrong
Fix typos and update the supported devices for all Amlogic boards. Signed-off-by: Neil Armstrong --- arch/arm/mach-meson/Kconfig | 2 +- board/amlogic/khadas-vim/README | 8 +++- board/amlogic/libretech-cc/README | 12 +--- board/amlogic/odroid-c2/README| 5 +

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

2018-06-27 Thread Tom Rini
On Wed, Jun 27, 2018 at 12:17:56PM +0530, Jagan Teki wrote: > On Tue, Jun 26, 2018 at 3:05 AM, Tom Rini wrote: > > On Tue, Jun 26, 2018 at 12:19:03AM +0530, Jagan Teki wrote: > > > >> Hi Tom, > >> > >> Please pull this PR. > >> > >> thanks, > >> Jagan. > >> > >> The following changes since commit

[U-Boot] [PATCH 1/2] usb_kbd: Add support for watchdog

2018-06-27 Thread Michal Simek
There is need to service watchdog in while loop or system will be restarted when idlying. Signed-off-by: Michal Simek --- common/usb_kbd.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/common/usb_kbd.c b/common/usb_kbd.c index 4c394d5613d1..20255dcf951f 100644 ---

[U-Boot] [PATCH 2/2] usb_kdb: Get stdio_dev directly from sdev pointer

2018-06-27 Thread Michal Simek
Driver supports only one instance of usb keyboard. Remove the first dependency on generic usbkbd DEVNAME. Signed-off-by: Michal Simek --- common/usb_kbd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/usb_kbd.c b/common/usb_kbd.c index

Re: [U-Boot] [linux-sunxi] [PATCH 12/13] sunxi: add support for Allwinner H6 SoC

2018-06-27 Thread Icenowy Zheng
于 2018年6月27日 GMT+08:00 下午10:04:53, Andre Przywara 写到: >Hi, > >On 25/06/18 11:37, Icenowy Zheng wrote: >> Allwinner H6 is a new SoC from Allwinner features USB3 and PCIe >> interfaces. >> >> This patch adds support for it. > >Can you please mention in the commit message or subject line that

Re: [U-Boot] [PATCH v5] xilinx: zynq: Add support to secure images

2018-06-27 Thread Michal Simek
On 26.6.2018 11:32, Siva Durga Prasad Paladugu wrote: > This patch basically adds two new commands for loadig secure > images. > 1. zynq rsa adds support to load secure image which can be both >authenticated or encrypted or both authenticated and encrypted >image in xilinx

Re: [U-Boot] Support of device-tree for PowerPC platform: Query

2018-06-27 Thread York Sun
+Simon On 06/27/2018 01:05 AM, Prabhakar Kushwaha wrote: > Hi All, > > We are trying to add support of device-tree for PowerPC platforms. As per our > analysis following 2 options can be used. > > a) CONFIG_OF_SEPARATE > b) CONFIG_OF_EMBED > > In PowerPC platforms, reset_vector is always

Re: [U-Boot] [PATCH] imx: imx7d-sdb: Add DM QSPI support

2018-06-27 Thread Ye Li
On 6/27/2018 6:33 PM, Jagan Teki wrote: > On Wed, Jun 27, 2018 at 12:19 PM, Ye Li wrote: >> On iMX7D SabreSD board, the QSPI has pins conflict with EPDC (default). >> To use QSPI, users have to rework the board (de-populate R388-R391, R396-R399 >> populate R392-R395, R299, R300). So we add new

[U-Boot] [PATCH 2/2] patman: Split alias entries on arbitrary whitespace

2018-06-27 Thread Adam Sampson
Previously the first three words in a git-mailrc alias entry could only be separated by spaces. git-send-email and Mutt both allow arbitrary whitespace here. Signed-off-by: Adam Sampson --- tools/patman/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [U-Boot] [PATCH 1/2] imx: imx6sx-sdb: Enable DM QSPI driver

2018-06-27 Thread Ye Li
On 6/27/2018 6:28 PM, Jagan Teki wrote: > On Wed, Jun 27, 2018 at 3:29 PM, Fabio Estevam wrote: >> Hi Ye Li, >> >> On Wed, Jun 27, 2018 at 3:48 AM, Ye Li wrote: >>> To support DM QSPI driver >>> - Add spi0 and spi1 alias for qspi1 and qspi2. >>> - Modify n25q256a@0 and n25q256a@1 compatible

Re: [U-Boot] [linux-sunxi] [PATCH 12/13] sunxi: add support for Allwinner H6 SoC

2018-06-27 Thread Andre Przywara
Hi, On 25/06/18 11:37, Icenowy Zheng wrote: > Allwinner H6 is a new SoC from Allwinner features USB3 and PCIe > interfaces. > > This patch adds support for it. Can you please mention in the commit message or subject line that this includes the SoC .dtsi? Or maybe even split this out into a

Re: [U-Boot] [U-Boot, v4, 2/2] test/py: add test for whitelist of variables while importing environment

2018-06-27 Thread Tom Rini
On Wed, Jun 27, 2018 at 09:52:50AM +0200, Quentin Schulz wrote: > Hi Tom, > > On Tue, Jun 26, 2018 at 10:44:59AM -0400, Tom Rini wrote: > > On Tue, Jun 26, 2018 at 02:41:40PM +0200, Quentin Schulz wrote: > > > Hi all, > > > > > > On Wed, Jun 13, 2018 at 01:02:06PM -0600, Stephen Warren wrote: >

[U-Boot] [PATCH v3 2/3] arm: Remove unused _relocate arguments

2018-06-27 Thread Ivan Gorinov
EFI image handle and system table are not used in _relocate(). Signed-off-by: Ivan Gorinov --- arch/arm/lib/crt0_aarch64_efi.S | 2 -- arch/arm/lib/crt0_arm_efi.S | 2 -- arch/arm/lib/reloc_aarch64_efi.c | 3 +-- arch/arm/lib/reloc_arm_efi.c | 3 +-- 4 files changed, 2 insertions(+),

[U-Boot] [PATCH v3 0/3] Remove unused _relocate arguments

2018-06-27 Thread Ivan Gorinov
EFI image handle and system table are not used in _relocate(). v3: Rebased on u-boot/master v2: Separated the changes in efi_main() arguments and calling convention. Ivan Gorinov (3): x86: Remove unused _relocate arguments arm: Remove unused _relocate arguments riscv: Remove unused

Re: [U-Boot] [PATCH 1/1] dwc2 USB controller hangs with lan78xx

2018-06-27 Thread Alexander Graf
On 06/26/2018 08:57 PM, andrew thomas wrote: On 06/26/2018 05:34 AM, Alexander Graf wrote: On 06/21/2018 10:37 AM, Peter Robinson wrote: On Mon, Jun 18, 2018 at 7:56 PM, Andrew Thomas wrote: This bug is the combination of dwc2 USB controller and lan78xx USB ethernet controller, which is the

Re: [U-Boot] [PATCH v2 4/6] efi_loader: helloworld: Output ACPI configuration table

2018-06-27 Thread Heinrich Schuchardt
On 06/27/2018 12:16 PM, Bin Meng wrote: > Output ACPI configuration table if it exists. > > Signed-off-by: Bin Meng > > --- > > Changes in v2: > - new patch "output ACPI configuration table" > > lib/efi_loader/helloworld.c | 4 > 1 file changed, 4 insertions(+) > > diff --git

Re: [U-Boot] [PATCH v2 2/6] efi_loader: Increase number of configuration tables to 16

2018-06-27 Thread Heinrich Schuchardt
On 06/27/2018 12:16 PM, Bin Meng wrote: > At present the number of configuration tables is set to 2. By > looking at which tables the Linux EFI stub or iPXE can process, > it looks 16 is a reasonable number. > > Signed-off-by: Bin Meng > > --- > > Changes in v2: > - new patch "increase number

Re: [U-Boot] [PATCH] imx: imx7d-sdb: Add DM QSPI support

2018-06-27 Thread Jagan Teki
On Wed, Jun 27, 2018 at 6:53 PM, Ye Li wrote: > On 6/27/2018 6:33 PM, Jagan Teki wrote: >> On Wed, Jun 27, 2018 at 12:19 PM, Ye Li wrote: >>> On iMX7D SabreSD board, the QSPI has pins conflict with EPDC (default). >>> To use QSPI, users have to rework the board (de-populate R388-R391, >>>

Re: [U-Boot] [PATCH 1/1] dwc2 USB controller hangs with lan78xx

2018-06-27 Thread Tom Rini
On Wed, Jun 27, 2018 at 06:45:39PM +0200, Alexander Graf wrote: > On 06/26/2018 08:57 PM, andrew thomas wrote: > >On 06/26/2018 05:34 AM, Alexander Graf wrote: > >>On 06/21/2018 10:37 AM, Peter Robinson wrote: > >>>On Mon, Jun 18, 2018 at 7:56 PM, Andrew Thomas > >>> wrote: > This bug is the

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

2018-06-27 Thread Jagan Teki
On Wed, Jun 27, 2018 at 8:50 PM, Tom Rini wrote: > On Wed, Jun 27, 2018 at 12:17:56PM +0530, Jagan Teki wrote: >> On Tue, Jun 26, 2018 at 3:05 AM, Tom Rini wrote: >> > On Tue, Jun 26, 2018 at 12:19:03AM +0530, Jagan Teki wrote: >> > >> >> Hi Tom, >> >> >> >> Please pull this PR. >> >> >> >>

[U-Boot] [PATCH v3 1/3] x86: Remove unused _relocate arguments

2018-06-27 Thread Ivan Gorinov
EFI image handle and system table are not used in _relocate(). Signed-off-by: Ivan Gorinov --- arch/x86/lib/crt0_x86_64_efi.S | 3 --- arch/x86/lib/reloc_ia32_efi.c | 3 +-- arch/x86/lib/reloc_x86_64_efi.c | 3 +-- 3 files changed, 2 insertions(+), 7 deletions(-) diff --git

[U-Boot] [PATCH v3 3/3] riscv: Remove unused _relocate arguments

2018-06-27 Thread Ivan Gorinov
EFI image handle and system table are not used in _relocate(). Signed-off-by: Ivan Gorinov --- arch/riscv/lib/reloc_riscv_efi.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/riscv/lib/reloc_riscv_efi.c b/arch/riscv/lib/reloc_riscv_efi.c index 8b4b2b1..2fbbfcb 100644

Re: [U-Boot] [U-Boot, v4, 2/2] test/py: add test for whitelist of variables while importing environment

2018-06-27 Thread Stephen Warren
On 06/27/2018 09:23 AM, Tom Rini wrote: On Wed, Jun 27, 2018 at 09:52:50AM +0200, Quentin Schulz wrote: Hi Tom, On Tue, Jun 26, 2018 at 10:44:59AM -0400, Tom Rini wrote: On Tue, Jun 26, 2018 at 02:41:40PM +0200, Quentin Schulz wrote: Hi all, On Wed, Jun 13, 2018 at 01:02:06PM -0600, Stephen

Re: [U-Boot] Please pull u-boot-dm

2018-06-27 Thread Tom Rini
On Sun, Jun 24, 2018 at 08:42:28PM -0600, Simon Glass wrote: > Hi Tom, > > A few patman enhancements. > > > The following changes since commit 77b5ba5d2b94c5b028991c82782493f64bd4f392: > > Merge branch 'master' of git://git.denx.de/u-boot-uniphier > (2018-06-22 13:12:53 -0400) > > are

Re: [U-Boot] [PATCH 1/2] imx: imx6sx-sdb: Enable DM QSPI driver

2018-06-27 Thread Jagan Teki
On Wed, Jun 27, 2018 at 7:21 PM, Fabio Estevam wrote: > Hi Jagan, > > On Wed, Jun 27, 2018 at 7:27 AM, Jagan Teki > wrote: > >> We still not sync with Linux on this area, better to append or add >> -u-boot.dtsi for this change. will remove once synced. > > This is not good. > > Why U-Boot needs

Re: [U-Boot] [PATCH] spi_flash: add a bunch of winbond flashes to id-table

2018-06-27 Thread Jagan Teki
On Wed, Jun 27, 2018 at 6:01 PM, Hannes Schmelzer wrote: > > On 06/27/2018 01:57 PM, Jagan Teki wrote: >> >> On Wed, Jun 27, 2018 at 2:44 AM, Hannes Schmelzer wrote: >>> >>> This commit adds the following flashes to the id-table >>> >>> - W25Q16JV >>> - W25Q32JV >>> - W25Q64JV >>> - W25Q128JV

Re: [U-Boot] [PATCH v3 0/3] Remove unused _relocate arguments

2018-06-27 Thread Andy Shevchenko
On Wed, 2018-06-27 at 08:41 -0700, Ivan Gorinov wrote: > EFI image handle and system table are not used in _relocate(). > Reviewed-by: Andy Shevchenko > v3: > Rebased on u-boot/master > > v2: > Separated the changes in efi_main() arguments and calling > convention. > > Ivan Gorinov (3):

Re: [U-Boot] [PATCH v2 3/6] efi_loader: Install ACPI configuration tables

2018-06-27 Thread Heinrich Schuchardt
On 06/27/2018 12:16 PM, Bin Meng wrote: > ACPI tables can be passed via EFI configuration table to an EFI > application. This is only supported on x86 so far. > > Signed-off-by: Bin Meng > Reviewed-by: Simon Glass > --- > > Changes in v2: None > > cmd/bootefi.c | 5 + >

Re: [U-Boot] [linux-sunxi] [PATCH 11/13] sunxi: add DRAM support to H6

2018-06-27 Thread Andre Przywara
Hi, On 27/06/18 11:49, Icenowy Zheng wrote: > 在 2018-06-27三的 10:46 +0100,Andre Przywara写道: >> Hi, >> >> On 25/06/18 11:37, Icenowy Zheng wrote: >>> The Allwinner H6 SoC comes with a set of new DRAM controller+PHY >>> combo. >>> Both the controller and the PHY seem to be originate from >>>

[U-Boot] [PATCH 1/1] efi_loader: correct headersize of runtime services table

2018-06-27 Thread Heinrich Schuchardt
The headersize field has to be set to the size of the whole table including the header. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_runtime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/efi_loader/efi_runtime.c b/lib/efi_loader/efi_runtime.c index

[U-Boot] [PATCH 1/1] efi_loader: specify UEFI spec revision

2018-06-27 Thread Heinrich Schuchardt
Both in the boot and the runtime services tables we have to specify the UEFI spec revision. The same value is already used for the system table. So let's use a common constant. In the boot services table we have to provide the header signature. Signed-off-by: Heinrich Schuchardt ---

Re: [U-Boot] [PATCH] spi: omap3: fix claim/release bus within DM

2018-06-27 Thread Hannes Schmelzer
On 06/27/2018 01:53 PM, Jagan Teki wrote: On Tue, Jun 26, 2018 at 7:38 PM, Hannes Schmelzer wrote: The claim/release bus function must not reset the whole SPI core because settings regarding wordlen, clock-frequency and so on made by set_wordlen, set_mode, set_speed get lost with this action.

Re: [U-Boot] [U-Boot,v8,15/30] vsprintf: Handle NULL with %pU

2018-06-27 Thread Heinrich Schuchardt
On 06/18/2018 04:08 PM, Simon Glass wrote: > At present a NULL pointer passed to printf for a %pU argument will cause > U-Boot to access memory at 0. Fix this by adding a check, and print > "(null)" instead. > > Signed-off-by: Simon Glass > Reviewed-by: Alexander Graf > --- > > Changes in v8:

[U-Boot] [PATCH v5 1/6] sunxi: R40: add gigabit ethernet clocks

2018-06-27 Thread Lothar Felten
Add clock control entries for the gigabit interface of the Allwinner R40/V40 CPU Acked-by: Maxime Ripard Reviewed-by: Joe Hershberger Signed-off-by: Lothar Felten --- Changelog: new in v2 v2->v3->4->v5: none --- arch/arm/include/asm/arch-sunxi/clock_sun6i.h | 10 +- 1 file

Re: [U-Boot] [PATCH v3 3/3] common: Generic loader for file system

2018-06-27 Thread Simon Glass
Hi Tien Fong, On 27 June 2018 at 01:41, Chee, Tien Fong wrote: > On Mon, 2018-06-25 at 21:58 -0600, Simon Glass wrote: >> Hi, >> >> On 25 June 2018 at 07:28, wrote: >> > >> > From: Tien Fong Chee >> > >> > This is file system generic loader which can be used to load >> > the file image from

Re: [U-Boot] [PATCH v3 3/3] common: Generic loader for file system

2018-06-27 Thread Tom Rini
On Mon, Jun 25, 2018 at 09:58:51PM -0600, Simon Glass wrote: > Hi, > > On 25 June 2018 at 07:28, wrote: > > From: Tien Fong Chee > > > > This is file system generic loader which can be used to load > > the file image from the storage into target such as memory. > > The consumer driver would

[U-Boot] [PATCH v5 2/6] net: sun8i-emac: fix printing NULL character

2018-06-27 Thread Lothar Felten
If the variant is not set and therefore NULL, do not attempt to print the variant. Signed-off-by: Lothar Felten Acked-by: Maxime Ripard Acked-by: Joe Hershberger --- Changelog: new in v4 v4->v5 none --- drivers/net/sun8i_emac.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff

[U-Boot] [PATCH v5 3/6] net: sun8i-emac: set mux and clock by driver data

2018-06-27 Thread Lothar Felten
Use driver data->variant information to select device specific pin mux and phy clock settings. Suggested by Jagan Teki Signed-off-by: Lothar Felten --- Changelog: new in v3 v3 -> v4 use driver data to distinguish between variants v4 -> v5 none --- drivers/net/sun8i_emac.c | 35

[U-Boot] [PATCH v5 4/6] net: sun8i-emac: support R40 GMAC

2018-06-27 Thread Lothar Felten
Add support for the GMAC found in the Allwinner R40/V40 SoC. The R40 GMAC interface is not controlled by the syscon register but has a separate configuration register in the CCU. The clock gate and reset bits are in a different register compared to the other SoCs supported by this driver. The

[U-Boot] [PATCH v5 6/6] configs: Bananapi_M2_Ultra: enable gigabit ethernet

2018-06-27 Thread Lothar Felten
Enable the gigabit ethernet for the Bananapi M2 Ultra board. Tested on BananaPi M2 Berry (R40), custom board (V40) Reviewed-by: Joe Hershberger Signed-off-by: Lothar Felten --- Changelog: new in v2 v2 -> v3 remove unused CONFIG_SUN7I_GMAC v3 -> v4 include device tree node, enable ALDO2 v4

[U-Boot] [PATCH v5 5/6] sunxi: R40: add gigabit ethernet devicetree node

2018-06-27 Thread Lothar Felten
Add a device tree node for the Allwinner R40/V40 GMAC gigabit ethernet interface. The R40 SoC does not use the syscon register for GMAC settings. The gigabit ethernet interface can only be routed to a fixed set of pins. Updated to match the Linux kernel's device tree. Signed-off-by: Lothar Felten

Re: [U-Boot] [RFC PATCH 08/20] mtd: nand: Add core infrastructure to deal with NAND devices

2018-06-27 Thread Tom Rini
On Wed, Jun 27, 2018 at 02:48:23PM +0200, Miquel Raynal wrote: > Hi Jagan, > > On Wed, 27 Jun 2018 16:38:26 +0530, Jagan Teki > wrote: > > > On Wed, Jun 6, 2018 at 9:00 PM, Miquel Raynal > > wrote: > > > From: Boris Brezillon > > > > > > Add an intermediate layer to abstract NAND device

Re: [U-Boot] [PATCH 0/2] dm: Complete CONFIG_BLK migration

2018-06-27 Thread Tom Rini
On Sat, Jun 23, 2018 at 07:59:30AM -0600, Simon Glass wrote: > The time has come to migrate all boards to use CONFIG_BLK. This series > is just a test to see what boards would have to be removed if we required > CONFIG_BLK, as we plan to after the next release. > > This should help maintainers

Re: [U-Boot] [PATCH RFC] doc: Replace DocBook with sphinx-based docs

2018-06-27 Thread Tom Rini
On Mon, Jun 25, 2018 at 02:02:22PM +0200, Mario Six wrote: > Hi Tom, > > On Mon, Jun 18, 2018 at 9:04 PM, Tom Rini wrote: > > On Thu, Jun 14, 2018 at 10:44:53AM +0200, Mario Six wrote: > > > >> The Linux kernel moved to sphinx-based documentation and got rid of the > >> DocBook based

Re: [U-Boot] [PATCH v3 1/3] drivers: Add board uclass

2018-06-27 Thread Simon Glass
Hi Mario, On 27 June 2018 at 00:03, Mario Six wrote: > > Since there is no canonical "board device" that can be used in board > files, it is difficult to use DM function for board initialization in > these cases. > > Hence, add a uclass that implements a simple "board device", which can > hold

Re: [U-Boot] [PATCH v3 2/3] doc: dtbinding: Add file system firmware loader binding document

2018-06-27 Thread Simon Glass
Hi Tien Fong, On 27 June 2018 at 01:32, Chee, Tien Fong wrote: > On Mon, 2018-06-25 at 21:58 -0600, Simon Glass wrote: >> Hi, >> >> On 25 June 2018 at 07:28, wrote: >> > >> > From: Tien Fong Chee >> > >> > Add a document to describe file system firmware loader binding >> > information. >> >

Re: [U-Boot] [linux-sunxi] [PATCH v10 22/35] usb: sunxi: Switch to use generic-phy

2018-06-27 Thread Vasily Khoruzhick
On Wed, Jun 27, 2018 at 4:09 PM, Adam Sampson wrote: > Hi Jagan and co, Hi Adam, > On Mon, May 28, 2018 at 04:48:33PM +0530, Jagan Teki wrote: >> Allwinner USB PHY handling can be done through driver-model >> generic-phy so add the generic-phy ops to relevant places on host and >> musb sunxi

Re: [U-Boot] [linux-sunxi] [PATCH v10 22/35] usb: sunxi: Switch to use generic-phy

2018-06-27 Thread Jagan Teki
On Thu, Jun 28, 2018 at 4:39 AM, Adam Sampson wrote: > Hi Jagan and co, > > On Mon, May 28, 2018 at 04:48:33PM +0530, Jagan Teki wrote: >> Allwinner USB PHY handling can be done through driver-model >> generic-phy so add the generic-phy ops to relevant places on host and >> musb sunxi driver and

Re: [U-Boot] [PATCH 0/2] usb_kbd with DM enabled

2018-06-27 Thread Michal Simek
Hi, > Last but not least I see with kermit double echo when usbkbd is used > which is quite weird. > Similar problem was reported here. > https://lists.denx.de/pipermail/u-boot/2014-November/196713.html > Do you know what's the reason for that echo? > (usb_kbd_getc() is really returning only one

Re: [U-Boot] [PATCH] arm, imx6: add alternative PAD_CTL_DSE constants

2018-06-27 Thread Fabio Estevam
Hi Mark, On Wed, Jun 27, 2018 at 7:21 AM, Mark Jonas wrote: > Not all i.MX6 pads use the same drive strength table. So far only the > 240 Ohm to 34 Ohm table was available. Because the constants used have > speaking names it can be confusing to use e.g. PAD_CTL_DSE_48ohm when > according to the

[U-Boot] [PATCH 1/2] dm: sunxi: Move Linksprite_pcDuino3_Nano to use DM for MMC, SATA

2018-06-27 Thread Adam Sampson
Move to the driver model for MMC and SATA, which means it implicitly uses CONFIG_BLK too. Signed-off-by: Adam Sampson --- configs/Linksprite_pcDuino3_Nano_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/Linksprite_pcDuino3_Nano_defconfig

[U-Boot] [PATCH 2/2] dm: sunxi: Move Cubietruck to use DM for MMC, SATA

2018-06-27 Thread Adam Sampson
Move to the driver model for MMC and SATA, which means it implicitly uses CONFIG_BLK too. Signed-off-by: Adam Sampson --- configs/Cubietruck_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/Cubietruck_defconfig b/configs/Cubietruck_defconfig index 601eb3ca0c..1b73bd7cc7

Re: [U-Boot] Support of device-tree for PowerPC platform: Query

2018-06-27 Thread Simon Glass
Hi, On 27 June 2018 at 08:06, York Sun wrote: > > +Simon > > On 06/27/2018 01:05 AM, Prabhakar Kushwaha wrote: > > Hi All, > > > > We are trying to add support of device-tree for PowerPC platforms. As per > > our analysis following 2 options can be used. > > > > a) CONFIG_OF_SEPARATE > > b)

Re: [U-Boot] [PATCH 1/1] dwc2 USB controller hangs with lan78xx

2018-06-27 Thread Alexander Graf
On 27.06.18 19:07, Tom Rini wrote: > On Wed, Jun 27, 2018 at 06:45:39PM +0200, Alexander Graf wrote: >> On 06/26/2018 08:57 PM, andrew thomas wrote: >>> On 06/26/2018 05:34 AM, Alexander Graf wrote: On 06/21/2018 10:37 AM, Peter Robinson wrote: > On Mon, Jun 18, 2018 at 7:56 PM, Andrew

Re: [U-Boot] [linux-sunxi] [PATCH v10 22/35] usb: sunxi: Switch to use generic-phy

2018-06-27 Thread Adam Sampson
Hi Jagan and co, On Mon, May 28, 2018 at 04:48:33PM +0530, Jagan Teki wrote: > Allwinner USB PHY handling can be done through driver-model > generic-phy so add the generic-phy ops to relevant places on host and > musb sunxi driver and enable them in respective SOC's. This patch series breaks USB

[U-Boot] [PATCH 1/2] net: mvgbe: prepare for conversion to driver model

2018-06-27 Thread Chris Packham
Extract some function bodies to helper functions that can be reused in the DM/non-DM implementations. Signed-off-by: Chris Packham --- drivers/net/mvgbe.c | 109 1 file changed, 80 insertions(+), 29 deletions(-) diff --git a/drivers/net/mvgbe.c

[U-Boot] [PATCH 2/2] net: mvgbe: convert to DM

2018-06-27 Thread Chris Packham
Add driver model support to the mvgbe driver. As a temporary measure both DM and non-DM uses are supported. Once all the users have been converted the non-DM support can be dropped. Signed-off-by: Chris Packham --- drivers/net/mvgbe.c | 201 +++-

[U-Boot] [PATCH v2 1/6] x86: efi_loader: Build EFI memory map per E820 table

2018-06-27 Thread Bin Meng
On x86 traditional E820 table is used to pass the memory information to kernel. With EFI loader we can build the EFI memory map from it. Signed-off-by: Bin Meng Reviewed-by: Simon Glass --- Changes in v2: None arch/x86/lib/e820.c | 39 +++ 1 file changed,

[U-Boot] [PATCH v2 2/6] efi_loader: Increase number of configuration tables to 16

2018-06-27 Thread Bin Meng
At present the number of configuration tables is set to 2. By looking at which tables the Linux EFI stub or iPXE can process, it looks 16 is a reasonable number. Signed-off-by: Bin Meng --- Changes in v2: - new patch "increase number of configuration tables to 16"

[U-Boot] [PATCH v2 3/6] efi_loader: Install ACPI configuration tables

2018-06-27 Thread Bin Meng
ACPI tables can be passed via EFI configuration table to an EFI application. This is only supported on x86 so far. Signed-off-by: Bin Meng Reviewed-by: Simon Glass --- Changes in v2: None cmd/bootefi.c | 5 + include/efi_api.h | 8 include/efi_loader.h

[U-Boot] [PATCH v2 5/6] x86: doc: Update EFI loader support

2018-06-27 Thread Bin Meng
CONFIG_EFI_LOADER is fully supported on x86 now. Signed-off-by: Bin Meng Reviewed-by: Simon Glass Reviewed-by: Alexander Graf --- Changes in v2: None doc/README.x86 | 29 +++-- 1 file changed, 27 insertions(+), 2 deletions(-) diff --git a/doc/README.x86

[U-Boot] [PATCH v2 4/6] efi_loader: helloworld: Output ACPI configuration table

2018-06-27 Thread Bin Meng
Output ACPI configuration table if it exists. Signed-off-by: Bin Meng --- Changes in v2: - new patch "output ACPI configuration table" lib/efi_loader/helloworld.c | 4 1 file changed, 4 insertions(+) diff --git a/lib/efi_loader/helloworld.c b/lib/efi_loader/helloworld.c index

[U-Boot] [PATCH v2 6/6] doc: vxworks: Mention chain-loading an x86 kernel via 'bootefi'

2018-06-27 Thread Bin Meng
This updates the doc to mention chain-loading an x86 kernel via 'bootefi' command, along with several typos fix. Signed-off-by: Bin Meng Reviewed-by: Simon Glass Reviewed-by: Alexander Graf --- Changes in v2: None doc/README.vxworks | 18 -- 1 file changed, 12

[U-Boot] [PATCH] arm,imx6: add alternative PAD_CTL_DSE constants

2018-06-27 Thread Mark Jonas
Not all i.MX6 pads use the same drive strength table. So far only the 240 Ohm to 34 Ohm table was available. Because the constants used have speaking names it can be confusing to use e.g. PAD_CTL_DSE_48ohm when according to the reference manual 52 Ohm is the correct value. This patch adds the 260

Re: [U-Boot] [PATCH RESEND 0/4] Add CONFIG_SPL_NAND_IDENT

2018-06-27 Thread Stefano Babic
Hi Jörg, On 27/06/2018 11:51, Jörg Krause wrote: > Hi Stefano, > > On Wed, 2018-06-27 at 09:43 +0200, Stefano Babic wrote: >> Hi Jörg, >> >> On 26/06/2018 11:33, Jörg Krause wrote: >>> Hi, >>> >>> this patch series propably felt off the radar? >>> >> >> I guess yes, but I doubt we can apply the

Re: [U-Boot] [PATCH 1/2] imx: imx6sx-sdb: Enable DM QSPI driver

2018-06-27 Thread Jagan Teki
On Wed, Jun 27, 2018 at 3:29 PM, Fabio Estevam wrote: > Hi Ye Li, > > On Wed, Jun 27, 2018 at 3:48 AM, Ye Li wrote: >> To support DM QSPI driver >> - Add spi0 and spi1 alias for qspi1 and qspi2. >> - Modify n25q256a@0 and n25q256a@1 compatible string to "spi-flash" >> - Enable DM SPI/QSPI

Re: [U-Boot] [PATCH] imx: imx7d-sdb: Add DM QSPI support

2018-06-27 Thread Jagan Teki
On Wed, Jun 27, 2018 at 12:19 PM, Ye Li wrote: > On iMX7D SabreSD board, the QSPI has pins conflict with EPDC (default). > To use QSPI, users have to rework the board (de-populate R388-R391, R396-R399 > populate R392-R395, R299, R300). So we add new DTS file and new defconfig > dedicated for

[U-Boot] [PATCH v2] rsa: Support LibreSSL in rsa-sign.c

2018-06-27 Thread parazyd
At present rsa-sign.c can not be compiled with LibreSSL older than 2.7.0. This commit adjusts the guards in the rsa-sign.c to check for LiBRESSL_VERSION_NUMBER where necessary. Signed-off-by: parazyd --- lib/rsa/rsa-sign.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

Re: [U-Boot] [PATCH] rsa: Support LibreSSL in rsa-sign.c

2018-06-27 Thread Ivan J.
On Wed, Jun 27, 2018 at 11:53:59AM +1000, Jonathan Gray wrote: > On Tue, Jun 26, 2018 at 07:49:47AM +0200, parazyd wrote: > > This commit will allow rsa-sign.c to be compiled when LibreSSL is used > > instead of OpenSSL. > > It isn't clear what version of LibreSSL you are using but this is >

[U-Boot] [PATCH 1/2] configs: move RTC_MV config from mv-plug-common.h to boards

2018-06-27 Thread Chris Packham
To aid in migrating CONFIG_RTC_MV to Kconfig move the definition of it from mv-plug-common.h to the board config headers that nest it. Signed-off-by: Chris Packham --- include/configs/dreamplug.h | 4 include/configs/ds109.h | 4 include/configs/guruplug.h | 4

[U-Boot] [PATCH 2/2] configs: kirkwood: Move RTC_MV to DM and Kconfig

2018-06-27 Thread Chris Packham
Now that there is DM support in the RTC_MV driver update board configs to use it. Signed-off-by: Chris Packham --- I haven't removed this from the whitelist because the nsa310s board lacks device-tree support. Once that board is converted the non-DM code can be removed from RTC_MV and the

Re: [U-Boot] [linux-sunxi] [PATCH 11/13] sunxi: add DRAM support to H6

2018-06-27 Thread Icenowy Zheng
在 2018-06-27三的 10:46 +0100,Andre Przywara写道: > Hi, > > On 25/06/18 11:37, Icenowy Zheng wrote: > > The Allwinner H6 SoC comes with a set of new DRAM controller+PHY > > combo. > > Both the controller and the PHY seem to be originate from > > DesignWare, > > and are similar to the ones in ZynqMP

Re: [U-Boot] [RFC PATCH 03/20] mtd: fix build issue with includes

2018-06-27 Thread Jagan Teki
On Wed, Jun 6, 2018 at 9:00 PM, Miquel Raynal wrote: > Fix build errors produced by mtd.h and dm/device.h if not included in > the right order. > > Signed-off-by: Miquel Raynal > --- Reviewed-by: Jagan Teki ___ U-Boot mailing list

Re: [U-Boot] [RFC PATCH 02/20] mtd: add get/set of_node/flash_node helpers

2018-06-27 Thread Jagan Teki
On Wed, Jun 6, 2018 at 9:00 PM, Miquel Raynal wrote: > From: Brian Norris > > We are going to begin using the mtd->dev.of_node field for MTD device > nodes, so let's add helpers for it. Also, we'll be making some > conversions on spi_nor (and nand_chip eventually) too, so get that ready > with

Re: [U-Boot] [RFC PATCH 05/20] mtd: move all flash categories inside MTD submenu

2018-06-27 Thread Jagan Teki
On Wed, Jun 6, 2018 at 9:00 PM, Miquel Raynal wrote: > There is no reason to have NAND, SPI flashes and UBI sections outside of > the MTD submenu in Kconfig. > > Signed-off-by: Miquel Raynal > --- Reviewed-by: Jagan Teki ___ U-Boot mailing list

Re: [U-Boot] [RFC PATCH 01/20] mtd: Fallback to ->_read/write_oob() when ->_read/write() is missing

2018-06-27 Thread Jagan Teki
On Wed, Jun 6, 2018 at 9:00 PM, Miquel Raynal wrote: > From: Boris Brezillon > > Some MTD sublayers/drivers are implementing ->_read/write_oob() and > provide dummy wrappers for their ->_read/write() implementations. > Let the core handle this case instead of duplicating the logic. > >

[U-Boot] [PATCH] imx: bx50v3: fix Maintainers

2018-06-27 Thread Stefano Babic
This fixes the warnings: WARNING: no status info for 'ge_bx50v3' WARNING: no maintainers for 'ge_bx50v3 Signed-off-by: Stefano Babic --- board/ge/bx50v3/MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/board/ge/bx50v3/MAINTAINERS b/board/ge/bx50v3/MAINTAINERS index

Re: [U-Boot] [RFC PATCH 08/20] mtd: nand: Add core infrastructure to deal with NAND devices

2018-06-27 Thread Jagan Teki
On Wed, Jun 6, 2018 at 9:00 PM, Miquel Raynal wrote: > From: Boris Brezillon > > Add an intermediate layer to abstract NAND device interface so that > some logic can be shared between SPI NANDs, parallel/raw NANDs, > OneNANDs, ... > > Signed-off-by: Boris Brezillon > Signed-off-by: Miquel

Re: [U-Boot] [PATCH 5/5] net: sandbox-raw: Allow interface to be specified by index

2018-06-27 Thread Joe Hershberger
On Wed, Jun 27, 2018 at 12:55 AM, Heinrich Schuchardt wrote: > On 06/27/2018 06:58 AM, Joe Hershberger wrote: >> Hi Heinrich, >> >> On Tue, Jun 26, 2018 at 8:15 PM, Heinrich Schuchardt >> wrote: >>> On 06/26/2018 11:19 PM, Joe Hershberger wrote: With systemd stable interface names, eth0

Re: [U-Boot] [PATCH v3] drivers: spi: migrate cf_spi to DM

2018-06-27 Thread Jagan Teki
On Tue, Jun 26, 2018 at 10:28 PM, Angelo Dureghello wrote: > This patch adds DM support to cf_spi.c. > > How to use/test it: > > 1) enable the following options, > > CONFIG_DM_SPI > CONFIG_DM_SPI_FLASH > > 2) add similar code into your board.c file > > U_BOOT_DEVICE(coldfire_spi) = { >

[U-Boot] [PATCH] imx: imx7d-sdb: Add DM QSPI support

2018-06-27 Thread Ye Li
On iMX7D SabreSD board, the QSPI has pins conflict with EPDC (default). To use QSPI, users have to rework the board (de-populate R388-R391, R396-R399 populate R392-R395, R299, R300). So we add new DTS file and new defconfig dedicated for QSPI. Other changes to support the DM QSPI: - Add QSPI

[U-Boot] [PATCH 1/2] imx: imx6sx-sdb: Enable DM QSPI driver

2018-06-27 Thread Ye Li
To support DM QSPI driver - Add spi0 and spi1 alias for qspi1 and qspi2. - Modify n25q256a@0 and n25q256a@1 compatible string to "spi-flash" - Enable DM SPI/QSPI relavent configurations - Remove iomux settings of qspi2 in board codes which is not needed for DM driver. - Add sf default

[U-Boot] [PATCH 1/2] imx: imx6sx-sdb: Enable DM QSPI driver

2018-06-27 Thread Ye Li
To support DM QSPI driver - Add spi0 and spi1 alias for qspi1 and qspi2. - Modify n25q256a@0 and n25q256a@1 compatible string to "spi-flash" - Enable DM SPI/QSPI relavent configurations - Remove iomux settings of qspi2 in board codes which is not needed for DM driver. - Add sf default

[U-Boot] [PATCH] imx: imx7d-sdb: Add DM QSPI support

2018-06-27 Thread Ye Li
On iMX7D SabreSD board, the QSPI has pins conflict with EPDC (default). To use QSPI, users have to rework the board (de-populate R388-R391, R396-R399 populate R392-R395, R299, R300). So we add new DTS file and new defconfig dedicated for QSPI. Other changes to support the DM QSPI: - Add QSPI

[U-Boot] [PATCH 2/2] imx: imx6sx-sabreauto: convert to use DM QSPI driver

2018-06-27 Thread Ye Li
To support DM QSPI driver: - Modify n25q256a@0 and n25q256a@1 compatible string to "spi-flash" - Enable DM SPI and DM SPI FLASH configurations - Remove iomux settings of qspi1 in board codes which is not needed for DM driver. Signed-off-by: Ye Li --- arch/arm/dts/imx6sx-sabreauto.dts

[U-Boot] [PATCH 2/2] imx: imx6sx-sabreauto: convert to use DM QSPI driver

2018-06-27 Thread Ye Li
To support DM QSPI driver: - Modify n25q256a@0 and n25q256a@1 compatible string to "spi-flash" - Enable DM SPI and DM SPI FLASH configurations - Remove iomux settings of qspi1 in board codes which is not needed for DM driver. Signed-off-by: Ye Li --- arch/arm/dts/imx6sx-sabreauto.dts

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

2018-06-27 Thread Jagan Teki
On Tue, Jun 26, 2018 at 3:05 AM, Tom Rini wrote: > On Tue, Jun 26, 2018 at 12:19:03AM +0530, Jagan Teki wrote: > >> Hi Tom, >> >> Please pull this PR. >> >> thanks, >> Jagan. >> >> The following changes since commit 77b5ba5d2b94c5b028991c82782493f64bd4f392: >> >> Merge branch 'master' of

Re: [U-Boot] [UBOOT PATCH] clk: zynqmp: Fixed the same if/else part error reported by coverity

2018-06-27 Thread Michal Simek
On 27.6.2018 07:14, Vipul Kumar wrote: > This patch fixed the same if/else part error by adding the required > source select on the basis of is_pre_src check. > > Signed-off-by: Vipul Kumar > --- > drivers/clk/clk_zynqmp.c | 6 -- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff

[U-Boot] [PATCH v3 2/3] board: Add gazerbeam driver

2018-06-27 Thread Mario Six
Add a board driver for the upcoming gdsys Gazerbeam board. Signed-off-by: Mario Six --- v2 -> v3: * Set startup-finished GPIOs during probe * Added driver binding file for gazerbeam board * Improved error handling * Improved error/debug output * Improved documentation * Turned magic numbers

[U-Boot] [PATCH v3 1/3] drivers: Add board uclass

2018-06-27 Thread Mario Six
Since there is no canonical "board device" that can be used in board files, it is difficult to use DM function for board initialization in these cases. Hence, add a uclass that implements a simple "board device", which can hold devices not suitable anywhere else in the device tree, and is also

  1   2   >