[U-Boot] [PATCH v5 5/5] arm: socfpga: Add FPGA driver support for Arria 10

2017-05-22 Thread tien . fong . chee
From: Tien Fong Chee Add FPGA driver support for Arria 10 Signed-off-by: Tien Fong Chee --- arch/arm/mach-socfpga/include/mach/fpga_manager.h | 2 + .../include/mach/fpga_manager_arria10.h| 100 + drivers/fpga/Makefile

[U-Boot] [PATCH v5 3/5] arm: socfpga: Enable FPGA driver on SPL

2017-05-22 Thread tien . fong . chee
From: Tien Fong Chee Enable FPGA driver build for SPL. FPGA driver is needed for SPL to configure and getting DDR up before loading U-boot into DDR and booting from there Signed-off-by: Tien Fong Chee --- drivers/Makefile | 1

[U-Boot] [PATCH v5 4/5] arm: socfpga: Move FPGA manager driver to FPGA driver

2017-05-22 Thread tien . fong . chee
From: Tien Fong Chee Move FPGA manager driver which is Gen5 specific code from arch/arm/ into FPGA driver at driver/fpga/. No functional change Signed-off-by: Tien Fong Chee --- arch/arm/mach-socfpga/Makefile | 1 -

[U-Boot] [PATCH v5 2/5] arm: socfpga: Restructure FPGA driver in the preparation to support A10.

2017-05-22 Thread tien . fong . chee
From: Tien Fong Chee Move FPGA driver which is Gen5 specific code into Gen5 driver file and keeping common FPGA driver intact. All the changes are still keeping in driver/fpga/ and no functional change. Subsequent patch would move FPGA manager driver from arch/arm into

[U-Boot] [PATCH v5 1/5] arm: socfpga: Remove unused passing parameter of socfpga_bridges_reset

2017-05-22 Thread tien . fong . chee
From: Tien Fong Chee Remove parameter from socfpga_bridges_reset(), and keeping this function for single purpose which is just triggering reset on bridges. socfpga_reset_deassert_bridges_handoff() can be called for releasing reset on any bridges based on the bridge

[U-Boot] [PATCH v5 0/5] Add Intel Arria 10 SoC FPGA driver

2017-05-22 Thread tien . fong . chee
From: Tien Fong Chee This is the 5th version of patchset to adds support for Intel Arria 10 SoC FPGA driver. This version mainly resolved comments from Dinh in [v4]. This series is working on top of u-boot-socfpga-next branch

[U-Boot] [PATCH 6/6] arm64: mvebu_db-88f3720_defconfig: Enable PINCTRL and GPIO support

2017-05-22 Thread Stefan Roese
This patch enable the PINCTRL and GPIO support, including the GPIO command on the Armada 3720 DB. Signed-off-by: Stefan Roese Cc: Konstantin Porotchkin Cc: Nadav Haklai --- configs/mvebu_db-88f3720_defconfig | 5 + 1 file changed, 5

[U-Boot] [PATCH 1/6] arm64: mvebu: Add pinctrl nodes for Armada 3700

2017-05-22 Thread Stefan Roese
From: Gregory CLEMENT Add the nodes for the two pin controller present in the Armada 37xx SoCs. Initially the node was named gpio1 using the same name that for the register range in the datasheet. However renaming it pinctr_nb (nb for North Bridge) makes more

[U-Boot] [PATCH 5/6] pinctrl: mvebu: Enable support for the Armada 37xx pinctrl driver

2017-05-22 Thread Stefan Roese
To enable support for the Armada 37xx pinctrl driver, we need to change the Kconfig symbol for the Armada 7k/8k pinctrl driver and its dependencies to distinguish between both platforms and drivers. Signed-off-by: Stefan Roese Cc: Konstantin Porotchkin Cc:

[U-Boot] [PATCH 4/6] pinctrl: armada-37xx: Add gpio support

2017-05-22 Thread Stefan Roese
From: Gregory CLEMENT GPIO management is pretty simple and is part of the same IP than the pin controller for the Armada 37xx SoCs. This patch adds the GPIO support to the pinctrl-armada-37xx.c file, it also allows sharing common functions between the gpio

[U-Boot] [PATCH 2/6] arm64: mvebu: armada37xx: add pinctrl definition

2017-05-22 Thread Stefan Roese
From: Gregory CLEMENT Start to populate the device tree of the Armada 37xx with the pincontrol configuration used on the board providing a dts. Signed-off-by: Gregory CLEMENT Signed-off-by: Stefan Roese Cc:

[U-Boot] [PATCH 3/6] pinctrl: armada-37xx: Add pin controller support for Armada 37xx

2017-05-22 Thread Stefan Roese
From: Gregory CLEMENT The Armada 37xx SoC come with 2 pin controllers: one on the south bridge (managing 28 pins) and one on the north bridge (managing 36 pins). At the hardware level the controller configure the pins by group and not pin by pin. This

Re: [U-Boot] [PATCH v2 2/3] dts: cadence_spi: Sync DT bindings with Linux

