[U-Boot] [PATCH 3/9] sunxi: Fix USB PHY control register offset for A83T

2017-09-22 Thread Chen-Yu Tsai
It was recently discovered that the USB PHY control register offset on the A83T is 0x410 like on the A33, not 0x404. Fix it. Fixes: 0c935acb9e5d ("sunxi: usb_phy: Add support for A83T USB PHYs") Signed-off-by: Chen-Yu Tsai --- arch/arm/mach-sunxi/usb_phy.c | 2 +- 1 file changed, 1 insertion(+),

[U-Boot] [PATCH 1/9] sunxi: rename Bananapi M3 dts file name

2017-09-22 Thread Chen-Yu Tsai
The upstream (Linux) device tree file for the Bananapi M3 follows the convention of using the well known brand name, instead of the vendor name, for naming. The file was recently added to upstream in commit 359b5a1e1c2d ("ARM: sun8i: a83t: Add device tree for Sinovoip Bananapi BPI-M3") Rename the

[U-Boot] [PATCH 0/9] sunxi: A83T improvements

2017-09-22 Thread Chen-Yu Tsai
Hi, This series is a bunch of improvements for A83T boards, the Bananapi M3 and Cubietruck Plus in particular: - eMMC is enabled if it wasn't enabled already - EMAC is enabled for Ethernet support - MUSB switched to gadget mode EMAC is not fully tested. The MII and auto-negotiation part lo

[U-Boot] [PATCH 2/9] sunxi: Enable eMMC on Cubietruck Plus

2017-09-22 Thread Chen-Yu Tsai
Set CONFIG_MMC_SUNXI_SLOT_EXTRA=2 to enable the eMMC controller to access eMMC on the board. Signed-off-by: Chen-Yu Tsai --- configs/Cubietruck_plus_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/Cubietruck_plus_defconfig b/configs/Cubietruck_plus_defconfig index 3ec0

[U-Boot] [PATCH 6/9] net: sun8i_emac: Support RX/TX delay chains

2017-09-22 Thread Chen-Yu Tsai
The EMAC syscon has configurable RX/TX delay chains for use with RGMII PHYs. This adds support for configuring them via device tree properties. The property names and format were defined in Linux's dwmac-sun8i binding that was merged at one point. Signed-off-by: Chen-Yu Tsai --- drivers/net/sun

[U-Boot] [PATCH 8/9] sunxi: Enable EMAC on the Cubietruck Plus

2017-09-22 Thread Chen-Yu Tsai
The Cubietruck Plus has an RTL8211E PHY connected to the EMAC using RGMII. The PHY is powered by DLDO4 @ 3.3V, while the I/O pins are powered by DLDO3 @ 2.5V. This patch adds a U-boot specific dtsi file for the board adding an enabled EMAC node, and enables the EMAC driver in the defconfig. The bi

[U-Boot] [PATCH 7/9] net: sun8i_emac: Fix build for non-H3/H5 SoCs

2017-09-22 Thread Chen-Yu Tsai
Only the H3/H5 SoCs have an internal PHY and its related clock and reset controls. Use an #ifdef to guard the internal PHY control code block so it can be built for other SoCs, such as the A83T or A64. Signed-off-by: Chen-Yu Tsai --- drivers/net/sun8i_emac.c | 3 +++ 1 file changed, 3 insertion

[U-Boot] [PATCH 9/9] sunxi: Enable EMAC on the Bananapi M3

2017-09-22 Thread Chen-Yu Tsai
The Bananapi M3 has an RTL8211E PHY connected to the EMAC using RGMII. The PHY is powered by DCDC1 through SW @ 3.3V. This patch adds a U-boot specific dtsi file for the board adding an enabled EMAC node, and enables the EMAC driver in the defconfig. The binding used here is the old revision curre

[U-Boot] [PATCH 5/9] sunxi: Switch MUSB to gadget mode on the Cubietruck Plus

2017-09-22 Thread Chen-Yu Tsai
The Cubietruck Plus has a micro-USB OTG port. It supports both host and gadget mode. Having the OTG port operate in gadget mode is more useful, as we can use it for fastboot or Ethernet over USB. The board has 2 other USB host ports that are supported. These can be used for connecting peripherals.

[U-Boot] [PATCH 4/9] sunxi: Switch MUSB to gadget mode on the Bananapi M3

2017-09-22 Thread Chen-Yu Tsai
The Bananapi M3 has a micro-USB OTG port. It supports both host and gadget mode. Having the OTG port operate in gadget mode is more useful, as we can use it for fastboot or Ethernet over USB. The board has 2 other USB host ports that are supported. These can be used for connecting peripherals. Si

Re: [U-Boot] [PATCH] sun50i: h5: Add NanoPi Neo Plus2 DT initial support

2017-09-22 Thread Maxime Ripard
Hi Antony, On Thu, Sep 21, 2017 at 03:22:17PM +, Antony Antony wrote: > Add initial DT for NanoPi NEO Plus2 by FriendlyARM > - Allwinner quad core H5 Cortex A53 with an ARM Mali-450MP GPU > - 1 GB DDR3 RAM > - 8GB eMMC flash (Samsung KLM8G1WEPD-B031) > - micro SD card slot > - Gigabit Ethernet

[U-Boot] Armada 38x clearfog pci trouble

2017-09-22 Thread Влад Мао
Hello. I have a clearfog base board with PCI-E video card based on SIlicon Motion s750 (InnoDisk EMPV-1201), and i have trouble with u-boot and accessing to this card. I use last u-boot from git, and when i try to read memory from Base address 0 of PCI-E, board resetted. log from board: High spee

[U-Boot] Armada 38x clearfog pci trouble

