[U-Boot] [PATCH] sunxi: setup simplefb for Allwinner DE2

2017-05-09 Thread Icenowy Zheng
As the support of EFI boot on Allwinner H3 is broken, we still need to use simplefb to pass the framebuffer to Linux. Add code to setup simplefb for Allwinner DE2 driver. Signed-off-by: Icenowy Zheng --- drivers/video/sunxi/sunxi_de2.c | 81 + include/con

Re: [U-Boot] [PATCH 05/17] mx6slevk: Fix unused variable warning

2017-05-09 Thread Stefano Babic
On 09/05/2017 04:14, Tom Rini wrote: > The variable usdhc1_pads is only referenced during SPL builds, add a > guard. > > Cc: Fabio Estevam > Cc: Peng Fan > Cc: Stefano Babic > Signed-off-by: Tom Rini > --- > board/freescale/mx6slevk/mx6slevk.c | 2 ++ > 1 file changed, 2 insertions(+) > > di

Re: [U-Boot] [PATCH 06/17] mx6ul_14x14_evk: Fix unused variable warning

2017-05-09 Thread Stefano Babic
On 09/05/2017 04:14, Tom Rini wrote: > The variable usdhc1_pads is only referenced during SPL builds, add a guard. > > Cc: Stefano Babic > Cc: Peng Fan > Signed-off-by: Tom Rini > --- > board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git

Re: [U-Boot] [PATCH 09/17] pcm058: Fix unused variable warnings

2017-05-09 Thread Stefano Babic
On 09/05/2017 04:14, Tom Rini wrote: > The variable nfc_pads is only referenced when CONFIG_CMD_NAND is set, > add a gaurd. The variable gpio_pads is never referenced, drop it. The > variable usdhc4_pads are only referenced when we do not have > CONFIG_CMD_NAND set and we are not doing an SPL bui

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

2017-05-09 Thread Marek Vasut
On 05/09/2017 06:23 AM, Chee, Tien Fong wrote: > On Isn, 2017-05-08 at 11:52 +0200, Marek Vasut wrote: >> On 05/08/2017 06:17 AM, Chee, Tien Fong wrote: >>> >>> On Jum, 2017-05-05 at 13:09 +0200, Marek Vasut wrote: On 05/05/2017 12:26 PM, tien.fong.c...@intel.com wrote: > > >

Re: [U-Boot] [PATCH 2/7] arm: socfpga: Convert FPGA configuration to Kconfig method.

2017-05-09 Thread Marek Vasut
On 05/09/2017 07:02 AM, Chee, Tien Fong wrote: > On Isn, 2017-05-08 at 11:57 +0200, Marek Vasut wrote: >> On 05/08/2017 05:02 AM, Chee, Tien Fong wrote: >>> >>> On Jum, 2017-05-05 at 13:11 +0200, Marek Vasut wrote: On 05/05/2017 12:26 PM, tien.fong.c...@intel.com wrote: > > >

Re: [U-Boot] [PATCH] rockchip: rk3368: Set fdtfile

2017-05-09 Thread Andreas Färber
Hi Simon, Am 08.05.2017 um 18:38 schrieb Simon Glass: > On 1 May 2017 at 11:48, Andreas Färber wrote: >> Am 01.05.2017 um 19:41 schrieb Andreas Färber: >>> diff --git a/configs/geekbox_defconfig b/configs/geekbox_defconfig >>> index f5783100c0..5e4d5f03a4 100644 >>> --- a/configs/geekbox_defconfi

[U-Boot] [PATCH] ARM: uniphier: fix MODEL field of REVISION register

2017-05-09 Thread Masahiro Yamada
The MODEL field is 3 bit wide. Signed-off-by: Masahiro Yamada --- arch/arm/mach-uniphier/soc-info.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-uniphier/soc-info.c b/arch/arm/mach-uniphier/soc-info.c index baf1be6..f9de3a9 100644 --- a/arch/arm/mach-uniphi

Re: [U-Boot] [PATCH] pico-imx7d: Add initial support

2017-05-09 Thread Stefano Babic
Hi Jagan, Vanessa, On 08/05/2017 21:49, Jagan Teki wrote: > Though the code look good and similar approach of existing boards, I'm > little concern of continue the same legacy and w/o trying new feature > like fdt. > > We've few i.MX boards which uses fdt support please refer the same. > I'm comm

Re: [U-Boot] [PATCH v3 00/13] STiH410-B2260: add reset, usb and fastboot support

2017-05-09 Thread Patrick DELAUNAY
Hi Simon and Patrice > > Hi Simon > > On 04/27/2017 05:45 PM, Simon Glass wrote: > > Hi Patrice, > > > > On 27 April 2017 at 05:30, Patrice CHOTARD > wrote: > >> > >> Hi > >> > >> It's just a gentle reminder as this series is present on mailing list > >> since one month without any review. > >

Re: [U-Boot] [PATCH v3 00/13] STiH410-B2260: add reset, usb and fastboot support

2017-05-09 Thread Patrice CHOTARD
Hi Patrick, Simon +Tom Rini On 05/09/2017 10:36 AM, Patrick DELAUNAY wrote: > Hi Simon and Patrice > >> >> Hi Simon >> >> On 04/27/2017 05:45 PM, Simon Glass wrote: >>> Hi Patrice, >>> >>> On 27 April 2017 at 05:30, Patrice CHOTARD >> wrote: Hi It's just a gentle reminder as

Re: [U-Boot] [PATCH 03/17] ot1200: Fix unused variable warning

2017-05-09 Thread Christian Gmeiner
2017-05-09 4:14 GMT+02:00 Tom Rini : > The variable pwm_pad is never referenced, drop. > > Cc: Christian Gmeiner > Signed-off-by: Tom Rini Reviewed-by: Christian Gmeiner greets -- Christian Gmeiner, MSc https://www.youtube.com/user/AloryOFFICIAL https://soundcloud.com/christian-gmeiner __

Re: [U-Boot] [PATCH v3 04/13] dm: usb: Add a uclass for USB PHY