2017-05-22 Thread Vignesh R
On Tuesday 23 May 2017 04:26 AM, Jason Rush wrote: > Adopt the Linux DT bindings and clean-up duplicate > and unused values. > --- > arch/arm/dts/keystone-k2g.dtsi| 5 +++-- Thanks for doing this patch! Could you change the bindings for delay values in

[U-Boot] [PATCH v2 3/3] config: cadence_spi: Remove defines read from DT

2017-05-22 Thread Jason Rush
Cleanup unused #define values that are read from the DT. --- include/configs/k2g_evm.h| 1 - include/configs/socfpga_common.h | 1 - include/configs/stv0991.h| 1 - 3 files changed, 3 deletions(-) diff --git a/include/configs/k2g_evm.h b/include/configs/k2g_evm.h index

[U-Boot] [PATCH v2 1/3] spi: cadence_spi: Sync DT bindings with Linux

2017-05-22 Thread Jason Rush
Adopt the Linux DT bindings. This also fixes an issue with the indaddrtrig register on the Cadence QSPI device being programmed with the wrong value for the socfpga arch. --- drivers/spi/cadence_qspi.c | 20 drivers/spi/cadence_qspi.h | 6 +-

[U-Boot] [PATCH v2 2/3] dts: cadence_spi: Sync DT bindings with Linux

2017-05-22 Thread Jason Rush
Adopt the Linux DT bindings and clean-up duplicate and unused values. --- arch/arm/dts/keystone-k2g.dtsi| 5 +++-- arch/arm/dts/socfpga.dtsi | 5 +++-- arch/arm/dts/socfpga_arria10.dtsi | 4 ++-- arch/arm/dts/socfpga_arria5_socdk.dts | 9

[U-Boot] [PATCH v2 0/3] spi: cadence_spi: Adopt Linux DT bindings

2017-05-22 Thread Jason Rush
Adopt the Linux DT bindings. This also fixes an issue with the indaddrtrig register on the Cadence QSPI device being programmed with the wrong value for the socfpga arch. Tested on Terasic SoCKit dev board (Altera Cyclone V) Jason Rush (3): spi: cadence_spi: Sync DT bindings with Linux dts:

Re: [U-Boot] [PATCH v4 3/5] arm: socfpga: Enable FPGA driver on SPL

2017-05-22 Thread Chee, Tien Fong
On Isn, 2017-05-22 at 10:11 -0500, Dinh Nguyen wrote: > > On 05/22/2017 09:23 AM, Dinh Nguyen wrote: > > > > > > > > On 05/18/2017 11:14 PM, tien.fong.c...@intel.com wrote: > > > > > > From: Tien Fong Chee > > > > > > Enable FPGA driver build for SPL. FPGA driver

Re: [U-Boot] [PATCH v4 2/5] arm: socfpga: Restructure FPGA driver in the preparation to support A10.

2017-05-22 Thread Chee, Tien Fong
On Isn, 2017-05-22 at 10:13 -0500, Dinh Nguyen wrote: > > On 05/18/2017 11:14 PM, tien.fong.c...@intel.com wrote: > > > > From: Tien Fong Chee > > > > Move FPGA driver which is Gen5 specific code into Gen5 driver file > > and keeping common FPGA driver er intact. All

Re: [U-Boot] __FILE__ usage and and SPL limits for SRAM

2017-05-22 Thread Tom Rini
On Tue, May 23, 2017 at 09:57:10AM +0900, Masahiro Yamada wrote: > Hi Denys, > > > 2017-05-23 2:23 GMT+09:00 Denys Dmytriyenko : > > On Sat, Apr 22, 2017 at 02:30:09PM +0900, Masahiro Yamada wrote: > >> >>> On Tuesday 28 March 2017 03:14 AM, Nishanth Menon wrote: > >> >>> > Hi,

Re: [U-Boot] [PATCH v2 1/3] omap: Add routine for setting fastboot variables

2017-05-22 Thread Tom Rini
On Mon, May 22, 2017 at 07:16:40PM +0300, Sam Protsenko wrote: > This patch reuses new option, which allows us to expose variables > from environment to "fastboot getvar" command. Those variables must be > of "fastboot.%s" format. > > Signed-off-by: Sam Protsenko >

Re: [U-Boot] [PATCH v2 3/3] arm: dra7: Set fastboot variables in environment

2017-05-22 Thread Tom Rini
On Mon, May 22, 2017 at 07:16:42PM +0300, Sam Protsenko wrote: > One can obtain those variables using next commands: > > $ fastboot getvar cpu > $ fastboot getvar secure > $ fastboot getvar board_rev > $ fastboot getvar userdata_size > > Those variables are needed for

Re: [U-Boot] [PATCH v2 2/3] arm: am57xx: Set fastboot variables in environment

2017-05-22 Thread Tom Rini
On Mon, May 22, 2017 at 07:16:41PM +0300, Sam Protsenko wrote: > One can obtain those variables using next commands: > > $ fastboot getvar cpu > $ fastboot getvar secure > $ fastboot getvar board_rev > $ fastboot getvar userdata_size > > Those variables are needed for

Re: [U-Boot] [PATCH 06/12] arm: Disable LPAE if not enabled