2017-09-22 Thread Влад Мао
Hello. I have a clearfog base board with PCI-E video card based on SIlicon Motion s750 (InnoDisk EMPV-1201), and i have trouble with u-boot and accessing to this card. I use last u-boot from git, and when i try to read memory from Base address 0 of PCI-E, board resetted. log from board: High spee

[U-Boot] [PATCH 1/1] ARMv8: get new GD address from gd->new_gd directly

2017-09-22 Thread zijun_hu
From: zijun_hu the new GD address is calculated via board data BD currently it require the new GD area locates below BD tightly, so a strict constraint is imposed on memory layout which maybe make special platform unpleasant. fix it by getting new GD address from gd->new_gd directly. Signed-off

[U-Boot] [PATCH] armv8: Apply workaround for USB erratum A-009007 to LS1088A

2017-09-22 Thread Ran Wang
Rx Compliance tests may fail intermittently at high jitter frequencies using default register values. Program register USB_PHY_RX_OVRD_IN_HI in certain sequence to make the Rx compliance test pass. Signed-off-by: Ran Wang --- arch/arm/cpu/armv8/fsl-layerscape/Kconfig | 1 + arch/arm/cpu/armv8/f

Re: [U-Boot] [PATCH v2 3/3] dts: sunxi: add PWM node for sun50i

2017-09-22 Thread Andre Przywara
Hi Vasily, On 22/09/17 05:45, Vasily Khoruzhick wrote: > On Thu, Sep 21, 2017 at 12:27 AM, Maxime Ripard > wrote: >> On Thu, Sep 21, 2017 at 06:07:04AM +, Vasily Khoruzhick wrote: >>> Add PWM definition to sun50i-a64.dtsi - it's compatible with PWM found on H3 >>> >>> Signed-off-by: Vasily Kh

Re: [U-Boot] [PATCH v2 09/14] sunxi: imply USB_GADGET

2017-09-22 Thread Maxime Ripard
Hi, On Fri, Sep 22, 2017 at 03:20:33AM +, Chen-Yu Tsai wrote: > On Wed, Sep 13, 2017 at 3:01 AM, Maxime Ripard > wrote: > > A good number of our boards have USB_GADGET enabled. Imply it so that all > > the boards can benefit from it, and remove some boilerplate from our > > defconfigs. > > >

Re: [U-Boot] [PATCH 2/9] sunxi: Enable eMMC on Cubietruck Plus

2017-09-22 Thread Maxime Ripard
On Fri, Sep 22, 2017 at 07:26:28AM +, Chen-Yu Tsai wrote: > Set CONFIG_MMC_SUNXI_SLOT_EXTRA=2 to enable the eMMC controller to > access eMMC on the board. > > Signed-off-by: Chen-Yu Tsai Applied, thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://f

Re: [U-Boot] [PATCH 1/9] sunxi: rename Bananapi M3 dts file name

