Re: [U-Boot] [PATCH v3 2/3] x86: Add Intel Tangier support

2017-07-21 Thread Bin Meng
On Thu, Jul 6, 2017 at 7:41 PM, Andy Shevchenko wrote: > From: Felipe Balbi > > Add Intel Tangier SoC support. > > Intel Tangier SoC is a core part of Intel Merrifield platform. For > example, Intel Edison board is based on such

Re: [U-Boot] [PATCH v3 3/3] x86: Add Intel Edison board files

2017-07-21 Thread Bin Meng
On Fri, Jul 7, 2017 at 11:59 AM, Simon Glass wrote: > On 6 July 2017 at 05:41, Andy Shevchenko > wrote: >> Add Intel Edison board which is using U-Boot. >> >> The patch is based on work done by the following people (in alphabetical >> order):

Re: [U-Boot] [PATCH v3] watchdog: Introduce watchdog driver for Intel Tangier

2017-07-21 Thread Bin Meng
On Fri, Jul 7, 2017 at 12:51 PM, Bin Meng wrote: > On Thu, Jul 6, 2017 at 1:33 AM, Andy Shevchenko > wrote: >> From: Felipe Balbi >> >> Add watchdog driver for Intel Tangier based platforms. >> >>

Re: [U-Boot] [PATCH v2 1/3] x86: Add dma-mapping.h to architectural code

2017-07-21 Thread Bin Meng
On Fri, Jul 7, 2017 at 11:59 AM, Simon Glass wrote: > On 5 July 2017 at 14:56, Andy Shevchenko > wrote: >> Some cross-platform drivers rely on this header present. >> Make it so for x86. >> >> It's just a copy'n'paste of

Re: [U-Boot] [PATCH v2] arch/x86: Select USB before selecting host driver

2017-07-21 Thread Bin Meng
On Sat, Jul 22, 2017 at 12:18 PM, Bin Meng wrote: > From: Andy Shevchenko > > Kbuild complains if USB is not selected before any of host driver. > > warning: (X86) selects USB_EHCI_HCD which has unmet direct dependencies (USB) > warning:

Re: [U-Boot] [PATCH v1] arch/x86: Select USB before selecting host driver

2017-07-21 Thread Bin Meng
On Mon, Jul 10, 2017 at 10:14 AM, Bin Meng wrote: > +Simon, > > Hi Andy, > > On Wed, Jul 5, 2017 at 9:09 PM, Tom Rini wrote: >> On Wed, Jul 05, 2017 at 08:19:27PM +0800, Bin Meng wrote: >>> +Marek, >>> >>> Hi Andy, >>> >>> On Wed, Jul 5, 2017 at 5:36 PM,

[U-Boot] [PATCH v2] arch/x86: Select USB before selecting host driver

2017-07-21 Thread Bin Meng
From: Andy Shevchenko Kbuild complains if USB is not selected before any of host driver. warning: (X86) selects USB_EHCI_HCD which has unmet direct dependencies (USB) warning: (X86) selects USB_EHCI_HCD which has unmet direct dependencies (USB) Select it for

[U-Boot] [PATCH 34/41] Convert CONFIG_CMD_TRACE to Kconfig

2017-07-21 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_TRACE Signed-off-by: Simon Glass --- cmd/Kconfig | 9 + include/configs/exynos5-common.h | 1 - include/configs/sandbox.h| 1 - scripts/config_whitelist.txt | 1 - 4 files changed,

[U-Boot] [PATCH 28/41] gpio: Drop sx151x driver

2017-07-21 Thread Simon Glass
This driver is not used in U-Boot. Drop it and its associated CONFIG options. Signed-off-by: Simon Glass --- drivers/gpio/Makefile| 1 - drivers/gpio/sx151x.c| 242 --- scripts/config_whitelist.txt | 3 - 3 files

[U-Boot] [PATCH 38/41] Convert CONFIG_CMD_ZBOOT to Kconfig

2017-07-21 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_ZBOOT Signed-off-by: Simon Glass --- arch/Kconfig | 1 + cmd/Kconfig | 12 include/configs/x86-common.h | 2 -- scripts/config_whitelist.txt | 1 - 4 files changed, 13

[U-Boot] [PATCH 23/41] Convert CONFIG_CMD_SH_ZIMAGEBOOT to Kconfig

2017-07-21 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_SH_ZIMAGEBOOT Signed-off-by: Simon Glass --- arch/sh/Kconfig | 2 ++ arch/sh/lib/Kconfig | 5 + configs/r2dplus_defconfig | 1 + configs/sh7785lcr_32bit_defconfig | 1 +

[U-Boot] [PATCH 41/41] README: Drop information about commands

2017-07-21 Thread Simon Glass
Most of this is duplicated in Kconfig help. Add some of that which is not, and remove the help from the README. Signed-off-by: Simon Glass --- README | 131 +-- cmd/Kconfig | 4 +- cmd/fastboot/Kconfig