2017-05-22 Thread Tom Rini
On Mon, May 22, 2017 at 05:17:26AM -0600, Simon Glass wrote: > If CONFIG_ARMV7_LPAE is not defined we should make sure that the feature > is disabled. This can happen if U-Boot is chain-loaded from another boot > loader which does enable LPAE. > > Signed-off-by: Simon Glass

Re: [U-Boot] [PATCH 04/12] arm: Rename HCTR to HTCR

2017-05-22 Thread Tom Rini
On Mon, May 22, 2017 at 05:17:24AM -0600, Simon Glass wrote: > This appears to be a typo. Fix it. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [PATCH 01/12] arm: arm720t: Support CONFIG_SKIP_LOWLEVEL_INIT_ONLY

2017-05-22 Thread Tom Rini
On Mon, May 22, 2017 at 05:17:21AM -0600, Simon Glass wrote: > This option allows skipping the call to lowlevel() while still performing > CP15 init. Support this on ARM720T so it can be used with Tegra. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini

Re: [U-Boot] [PATCH 05/12] arm: Don't try to support CONFIG_ARMV7_LPAE on ARMv4T

2017-05-22 Thread Tom Rini
On Mon, May 22, 2017 at 05:17:25AM -0600, Simon Glass wrote: > At present if CONFIG_ARMV7_LPAE is defined then mmu_setup() will use > instructions which are invalid on ARMv4T. This happens on Tegra since it > has an ARMv4T boot CPU. Add a check for the architecture version to allow > the code to

Re: [U-Boot] Support for uboot SPL Exynos/Odroid platform.

2017-05-22 Thread Tom Rini
On Tue, May 23, 2017 at 01:04:33AM +0530, Anand Moon wrote: > Hi All, > > I would like to gather some inputs from u-boot developers > on enable the support for SPL image for Exynos (odroid) platforms. > > Few of the feature in u-boot need to be enable to support in mainline kernel. > > Is their

Re: [U-Boot] __FILE__ usage and and SPL limits for SRAM

2017-05-22 Thread Masahiro Yamada
Hi Denys, 2017-05-23 2:23 GMT+09:00 Denys Dmytriyenko : > On Sat, Apr 22, 2017 at 02:30:09PM +0900, Masahiro Yamada wrote: >> >>> On Tuesday 28 March 2017 03:14 AM, Nishanth Menon wrote: >> >>> > Hi, >> >>> > >> >>> > we've kind of run into an interesting situation recently, but

Re: [U-Boot] [PATCH] mksunxi_fit_atf.sh: Allow for this to complete when bl31.bin is missing

2017-05-22 Thread André Przywara
On 23/05/17 01:18, Tom Rini wrote: > On Tue, May 23, 2017 at 12:51:50AM +0100, André Przywara wrote: >> On 22/05/17 20:40, Tom Rini wrote: >>> In situations like an autobuilder we are likely to not have bl31.bin >>> present and thus would fail to build and propagate the error upwards. >>> Instead,

Re: [U-Boot] [PATCH] mksunxi_fit_atf.sh: Allow for this to complete when bl31.bin is missing

2017-05-22 Thread Tom Rini
On Tue, May 23, 2017 at 12:51:50AM +0100, André Przywara wrote: > On 22/05/17 20:40, Tom Rini wrote: > > In situations like an autobuilder we are likely to not have bl31.bin > > present and thus would fail to build and propagate the error upwards. > > Instead, print a big warning to stderr so that

Re: [U-Boot] [PULL] u-boot-usb/master

2017-05-22 Thread Tom Rini
On Mon, May 22, 2017 at 11:49:04AM +0200, Marek Vasut wrote: > The following changes since commit a375ff8e14bea0a5cbfff99d6456aa8d9a3320ab: > > Merge branch 'master' of git://www.denx.de/git/u-boot-imx (2017-05-18 > 17:17:45 -0400) > > are available in the git repository at: > >

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

2017-05-22 Thread Tom Rini
On Mon, May 22, 2017 at 03:33:45PM +0530, Jagan Teki wrote: > Hi Tom, > > Please take this PR. > > thanks! > Jagan. > > The following changes since commit 4125bbcef6a998ce8580a1f5c53c8c93a56a125b: > > Merge branch 'master' of git://git.denx.de/u-boot-mmc (2017-05-16 08:10:50 > -0400) > >

Re: [U-Boot] Uboot send pull request