2017-09-22 Thread Maxime Ripard
On Fri, Sep 22, 2017 at 07:26:27AM +, Chen-Yu Tsai wrote: > The upstream (Linux) device tree file for the Bananapi M3 follows the > convention of using the well known brand name, instead of the vendor > name, for naming. The file was recently added to upstream in commit > 359b5a1e1c2d ("ARM: su

Re: [U-Boot] [PATCH 1/2] configs: colibri_imx6: don't configure video in spl

2017-09-22 Thread Stefano Babic
On 21/09/2017 18:58, Max Krummenacher wrote: > The functionality is not needed in the SPL. It allows to remove > code conditionally in the spl case in some drivers. > > Signed-off-by: Max Krummenacher > --- > > include/configs/colibri_imx6.h | 2 ++ > 1 file changed, 2 insertions(+) > > diff -

Re: [U-Boot] [PATCH v2] imx: sys_proto: Add a prototype for board_mmc_get_env_dev()

2017-09-22 Thread Stefano Babic
Hi Diego, On 21/09/2017 20:10, Diego Dorta wrote: > When compiling with W=1 the following warning is observed: > > board/freescale/mx6sabresd/mx6sabresd.c:266:5: warning: > no previous prototype for ‘board_mmc_get_env_dev’ > [-Wmissing-prototypes] int board_mmc_get_env_dev(int devno) > > Remove

Re: [U-Boot] [PATCH V4 01/12] scripts: spl: fix typo

2017-09-22 Thread Stefano Babic
On 21/09/2017 04:19, Peng Fan wrote: > For the patchset, Ping.. > I know, this is in my TODO list. I will review them soon. Thanks for patience. Regards, Stefano > Thanks, > Peng. > On Wed, Aug 30, 2017 at 02:14:42PM +0800, Peng Fan wrote: >> Typo fix: CONIFG->CONFIG >> >> Signed-off-by: Peng

[U-Boot] How to bring in support for GnuBee on MediaTek MT7621A

2017-09-22 Thread Niklaus Giger
Hi 10 days ago one of first https://www.crowdsupply.com/gnubee/personal-cloud-1 systems arrived at my home and is now running happily my preferred Linux distribution Debian. I put on a small web page for it under http://gnubee.org/ index.html. I am however not satisfied with the situation on ho

Re: [U-Boot] [PATCH 7/9] net: sun8i_emac: Fix build for non-H3/H5 SoCs

2017-09-22 Thread Maxime Ripard
On Fri, Sep 22, 2017 at 07:26:33AM +, Chen-Yu Tsai wrote: > Only the H3/H5 SoCs have an internal PHY and its related clock and > reset controls. > > Use an #ifdef to guard the internal PHY control code block so it > can be built for other SoCs, such as the A83T or A64. > > Signed-off-by: Chen

Re: [U-Boot] [PATCH 3/9] sunxi: Fix USB PHY control register offset for A83T

2017-09-22 Thread Maxime Ripard
Hi On Fri, Sep 22, 2017 at 07:26:29AM +, Chen-Yu Tsai wrote: > It was recently discovered that the USB PHY control register offset on > the A83T is 0x410 like on the A33, not 0x404. Fix it. > > Fixes: 0c935acb9e5d ("sunxi: usb_phy: Add support for A83T USB PHYs") > Signed-off-by: Chen-Yu Tsai

Re: [U-Boot] [PATCH 6/9] net: sun8i_emac: Support RX/TX delay chains

2017-09-22 Thread Maxime Ripard
On Fri, Sep 22, 2017 at 07:26:32AM +, Chen-Yu Tsai wrote: > The EMAC syscon has configurable RX/TX delay chains for use with RGMII > PHYs. > > This adds support for configuring them via device tree properties. The > property names and format were defined in Linux's dwmac-sun8i binding > that w

Re: [U-Boot] [PATCH 4/9] sunxi: Switch MUSB to gadget mode on the Bananapi M3

2017-09-22 Thread Maxime Ripard
On Fri, Sep 22, 2017 at 07:26:30AM +, Chen-Yu Tsai wrote: > The Bananapi M3 has a micro-USB OTG port. It supports both host and > gadget mode. Having the OTG port operate in gadget mode is more useful, > as we can use it for fastboot or Ethernet over USB. > > The board has 2 other USB host por

Re: [U-Boot] [PATCH 4/9] sunxi: Switch MUSB to gadget mode on the Bananapi M3

2017-09-22 Thread Chen-Yu Tsai
On Fri, Sep 22, 2017 at 4:14 PM, Maxime Ripard wrote: > On Fri, Sep 22, 2017 at 07:26:30AM +, Chen-Yu Tsai wrote: >> The Bananapi M3 has a micro-USB OTG port. It supports both host and >> gadget mode. Having the OTG port operate in gadget mode is more useful, >> as we can use it for fastboot o

Re: [U-Boot] Armada 38x clearfog pci trouble

2017-09-22 Thread Stefan Roese
On 22.09.2017 08:32, Влад Мао wrote: > Hello. I have a clearfog base board with PCI-E video card based on > SIlicon Motion s750 (InnoDisk EMPV-1201), and i have trouble with > u-boot and accessing to this card. > > I use last u-boot from git, and when i try to read memory from Base > address 0 of

Re: [U-Boot] [linux-sunxi] Re: [PATCH v5 1/4] sunxi: change the DE1 video option to CONFIG_VIDEO_SUNXI

2017-09-22 Thread Maxime Ripard
On Fri, Sep 22, 2017 at 06:41:40AM +, icen...@aosc.io wrote: > 在 2017-09-22 03:18,Maxime Ripard 写道: > > On Thu, Sep 21, 2017 at 07:48:20AM +, Icenowy Zheng wrote: > > > > > > > > > 于 2017年9月21日 GMT+08:00 下午3:40:23, Maxime Ripard > > > 写到: > > > >Hi, > > > > > > > >On Wed, Sep 20, 2017 at

Re: [U-Boot] Antwort: Re: QSPI "sf probe ...", "sf read ..." on Altera SoC FPGA

2017-09-22 Thread Clément Péron
Hi, I got also somme issue with my QSPI on CycmoneV and u-boot 2017.07 I cherry-picked commits from Jason Rush : b90ce1c29023abe730d2b4174294bdc09acef3e0 836a0278476be94c95ff084f81c2302fc5c0265c b0eac7e0d1e4817388543b58d30b322d0bac49a8 Also i forgot to put the "u-boot,dm-pre-reloc;" in my device

Re: [U-Boot] Antwort: Re: QSPI "sf probe ...", "sf read ..." on Altera SoC FPGA

2017-09-22 Thread Clément Péron
Sorry these are my local commits you can find them here : https://patchwork.ozlabs.org/patch/765992/ https://patchwork.ozlabs.org/patch/765996/ https://patchwork.ozlabs.org/patch/765997/ https://patchwork.ozlabs.org/patch/765998/ 2017-09-22 14:12 GMT+02:00 Clément Péron : > Hi, > > I got also som

[U-Boot] [PATCH] doc: Fix statements on case sensitivity for regulator prefix

2017-09-22 Thread Felix Brack
The regulator bindings state that regulator prefixes are allowd to be in upper or lower case. However pmic_bind_children from pmic_uclass uses strncmp to compare DT node name against prefix. This comparison is case sensitive hence the regulator driver prefix case matters. Signed-off-by: Felix Brac

Re: [U-Boot] Armada 38x clearfog pci trouble

2017-09-22 Thread Stefan Roese
On 22.09.2017 14:13, Владислав wrote: I try to port sm750fb driver to uboot. I need to access bar0 because its framebuffer memory of video card. After little research i find out pciauto_region_allocate failed for allocation region for bar0: PCI Autoconfig: BAR 0, Mem, size=0x400, No room

[U-Boot] [PATCHv2] fs/fat: Reduce stack usage

2017-09-22 Thread Tom Rini
We have limited stack in SPL builds. Drop itrblock and move to malloc/free of itr to move this off of the stack. As part of this fix a double-free issue in fat_size(). Signed-off-by: Tom Rini --- Rework to use malloc/free as moving this to a global overflows some SH targets. fs/fat/fat.c | 14

[U-Boot] [PATCH v2] sun50i: h5: Add NanoPi Neo Plus2 DT initial support

2017-09-22 Thread Antony Antony
Add initial DT for NanoPi NEO Plus2 by FriendlyARM - Allwinner quad core H5 Cortex A53 with an ARM Mali-450MP GPU - 1 GB DDR3 RAM - 8GB eMMC flash (Samsung KLM8G1WEPD-B031) - micro SD card slot - Gigabit Ethernet (external RTL8211E-VB-CG chip) - 802.11 b/g/n WiFi, Bluetooth 4.0 (Ampak AP6212A modul

Re: [U-Boot] [PATCH v2 1/2] ls1088ardb: Enable USB command RDB qspi-boot

2017-09-22 Thread Bin Meng
Hi Ran, On Thu, Sep 21, 2017 at 1:34 PM, Ran Wang wrote: > From: Ashish Kumar > > Signed-off-by: Ashish Kumar > Signed-off-by: Amrita Kumari > Signed-off-by: Ran Wang > --- > Change in v2: > 1.Adjust USB nodes position in dts to keep them sorted in > unit-address. >

Re: [U-Boot] Armada 38x clearfog pci trouble

2017-09-22 Thread Bin Meng
Hi, On Fri, Sep 22, 2017 at 8:32 PM, Stefan Roese wrote: > On 22.09.2017 14:13, Владислав wrote: >> >> I try to port sm750fb driver to uboot. I need to access bar0 because its >> framebuffer memory of video card. >> >> After little research i find out pciauto_region_allocate failed for >> allocat

Re: [U-Boot] [PATCH 06/13] log: Add an implemention of logging

2017-09-22 Thread Bin Meng
Hi Simon, On Thu, Sep 21, 2017 at 12:58 PM, Simon Glass wrote: > Hi Bin, > > On 20 September 2017 at 08:41, Bin Meng wrote: >> >> Hi Simon, >> >> On Wed, Sep 20, 2017 at 9:50 PM, Simon Glass wrote: >> > Hi Bin, >> > >> > On 17 September 2017 at 21:45, Bin Meng wrote: >> >> Hi Simon, >> >> >> >

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

2017-09-22 Thread Jaehoon Chung
On 08/21/2017 12:11 AM, Marek Vasut wrote: > 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. So

Re: [U-Boot] [PATCH v2 07/26] mmc: Add a function to dump the mmc capabilities

2017-09-22 Thread Jaehoon Chung
Hi, On 09/21/2017 11:29 PM, Jean-Jacques Hiblot wrote: > This adds a simple helper function to display information (bus width and > mode) based on a capability mask. Useful for debug. I agreed this is useful.. but there is no usage in your patch. How did you use this? and Where does call this fun

Re: [U-Boot] [PATCH v2 13/26] mmc: Enable signal voltage to be selected from mmc core

2017-09-22 Thread Jaehoon Chung
On 09/21/2017 11:30 PM, Jean-Jacques Hiblot wrote: > From: Kishon Vijay Abraham I > > Add a new function *mmc_set_signal_voltage* in mmc core > which can be used during mmc initialization to select the > signal voltage. Platform driver should use the set_ios > callback function to select the sign

Re: [U-Boot] [PATCH v2 23/26] mmc: Retry some MMC cmds on failure

2017-09-22 Thread Jaehoon Chung
On 09/21/2017 11:30 PM, Jean-Jacques Hiblot wrote: > From: Kishon Vijay Abraham I > > With certain SD cards like Kingston 8GB/16GB UHS card, it is seen that > MMC_CMD_ALL_SEND_CID cmd fails on first attempt, but succeeds > subsequently. Therefore, retry MMC_CMD_ALL_SEND_CID cmd a few time > as do

Re: [U-Boot] [PATCH v2 26/26] dm: mmc: Add a library function to parse generic dt binding

2017-09-22 Thread Jaehoon Chung
On 09/21/2017 11:30 PM, Jean-Jacques Hiblot wrote: > From: Kishon Vijay Abraham I > > Add a new function to parse host controller dt node and > set mmc_config. This function can be used by mmc controller > drivers to set the generic mmc_config. > This function can be extended to set other UHS mod

Re: [U-Boot] [PATCH v2 24/26] mmc: use the right voltage level for MMC DDR and HS200 modes

2017-09-22 Thread Jaehoon Chung
On 09/21/2017 11:30 PM, Jean-Jacques Hiblot wrote: > HS200 only supports 1.2v and 1.8v signal voltages. DDR52 supports 3.3v/1.8v > or 1.2v signal voltages. > Select the lowest voltage available when using those modes. > > Signed-off-by: Jean-Jacques Hiblot > --- > drivers/mmc/mmc.c | 68 > +

Re: [U-Boot] [PATCH] drivers: pci: imx: add imx_pcie_remove function

2017-09-22 Thread ELSOFT AG
Hello Does the code below really work? On my custom MX6Q board, the code hangs on the read of the "PCIE_PL_PFLR". Please note that this code sequence is not entered the first time after a power up; I have to execute a U-Boot reset to actually trigger the hang. Any ideas what is going wrong? Whi

Re: [U-Boot] [PATCH v3 0/2] power: Add a driver to handle the PBIAS cell of the TI SOCs

2017-09-22 Thread Jaehoon Chung
On 09/22/2017 12:03 AM, Jean-Jacques Hiblot wrote: > In the TI SOCs a PBIAS cell exists to provide a bias voltage to the MMC1 > IO cells. Without this bias voltage these I/O cells can not function > properly. This bias voltage is either 1.8v or 3.0v. > > The first patch adds 2 functions to the DM

Re: [U-Boot] [U-Boot, 1/5] pci: xilinx: Fix doc comments on config space accessors

2017-09-22 Thread Tom Rini
On Fri, Sep 01, 2017 at 05:25:58PM +0300, Tuomas Tynkkynen wrote: > These take the 'struct udevice *' as an argument, not the > 'struct xilinx_pcie *` which is a local variable. Fix the comments to > match the code. > > Signed-off-by: Tuomas Tynkkynen > Reviewed-by: Bin Meng Applied to u-boot/

Re: [U-Boot] Uboot send pull request

2017-09-22 Thread Tom Rini
On Thu, Sep 21, 2017 at 10:45:08AM +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 e884656c2c0b2406b9bf99ea76f5a8c75128a331: > > Merge git://www.denx.de/git/u-boot-imx (2017-0

Re: [U-Boot] [U-Boot, 5/5] pci: Remove unnecessary 'default n' from Kconfig

2017-09-22 Thread Tom Rini
On Fri, Sep 01, 2017 at 05:26:02PM +0300, Tuomas Tynkkynen wrote: > 'default n' is the default anyway so it doesn't need to be specified > explicitly, and the rest of the file doesn't specify it either anywhere. > Drop it. > > Signed-off-by: Tuomas Tynkkynen > Reviewed-by: Bin Meng Applied to

Re: [U-Boot] [U-Boot, v10, 02/10] ARM: dts: stih410-family: Add missing reset_names for mmc1 node

2017-09-22 Thread Tom Rini
On Tue, Sep 05, 2017 at 11:04:19AM +0200, patrice.chot...@st.com wrote: > 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 > Reviewed-by: Simon Glass Applied to u-boot/master

Re: [U-Boot] [U-Boot, v10, 01/10] mmc: sti_sdhci: Rework sti_mmc_core_config()

2017-09-22 Thread Tom Rini
On Tue, Sep 05, 2017 at 11:04:18AM +0200, patrice.chot...@st.com wrote: > 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 > Revi

Re: [U-Boot] [U-Boot, 2/5] pci: xilinx: Remove unused field 'hose' from struct xilinx_pcie

2017-09-22 Thread Tom Rini
On Fri, Sep 01, 2017 at 05:25:59PM +0300, Tuomas Tynkkynen wrote: > This field has never been used as the driver has been DM-based since the > beginning. Drop it. > > Signed-off-by: Tuomas Tynkkynen > Reviewed-by: Bin Meng Applied to u-boot/master, thanks! -- Tom signature.asc Description:

Re: [U-Boot] [U-Boot, 3/5] pci: tegra: Remove unused field 'hose' from struct tegra_pcie

2017-09-22 Thread Tom Rini
On Fri, Sep 01, 2017 at 05:26:00PM +0300, Tuomas Tynkkynen wrote: > This field is no longer used since the DM conversion. Drop it. > > Signed-off-by: Tuomas Tynkkynen > Reviewed-by: Bin Meng Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] [U-Boot,v2,5/9] dm: misc: add stm32 rcc driver

2017-09-22 Thread Tom Rini
On Wed, Sep 13, 2017 at 06:00:08PM +0200, patrice.chot...@st.com wrote: > From: Christophe Kerello > > This patch adds the support of reset and clock control > block (rcc) found on STM32 SoCs. > This driver is similar to a MFD linux driver. > > This driver supports currently STM32H7 only. > STM

Re: [U-Boot] [U-Boot, v2] arm: am33xx: Make pin multiplexing functions optional

2017-09-22 Thread Tom Rini
On Thu, Sep 14, 2017 at 02:37:08PM +0200, Felix Brack wrote: > This patch provides default implementations of the two functions > set_uart_mux_conf and set_mux_conf_regs. Hence boards not using > them do not need to provide their distinct empty definitions. > > Signed-off-by: Felix Brack > Revie

Re: [U-Boot] [U-Boot, v10, 03/10] mmc: sti_sdhci: Use reset framework

2017-09-22 Thread Tom Rini
On Tue, Sep 05, 2017 at 11:04:20AM +0200, patrice.chot...@st.com wrote: > From: Patrice Chotard > > Signed-off-by: Patrice Chotard > Reviewed-by: Jaehoon Chung > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [U-Boot, v10, 05/10] STiH410-B2260: enable USB Host Networking

2017-09-22 Thread Tom Rini
On Tue, Sep 05, 2017 at 11:04:22AM +0200, patrice.chot...@st.com wrote: > From: Patrice Chotard > > Enable USB Host Networking support by enabling Ethernet/USB > adaptors support and by enabling some BOOTP flags > > Signed-off-by: Patrice Chotard > Reviewed-by: Simon Glass Applied to u-boot/

Re: [U-Boot] [U-Boot, v10, 06/10] STiH410-B2260: enable USB, fastboot, reset, PHY related flags

2017-09-22 Thread Tom Rini
On Tue, Sep 05, 2017 at 11:04:23AM +0200, patrice.chot...@st.com wrote: > From: Patrice Chotard > > Signed-off-by: Patrice Chotard > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] [U-Boot, 4/5] pci: layerscape: Remove unused field 'hose' from struct ls_pcie