[U-Boot] [PATCH 29/41] Convert CONFIG_CMD_TCA642X to Kconfig

2017-07-21 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_TCA642X Signed-off-by: Simon Glass --- configs/omap5_uevm_defconfig | 1 + drivers/gpio/Kconfig | 9 + include/configs/omap5_uevm.h | 1 - scripts/config_whitelist.txt | 1 - 4 files changed, 10

[U-Boot] [PATCH 25/41] Convert CONFIG_CMD_SPL_NAND_OFS to Kconfig

2017-07-21 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_SPL_NAND_OFS Signed-off-by: Simon Glass --- cmd/Kconfig| 10 ++ configs/am335x_boneblack_defconfig | 1 + configs/am335x_boneblack_vboot_defconfig | 1 +

[U-Boot] [PATCH 15/41] Kconfig: Convert CMD_READ to Kconfig

2017-07-21 Thread Simon Glass
Convert this option and enable it in sandbox. Also correct a bug which was introduced with the block-device driver model conversion. Signed-off-by: Simon Glass --- README | 2 -- cmd/Kconfig | 5 + cmd/Makefile | 1 -

[U-Boot] [PATCH 40/41] Drop config_cmd_all.h

2017-07-21 Thread Simon Glass
This file does not include all commands and has not for a while. Let's drop it. Signed-off-by: Simon Glass --- README | 5 - include/config_cmd_all.h | 19 --- 2 files changed, 24 deletions(-) delete mode 100644

[U-Boot] [PATCH 22/41] Convert CONFIG_CMD_SF_TEST to Kconfig

2017-07-21 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_SF_TEST Signed-off-by: Simon Glass --- README | 6 -- arch/Kconfig | 1 + arch/x86/cpu/baytrail/Kconfig| 1 + cmd/Kconfig

[U-Boot] [PATCH 26/41] Convert CONFIG_CMD_SPL_WRITE_SIZE to Kconfig

2017-07-21 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_SPL_WRITE_SIZE Signed-off-by: Simon Glass --- cmd/Kconfig | 9 + configs/am43xx_evm_defconfig | 1 + configs/am43xx_evm_ethboot_defconfig | 1 +

[U-Boot] [PATCH 36/41] Convert CONFIG_CMD_UNIVERSE to Kconfig

2017-07-21 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_UNIVERSE Signed-off-by: Simon Glass --- cmd/Kconfig | 6 ++ include/config_cmd_all.h | 1 - scripts/config_whitelist.txt | 1 - 3 files changed, 6 insertions(+), 2 deletions(-) diff --git

[U-Boot] [PATCH 31/41] Kconfig: Drop CONFIG_CMD_TFTP

2017-07-21 Thread Simon Glass
This is not a valid CONFIG option. Drop it. Signed-off-by: Simon Glass --- include/configs/dragonboard410c.h | 1 - scripts/config_whitelist.txt | 1 - 2 files changed, 2 deletions(-) diff --git a/include/configs/dragonboard410c.h b/include/configs/dragonboard410c.h

[U-Boot] [PATCH 27/41] Convert CONFIG_CMD_STRINGS to Kconfig

2017-07-21 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_STRINGS Signed-off-by: Simon Glass --- cmd/Kconfig | 8 include/configs/vct.h| 1 - scripts/config_whitelist.txt | 1 - 3 files changed, 8 insertions(+), 2 deletions(-) diff --git

[U-Boot] [PATCH 32/41] Convert CONFIG_CMD_THOR_DOWNLOAD to Kconfig

2017-07-21 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_THOR_DOWNLOAD Signed-off-by: Simon Glass --- cmd/Kconfig | 8 configs/odroid-xu3_defconfig | 1 + configs/odroid_defconfig | 1 +

[U-Boot] [PATCH 19/41] Convert CONFIG_CMD_SAVES to Kconfig

2017-07-21 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_SAVES Signed-off-by: Simon Glass --- README | 1 - arch/arm/Kconfig | 6 ++ cmd/Kconfig | 6 ++ configs/ethernut5_defconfig | 1 +

[U-Boot] [PATCH 37/41] Convert CONFIG_CMD_UUID to Kconfig

2017-07-21 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_UUID Signed-off-by: Simon Glass --- README | 1 - cmd/Kconfig | 11 +++ scripts/config_whitelist.txt | 1 - 3 files changed, 11 insertions(+), 2 deletions(-) diff --git

[U-Boot] [PATCH 39/41] Convert CONFIG_CMD_ZFS to Kconfig

2017-07-21 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_ZFS Signed-off-by: Simon Glass --- cmd/Kconfig | 11 +++ include/config_cmd_all.h | 1 - scripts/config_whitelist.txt | 1 - 3 files changed, 11 insertions(+), 2 deletions(-) diff --git