2017-05-22 Thread Tom Rini
On Mon, May 22, 2017 at 03:00:29PM +0800, ub...@andestech.com wrote: > Hi Tom, > > Please pull the following patch from u-boot-nds32 into your tree. > Thanks! > > The following changes since commit 86132af799d51e8e94d87dc56a071f325f369e0c: > > nds32: Support AG101P serial DM. (2017-05-22

Re: [U-Boot] [PATCH] mksunxi_fit_atf.sh: Allow for this to complete when bl31.bin is missing

2017-05-22 Thread André Przywara
On 22/05/17 20:40, Tom Rini wrote: > In situations like an autobuilder we are likely to not have bl31.bin > present and thus would fail to build and propagate the error upwards. > Instead, print a big warning to stderr so that human will see that > something is wrong but complete the build. Yeah,

Re: [U-Boot] [PATCH 00/26] dm: tegra: Move nyan-big to livetree

2017-05-22 Thread Tom Rini
On Fri, May 19, 2017 at 08:30:43AM -0600, Simon Glass wrote: > This moves an entire board to use a live device tree as an example of the > impact. > > Nyan-big was chosen because I can easily and boot U-Boot without any > media swapping, etc. > > Total code size impact on this board is

Re: [U-Boot] litesom.c: Board stuff in SOC ?

2017-05-22 Thread Tom Rini
On Fri, May 19, 2017 at 04:13:29PM +0200, Stefano Babic wrote: > Hi Tom, > > On 19/05/2017 15:39, Tom Rini wrote: > > On Fri, May 19, 2017 at 12:51:18PM +0200, Stefano Babic wrote: > >> Hi Marcin, > >> > >> On 19/05/2017 12:41, Marcin Niestroj wrote: > >>> Hi Stefano, > >>> > >>> I've added Tom

Re: [U-Boot] RFC: Alternative command name for 'tftpput'

2017-05-22 Thread Simon Glass
Hi Stefan, On 22 May 2017 at 05:55, Stefan Roese wrote: > Hi, > > I'm stumbling again over a problem introduced with the "tftpput" > command and its naming, as it breaks some of the old scripts that > I and others still use. As you know, when this command is enabled > (which I find

Re: [U-Boot] [PATCH] rockchip: dts: rk3328: add aliases for mmc controller

2017-05-22 Thread Tom Rini
On Thu, May 18, 2017 at 04:05:20PM +0800, Kever Yang wrote: > Add aliases for mmc controller to get a fixed order with > emmc at index 0 and sdmmc at index 1. > > Signed-off-by: Kever Yang > --- > > arch/arm/dts/rk3328.dtsi | 3 +++ > 1 file changed, 3 insertions(+)

Re: [U-Boot] [PATCH] Kconfig: Add support for hash and sha1sum commands

2017-05-22 Thread Tom Rini
On Mon, May 22, 2017 at 02:26:57PM -0600, Simon Glass wrote: > Hi Daniel, > > On 19 May 2017 at 10:26, Daniel Thompson wrote: > > Currently these (board agnostic) commands cannot be selected using > > menuconfig and friends. Fix this the obvious way. > > > >

Re: [U-Boot] [PATCH 2/2] sunxi: A64: (re-)add sun8i emac DT nodes

2017-05-22 Thread Tom Rini
On Mon, May 22, 2017 at 01:59:33AM +0100, Andre Przywara wrote: > As the kernel DT does not have an Ethernet driver and bindings, lets > (re-)add the DT bindings for U-Boot's sun8i EMAC Ethernet driver, which > got lost when syncing the kernel DT to U-Boot. > This slightly updates the DT nodes to

Re: [U-Boot] [BUG]Rockchip armv7 SoCs can not boot on latest U-Boot

2017-05-22 Thread Tom Rini
On Mon, May 22, 2017 at 02:26:21PM -0600, Simon Glass wrote: > +Tom > > Hi Kever, > > On 17 May 2017 at 03:56, Kever Yang wrote: > > Hi Bin, > > > > Thanks for your suggestion, I already find the root cause. > > > > This patch change the image package and lead to all

Re: [U-Boot] [PATCH] mksunxi_fit_atf.sh: Allow for this to complete when bl31.bin is missing

2017-05-22 Thread Simon Glass
Hi Tom, On 22 May 2017 at 14:33, Tom Rini wrote: > On Mon, May 22, 2017 at 02:24:44PM -0600, Simon Glass wrote: >> Hi Tom., >> >> On 22 May 2017 at 13:40, Tom Rini wrote: >> > >> > In situations like an autobuilder we are likely to not have bl31.bin >> >

Re: [U-Boot] [PATCH] mksunxi_fit_atf.sh: Allow for this to complete when bl31.bin is missing

2017-05-22 Thread Tom Rini
On Mon, May 22, 2017 at 02:24:44PM -0600, Simon Glass wrote: > Hi Tom., > > On 22 May 2017 at 13:40, Tom Rini wrote: > > > > In situations like an autobuilder we are likely to not have bl31.bin > > present and thus would fail to build and propagate the error upwards. > >

Re: [U-Boot] [PATCH] Kconfig: Add support for hash and sha1sum commands

2017-05-22 Thread Simon Glass
Hi Daniel, On 19 May 2017 at 10:26, Daniel Thompson wrote: > Currently these (board agnostic) commands cannot be selected using > menuconfig and friends. Fix this the obvious way. > > Signed-off-by: Daniel Thompson > --- > cmd/Kconfig |

Re: [U-Boot] [PATCH v2 3/4] sunxi: video: Add support for CSC and TVE to DE2 driver

2017-05-22 Thread Simon Glass
On 19 May 2017 at 09:41, Jernej Skrabec wrote: > Extend DE2 driver with support for TVE driver, which will be added in > next commit. TVE unit expects data to be in YUV format, so CSC support > is also added here. > > Note that HDMI driver has higher priority, so TV out

Re: [U-Boot] [PATCH v3 4/7] usb: host: ehci-generic: add generic PHY support

2017-05-22 Thread Simon Glass
On 17 May 2017 at 07:34, wrote: > From: Patrice Chotard > > Extend ehci-generic driver with generic PHY framework > > Signed-off-by: Patrice Chotard > --- > > v3: _ test return value on generic_phy_get_by_index() and >

Re: [U-Boot] [PATCH v2 1/4] sunxi: video: Rename tve.c to tve_common.c

2017-05-22 Thread Simon Glass
On 19 May 2017 at 09:41, Jernej Skrabec wrote: > In order to avoid future confusion with similary named files, rename > tve.c to tve_common.c. New name better represents the fact that this file > holds code which can be and will be shared between multiple drivers. > >

Re: [U-Boot] [PATCH 1/1] reset: sti: add deassert counter in reset channel descriptor

2017-05-22 Thread Simon Glass
On 18 May 2017 at 01:58, wrote: > From: Patrice Chotard > > This deassert counter allow to manage "shared" reset lines > encountered in some specific case. On STiH410 SoC, DWC3, > EHCI and OHCI are all using a respective PHY, but all of > these

Re: [U-Boot] [PATCH 2/3] usb: host: xhci-dwc3: Add dual role mode support from DT

2017-05-22 Thread Simon Glass
On 19 May 2017 at 01:15, wrote: > From: Patrice Chotard > > DWC3 dual role mode is selected using DT "dr_mode" > property. If not found, DWC3 controller is configured > in HOST mode by default > > Signed-off-by: Patrice Chotard

Re: [U-Boot] [PATCH v3 7/7] usb: host: ohci-generic: add generic PHY support

2017-05-22 Thread Simon Glass
On 17 May 2017 at 07:34, wrote: > From: Patrice Chotard > > Extend ohci-generic driver with generic PHY framework > > Signed-off-by: Patrice Chotard > --- > > v3: _ extract in this patch the PHY support add-on from

Re: [U-Boot] [PATCH] rockchip: dts: rk3328: add aliases for mmc controller

2017-05-22 Thread Simon Glass
On 18 May 2017 at 02:05, Kever Yang wrote: > Add aliases for mmc controller to get a fixed order with > emmc at index 0 and sdmmc at index 1. > > Signed-off-by: Kever Yang > --- > > arch/arm/dts/rk3328.dtsi | 3 +++ > 1 file changed, 3

Re: [U-Boot] [PATCH v2 02/10] drivers: spi: consider command bytes when sending transfers

2017-05-22 Thread Simon Glass
On 22 May 2017 at 12:21, Álvaro Fernández Rojas wrote: > Command bytes are part of the written bytes and they should be taken into > account when sending a spi transfer. > > Signed-off-by: Álvaro Fernández Rojas > --- > v2: Introduce changes requested by

Re: [U-Boot] [PATCH 8/8] rockchip: dts: rk3328: support and enable dwc2 controller

2017-05-22 Thread Simon Glass
On 17 May 2017 at 04:26, Meng Dongyang wrote: > Signed-off-by: Meng Dongyang > --- > arch/arm/dts/rk3328-evb.dts | 5 + > arch/arm/dts/rk3328.dtsi| 9 + > 2 files changed, 14 insertions(+) Reviewed-by: Simon Glass

Re: [U-Boot] [PATCH 3/3] usb: host: xhci-dwc3: Add generic PHY support

2017-05-22 Thread Simon Glass
On 19 May 2017 at 01:15, wrote: > From: Patrice Chotard > > Add support of generic PHY framework support > > Signed-off-by: Patrice Chotard > --- > drivers/usb/host/xhci-dwc3.c | 29 + > 1 file

Re: [U-Boot] [PATCH 6/8] configs: rk3328: enable dwc2 driver and config for fastboot

2017-05-22 Thread Simon Glass
On 17 May 2017 at 04:26, Meng Dongyang wrote: > Config dwc2 driver support host and gadget function. Add support > of fastboot function. > > Signed-off-by: Meng Dongyang > --- > configs/evb-rk3328_defconfig| 14 ++ >

Re: [U-Boot] [PATCH 5/8] rockchip: dts: rk3328: support and enable xhci

2017-05-22 Thread Simon Glass
On 17 May 2017 at 04:25, Meng Dongyang wrote: Commit message? > Signed-off-by: Meng Dongyang > --- > arch/arm/dts/rk3328-evb.dts | 5 + > arch/arm/dts/rk3328.dtsi| 11 +++ > 2 files changed, 16 insertions(+) >

Re: [U-Boot] [BUG]Rockchip armv7 SoCs can not boot on latest U-Boot

2017-05-22 Thread Simon Glass
+Tom Hi Kever, On 17 May 2017 at 03:56, Kever Yang wrote: > Hi Bin, > > Thanks for your suggestion, I already find the root cause. > > This patch change the image package and lead to all Rockchip SoCs > > with BACK_TO_BROM enabled can not work. > >

Re: [U-Boot] [PATCH v3 0/7] usb: Extend ehci and ohci generic drivers

2017-05-22 Thread Simon Glass
Hi Patrice, On 17 May 2017 at 07:34, wrote: In the cover letter you could explain the purpose for this series. Regards, Simon > From: Patrice Chotard > > v3: _ keep enabled clocks and deasserted resets reference in list in > order to >

Re: [U-Boot] [PATCH 2/8] rockchip: dts: rk3328: add ehci and ohci node and enable host0 port

2017-05-22 Thread Simon Glass
On 17 May 2017 at 04:21, Meng Dongyang wrote: Commit message? > Signed-off-by: Meng Dongyang > --- > arch/arm/dts/rk3328-evb.dts | 8 > arch/arm/dts/rk3328.dtsi| 14 ++ > 2 files changed, 22 insertions(+)

Re: [U-Boot] [PATCH 3/8] configs: rk3328: config xhci controller

2017-05-22 Thread Simon Glass
On 17 May 2017 at 04:21, Meng Dongyang wrote: > Add config of max root ports and add config to enable xhci > controller. > > Signed-off-by: Meng Dongyang > --- > configs/evb-rk3328_defconfig| 3 +++ > include/configs/rk3328_common.h |

Re: [U-Boot] [PATCH v3 2/7] usb: host: ehci-generic: replace printf() by error()

2017-05-22 Thread Simon Glass
On 17 May 2017 at 07:34, wrote: > From: Patrice Chotard > > This allows to get file, line and function location > of the current error message. > > Signed-off-by: Patrice Chotard Reviewed-by: Simon Glass

Re: [U-Boot] [PATCH 1/8] configs: rk3328: add support for usb and config ehci and ohci driver

2017-05-22 Thread Simon Glass
On 17 May 2017 at 04:21, Meng Dongyang wrote: > Add defconfig for usb and ehci and ohci controller, config maximal > number of ports of the root hub for ohci driver. > > Signed-off-by: Meng Dongyang > --- > configs/evb-rk3328_defconfig

Re: [U-Boot] [PATCH] mksunxi_fit_atf.sh: Allow for this to complete when bl31.bin is missing

2017-05-22 Thread Simon Glass
Hi Tom., On 22 May 2017 at 13:40, Tom Rini wrote: > > In situations like an autobuilder we are likely to not have bl31.bin > present and thus would fail to build and propagate the error upwards. > Instead, print a big warning to stderr so that human will see that > something

[U-Boot] [PATCH] mksunxi_fit_atf.sh: Allow for this to complete when bl31.bin is missing

2017-05-22 Thread Tom Rini
In situations like an autobuilder we are likely to not have bl31.bin present and thus would fail to build and propagate the error upwards. Instead, print a big warning to stderr so that human will see that something is wrong but complete the build. Cc: Andre Przywara Cc:

[U-Boot] Support for uboot SPL Exynos/Odroid platform.

2017-05-22 Thread Anand Moon
Hi All, I would like to gather some inputs from u-boot developers on enable the support for SPL image for Exynos (odroid) platforms. Few of the feature in u-boot need to be enable to support in mainline kernel. Is their going to be some in-roads into this approach. what are the road block to

[U-Boot] [PATCH] common/spl/Kconfig: Use 'if SPL' / 'if TPL' guards

2017-05-22 Thread Tom Rini
Much of the entries here simply depend on SPL (or TPL). Instead of this redundancy use if SPL / if TPL to guard the rest of the choices and only show them when we have the relevant option enabled. Signed-off-by: Tom Rini --- common/spl/Kconfig | 104

Re: [U-Boot] [PATCH v2 4/4] sunxi: video: Add H3/H5 TV out driver

2017-05-22 Thread Jernej Škrabec
Hi Maxime, Dne ponedeljek, 22. maj 2017 ob 09:35:56 CEST je Maxime Ripard napisal(a): > On Fri, May 19, 2017 at 05:41:17PM +0200, Jernej Skrabec wrote: > > This commit adds support for TV (composite) output. > > > > Because there is no mechanism to select TV standard, PAL is > > hardcoded. > >

[U-Boot] [PATCH v2 10/10] mips: bmips: enable the SPI flash on the Netgear CG3100D

2017-05-22 Thread Álvaro Fernández Rojas
It's a Spansion (s25fl064a) 8 MB SPI flash. Signed-off-by: Álvaro Fernández Rojas --- v2: remove spi alias arch/mips/dts/netgear,cg3100d.dts | 12 configs/netgear_cg3100d_ram_defconfig | 8 2 files changed, 20 insertions(+) diff --git

[U-Boot] [PATCH v2 03/10] dm: spi: add BCM63xx SPI driver

2017-05-22 Thread Álvaro Fernández Rojas
This driver is a simplified version of linux/drivers/spi/spi-bcm63xx.c Instead of supporting both HW revisions of the controller in a single build, support has been split by the selected config to save space. Signed-off-by: Álvaro Fernández Rojas Reviewed-by: Simon Glass

[U-Boot] [PATCH v2 09/10] mips: bmips: enable the SPI flash on the Sagem F@ST1704

2017-05-22 Thread Álvaro Fernández Rojas
It's a Winbond (w25x32) 4 MB SPI flash. Signed-off-by: Álvaro Fernández Rojas --- v2: remove spi alias arch/mips/dts/sagem,f...@st1704.dts | 12 configs/sagem_f@st1704_ram_defconfig | 8 2 files changed, 20 insertions(+) diff --git

[U-Boot] [PATCH v2 00/10] mips: bmips: add SPI support

2017-05-22 Thread Álvaro Fernández Rojas
BCM63xx SPI controller is a bit tricky since it doesn't allow keeping CS active between transfers, so I had to modify the spi_flash driver in order to allow limiting reads. v2: Introduce changes requested by Simon Glass: - Always include command bytes when determining max write size. Also move

[U-Boot] [PATCH v2 08/10] mips: bmips: add bcm63xx-spi driver support for BCM63268

2017-05-22 Thread Álvaro Fernández Rojas
This driver manages the low speed SPI controller present on this SoC. Signed-off-by: Álvaro Fernández Rojas --- v2: add spi alias arch/mips/dts/brcm,bcm63268.dtsi | 17 + 1 file changed, 17 insertions(+) diff --git a/arch/mips/dts/brcm,bcm63268.dtsi

[U-Boot] [PATCH v2 05/10] mips: bmips: add bcm63xx-spi driver support for BCM6348

2017-05-22 Thread Álvaro Fernández Rojas
This driver manages the SPI controller present on this SoC. Signed-off-by: Álvaro Fernández Rojas --- v2: add spi alias arch/mips/dts/brcm,bcm6348.dtsi | 17 + 1 file changed, 17 insertions(+) diff --git a/arch/mips/dts/brcm,bcm6348.dtsi

Re: [U-Boot] [U-Boot,v3,48/48] sandbox: Enable CMD_GETTIME

2017-05-22 Thread Tom Rini
On Wed, May 17, 2017 at 03:25:44AM -0600, Simon Glass wrote: > Enable this option by default on sandbox to increase build coverage. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

[U-Boot] [PATCH v2 07/10] mips: bmips: add bcm63xx-spi driver support for BCM3380

2017-05-22 Thread Álvaro Fernández Rojas
This driver manages the SPI controller present on this SoC. Signed-off-by: Álvaro Fernández Rojas --- v2: add spi alias arch/mips/dts/brcm,bcm3380.dtsi | 17 + 1 file changed, 17 insertions(+) diff --git a/arch/mips/dts/brcm,bcm3380.dtsi

[U-Boot] [PATCH v2 01/10] drivers: spi: allow limiting reads

2017-05-22 Thread Álvaro Fernández Rojas
For some SPI controllers it's not possible to keep the CS active between transfers and they are limited to a known number of bytes. This splits spi_flash reads into different iterations in order to respect the SPI controller limits. Signed-off-by: Álvaro Fernández Rojas

Re: [U-Boot] [U-Boot,v3,38/48] Convert CONFIG_CMD_IO to Kconfig

2017-05-22 Thread Tom Rini
On Wed, May 17, 2017 at 03:25:34AM -0600, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_CMD_IO > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, v3, 40/48] Convert CONFIG_CMD_IOTRACE to Kconfig