2017-09-22 Thread Tom Rini
On Fri, Sep 01, 2017 at 05:26:01PM +0300, Tuomas Tynkkynen wrote: > This field is no longer used since the DM conversion. Drop it. > > Signed-off-by: Tuomas Tynkkynen > Reviewed-by: Bin Meng Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] [U-Boot, v2, 6/9] ARM: DTS: stm32: add stm32h743i-disco files

2017-09-22 Thread Tom Rini
On Wed, Sep 13, 2017 at 06:00:09PM +0200, patrice.chot...@st.com wrote: > From: Patrice Chotard > > All these files are imported from linux kernel v4.13 > > Add device tree support for STM32H743 SoC and discovery > board. This board offers : > _ STM32H743XIH6 microcontroller with 2 Mbytes of

Re: [U-Boot] [U-Boot, v10, 10/10] board: STiH410-B2260: add fastboot support

2017-09-22 Thread Tom Rini
On Tue, Sep 05, 2017 at 11:04:27AM +0200, patrice.chot...@st.com wrote: > 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 > Rev

Re: [U-Boot] [U-Boot, v10, 08/10] ARM: dts: STiH410: set DWC3 dual role mode to peripheral

2017-09-22 Thread Tom Rini
On Tue, Sep 05, 2017 at 11:04:25AM +0200, patrice.chot...@st.com wrote: > From: Patrice Chotard > > On STi 96boards, configure by default the micro USB connector > (managed by DWC3 hardware block) in peripheral mode. > This will allow to use fastboot feature. > > Signed-off-by: Patrice Chotard