[U-Boot] [PATCH 18/41] Kconfig: sandbox: Drop CONFIG_CMD_SANDBOX option

2017-07-21 Thread Simon Glass
This is no-longer used. Drop it. Signed-off-by: Simon Glass --- README | 1 - include/config_cmd_all.h | 1 - include/configs/sandbox.h| 2 -- scripts/config_whitelist.txt | 1 - 4 files changed, 5 deletions(-) diff --git a/README b/README

[U-Boot] [PATCH 20/41] Convert CONFIG_CMD_SCSI to Kconfig

2017-07-21 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_SCSI Signed-off-by: Simon Glass --- arch/arm/Kconfig | 3 +++ cmd/Kconfig | 9 + cmd/Makefile | 2 +- configs/cl-som-am57x_defconfig| 1 +

[U-Boot] [PATCH 13/41] Convert CONFIG_CMD_PCMCIA to Kconfig

2017-07-21 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_PCMCIA Signed-off-by: Simon Glass --- README | 1 - cmd/Kconfig | 8 configs/ms7720se_defconfig | 1 + include/config_cmd_all.h | 1 - include/configs/dbau1x00.h | 5

[U-Boot] [PATCH 24/41] Convert CONFIG_CMD_SPL to Kconfig

2017-07-21 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_SPL Signed-off-by: Simon Glass --- arch/arm/Kconfig | 1 + arch/arm/mach-imx/mx6/Kconfig | 1 + arch/arm/mach-omap2/am33xx/Kconfig| 1 + cmd/Kconfig

[U-Boot] [PATCH 14/41] Kconfig: Drop CONFIG_CMD_PORTIO and associated command

2017-07-21 Thread Simon Glass
This command is not used by any board. It also looks quite similar to the 'iod' and 'iow' commands which use the correct I/O macros. Drop it. Signed-off-by: Simon Glass --- cmd/portio.c | 145 --- 1 file changed, 145

[U-Boot] [PATCH 16/41] Convert CONFIG_CMD_REGINFO to Kconfig

2017-07-21 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_REGINFO Signed-off-by: Simon Glass --- README | 1 - arch/powerpc/cpu/mpc85xx/Kconfig | 11 +++ cmd/Kconfig| 6 ++

[U-Boot] [PATCH 17/41] Convert CONFIG_CMD_REISER to Kconfig

2017-07-21 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_REISER Signed-off-by: Simon Glass --- cmd/Kconfig | 9 + include/config_cmd_all.h | 1 - include/configs/ethernut5.h | 1 - scripts/config_whitelist.txt | 1 - 4 files changed, 9

[U-Boot] [PATCH 09/41] Kconfig: Drop CONFIG_CMD_PCA953X_INFO

2017-07-21 Thread Simon Glass
It does not seem worth having an option to enable another sub-command in this legacy driver. Drop this option so that the sub-command is always available. Signed-off-by: Simon Glass --- README | 1 - drivers/gpio/pca953x.c | 8

[U-Boot] [PATCH 12/41] Kconfig; Drop CONFIG_IDE_TI_CARDBUS and associated driver

2017-07-21 Thread Simon Glass
This driver is not used by any board. Drop it. Signed-off-by: Simon Glass --- drivers/pcmcia/Makefile | 1 - drivers/pcmcia/ti_pci1410a.c | 623 --- 2 files changed, 624 deletions(-) delete mode 100644

[U-Boot] [PATCH 11/41] Kconfig: Drop CONFIG_CMD_PCI_ENUM

2017-07-21 Thread Simon Glass
This option enables the 'pci enum' command. It is only enabled by a few board and these have not yet been converted to driver model, which always enables this command. It seems easiest to just remove this option. The affected boards can be converted to use driver model for PCI if needed.

[U-Boot] [PATCH 08/41] Convert CONFIG_CMD_PCA953X to Kconfig

2017-07-21 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_PCA953X Signed-off-by: Simon Glass --- README | 1 - arch/powerpc/cpu/mpc83xx/Kconfig| 1 + configs/cl-som-am57x_defconfig | 1 + configs/cm_t335_defconfig

[U-Boot] [PATCH 06/41] Convert CONFIG_CMD_MTDPARTS_SPREAD to Kconfig

2017-07-21 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_MTDPARTS_SPREAD Signed-off-by: Simon Glass --- cmd/Kconfig | 10 ++ configs/sandbox_defconfig| 1 + scripts/config_whitelist.txt | 1 - 3 files changed, 11 insertions(+), 1 deletion(-) diff

[U-Boot] [PATCH 05/41] Convert CONFIG_CMD_MTDPARTS to Kconfig

2017-07-21 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_MTDPARTS Signed-off-by: Simon Glass --- README | 1 - arch/arm/Kconfig| 3 +++ arch/arm/cpu/armv7/vf610/Kconfig| 1 +