2017-05-09 Thread Patrice CHOTARD
Hi Simon On 05/08/2017 06:38 PM, Simon Glass wrote: > Hi Patrice, > > On 28 March 2017 at 10:03, wrote: >> From: Patrice Chotard >> >> This is a basic implementation of USB PHY which >> define a standard API that link USB PHY client to >> USB PHY driver controller. >> >> Signed-off-by: Patrice

Re: [U-Boot] [PATCH 14/17] net: phy: mv88e61xx: Fix uninitialized variable warning

2017-05-09 Thread Chris Packham
On 9/05/2017 2:13 PM, "Tom Rini" wrote: The variable 'res' may be unused uninitialized if our call to mv88e61xx_port_read (register read) fails and we goto the error handling section. In this case we set 'res' to -EIO to indicate why we failed. Cc: Joe Hershberger Cc: Chris Packham Cc: Kevin

[U-Boot] i.MX6: u-boot,dm-pre-reloc block U-Boot

2017-05-09 Thread Jagan Teki
Hi All, I'm trying to add SPL_OF_CONTROL for i.MX6UL, with usdhc1 and gpio1 nodes are marking as "u-boot,dm-pre-reloc" like --- a/arch/arm/dts/imx6ul.dtsi +++ b/arch/arm/dts/imx6ul.dtsi @@ -129,6 +129,7 @@ }; soc { + u-boot,dm-pre-reloc; #address-cel

Re: [U-Boot] [PATCH V2 1/4] mmc: fsl_esdhc: introduce vs18_enable for 1.8V fix I/O

2017-05-09 Thread Jagan Teki
On Mon, May 8, 2017 at 12:32 PM, Peng Fan wrote: > When using eMMC with 1.8V I/O, the VSELECT bit need to be set in > the USDHC controller when init. > > This patch adds a parameter "vs18_enable" in fsl_esdhc_cfg > structure and priv data, so each controller can have different > settings. > > We c

[U-Boot] using vitesse phy api

2017-05-09 Thread Sameer Arvikar
Hello , I am using vitesse vsc8502 phy , I changed the follwing file include/configs/board.h + #define CONFIG_FEC_MXC_PHYADDR 0x18 - #define CONFIG_PHY_MICREL + #define CONFIG_PHY_VITESSE now the error is the compiler goes to board.c and give the error in following function because they ar

[U-Boot] Problem in booting an u-boot image for raspberry pi 2 on QEMU

2017-05-09 Thread Pradeep M C
Hi people, Needed some help in running u-boot on qemu emulating Raspberry pi 2. I came across qemu supporting emulation of Raspbeerry pi 2 (raspi2 machine in qemu). I thought of giving it a try by running u-boot compiled for Raspberry pi 2. I used the config "rpi_2_defconfig" to build u-boot. foll

Re: [U-Boot] [PATCH 5/5 v2] spi: ich: Configure SPI BIOS parameters for Linux upon U-Boot exit