2017-05-22 Thread Tom Rini
On Wed, May 17, 2017 at 03:25:36AM -0600, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_CMD_IOTRACE > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot,v3,37/48] Kconfig: Drop CONFIG_CMD_IMX_FUSE

2017-05-22 Thread Tom Rini
On Wed, May 17, 2017 at 03:25:33AM -0600, Simon Glass wrote: > This option is not used in U-Boot. Drop it. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___

[U-Boot] [PATCH v2 04/10] mips: bmips: add bcm63xx-spi driver support for BCM6338

2017-05-22 Thread Álvaro Fernández Rojas
This driver manages the SPI controller present on this SoC. Signed-off-by: Álvaro Fernández Rojas --- v2: add spi alias arch/mips/dts/brcm,bcm6338.dtsi | 17 + 1 file changed, 17 insertions(+) diff --git a/arch/mips/dts/brcm,bcm6338.dtsi

[U-Boot] [PATCH v2 06/10] mips: bmips: add bcm63xx-spi driver support for BCM6358

2017-05-22 Thread Álvaro Fernández Rojas
This driver manages the SPI controller present on this SoC. Signed-off-by: Álvaro Fernández Rojas --- v2: add spi alias arch/mips/dts/brcm,bcm6358.dtsi | 17 + 1 file changed, 17 insertions(+) diff --git a/arch/mips/dts/brcm,bcm6358.dtsi