[U-Boot] [PATCH 04/41] Convert CONFIG_CMD_MMC_SPI to Kconfig

2017-07-21 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_MMC_SPI Signed-off-by: Simon Glass --- cmd/Kconfig| 9 + configs/UCP1020_SPIFLASH_defconfig | 1 + configs/UCP1020_defconfig | 1 + include/configs/UCP1020.h | 1 -

[U-Boot] [PATCH 07/41] Convert CONFIG_CMD_ONENAND to Kconfig

2017-07-21 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_ONENAND Signed-off-by: Simon Glass --- cmd/Kconfig | 8 configs/igep0020_defconfig | 1 + configs/igep0030_defconfig | 1 +

[U-Boot] [PATCH 00/41] Kconfig: Convert remaining commands to Kconfig

2017-07-21 Thread Simon Glass
This series converts the remaining commands (starting from M and ending at Z) to Kconfig. This completes the Kconfig conversion of commands. Simon Glass (41): Convert CONFIG_CMD_MAX6957 to Kconfig Kconfig: Drop CONFIG_CMD_MEM Convert CONFIG_CMD_MFSL to Kconfig Convert CONFIG_CMD_MMC_SPI

[U-Boot] [PATCH 03/41] Convert CONFIG_CMD_MFSL to Kconfig

2017-07-21 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_MFSL Signed-off-by: Simon Glass --- README | 1 - cmd/Kconfig | 7 +++ configs/microblaze-generic_defconfig | 1 + include/config_cmd_all.h | 1 -

[U-Boot] [PATCH 01/41] Convert CONFIG_CMD_MAX6957 to Kconfig

2017-07-21 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_MAX6957 Signed-off-by: Simon Glass --- board/work-microwave/work_92105/Kconfig | 7 +++ configs/work_92105_defconfig| 1 + include/configs/work_92105.h| 1 - scripts/config_whitelist.txt

[U-Boot] [PATCH 02/41] Kconfig: Drop CONFIG_CMD_MEM

2017-07-21 Thread Simon Glass
This is not actually used in U-Boot. Most likely it means CONFIG_CMD_MEMORY so change all occurences to that. Signed-off-by: Simon Glass --- README| 4 ++-- include/configs/stm32f429-discovery.h | 2 -- scripts/config_whitelist.txt |

Re: [U-Boot] [PATCH 5/5] db410c: config updates

2017-07-21 Thread Rob Clark
On Fri, Jul 21, 2017 at 6:20 PM, Tom Rini wrote: > On Fri, Jul 21, 2017 at 03:10:14PM -0400, Rob Clark wrote: >> Signed-off-by: Rob Clark >> --- >> arch/arm/Kconfig | 2 +- >> configs/dragonboard410c_defconfig | 8 +++- >> 2 files

Re: [U-Boot] [PATCH 1/5] Makefile: also build fdt for snapdragon

2017-07-21 Thread Rob Clark
On Fri, Jul 21, 2017 at 6:18 PM, Tom Rini wrote: > On Fri, Jul 21, 2017 at 03:10:10PM -0400, Rob Clark wrote: > >> Snapdragon is a bit of a funny case, where we want to build the fdt to >> pass to lk, which loads us, but otherwise want to treat it as OF_BOARD, >> since lk will

[U-Boot] STM32F746 Discovery - No serial output?

2017-07-21 Thread Francois Dugast
Hi, I am trying to run the master on a STM32F746 Discovery board [1] by using stm32f746-disco_defconfig. It was built with gcc-arm-none-eabi-5_4-2016q3 [2] and flashed with OpenOCD [3]. A USB-serial adapter is connected to USART6_RX and USART6_TX (pins D0 and D1 of the Arduino connector) and

Re: [U-Boot] [PATCH 5/5] db410c: config updates

2017-07-21 Thread Tom Rini
On Fri, Jul 21, 2017 at 03:10:14PM -0400, Rob Clark wrote: > Signed-off-by: Rob Clark > --- > arch/arm/Kconfig | 2 +- > configs/dragonboard410c_defconfig | 8 +++- > 2 files changed, 8 insertions(+), 2 deletions(-) > > diff --git a/arch/arm/Kconfig

Re: [U-Boot] [PATCH 1/5] Makefile: also build fdt for snapdragon

2017-07-21 Thread Tom Rini
On Fri, Jul 21, 2017 at 03:10:10PM -0400, Rob Clark wrote: > Snapdragon is a bit of a funny case, where we want to build the fdt to > pass to lk, which loads us, but otherwise want to treat it as OF_BOARD, > since lk will patch the fdt (for example, to insert simple-framebuffer > node). > >

[U-Boot] [PATCH 5/5] mmc: uniphier-sd: Add support for R8A7795 and R7A7796