2017-05-09 Thread Jagan Teki
On Mon, Apr 24, 2017 at 1:18 PM, Stefan Roese wrote: > This patch adds a remove function to the Intel ICH SPI driver, that will > be called upon U-Boot exit, directly before the OS (Linux) is started. > This function takes care of configuring the BIOS registers in the SPI > controller (similar to

Re: [U-Boot] [PATCH v3 00/13] STiH410-B2260: add reset, usb and fastboot support

2017-05-09 Thread Tom Rini
On Tue, May 09, 2017 at 09:10:03AM +, Patrice CHOTARD wrote: > Hi Patrick, Simon > > +Tom Rini > > On 05/09/2017 10:36 AM, Patrick DELAUNAY wrote: > > Hi Simon and Patrice > > > >> > >> Hi Simon > >> > >> On 04/27/2017 05:45 PM, Simon Glass wrote: > >>> Hi Patrice, > >>> > >>> On 27 April 201

Re: [U-Boot] [PATCH 5/5 v2] spi: ich: Configure SPI BIOS parameters for Linux upon U-Boot exit

2017-05-09 Thread Stefan Roese
(Added Simon to Cc) On 09.05.2017 13:14, Jagan Teki wrote: On Mon, Apr 24, 2017 at 1:18 PM, Stefan Roese wrote: This patch adds a remove function to the Intel ICH SPI driver, that will be called upon U-Boot exit, directly before the OS (Linux) is started. This function takes care of configurin

[U-Boot] [PATCH 4/4] mmc: descend into drivers/mmc only when CONFIG_MMC is enabled

2017-05-09 Thread Masahiro Yamada
This simplifies makefiles. Also, arrange the order of objects in drivers/mmc/Makefile so that the framework objects are listed before drivers. Signed-off-by: Masahiro Yamada --- Makefile | 1 - common/spl/Kconfig | 2 +- drivers/Makefile | 1 + drivers/mmc/Makefile | 28 ++

[U-Boot] [PATCH 2/4] blanche_defconfig: enable CONFIG_MMC

2017-05-09 Thread Masahiro Yamada
As commit 54925327fa11 ("mmc: move CONFIG_GENERIC_MMC to Kconfig") addressed, this is one of the last weird defconfigs that define CONFIG_GENERIC_MMC without CONFIG_MMC. Now I took a closer look at this. Given that both CONFIG_CMD_MMC and CONFIG_GENERIC_MMC are set for this defconfig, CONFIG_MMC

[U-Boot] [PATCH 1/4] sandbox_noblk_defconfig: disable CONFIG_GENERIC_MMC

2017-05-09 Thread Masahiro Yamada
As commit 54925327fa11 ("mmc: move CONFIG_GENERIC_MMC to Kconfig") addressed, this is one of the last weird defconfigs that define CONFIG_GENERIC_MMC without CONFIG_MMC. Now I took a closer look at this. Given that neither CONFIG_CMD_MMC nor CONFIG_MMC is set for this defconfig, CONFIG_GENERIC_MM

[U-Boot] [PATCH 3/4] mmc: replace CONFIG_GENERIC_MMC with CONFIG_MMC

2017-05-09 Thread Masahiro Yamada
Now CONFIG_GENERIC_MMC and CONFIG_MMC match for all defconfig. We do not need two options for the same feature. Deprecate the former. This commit was generated with the sed script 's/GENERIC_MMC/MMC/' and manual fixup of drivers/mmc/Kconfig. Signed-off-by: Masahiro Yamada --- arch/arm/Kconfig

[U-Boot] [PATCH 0/4] mmc: deprecate CONFIG_GENERIC_MMC finally

2017-05-09 Thread Masahiro Yamada
Masahiro Yamada (4): sandbox_noblk_defconfig: disable CONFIG_GENERIC_MMC blanche_defconfig: enable CONFIG_MMC mmc: replace CONFIG_GENERIC_MMC with CONFIG_MMC mmc: descend into drivers/mmc only when CONFIG_MMC is enabled Makefile | 1 - arch/arm/Kconfi

[U-Boot] [PATCH] arm: mvebu: clearfog: reset uSOM onboard 1512 phy

2017-05-09 Thread Patrick Wildt
Use GPIO19 which is wired to the uSOM phy reset signal in order to reset the uSOM's 1512 Gigabit Ethernet phy. This GPIO is valid on ClearFog rev 2.1 and newer. Taken from SolidRun's specialised u-boot, see https://github.com/SolidRun/u-boot-armada38x/commit/f906e3df172e07ac82cdd87b278d7896949262

[U-Boot] [PATCH] rockchip: rk3036: clock: code clean

2017-05-09 Thread Kever Yang
Embeded the shift in mask MACRO, and a few fix btw: - hclk/pclk_div range use '<=' instead of '<' - use GPLL for pd_bus - peri HCLK/PCLK clock rate should not bigger than ACLK Signed-off-by: Kever Yang --- arch/arm/include/asm/arch-rockchip/cru_rk3036.h | 76 ++-- drivers/clk/ro

[U-Boot] [PATCH v4 03/12] mmc: sti_sdhci: Use reset framework

2017-05-09 Thread patrice.chotard
From: Patrice Chotard Signed-off-by: Patrice Chotard Reviewed-by: Jaehoon Chung --- v4: _ none v3: _ none v2: _ none drivers/mmc/sti_sdhci.c | 31 ++- 1 file changed, 22 insertions(+), 9 deletions(-) diff --git a/drivers/mmc/sti_sdhci.c b/drivers/mm

[U-Boot] [PATCH v4 02/12] ARM: dts: stih410-family: Add missing reset_names for mmc1 node

2017-05-09 Thread patrice.chotard
From: Patrice Chotard reset-names property is needed to use the reset API for STi sdhci driver. Signed-off-by: Patrice Chotard Reviewed-by: Jaehoon Chung --- v4: _ none v3: _ none v2: _ none arch/arm/dts/stih407-family.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/ar

[U-Boot] [PATCH v4 04/12] usb: phy: Add STi USB2 PHY

2017-05-09 Thread patrice.chotard
From: Patrice Chotard This is the generic phy driver for the picoPHY ports used by USB2/1.1 controllers. It is found on STiH407 SoC family from STMicroelectronics. Signed-off-by: Patrice Chotard --- v4: _ update to use the new PHY uclass currently available on dm-next branch v3: _ con

[U-Boot] [PATCH v4 09/12] board: STiH410-B2260: add OHCI and XHCI related defines

2017-05-09 Thread patrice.chotard
From: Patrice Chotard Signed-off-by: Patrice Chotard --- v4: _ none v3: _ none v2: _ none include/configs/stih410-b2260.h | 4 1 file changed, 4 insertions(+) diff --git a/include/configs/stih410-b2260.h b/include/configs/stih410-b2260.h index 6f4070f..3df0e04 100644 --- a

[U-Boot] [PATCH v4 05/12] usb: ehci: Add STi ehci support

2017-05-09 Thread patrice.chotard
From: Patrice Chotard Add support for on-chip ehci controller available on STMicrolectronics SoCs. ehci support will be then available on both type A USB 2.0 connectors. Signed-off-by: Patrice Chotard --- v4: _ update to use the new PHY uclass currently available on dm-next branch v3:

[U-Boot] [PATCH v4 06/12] usb: ohci: Add STi ohci support

2017-05-09 Thread patrice.chotard
From: Patrice Chotard Add support for on-chip ohci controller available on STMicrolectronics SoCs. Ohci support will be then available on both type A USB 2.0 connectors. Signed-off-by: Patrice Chotard --- v4: _ update to use the new PHY uclass currently available on dm-next branch v3: _ up

[U-Boot] [PATCH v4 00/12] STiH410-B2260: add reset, usb and fastboot support

2017-05-09 Thread patrice.chotard
From: Patrice Chotard This series adds : _ update existing sdhci driver to use reset framework _ add usb phy driver _ add ehci support _ add ohci support _ add xhci support _ add fastboot support With all this feature enable, it's now possible to

[U-Boot] [PATCH v4 08/12] usb: dwc3: Add dwc3 glue driver support for STi

2017-05-09 Thread patrice.chotard
From: Patrice Chotard This patch adds the ST glue logic to manage the DWC3 HC on STiH407 SoC family. It configures the internal glue logic and syscfg registers. Part of this code been extracted from kernel.org driver (drivers/usb/dwc3/dwc3-st.c) Signed-off-by: Patrice Chotard --- v4: _ non

[U-Boot] [PATCH v4 11/12] STiH410-B2260: enable USB Host Networking

2017-05-09 Thread patrice.chotard
From: Patrice Chotard Signed-off-by: Patrice Chotard --- v4: _ none v3: _ none v2: _ none include/configs/stih410-b2260.h | 12 1 file changed, 12 insertions(+) diff --git a/include/configs/stih410-b2260.h b/include/configs/stih410-b2260.h index 3df0e04..6c84e9b 10

[U-Boot] [PATCH v4 07/12] usb: xhci: Add STi xhci support

2017-05-09 Thread patrice.chotard
From: Patrice Chotard Add support for on-chip DWC3 controller available on STMicrolectronics STiH407 family SoCs. On B2260 board, the type AB USB connector is managed by a DWC3 IP. As USB3 signals are not wired, only USB2 is supported. Signed-off-by: Patrice Chotard --- v4: _ update to use

[U-Boot] [PATCH v4 10/12] board: STiH410-B2260: add fastboot support

2017-05-09 Thread patrice.chotard
From: Patrice Chotard Add usb_gadget_handle_interrupts(), board_usb_init(), board_usb_cleanup() and g_dnl_board_usb_cable_connected() callbacks needed for FASTBOOT support Signed-off-by: Patrice Chotard --- v4: _ none v3: _ none v2: _ none board/st/stih410-b2260/board.c | 44 +

[U-Boot] Orphan Freescale PowerPC boards

2017-05-09 Thread Masahiro Yamada
Hi York, I see some orphan boards under board/freescale directory. $ find board/freescale -name MAINTAINERS | xargs grep Orphan board/freescale/mpc8555cds/MAINTAINERS:S: Orphan (since 2014-06) board/freescale/mpc8641hpcn/MAINTAINERS:S: Orphan (since 2014-06) board/freescale/mpc8540ads/MAINTAINERS

[U-Boot] [PATCH v4 01/12] mmc: sti_sdhci: Rework sti_mmc_core_config()

2017-05-09 Thread patrice.chotard
From: Patrice Chotard Use struct udevice* as input parameter. Previous parameters are retrieved through plat and priv data. This to prepare to use the reset framework. Signed-off-by: Patrice Chotard Reviewed-by: Jaehoon Chung --- v4: _ none v3: _ none v2: _ none drivers/mmc/s

[U-Boot] [PATCH v4 12/12] STiH410-B2260: enable USB, fastboot, reset related flags

2017-05-09 Thread patrice.chotard
From: Patrice Chotard Signed-off-by: Patrice Chotard --- v4: _ enable CONFIG_PHY and CONFIG_STI_USB_PHY v3: _ none v2: _ none configs/stih410-b2260_defconfig | 37 + 1 file changed, 33 insertions(+), 4 deletions(-) diff --git a/configs/stih4

Re: [U-Boot] [PATCH v3 00/13] STiH410-B2260: add reset, usb and fastboot support

2017-05-09 Thread Patrice CHOTARD
FYI a new v4 is available following remarks from Simon Glass in order to use the new PHY uclass available on dm-next branch Patrice On 03/28/2017 06:03 PM, patrice.chot...@st.com wrote: > From: Patrice Chotard > > This series adds : > _ update existing sdhci driver to use reset framework

Re: [U-Boot] Orphan Freescale PowerPC boards

2017-05-09 Thread Tom Rini
On Tue, May 09, 2017 at 09:19:37PM +0900, Masahiro Yamada wrote: > Hi York, > > I see some orphan boards under board/freescale directory. > > $ find board/freescale -name MAINTAINERS | xargs grep Orphan > board/freescale/mpc8555cds/MAINTAINERS:S: Orphan (since 2014-06) > board/freescale/mpc8641hp

[U-Boot] [PATCH] arm: sunxi: initial support for NanoPi Neo2

2017-05-09 Thread Patrick Wildt
The NanoPi Neo2 is basically the same as the NanoPi Neo, but that they replaced the SoC with the 64-bit Allwinner H5 SoC. Add a (64-bit only) defconfig defining the required options to build the U-Boot proper. Create a new .dts file for it by including the (32-bit) H3 SoC .dtsi and changing the d

Re: [U-Boot] [PATCH V2 1/4] mmc: fsl_esdhc: introduce vs18_enable for 1.8V fix I/O

2017-05-09 Thread Peng Fan
> -Original Message- > From: Jagan Teki [mailto:jagannadh.t...@gmail.com] > Sent: Tuesday, May 09, 2017 7:09 PM > To: Peng Fan > Cc: Stefano Babic ; u-boot@lists.denx.de > Subject: Re: [U-Boot] [PATCH V2 1/4] mmc: fsl_esdhc: introduce vs18_enable > for 1.8V fix I/O > > On Mon, May 8, 20

[U-Boot] Please pull from u-boot-i2c

2017-05-09 Thread Heiko Schocher
Hello Tom, please pull from u-boot-i2c.git master travis build is clean: https://travis-ci.org/hsdenx/u-boot-i2c/builds/230238863 The following changes since commit 2f92629112a1055ed37f8b05dfcf00c3f1875503: Merge branch 'next' of git://git.denx.de/u-boot-spi (2017-05-08 15:44:52 -0400) are

[U-Boot] [PATCH] dm: Update Simple Watchdog uclass

2017-05-09 Thread Tom Rini
From: Maxim Sloyko - Remove "probe" function from sandbox wdt driver - Fix include order Fixes: 0753bc2d30d7 ("dm: Simple Watchdog uclass") Signed-off-by: Maxim Sloyko [trini: Create as the delta between v1 (applied) and v2 (should have applied)]. Signed-off-by: Tom Rini --- drivers/watchdog

Re: [U-Boot] p1_p2_rdb: Fix unused variable warning

2017-05-09 Thread Tom Rini
On Tue, Apr 18, 2017 at 10:26:35PM -0400, Tom Rini wrote: > With gcc-6 we see a warning that sysclk_tbl is defined but unused, so > remove it. > > Cc: York Sun > Signed-off-by: Tom Rini > Reviewed-by: York Sun Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital sig

Re: [U-Boot] [PATCH] dm: Update Simple Watchdog uclass

2017-05-09 Thread Tom Rini
On Tue, May 09, 2017 at 09:09:41AM -0400, Tom Rini wrote: > From: Maxim Sloyko > > - Remove "probe" function from sandbox wdt driver > - Fix include order > > Fixes: 0753bc2d30d7 ("dm: Simple Watchdog uclass") > Signed-off-by: Maxim Sloyko > [trini: Create as the delta between v1 (applied) and

Re: [U-Boot] [PATCH] arm: sunxi: initial support for NanoPi Neo2

2017-05-09 Thread Tom Rini
On Tue, May 09, 2017 at 02:43:41PM +0200, Patrick Wildt wrote: > The NanoPi Neo2 is basically the same as the NanoPi Neo, but that they > replaced the SoC with the 64-bit Allwinner H5 SoC. Add a (64-bit only) > defconfig defining the required options to build the U-Boot proper. > > Create a new .

Re: [U-Boot] [PATCH V2 1/4] mmc: fsl_esdhc: introduce vs18_enable for 1.8V fix I/O

2017-05-09 Thread Jagan Teki
On Tue, May 9, 2017 at 6:19 PM, Peng Fan wrote: > > >> -Original Message- >> From: Jagan Teki [mailto:jagannadh.t...@gmail.com] >> Sent: Tuesday, May 09, 2017 7:09 PM >> To: Peng Fan >> Cc: Stefano Babic ; u-boot@lists.denx.de >> Subject: Re: [U-Boot] [PATCH V2 1/4] mmc: fsl_esdhc: introd

Re: [U-Boot] i.MX6: u-boot,dm-pre-reloc block U-Boot

2017-05-09 Thread Lokesh Vutla
On Tuesday 09 May 2017 04:35 PM, Jagan Teki wrote: > Hi All, > > I'm trying to add SPL_OF_CONTROL for i.MX6UL, with usdhc1 and gpio1 > nodes are marking as "u-boot,dm-pre-reloc" like Did you try "u-boot,dm-spl" instead? > > --- a/arch/arm/dts/imx6ul.dtsi > +++ b/arch/arm/dts/imx6ul.dtsi > @@

Re: [U-Boot] [v2, 00/13] phy: marvell: cp110: varius comphy updates

2017-05-09 Thread Stefan Roese
On 24.04.2017 17:45, ig...@marvell.com wrote: From: Igal Liberman This patchset improves Marvell A70x0/80x0 comphy driver: - Improve comphy electrical parameters - New modes - Style - Bug fixes v1 --> v2: - update commit messages - remove change-

Re: [U-Boot] [PATCH] ARM: mvebu: switch db-88f6820-amc to DM for i2c

2017-05-09 Thread Stefan Roese
On 02.05.2017 10:35, Chris Packham wrote: Move existing configuration from header file to defconfig or dts as appropriate. Signed-off-by: Chris Packham Applied to u-boot-marvell/master. Thanks, Stefan ___ U-Boot mailing list U-Boot@lists.denx.de ht

Re: [U-Boot] [PATCH] fix: mvebu_ comphy: Update COMPHY sequence number

2017-05-09 Thread Stefan Roese
On 19.04.2017 12:37, kos...@marvell.com wrote: From: Konstantin Porotchkin Use local static counter for maintaining the COMPHY chip-ID upon its initialization. The dev->seq originally used as the COMPHY chip-ID depends on the device tree scan order and produces wrong results that breaks the def

Re: [U-Boot] [PATCH v2 1/3] arm64: mvebu: Trigger PCI devices scan at early init stage

2017-05-09 Thread Stefan Roese
On 05.04.2017 16:42, kos...@marvell.com wrote: From: Konstantin Porotchkin Add PCIe initialization at early init stage. This operation has a side effect of detecting all PCIe plug-in cards, so the operator is not obligated to issue "pci enum" command though CLI for this purpose. Signed-off-by:

Re: [U-Boot] [PATCH v2 4/5] arm64: a8k: dts: Add support for NAND devices on A8K platform

2017-05-09 Thread Stefan Roese
On 05.04.2017 17:22, kos...@marvell.com wrote: From: Konstantin Porotchkin Add NAND to CP master device tree. Add armada-7040-db-nand device tree for the board configured with NAND boot device. Add comment about boot device ID to armada-7040-db DTS. Signed-off-by: Konstantin Porotchkin Cc: St

Re: [U-Boot] [PATCH v2 2/5] arm64: mvebu: a8k: Add support for NAND clock get

2017-05-09 Thread Stefan Roese
On 05.04.2017 17:22, kos...@marvell.com wrote: From: Konstantin Porotchkin Implement mvebu_get_nand_clock call for A8K family. This function is used by PXA3XX NAND driver. Signed-off-by: Konstantin Porotchkin Cc: Stefan Roese Cc: Igal Liberman Cc: Nadav Haklai Applied to u-boot-marvell/m

Re: [U-Boot] [PATCH v2 5/5] arm64: mvebu: a8k: Add NAND configuration parameters

2017-05-09 Thread Stefan Roese
On 05.04.2017 17:22, kos...@marvell.com wrote: From: Konstantin Porotchkin Add NAND configuration parameters to A8K shared config file. Add defconfig for db-88f7040 board with boot from NAND setup. Signed-off-by: Konstantin Porotchkin Cc: Stefan Roese Cc: Igal Liberman Cc: Nadav Haklai A

Re: [U-Boot] [PATCH 1/5] fix: nand: pxa3xx: Remove hardcode values from the driver

2017-05-09 Thread Stefan Roese
On 28.03.2017 17:16, kos...@marvell.com wrote: From: Konstantin Porotchkin Obtain NAND controller setup parameters from the device tree instead of using hardcoded values. Signed-off-by: Konstantin Porotchkin Cc: Scott Wood Cc: Stefan Roese Cc: Igal Liberman Cc: Nadav Haklai Applied to u

Re: [U-Boot] [PATCH 3/5] arm64: mvebu: Fix the bubt comamnd NAND device support

2017-05-09 Thread Stefan Roese
On 28.03.2017 17:16, kos...@marvell.com wrote: From: Konstantin Porotchkin Fix the NAND structures in bubt command according to latest changes in MTD API. Signed-off-by: Konstantin Porotchkin Cc: Stefan Roese Cc: Igal Liberman Cc: Nadav Haklai Applied to u-boot-marvell/master. Thanks, S

Re: [U-Boot] [PATCH 2/3] fix: mvebu: pcie_dw: Allow probing empty PCIe slots

2017-05-09 Thread Stefan Roese
On 28.03.2017 17:36, kos...@marvell.com wrote: From: Konstantin Porotchkin This patch allows probing all PCIe nodes defined in DTS even if there no device connected to such node (no link). Without this fix the driver returns -ENODEV when the PCIe link is down. As result the pci_init function st

Re: [U-Boot] [PATCH] arm: mvebu: Minor fixes in the AXP / A38x SERDES code

2017-05-09 Thread Stefan Roese
On 07.04.2017 12:56, Stefan Roese wrote: From: Uwe Kleine-König - Fix spelling error of SERDES_VERSION - Remove superfluous definition of this macro - Remove unnecessary include of i2c.h Signed-off-by: Uwe Kleine-König Signed-off-by: Stefan Roese Applied to u-boot-marvell/master. Thanks,

[U-Boot] Please pull u-boot-marvell/master

2017-05-09 Thread Stefan Roese
Hi Tom, please pull the first batch of Marvell related patches in this merge window. Thanks, Stefan The following changes since commit 2f92629112a1055ed37f8b05dfcf00c3f1875503: Merge branch 'next' of git://git.denx.de/u-boot-spi (2017-05-08 15:44:52 -0400) are available in the git repositor

Re: [U-Boot] i.MX6: u-boot,dm-pre-reloc block U-Boot

2017-05-09 Thread Jagan Teki
On Tue, May 9, 2017 at 7:49 PM, Lokesh Vutla wrote: > > > On Tuesday 09 May 2017 04:35 PM, Jagan Teki wrote: >> Hi All, >> >> I'm trying to add SPL_OF_CONTROL for i.MX6UL, with usdhc1 and gpio1 >> nodes are marking as "u-boot,dm-pre-reloc" like > > Did you try "u-boot,dm-spl" instead? Yes, no cha

Re: [U-Boot] [PATCHv4 3/3] ARM64: poplar: hi3798cv200: u-boot support for Poplar 96Boards

2017-05-09 Thread Jorge Ramirez
On 05/08/2017 07:29 PM, Tom Rini wrote: On Mon, May 08, 2017 at 06:36:43PM +0200, Jorge Ramirez-Ortiz wrote: This port adds support for: 1) Serial 2) eMMC 3) USB [snip] arch/arm/dts/hi3798cv200.dtsi | 3 + arch/arm/dts/poplar-uboot.dtsi