Re: [U-Boot] [U-Boot, v10, 07/10] usb: dwc3: Add dwc3 glue driver support for STi

2017-09-22 Thread Tom Rini
On Tue, Sep 05, 2017 at 11:04:24AM +0200, patrice.chot...@st.com wrote: > 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

Re: [U-Boot] [U-Boot,v10,04/10] usb: phy: Add STi USB2 PHY

2017-09-22 Thread Tom Rini
On Tue, Sep 05, 2017 at 11:04:21AM +0200, patrice.chot...@st.com wrote: > 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 > Reviewed-by

Re: [U-Boot] [U-Boot,V2] test/py: gpt: make use of infra-structure

2017-09-22 Thread Tom Rini
On Fri, Sep 15, 2017 at 12:19:38PM -0600, Stephen Warren wrote: > From: Stephen Warren > > Make various changes to the GPT test: > > 1) Reference the disk image using an absolute path in all cases. This > allows test/py to operate correctly if it's run from a directory other > than the root of

Re: [U-Boot] [U-Boot,v2,2/9] serial: stm32x7: add STM32H7 support

2017-09-22 Thread Tom Rini
On Wed, Sep 13, 2017 at 06:00:05PM +0200, patrice.chot...@st.com wrote: > From: Patrice Chotard > > STM32F7 and STM32H7 shares the same UART block, add > STM32H7 compatible string. > > Signed-off-by: Patrice Chotard > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom sign