2017-07-21 Thread Marek Vasut
Add OF match entries and quirks for Renesas RCar Gen3 controllers into the driver. The IP this driver handles is in fact Matsushita one and in used both in Socionext and Renesas chips. Signed-off-by: Marek Vasut Cc: Masahiro Yamada

[U-Boot] [PATCH 4/5] mmc: uniphier-sd: Add support for quirks

2017-07-21 Thread Marek Vasut
Check if the OF match has any associated data and if so, use those data as the controller quirks, otherwise fallback to the old method of reading the controller version register to figure out the quirks. This allows us to supply controller quirks on controllers which ie. do not have version

[U-Boot] [PATCH 3/5] mmc: uniphier-sd: Add support for 64bit FIFO

2017-07-21 Thread Marek Vasut
The Renesas RCar Gen3 contains the same controller, originally Matsushita. This patch adds support for handling of the 64bit FIFO on this controller. Signed-off-by: Marek Vasut Cc: Masahiro Yamada Cc: Jaehoon Chung

[U-Boot] [PATCH 1/3] mmc: sh_sdhi: Add DM and DT probing support

2017-07-21 Thread Marek Vasut
Add MMC DM and DT probing support into the SH SDHI driver. This patch abstracts out the common bits of the send command and set ios functions, so they can be used both by DM and non DM setups and adds the DM probe support. Signed-off-by: Marek Vasut Cc: Hiroyuki

[U-Boot] [PATCH 2/5] mmc: uniphier-sd: Add support for 64bit controller

2017-07-21 Thread Marek Vasut
The Renesas RCar Gen3 contains the same controller, originally Matsushita, yet the register addresses are shifted by 1 to the left. The whole controller is also 64bit, including the data FIFOs and RSP registers. This patch adds support for handling the register IO by shifting the register offset

[U-Boot] [PATCH 1/5] mmc: uniphier-sd: Factor out register IO

2017-07-21 Thread Marek Vasut
This patch prepares the driver to support controller(s) with registers at locations shifted by constant. Pull out the readl()/writel() from the driver into separate functions, where the adjustment of the register offset can be easily contained. Signed-off-by: Marek Vasut

[U-Boot] [PATCH 3/3] mmc: sd_sdhi: Enable clock using clock framework

2017-07-21 Thread Marek Vasut
Since we now have clock driver for the RCar Gen3 , add support for enabling the clock into the SH SDHI driver to prevent hacks in the board files. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu Cc: Jaehoon Chung ---

[U-Boot] [PATCH 3/3] net: ravb: Add clock handling support

2017-07-21 Thread Marek Vasut
Add support for enabling and disabling the clock using the clock framework based on the content of OF instead of doing it manually in the board file. Signed-off-by: Marek Vasut Cc: Joe Hershberger Cc: Nobuhiro Iwamatsu

[U-Boot] [PATCH 2/3] mmc: sh_sdhi: Fix the ACMD handling

2017-07-21 Thread Marek Vasut
The command handling in this driver is awful, esp. because the driver depends on command numbers to determine whether this is APPCMD or not. Also, handling of command RSP response types is totally wrong. This patch at least plucks out some of the custom command encoding and fixes the APPCMD

[U-Boot] [PATCH 1/3] net: ravb: Add OF probing support

2017-07-21 Thread Marek Vasut
Add support for probing the RAVB Ethernet block from device tree. Signed-off-by: Marek Vasut Cc: Joe Hershberger Cc: Nobuhiro Iwamatsu --- drivers/net/ravb.c | 37 + 1 file

[U-Boot] [PATCH 2/3] net: ravb: Detect PHY correctly

2017-07-21 Thread Marek Vasut
The order of parameters passed to the phy_connect() was wrong. Moreover, only PHY address 0 was used. Replace this with code capable of detecting the PHY address. Signed-off-by: Marek Vasut Cc: Joe Hershberger Cc: Nobuhiro Iwamatsu

[U-Boot] [PATCH] serial: sh: Use the clock framework to obtain clock config

2017-07-21 Thread Marek Vasut
Since we now have clock driver on the RCar Gen3 , obtain the clock configuration using the clock framework functions. In case this fails, fall back to the original code for pulling the clock config directly out of OF. Signed-off-by: Marek Vasut Cc: Nobuhiro

[U-Boot] [PATCH] serial: sh: Convert to Kconfig

2017-07-21 Thread Marek Vasut
Convert the SH Serial to Kconfig using tools/moveconfig.py tool and a bit of manual adjustment to cater for failed conversions. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- configs/MigoR_defconfig | 1 +

[U-Boot] [PATCH 3/3] ARM: rmobile: Enable clock framework on ULCB

2017-07-21 Thread Marek Vasut
Since there is now a clock driver for RCar Gen3, enable it on this board. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- configs/r8a7795_ulcb_defconfig | 2 ++ configs/r8a7796_ulcb_defconfig | 2 ++ 2 files changed, 4 insertions(+)