Re: [U-Boot] i.MX6: u-boot,dm-pre-reloc block U-Boot

2017-05-09 Thread Lokesh Vutla
On Tuesday 09 May 2017 08:37 PM, Jagan Teki wrote: > On Tue, May 9, 2017 at 7:49 PM, Lokesh Vutla wrote: >> >> >> On Tuesday 09 May 2017 04:35 PM, Jagan Teki wrote: >>> Hi All, >>> >>> I'm trying to add SPL_OF_CONTROL for i.MX6UL, with usdhc1 and gpio1 >>> nodes are marking as "u-boot,dm-pre-rel

Re: [U-Boot] Orphan Freescale PowerPC boards

2017-05-09 Thread York Sun
On 05/09/2017 05:36 AM, Tom Rini wrote: On Tue, May 09, 2017 at 09:19:37PM +0900, Masahiro Yamada wrote: Hi York, I see some orphan boards under board/freescale directory. $ find board/freescale -name MAINTAINERS | xargs grep Orphan board/freescale/mpc8555cds/MAINTAINERS:S: Orphan (since 2014-

Re: [U-Boot] Orphan Freescale PowerPC boards

2017-05-09 Thread Tom Rini
On Tue, May 09, 2017 at 08:46:46AM -0700, York Sun wrote: > On 05/09/2017 05:36 AM, Tom Rini wrote: > >On Tue, May 09, 2017 at 09:19:37PM +0900, Masahiro Yamada wrote: > >>Hi York, > >> > >>I see some orphan boards under board/freescale directory. > >> > >>$ find board/freescale -name MAINTAINERS |

Re: [U-Boot] Orphan Freescale PowerPC boards

2017-05-09 Thread York Sun
On 05/09/2017 08:49 AM, Tom Rini wrote: On Tue, May 09, 2017 at 08:46:46AM -0700, York Sun wrote: On 05/09/2017 05:36 AM, Tom Rini wrote: On Tue, May 09, 2017 at 09:19:37PM +0900, Masahiro Yamada wrote: Hi York, I see some orphan boards under board/freescale directory. $ find board/freescale

Re: [U-Boot] [PATCH v7] usb: gadget: avoid variable name clipping in cb_getvar

2017-05-09 Thread Nicolas LE BAYON
Hi, A kind reminder to look at this patch (already reviewed by Marek and acked by Lukasz), and if possible to put it in the next pull list, or the one after is timing is too short. Thanks in advance for your time Best Regards Nicolas -Original Message- From: Nicolas LE BAYON Sent: ma

Re: [U-Boot] i.MX6: u-boot,dm-pre-reloc block U-Boot

2017-05-09 Thread Jagan Teki
On Tue, May 9, 2017 at 8:54 PM, Lokesh Vutla wrote: > > > On Tuesday 09 May 2017 08:37 PM, Jagan Teki wrote: >> On Tue, May 9, 2017 at 7:49 PM, Lokesh Vutla wrote: >>> >>> >>> On Tuesday 09 May 2017 04:35 PM, Jagan Teki wrote: Hi All, I'm trying to add SPL_OF_CONTROL for i.MX6UL, w

Re: [U-Boot] [PATCH v7] usb: gadget: avoid variable name clipping in cb_getvar

2017-05-09 Thread Lukasz Majewski
On Tue, 9 May 2017 15:58:36 + Nicolas LE BAYON wrote: > Hi, > > A kind reminder to look at this patch (already reviewed by Marek and > acked by Lukasz), and if possible to put it in the next pull list, or > the one after is timing is too short. I wanted to add this patch with other ones. Un

Re: [U-Boot] Add ARM errata workaround 852421 and 852423 for Cortex-A17

2017-05-09 Thread Andreas Färber
Hi Nisal, Am 08.05.2017 um 21:43 schrieb Tom Rini: > On Wed, Apr 26, 2017 at 04:18:01PM -0500, Nisal Menuka wrote: > >> ARM errata 852421 and 852423 applies to r1p0, r1p1 and r1p2 >> revisions of Cortex-A17 processors. These workarounds >> exist in Linux kernel and I thought it would be better >>

Re: [U-Boot] [PATCH 10/17] apalis_imx6: Fix unused variable warning

2017-05-09 Thread Max Krummenacher
Hi Tom On Mon, 2017-05-08 at 22:14 -0400, Tom Rini wrote: > The variable vga_pads is never referenced, drop. > > Cc: Max Krummenacher > Signed-off-by: Tom Rini Thanks for fixing this. Acked-by: Max Krummenacher Max > --- > board/toradex/apalis_imx6/apalis_imx6.c | 47 >

Re: [U-Boot] [PATCH] sunxi: Use uart0 as console for Sinlinx SinA33

2017-05-09 Thread Maxime Ripard
On Sun, May 07, 2017 at 03:51:17PM +0800, Chen-Yu Tsai wrote: > On the A33, uart0 is muxed on the PB pins. On SBCs these pins may be > available for use. Such is the case on the Sinlinx SinA33. > > Set CONS_INDEX=1 to use uart0 as the console, matching the device tree. > > Fixes: 7095f8641863 ("s

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

2017-05-09 Thread Simon Glass
Hi Tom, This was my dm/next branch - it includes generic PHY uclass, some SCSI changes and a lot of AT91 driver-mode conversions. The following changes since commit 85ea850976daea57c8045f3569566fad5ce9fe0f: p1_p2_rdb: Fix unused variable warning (2017-05-09 09:11:04 -0400) are available in t

Re: [U-Boot] [PATCH] sun5i: Add A13 Olimex SOM Wifi board support

2017-05-09 Thread Maxime Ripard
Hi Jagan, On Fri, May 05, 2017 at 05:09:39PM +0530, Jagan Teki wrote: > Add support for Olimex A13-512-SOM board, and this particular > design is like A13-SOM-WIFI can mount on-top of A13-SOM. > > Boot Log: > > U-Boot SPL 2017.05-rc2-00063-g2c831b5-dirty (May 05 2017 - 16:55:59) > DRAM:

Re: [U-Boot] [PATCH] sunxi: setup simplefb for Allwinner DE2

2017-05-09 Thread Maxime Ripard
Hi Icenowy, On Tue, May 09, 2017 at 03:23:58PM +0800, Icenowy Zheng wrote: > As the support of EFI boot on Allwinner H3 is broken, we still need to > use simplefb to pass the framebuffer to Linux. > > Add code to setup simplefb for Allwinner DE2 driver. > > Signed-off-by: Icenowy Zheng > --- >

[U-Boot] Please pull u-boot-fdt

2017-05-09 Thread Simon Glass
Hi Tom, Here's the conversion to use the upstream pylibfdt implementation. The following changes since commit 85ea850976daea57c8045f3569566fad5ce9fe0f: p1_p2_rdb: Fix unused variable warning (2017-05-09 09:11:04 -0400) are available in the git repository at: git://git.denx.de/u-boot-fdt.g

Re: [U-Boot] [PATCH 05/12] sunxi: Add selective DRAM type and timing

2017-05-09 Thread André Przywara
On 26/04/17 15:50, Icenowy Zheng wrote: > From: Icenowy Zheng > > DRAM chip varies, and one code cannot satisfy all DRAMs. > > Add options to select a timing set. > > Currently only DDR3-1333 (the original set) is added into it. Confirmed that this just moves the code, no changes in the actual

Re: [U-Boot] [PATCH 11/12] sunxi: add LPDDR3 timing from stock boot0

2017-05-09 Thread André Przywara
On 26/04/17 15:50, Icenowy Zheng wrote: > From: Icenowy Zheng > > As we added LPDDR3 support in the former patch, we need a set of timing > info to really enable it. > > Add the timing info used by stock boot0. When I checked the disassembly/decompile for the Pine64 libdram, I found some more r

Re: [U-Boot] Please pull from u-boot-i2c

2017-05-09 Thread Tom Rini
On Tue, May 09, 2017 at 03:05:01PM +0200, Heiko Schocher wrote: > Hello Tom, > > please pull from u-boot-i2c.git master > > travis build is clean: > https://travis-ci.org/hsdenx/u-boot-i2c/builds/230238863 > > The following changes since commit 2f92629112a1055ed37f8b05dfcf00c3f1875503: > > M

Re: [U-Boot] Please pull u-boot-marvell/master

2017-05-09 Thread Tom Rini
On Tue, May 09, 2017 at 04:45:55PM +0200, Stefan Roese wrote: > Hi Tom, > > please pull the first batch of Marvell related patches > in this merge window. > > Thanks, > Stefan > > The following changes since commit 2f92629112a1055ed37f8b05dfcf00c3f1875503: > > Merge branch 'next' of git://gi

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

2017-05-09 Thread Tom Rini
On Tue, May 09, 2017 at 02:00:25PM -0600, Simon Glass wrote: > Hi Tom, > > This was my dm/next branch - it includes generic PHY uclass, some SCSI > changes and a lot of AT91 driver-mode conversions. > > > The following changes since commit 85ea850976daea57c8045f3569566fad5ce9fe0f: > > p1_p2_

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

2017-05-09 Thread Tom Rini
On Tue, May 09, 2017 at 04:53:36PM -0600, Simon Glass wrote: > Hi Tom, > > Here's the conversion to use the upstream pylibfdt implementation. > > > The following changes since commit 85ea850976daea57c8045f3569566fad5ce9fe0f: > > p1_p2_rdb: Fix unused variable warning (2017-05-09 09:11:04 -04

Re: [U-Boot] [PATCH 5/5 v2] spi: ich: Configure SPI BIOS parameters for Linux upon U-Boot exit

2017-05-09 Thread Bin Meng
On Tue, May 9, 2017 at 7:20 PM, Stefan Roese wrote: > (Added Simon to Cc) Really added Simon :-) > > > On 09.05.2017 13:14, Jagan Teki wrote: >> >> On Mon, Apr 24, 2017 at 1:18 PM, Stefan Roese wrote: >>> >>> This patch adds a remove function to the Intel ICH SPI driver, that will >>> be called

[U-Boot] [PATCH] mmc: atmel_sdhci: Enable the quirk SDHCI_QUIRK_WAIT_SEND_CMD

2017-05-09 Thread Wenyou Yang
To fix the timeout of sending the write command, enable the quirk SDHCI_QUIRK_WAIT_SEND_CMD. Signed-off-by: Wenyou Yang --- drivers/mmc/atmel_sdhci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/atmel_sdhci.c b/drivers/mmc/atmel_sdhci.c index 852255782f..25f45

Re: [U-Boot] [PATCHv4 3/3] ARM64: poplar: hi3798cv200: u-boot support for Poplar 96Boards

2017-05-09 Thread Tom Rini
On Tue, May 09, 2017 at 05:27:12PM +0200, Jorge Ramirez wrote: > On 05/08/2017 07:29 PM, Tom Rini wrote: > >On Mon, May 08, 2017 at 06:36:43PM +0200, Jorge Ramirez-Ortiz wrote: > > > >>This port adds support for: > >> 1) Serial > >> 2) eMMC > >> 3) USB > >[snip] > >> arch/a