Re: [U-Boot] [U-Boot, v2, 1/9] pinctrl: stm32: add stm32h743-pinctrl compatible

2017-09-22 Thread Tom Rini
On Wed, Sep 13, 2017 at 06:00:04PM +0200, patrice.chot...@st.com wrote: > From: Patrice Chotard > > STM32H7 SoCs uses the same pinctrl block as found into > STM32F7 SoCs > > Signed-off-by: Patrice Chotard > Reviewed-by: Simon Glass > Reviewed-by: Vikas Manocha Applied to u-boot/master, than

Re: [U-Boot] [U-Boot, v10, 09/10] ARM: dts: STiH410: update ehci and ohci compatible

2017-09-22 Thread Tom Rini
On Tue, Sep 05, 2017 at 11:04:26AM +0200, patrice.chot...@st.com wrote: > From: Patrice Chotard > > Update ehci and ohci node's compatible string in order to > use ehci-generic and ohci-generic drivers. > > Signed-off-by: Patrice Chotard > Reviewed-by: Simon Glass Applied to u-boot/master, t

Re: [U-Boot] Please pull u-boot-video/next

2017-09-22 Thread Tom Rini
On Fri, Sep 15, 2017 at 03:12:28PM +0200, Anatolij Gustschin wrote: > Hi Tom, > > please pull some new video patches. The full build passed: > > https://travis-ci.org/vdsao/u-boot-video/builds/275799369 > > The following changes since commit c98ac3487e413c71e5d36322ef3324b21c6f60f9: > > Pr

Re: [U-Boot] [U-Boot, v2, 3/9] dm: clk: add clk driver support for stm32h7 SoCs

2017-09-22 Thread Tom Rini
On Wed, Sep 13, 2017 at 06:00:06PM +0200, patrice.chot...@st.com wrote: > From: Patrice Chotard > > This driver implements basic clock setup, only clock gating > is implemented. > > This driver doesn't implement .of_match as it's binded > by MFD RCC driver. > > Files include/dt-bindings/clock/

Re: [U-Boot] [U-Boot, v2, 9/9] board: Add stm32h7 SoC, discovery and evaluation boards support

2017-09-22 Thread Tom Rini
On Wed, Sep 13, 2017 at 06:00:12PM +0200, patrice.chot...@st.com wrote: > From: Patrice Chotard > > This patch adds support for stm32h7 soc family, stm32h743 > discovery and evaluation boards. > > For more information about STM32H7 series, please visit: > http://www.st.com/en/microcontrollers/s

Re: [U-Boot] Makefile: Update minimum dtc version to 1.4.3

2017-09-22 Thread Tom Rini
On Fri, Sep 15, 2017 at 01:15:25PM -0400, Tom Rini wrote: > With support for overlays and calling the -@ flag to dtc we need to have > at least 1.4.3 available now. > > Cc: Simon Glass > Reported-by: Stephen Warren > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signatu

Re: [U-Boot] [U-Boot, v2] net/tftp: fix build if CMD_BOOTEFI is not set