[U-Boot] [PATCH 2/3] ARM: rmobile: Enable clock framework on Salvator-X

2017-07-21 Thread Marek Vasut
Since there is now a clock driver for RCar Gen3, enable it on this board. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- configs/r8a7795_salvator-x_defconfig | 2 ++ configs/r8a7796_salvator-x_defconfig | 2 ++ 2 files changed, 4

[U-Boot] [PATCH 1/3] clk: rmobile: Add RCar Gen3 clock driver

2017-07-21 Thread Marek Vasut
Add clock driver for the RCar Gen3 R8A7795 and R8A7796 SoCs . This driver allows reading out the clock configuration set by previous boot stages and enabling and disabling clock using the MSTP registers. Setting clock is not supported thus far. Signed-off-by: Marek Vasut

[U-Boot] [PATCH 2/2] ARM: rmobile: Enable OF_CONTROL on RCar Gen3

2017-07-21 Thread Marek Vasut
Since the DTs are now in place, enable OF control so that they get bundled into the U-Boot. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- arch/arm/mach-rmobile/Kconfig| 1 + configs/r8a7795_salvator-x_defconfig | 2 +-

[U-Boot] [PATCH] ARM: rmobile: Increase console buffer sizes

2017-07-21 Thread Marek Vasut
Allow pasting extra long lines into the U-Boot console on RCar Gen3. This is OK since we have plenty of resources and it's convenient. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- include/configs/rcar-gen3-common.h | 10 +- 1

[U-Boot] [PATCH 1/2] ARM: rmobile: Add PFC PUEN bank 5 address

2017-07-21 Thread Marek Vasut
Add the PFC5 PUEN address and SSI SDATA4 bit offset into the rcar-gen3-base.h . Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- arch/arm/mach-rmobile/include/mach/rcar-gen3-base.h | 2 ++ 1 file changed, 2 insertions(+) diff --git

[U-Boot] [PATCH 2/2] ARM: rmobile: ulcb: Add ULCB board support

2017-07-21 Thread Marek Vasut
Add initial support for the R8A7795 and R8A7796 based ULCB board. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- arch/arm/mach-rmobile/Kconfig.64 | 6 + board/renesas/ulcb/Kconfig | 15 +++ board/renesas/ulcb/MAINTAINERS |

[U-Boot] [PATCH] mtd: cfi: Zap CFI_FLASH_SHIFT_WIDTH redefinition

2017-07-21 Thread Marek Vasut
This is defined twice in the same file, with the same value, likely because of some patch merge issue. Pick the uglier one and nuke it. Signed-off-by: Marek Vasut Cc: Tom Rini --- include/flash.h | 2 -- 1 file changed, 2 deletions(-) diff

[U-Boot] [PATCH] mmc: uniphier-sd: Fix long response processing

2017-07-21 Thread Marek Vasut
The long response entry 0..3 LSByte comes from the next response register MSByte, not from the next response register LSByte. Fix this to make the driver report correct values in response 136 . Signed-off-by: Marek Vasut Cc: Masahiro Yamada

[U-Boot] [PATCH] db410c: enable r8152 usb eth

2017-07-21 Thread Rob Clark
Signed-off-by: Rob Clark --- I figured out why I was having no luck getting my usb ethernet dongle to work ;-) include/configs/dragonboard410c.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/dragonboard410c.h b/include/configs/dragonboard410c.h index

Re: [U-Boot] [PATCH] net: Mark the ip_udp_hdr struct as packed

2017-07-21 Thread Siarhei Siamashka
On Fri, 21 Jul 2017 22:15:37 +0300 Siarhei Siamashka wrote: > On Wed, 12 Jul 2017 16:34:50 +0200 > Maxime Ripard wrote: > > > The -mno-unaligned-access flag used on ARM to prevent GCC from generating > > unaligned accesses

Re: [U-Boot] [PATCH v1 0/7] x86: acpi: Few enhancements and improvements