Re: [U-Boot] [PATCH 11/12] sunxi: add LPDDR3 timing from stock boot0

2017-05-09 Thread Icenowy Zheng
于 2017年5月10日 GMT+08:00 上午7:44:21, "André Przywara" 写到: >On 26/04/17 15:50, Icenowy Zheng wrote: >> From: Icenowy Zheng >> >> As we added LPDDR3 support in the former patch, we need a set of >timing >> info to really enable it. >> >> Add the timing info used by stock boot0. > >When I checked t

Re: [U-Boot] Marvell Kirkwood Guruplug Server Standard upgrade uboot and standalone app issue

2017-05-09 Thread Kernel Hacker
On 05/06/2017 01:18 AM, Chris Packham wrote: Hi On 6/05/2017 3:57 PM, "Kernel Hacker" > wrote: On 04/25/2017 09:04 PM, Kernel Hacker wrote: I have a Guruplug server standard that I would like to upgrade with a newer version of u-boot. Seria

Re: [U-Boot] [ANN] U-Boot v2017.05 is released

2017-05-09 Thread Heiko Schocher
Hello Tom, Am 08.05.2017 um 16:53 schrieb Tom Rini: Hey all, I've released v2017.05 and it's now live on git and FTP and ACD (along with PGP sig file). As I've previously warned, we've now dropped Blackfin, SPARC and OpenRISC architecture support. They can be brought back by a new, active mai