Re: [U-Boot] [U-Boot, v3, 47/48] Convert CONFIG_CMD_LZMADEC to Kconfig

2017-05-22 Thread Tom Rini
On Wed, May 17, 2017 at 03:25:43AM -0600, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_CMD_LZMADEC > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot,v3,34/48] Kconfig: Add a CONFIG_IDE option

2017-05-22 Thread Tom Rini
On Wed, May 17, 2017 at 03:25:30AM -0600, Simon Glass wrote: > At present IDE support is controlled by CONFIG_CMD_IDE. Add a separate > CONFIG_IDE option so that IDE support can be enabled without requiring > the 'ide' command. > > Update existing users and move the ide driver into drivers/block

Re: [U-Boot] [U-Boot, v3, 23/48] Kconfig: Drop CONFIG_CMD_FDT_MAX_DUMP

2017-05-22 Thread Tom Rini
On Wed, May 17, 2017 at 03:25:19AM -0600, Simon Glass wrote: > This option is not used by any board. Drop it. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

[U-Boot] [PATCH v2 02/10] drivers: spi: consider command bytes when sending transfers

2017-05-22 Thread Álvaro Fernández Rojas
Command bytes are part of the written bytes and they should be taken into account when sending a spi transfer. Signed-off-by: Álvaro Fernández Rojas --- v2: Introduce changes requested by Simon Glass: - Always include command bytes when determining max write size.