2017-07-21 Thread Andy Shevchenko
able checksum verification disabled [0.00] ACPI: RSDP 0x000E4500 24 (v02 U-BOOT) [0.00] ACPI: XSDT 0x000E45E0 3C (v01 U-BOOT U-BOOTBL 20170721 INTL ) [0.00] ACPI: FACP 0x000E4BA0 F4 (v06 U-BOOT U-BOOTBL 20170721 INTL ) [0.

[U-Boot] [PATCH v1 6/7] x86: acpi: Export acpi_fill_mcfg() with __weak attribute

2017-07-21 Thread Andy Shevchenko
Some platforms might require different approach when filling memory mappings configuration table. Allow them to override the common method. At the same time export acpi_create_mcfg_mmconfig(). Signed-off-by: Andy Shevchenko ---

[U-Boot] [PATCH v1 1/7] Makefile: Don't shadow actual error when compile ASL

2017-07-21 Thread Andy Shevchenko
If ASL compiler failed by any reason do not produce output C file. Otherwise sequential run of make will shadow the actual error in ASL, i.e. CC board/intel/edison/dsdt.o board/intel/edison/dsdt.c:1:1: error: unterminated comment /* and user has to remove dsdt.c and run make in order to

[U-Boot] [PATCH v1 2/7] Makefile: Export build date as integer

2017-07-21 Thread Andy Shevchenko
In some cases we would need build date as integer value. Export U_BOOT_BUILD_DATE as %Y%m%d integer value. Signed-off-by: Andy Shevchenko --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 452596485d..71de5c656c 100644

[U-Boot] [PATCH v1 5/7] x86: acpi: Deduplicate acpi_fill_madt() implementation

2017-07-21 Thread Andy Shevchenko
In Baytrail and Quark support code acpi_fill_madt() is identical. Deduplicate its implementation by moving to lib/acpi_tables.c. At the same time mark acpi_fill_madt() with __weak attribute to keep a possibility to override it in platform code Signed-off-by: Andy Shevchenko

[U-Boot] [PATCH v1 7/7] x86: acpi: Don't touch hardware on HW reduced platforms

2017-07-21 Thread Andy Shevchenko
If ACPI HW reduced bit in FADT is set we should ignore any ACPI hardware communications. Signed-off-by: Andy Shevchenko --- arch/x86/lib/acpi_table.c | 4 1 file changed, 4 insertions(+) diff --git a/arch/x86/lib/acpi_table.c b/arch/x86/lib/acpi_table.c

[U-Boot] [PATCH v1 4/7] x86: acpi: Name fields in FADT in accordance with specification

2017-07-21 Thread Andy Shevchenko
ACPI specification defines FADT fields marked as reserved in U-Boot. Name these fields in accordance with ACPI specification. Signed-off-by: Andy Shevchenko --- arch/x86/include/asm/acpi_table.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff

[U-Boot] [PATCH v1 0/7] x86: acpi: Few enhancements and improvements

2017-07-21 Thread Andy Shevchenko
Patch 1 is a build improvement to have better understanding why DSDT is not compiled. Patches 2 and 3 add date of U-Boot build as OEM revision to the generated tables. Patch 4 marks fields in FADT in accordance with latest ACPI spec. Patches 5 and 6 provides a generic "fill" functions that can

[U-Boot] [PATCH v1 3/7] x86: acpi: Fill OEM revision

2017-07-21 Thread Andy Shevchenko
Fill OEM revision field in the tables by U-Boot build date. Signed-off-by: Andy Shevchenko --- arch/x86/lib/acpi_table.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/x86/lib/acpi_table.c b/arch/x86/lib/acpi_table.c index 01d5b6fff0..c6f4d8941c

[U-Boot] [PATCH] mmc: fsl_esdhc: not always setting esdhc fdt status to okay

2017-07-21 Thread Li Yang
We shouldn't always change the status to okay. There could be situations that the esdhc is intentionally disabled in the device tree. Signed-off-by: Li Yang --- drivers/mmc/fsl_esdhc.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/mmc/fsl_esdhc.c

Re: [U-Boot] [PATCH] net: Mark the ip_udp_hdr struct as packed

2017-07-21 Thread Siarhei Siamashka
On Wed, 12 Jul 2017 16:34:50 +0200 Maxime Ripard wrote: > The -mno-unaligned-access flag used on ARM to prevent GCC from generating > unaligned accesses (obviously) will only do so on packed structures. This statement seems to be poorly worded. > It seems like

[U-Boot] [PATCH 1/2] usb: kbd: don't fail with iomux

2017-07-21 Thread Rob Clark
stdin might not be set, which would cause iomux_doenv() to fail therefore causing probe_usb_keyboard() to fail. Furthermore if we do have iomux enabled, the sensible thing (in terms of user experience) would be to simply add ourselves to the list of stdin devices. Signed-off-by: Rob Clark

[U-Boot] [PATCH 2/2] usb: kbd: add missing \n

2017-07-21 Thread Rob Clark
Signed-off-by: Rob Clark --- common/usb_kbd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/usb_kbd.c b/common/usb_kbd.c index 72cf78abd4..615f8f88cd 100644 --- a/common/usb_kbd.c +++ b/common/usb_kbd.c @@ -654,7 +654,7 @@ static int

[U-Boot] [PATCH 5/5] db410c: config updates

2017-07-21 Thread Rob Clark
Signed-off-by: Rob Clark --- arch/arm/Kconfig | 2 +- configs/dragonboard410c_defconfig | 8 +++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index f7b44392ac..db6a325ee1 100644 ---

[U-Boot] [PATCH 4/5] db410c: on aarch64 the fdtfile is in per-vendor subdirectory

2017-07-21 Thread Rob Clark
Signed-off-by: Rob Clark --- include/configs/dragonboard410c.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/dragonboard410c.h b/include/configs/dragonboard410c.h index 11c842d952..8e742d82ce 100644 ---

[U-Boot] [PATCH 1/5] Makefile: also build fdt for snapdragon

2017-07-21 Thread Rob Clark
Snapdragon is a bit of a funny case, where we want to build the fdt to pass to lk, which loads us, but otherwise want to treat it as OF_BOARD, since lk will patch the fdt (for example, to insert simple-framebuffer node). Signed-off-by: Rob Clark --- Makefile | 6 ++ 1

[U-Boot] [PATCH 3/5] db410c: add reserved-memory node to dts

2017-07-21 Thread Rob Clark
If lk lights up display and populates simple-framebuffer node, it will also setup a reserved-memory node (needed by simplefb on linux). But it isn't clever enough to cope when the reserved-memory node is not present. Signed-off-by: Rob Clark ---

[U-Boot] [PATCH 2/5] db410c: use fdt passed from lk

2017-07-21 Thread Rob Clark
lk patches the fdt to set some device's MAC addresses and more importantly to patch in the simple-framebuffer node that we want u-boot to see. Signed-off-by: Rob Clark --- board/qualcomm/dragonboard410c/Makefile | 1 +

[U-Boot] [PATCH 0/5] dragonboard 410c patches

2017-07-21 Thread Rob Clark
Rob Clark (5): Makefile: also build fdt for snapdragon db410c: use fdt passed from lk db410c: add reserved-memory node to dts db410c: on aarch64 the fdtfile is in per-vendor subdirectory db410c: config updates Makefile | 6 arch/arm/Kconfig

[U-Boot] [PATCH 3/3] video: add config option to skip framebuffer clear

2017-07-21 Thread Rob Clark
The use-case is that the thing that loaded u-boot already put a splash image on screen. And we want to preserve that until grub boot menu takes over. Signed-off-by: Rob Clark --- drivers/video/Kconfig| 8 drivers/video/cfb_console.c | 3 ++-

[U-Boot] [PATCH 1/3] dm: core: also parse chosen node

2017-07-21 Thread Rob Clark
This is the node that would contain, for example, the framebuffer setup by an earlier stage. Signed-off-by: Rob Clark --- drivers/core/root.c | 22 +- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/drivers/core/root.c b/drivers/core/root.c

Re: [U-Boot] [PATCH] Use packed structures for networking

2017-07-21 Thread Tom Rini
On Fri, Jul 21, 2017 at 07:28:42PM +0300, Denis Pynkin wrote: > PXE boot is broken with GCC 7.1 due option '-fstore-merging' enabled > by default for '-O2': > > BOOTP broadcast 1 > data abort > pc : [<8ff8bb30>] lr : [<4f1f>] > reloc pc : [<17832b30>]lr : [<878abf1f>] > sp :

Re: [U-Boot] [PATCH] net: Mark the ip_udp_hdr struct as packed

2017-07-21 Thread Siarhei Siamashka
On Wed, 19 Jul 2017 20:26:54 +0200 Jeroen Hofstee wrote: > Hi, > > > On 07/18/2017 08:10 PM, Joe Hershberger wrote: > > Hi Maxime, > > > > On Wed, Jul 12, 2017 at 9:34 AM, Maxime Ripard > > wrote: > >> The -mno-unaligned-access flag

[U-Boot] [PATCH 4/4] efi_loader: use efi_devpath to get correct boot device-path

2017-07-21 Thread Rob Clark
This way grub can properly match up the loaded_image device-path to a partition device object, so it can locate it's grub.cfg. Signed-off-by: Rob Clark --- cmd/bootefi.c | 31 ++- 1 file changed, 26 insertions(+), 5 deletions(-) diff --git

[U-Boot] [PATCH 1/4] efi: add some more device path structures

2017-07-21 Thread Rob Clark
From: Peter Jones Signed-off-by: Peter Jones --- include/efi_api.h | 49 +++-- 1 file changed, 47 insertions(+), 2 deletions(-) diff --git a/include/efi_api.h b/include/efi_api.h index f071b36b53..e1b3f11c6d

[U-Boot] [PATCH 2/4] efi_loader: add udevice to EFI device-path mapping

2017-07-21 Thread Rob Clark
Initially just supports "disk" type devices, but a real UEFI implementation would expose input/output/display/etc with device-paths as well, so we may eventually want to expand this for other uses. Signed-off-by: Rob Clark --- include/efi_loader.h | 9 +++

[U-Boot] [PATCH 3/4] efi_loader: make disk objects for partitions

2017-07-21 Thread Rob Clark
Normally a EFI application, like grub2, is going to expect to see block-io devices for both the actual disk and for each partition (with the disk object being parent of the partition objects). Now instead of seeing devices like: /File(sd...@07864000.blk)/EndEntire

  1   2   >