[U-Boot] [PATCH v2 3/4] sunxi: Move gpio-keys from NanoPi dtsi to dts

2017-05-09 Thread Mylène Josserand
Move the gpio-keys node from the NanoPi dtsi to NanoPi Neo and NanoPi M1 dts files. It allows to have a more generic dtsi file to be able to use it for other NanoPi platforms. Signed-off-by: Mylène Josserand --- arch/arm/dts/sun8i-h3-nanopi-m1.dts | 13 + arch/arm/dts/sun8i-h3-nanop

[U-Boot] [PATCH v2 0/4] sunxi: Add support for NanoPi M1

2017-05-09 Thread Mylène Josserand
Hi everyone, Here is a V2 of the support of the Sun8i NanoPi M1 platform. I created a patch serie instead on a standalone patch because the kernel device tree for Nanopi uses a dtsi file that does not exist in u-boot. This dtsi will be added in this serie. Changes since V1: - Added the Na

[U-Boot] [PATCH v2 2/4] sunxi: Update NanoPi Neo to use dtsi

2017-05-09 Thread Mylène Josserand
Update the NanoPi Neo device tree file to use the NanoPi dtsi. Signed-off-by: Mylène Josserand --- arch/arm/dts/sun8i-h3-nanopi-neo.dts | 79 +--- 1 file changed, 1 insertion(+), 78 deletions(-) diff --git a/arch/arm/dts/sun8i-h3-nanopi-neo.dts b/arch/arm/dts/su