Re: [U-Boot] [U-Boot,v3,21/48] Convert CONFIG_CMD_ETHSW to Kconfig

2017-05-22 Thread Tom Rini
On Wed, May 17, 2017 at 03:25:17AM -0600, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_CMD_ETHSW > > Also enable it for sandbox to increase build coverage. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] [U-Boot,v3,44/48] Convert CONFIG_CMD_KGDB to Kconfig

2017-05-22 Thread Tom Rini
On Wed, May 17, 2017 at 03:25:40AM -0600, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_CMD_KGDB > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, BUGFIX] ColdFire: Remove rogue 'CONFIG_SYS_NO_FLASH' embedded within another CONFIG_ name

2017-05-22 Thread Tom Rini
On Thu, May 18, 2017 at 05:26:58PM +0200, Lothar Waßmann wrote: > Hi, > > The original commit for the MCF54418TWR ColdFire development board > support defined a 'CONFIG_SYS_FAULT_ECCONFIG_SYS_NO_FLASHHO_LINK_DOWN' > which obviously has a rogue 'CONFIG_SYS_NO_FLASH' embedded in the > intended

Re: [U-Boot] [U-Boot,v3,43/48] Convert CONFIG_CMD_IRQ to Kconfig

2017-05-22 Thread Tom Rini
On Wed, May 17, 2017 at 03:25:39AM -0600, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_CMD_IRQ > > Signed-off-by: Simon Glass > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description:

Re: [U-Boot] [U-Boot,v3,22/48] Convert CONFIG_CMD_FDC to Kconfig

2017-05-22 Thread Tom Rini
On Wed, May 17, 2017 at 03:25:18AM -0600, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_CMD_FDC > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot,v3,35/48] Convert CONFIG_CMD_IMMAP to Kconfig

2017-05-22 Thread Tom Rini
On Wed, May 17, 2017 at 03:25:31AM -0600, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_CMD_IMMAP > > Also move this command out of the cmd/ directory since it is > PowerPC-specific. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks!

Re: [U-Boot] [U-Boot, v3, 18/48] Convert CONFIG_CMD_ENV_FLAGS to Kconfig

2017-05-22 Thread Tom Rini
On Wed, May 17, 2017 at 03:25:14AM -0600, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_CMD_ENV_FLAGS > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot,v3,45/48] Kconfig: Drop CONFIG_CMD_LOADY

2017-05-22 Thread Tom Rini
On Wed, May 17, 2017 at 03:25:41AM -0600, Simon Glass wrote: > This is not used in U-Boot. Drop it. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot

Re: [U-Boot] [U-Boot, v3, 39/48] Convert CONFIG_CMD_IOLOOP to Kconfig

2017-05-22 Thread Tom Rini
On Wed, May 17, 2017 at 03:25:35AM -0600, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_CMD_IOLOOP > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot,v3,24/48] Convert CONFIG_CMD_FPGAD to Kconfig

2017-05-22 Thread Tom Rini
On Wed, May 17, 2017 at 03:25:20AM -0600, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_CMD_FPGAD > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, v3, 19/48] Convert CONFIG_CMD_ERRATA to Kconfig

2017-05-22 Thread Tom Rini
On Wed, May 17, 2017 at 03:25:15AM -0600, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_CMD_ERRATA > > Signed-off-by: Simon Glass > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description:

Re: [U-Boot] [U-Boot, v4, 30/48] Kconfig: Add CONFIG_HASH to enable hashing API

2017-05-22 Thread Tom Rini
On Wed, May 17, 2017 at 09:05:34AM -0600, Simon Glass wrote: > At present CONFIG_CMD_HASH enables the 'hash' command which also brings > in the hashing API. Some boards may wish to enable the API without the > command. Add a separate CONFIG to permit this. > > Signed-off-by: Simon Glass

Re: [U-Boot] [U-Boot, v3, 42/48] fs: Kconfig: Add a separate option for FS_JFFS2

2017-05-22 Thread Tom Rini
On Wed, May 17, 2017 at 03:25:38AM -0600, Simon Glass wrote: > Rather than using CMD_JFFS2 for both the filesystem and its command, we > should have a separate option for each. This allows us to enable JFFS2 > support without the command, if desired, which reduces U-Boot's size > slightly. > >

Re: [U-Boot] [U-Boot, v3, 19/48] Convert CONFIG_CMD_ERRATA to Kconfig

2017-05-22 Thread Tom Rini
On Wed, May 17, 2017 at 03:25:15AM -0600, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_CMD_ERRATA > > Signed-off-by: Simon Glass > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description:

  1   2   3   >