2017-09-22 Thread Tom Rini
On Fri, Sep 15, 2017 at 10:16:48PM +0200, Jörg Krause wrote: > Fixes: > net/tftp.c:811: undefined reference to `efi_set_bootdev' > > Signed-off-by: Jörg Krause > Reviewed-by: Bin Meng Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] spl: stash bootstage info before jump to next stage

2017-09-22 Thread Tom Rini
On Wed, Sep 13, 2017 at 06:24:24PM +0800, Kever Yang wrote: > Since we may jump to next stage like ATF/OP-TEE instead of U-Boot, > we need to stash the bootstage info before it. > > Signed-off-by: Kever Yang > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] [U-Boot,v2,4/9] dm: reset: add stm32 reset driver

2017-09-22 Thread Tom Rini
On Wed, Sep 13, 2017 at 06:00:07PM +0200, patrice.chot...@st.com wrote: > From: Patrice Chotard > > This driver is adapted from linux drivers/reset/reset-stm32.c > It's compatible with STM32 F4/F7/H7 SoCs. > > This driver doesn't implement .of_match as it's binded > by MFD RCC driver. > > To a

Re: [U-Boot] [U-Boot, v2, 7/9] ARM: DTS: stm32: add stm32h743i-eval files

2017-09-22 Thread Tom Rini
On Wed, Sep 13, 2017 at 06:00:10PM +0200, patrice.chot...@st.com wrote: > From: Patrice Chotard > > This file is imported from linux kernel v4.13 > > Add device tree support for STM32H743 evaluation board. > This board offers : > _ STM32H743XIH6 microcontroller with 2 Mbytes of > Flash me

Re: [U-Boot] [PATCHv2] fs/fat: Reduce stack usage

2017-09-22 Thread Tom Rini
On Fri, Sep 22, 2017 at 09:02:09AM -0400, Tom Rini wrote: > We have limited stack in SPL builds. Drop itrblock and move to > malloc/free of itr to move this off of the stack. As part of this fix a > double-free issue in fat_size(). > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks!

Re: [U-Boot] Travis-CI: Checkout only v1.4.3 of dtc

2017-09-22 Thread Tom Rini
On Sun, Sep 17, 2017 at 09:42:25AM -0400, Tom Rini wrote: > Our minimum DTC version is 1.4.3, so check that out. > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing l

Re: [U-Boot] [linux-sunxi] Re: [PATCH v5 1/4] sunxi: change the DE1 video option to CONFIG_VIDEO_SUNXI

2017-09-22 Thread icenowy
在 2017-09-22 19:57,Maxime Ripard 写道: On Fri, Sep 22, 2017 at 06:41:40AM +, icen...@aosc.io wrote: 在 2017-09-22 03:18,Maxime Ripard 写道: > On Thu, Sep 21, 2017 at 07:48:20AM +, Icenowy Zheng wrote: > > > > > > 于 2017年9月21日 GMT+08:00 下午3:40:23, Maxime Ripard > > 写到: > > >Hi, > > > > > >On

Re: [U-Boot] [PATCH v2 0/5] mmc: omap_hsmmc: Add support for ADMA

2017-09-22 Thread Jaehoon Chung
On 09/21/2017 11:51 PM, Jean-Jacques Hiblot wrote: > This series enables the ADMA present in some OMAP SOCs. > On a DRA7 the performances when reading from the eMMC go from 18MB/s > to 43MB/s. > Also while were at it, fix some incorrect bit operations > > This series applies on top of the series

Re: [U-Boot] [U-Boot, v2] spl: Fix compiling warning on gunzip argument

2017-09-22 Thread Tom Rini
On Fri, Sep 15, 2017 at 08:21:13AM -0700, York Sun wrote: > common/spl/spl_fit.c:201:12: warning: passing argument 4 of ‘gunzip’ > from incompatible pointer type [-Wincompatible-pointer-types] >src, &length)) > > Signed-off-by: York Sun > Reported-by: Heinrich Schuchardt > CC: Jean-Jacq

Re: [U-Boot] [U-Boot, v2, 8/9] ARM: DTS: stm32: adapt stm32h7 dts files for U-boot

2017-09-22 Thread Tom Rini
On Wed, Sep 13, 2017 at 06:00:11PM +0200, patrice.chot...@st.com wrote: > From: Patrice Chotard > > This patch adapts stm32h743 disco and eval dts files to match > with U-boot requirements or add features wich are not yet > upstreamed on kernel side : > > _ Add RCC clock driver node and update

Re: [U-Boot] [PATCH 4/9] sunxi: Switch MUSB to gadget mode on the Bananapi M3

2017-09-22 Thread Maxime Ripard
On Fri, Sep 22, 2017 at 11:20:10AM +, Chen-Yu Tsai wrote: > On Fri, Sep 22, 2017 at 4:14 PM, Maxime Ripard > wrote: > > On Fri, Sep 22, 2017 at 07:26:30AM +, Chen-Yu Tsai wrote: > >> The Bananapi M3 has a micro-USB OTG port. It supports both host and > >> gadget mode. Having the OTG port o

Re: [U-Boot] [PATCH v2 00/26] mmc: Add support for HS200 and UHS modes

2017-09-22 Thread Jaehoon Chung
Dear JJ, On 09/21/2017 11:29 PM, Jean-Jacques Hiblot wrote: > This series brings support for HS200 and UHS modes to the mmc core. > It has been tested with the hsmmc driver on several platforms (DRA7, > AM57x, AM437x, beaglebone black, Atmel SAMA5D3 xplained). Some modifications > are required in

Re: [U-Boot] [RESEND PATCH 5/5] sunxi: video: add LCD support to DE2 driver

2017-09-22 Thread Maxime Ripard
On Fri, Sep 22, 2017 at 04:42:24AM +, Vasily Khoruzhick wrote: > >> >>> + lcdc_init(lcdc); > >> >>> + sunxi_lcdc_config_pinmux(); > >> >> > >> >> This is already handled in sunxi_lcdc_tcon0_mode_set, why duplicate > >> >> it? > >> > > >> > Because the one that sunxi_lcdc_tcon0_mode_set(

[U-Boot] Ambiguous regulator node name prefixes

2017-09-22 Thread Felix Brack
Hello, I'm working on a DM and DT compatible driver for the TI TPS65910 PMIC. The regulators for this PMIC are defined in arch/arm/dts/tps65910.dtsi and named 'regulator@0' through 'regulator@13'. Using for example the prefix 'regulator@1' in pmic_child_info[] will match to 'regualtor@1' and 'regu

[U-Boot] [PATCH] imx: Include header file

2017-09-22 Thread Diego Dorta
When building with W=1 errors like the one below is seen: board/freescale/mx6sabresd/mx6sabresd.c:546:5: warning: no previous prototype for ‘overwrite_console’ [-Wmissing-prototypes] int overwrite_console(void) Fix the build warnings by including . Signed-off-by: Diego Dorta --- board/advantec

Re: [U-Boot] Armada 38x clearfog pci trouble

2017-09-22 Thread Stefan Roese
Hi Bin, On 22.09.2017 15:33, Bin Meng wrote: On Fri, Sep 22, 2017 at 8:32 PM, Stefan Roese wrote: On 22.09.2017 14:13, Владислав wrote: I try to port sm750fb driver to uboot. I need to access bar0 because its framebuffer memory of video card. After little research i find out pciauto_region_

Re: [U-Boot] [PATCH v2] sun50i: h5: Add NanoPi Neo Plus2 DT initial support

2017-09-22 Thread Maxime Ripard
Hi Antony, On Fri, Sep 22, 2017 at 01:09:05PM +, Antony Antony wrote: > +&mmc0 { > + compatible = "allwinner,sun50i-h5-mmc", > + "allwinner,sun50i-a64-mmc"; Sorry for missing that out earlier, but why do you need to override the compatible here? Is there something missin

[U-Boot] [PATCH v2 0/3] STiH410-B2260: update environment/configuration settings

2017-09-22 Thread patrice.chotard
From: Patrice Chotard Update the CONFIG_EXTRA_ENV_SETTINGS, BOOT_TARGET_DEVICES and CONFIG_BOOTARGS Fix SDRAM size v2: rebase on v2017.09 Lee Jones (1): board: STiH410-B2260: set ramdisk_addr_r to 0x4800 Nicolas Le Bayon (1): board: STiH410-B2260: fix sdram size Patrice Chotard (1):

[U-Boot] [PATCH v2 1/3] board: STiH410-B2260: update environment variable

2017-09-22 Thread patrice.chotard
From: Patrice Chotard Update environment variable by updating: _ BOOT_TARGET_DEVICE _ CONFIGS_BOOTARGS _ kernel_addr_r, fdtfile, fdt_addr_r, scriptaddr, fdt_high, intird_high Signed-off-by: Patrice Chotard --- v2: rebase on v2017.09 configs/stih410-b2260_defconfig | 2 +- include/configs

[U-Boot] [PATCH v2 2/3] board: STiH410-B2260: fix sdram size

2017-09-22 Thread patrice.chotard
From: Nicolas Le Bayon 32MB are reserved for Trusted Zone purpose Signed-off-by: Nicolas Le Bayon --- v2: rebase on v2017.09 include/configs/stih410-b2260.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/stih410-b2260.h b/include/configs/stih410-b2260.h i

[U-Boot] [PATCH v2 3/3] board: STiH410-B2260: set ramdisk_addr_r to 0x48000000

2017-09-22 Thread patrice.chotard
From: Lee Jones Add missing ramdisk_addr_r param and set it to 0x4800 Signed-off-by: Lee Jones --- v2: rebase on v2017.09 include/configs/stih410-b2260.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/stih410-b2260.h b/include/configs/stih410-b2260.h index fc11f3c..9

Re: [U-Boot] [RESEND PATCH 5/5] sunxi: video: add LCD support to DE2 driver

2017-09-22 Thread Vasily Khoruzhick
After discussing it with Maxime in IRC I decided to wait till pinctrl driver for sunxi is ready. Please kindly disregard this series. Regards, Vasily On Fri, Sep 22, 2017 at 7:44 AM, Maxime Ripard wrote: > On Fri, Sep 22, 2017 at 04:42:24AM +, Vasily Khoruzhick wrote: >> >> >>> + lcdc_i

[U-Boot] [PATCH] ARM: MV_EBU: Increase size of PCIe default mapping

2017-09-22 Thread VlaoMao
--- drivers/pci/pci_mvebu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/pci/pci_mvebu.c b/drivers/pci/pci_mvebu.c index da0aa29865..076a63f210 100644 --- a/drivers/pci/pci_mvebu.c +++ b/drivers/pci/pci_mvebu.c @@ -82,11 +82,11 @@ struct mvebu_pcie { /* * MV

Re: [U-Boot] setjmp/longjmp prototype in U-Boot

2017-09-22 Thread Alexander Graf
Hi Philipp, On 09/21/2017 10:57 AM, Dr. Philipp Tomsich wrote: Simon & Alexander, It appears our setjmp/longjmp prototypes and implementations are in non-compliance with current C-standards (I checked against both C99 and C2011). U-Boot defines setjmp as: int setjmp(struct jmp_buf_data *j

[U-Boot] [PATCH] ARM: mvebu: handle unused DRAM banks with ECC enabled

2017-09-22 Thread Chris Packham
dram_ecc_scrubbing() had code to skip unused DRAM banks but it would not work because mvebu_sdram_bs() returns 0 and the code was subtracting 1 before checking the size. Remove the -1 from the bank size and the +1 from the total which will skip unused banks and still calculate the correct size. Put

Re: [U-Boot] [U-Boot,v10,04/10] usb: phy: Add STi USB2 PHY

2017-09-22 Thread Marek Vasut
On 09/22/2017 04:18 PM, Tom Rini wrote: > On Tue, Sep 05, 2017 at 11:04:21AM +0200, patrice.chot...@st.com wrote: > >> 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. >>

Re: [U-Boot] [PATCH] drivers: pci: imx: add imx_pcie_remove function

2017-09-22 Thread Marek Vasut
On 09/22/2017 04:00 PM, David Müller (ELSOFT AG) wrote: > Hello > > Does the code below really work? > > On my custom MX6Q board, the code hangs on the read of the > "PCIE_PL_PFLR". Please note that this code sequence is not entered the > first time after a power up; I have to execute a U-Boot re

  1   2   >