[U-Boot] [PATCH v2 1/4] sunxi: Add support for NanoPi M1

2017-05-09 Thread Mylène Josserand
NanoPi M1 is a board based on Allwinner H3 CPU. This commit adds the support for this platform with: - an include device tree which enables UART, LEDs, GPIO key switch, 1 USB host ports and the SD-card as a dtsi file. - a device tree specific to this board that enables the 2 additional

[U-Boot] [PATCH v2 4/4] sunxi: Update NanoPi Neo Air to use dtsi

2017-05-09 Thread Mylène Josserand
Update the NanoPi Neo Air device tree to use the NanoPi dtsi. Signed-off-by: Mylène Josserand --- arch/arm/dts/sun8i-h3-nanopi-neo-air.dts | 51 +--- 1 file changed, 1 insertion(+), 50 deletions(-) diff --git a/arch/arm/dts/sun8i-h3-nanopi-neo-air.dts b/arch/arm/dts

[U-Boot] USB2.0 device timeout issue.

2017-05-09 Thread Terry Zhou
Hi all, This is Terry from Marvell BSP team in ShangHai China. We got one issue in USB like below: 1) When reading large files(larger than 32M ) from USB2.0 u-disk, two of the disks got the timeout error like below: Marvell>> fatload usb 0:1 0x100 got.mkv 0x200 reading got.mkv EHCI