[U-Boot] Uboot send pull request

2017-09-27 Thread uboot
Hi Tom, Please pull the following patch from u-boot-nds32 into your tree. Thanks! The following changes since commit 6e9b109aa9bcdd094e77da9fb03de8b44da8eb9d: Merge git://git.denx.de/u-boot-usb (2017-09-27 09:39:48 -0400) are available in the git repository at:

Re: [U-Boot] [PATCH V4 11/12] imx: mx6sabresd: enable dm drivers

2017-09-27 Thread Peng Fan
Hi Stefano, > -Original Message- > From: Peng Fan > Sent: Tuesday, September 26, 2017 10:04 AM > To: 'Stefano Babic' > Cc: van.free...@gmail.com; u-boot@lists.denx.de; Fabio Estevam > > Subject: RE: [PATCH V4 11/12] imx: mx6sabresd: enable dm

[U-Boot] [PATCH] usb: storage: Fix overwritten in usb_stor_set_max_xfer_blk()

2017-09-27 Thread Bin Meng
The stored 'blk' value is overwritten to 'size / 512' before it can be used in usb_stor_set_max_xfer_blk(). This is not what we want. In fact, when 'size' exceeds the upper limit (USHRT_MAX * 512), we should simply assign 'size' to the upper limit. Reported-by: Coverity (CID: 167250)

Re: [U-Boot] u-boot-usb/master sandbox unit test failure

2017-09-27 Thread Bin Meng
Hi, On Tue, Sep 26, 2017 at 11:27 PM, Bin Meng wrote: > +Simon, > > On Tue, Sep 26, 2017 at 10:14 PM, Bin Meng wrote: >> On Tue, Sep 26, 2017 at 5:32 PM, Bin Meng wrote: >>> Hi Stephen, >>> >>> On Tue, Sep 26, 2017 at 1:11 AM, Stephen

[U-Boot] [PATCH 1/1] rockchip: provide installation instruction for Firefly-RK3399.

2017-09-27 Thread Heinrich Schuchardt
Unfortunately installing U-Boot on an SD card for the Firefly-RK3399 is not trivial. I could not get U-Boot running with SPL. So I ended up using the Rockchip miniloader. Adding a README hopefully will give other users an easier start. Signed-off-by: Heinrich Schuchardt

Re: [U-Boot] [PATCH v2 15/19] arm: socfpga: Add support to memory allocation in SPL

2017-09-27 Thread Chee, Tien Fong
On Rab, 2017-09-27 at 10:32 +0200, Marek Vasut wrote: > On 09/27/2017 07:43 AM, Chee, Tien Fong wrote: > > > > On Sel, 2017-09-26 at 12:37 +0200, Marek Vasut wrote: > > > > > > On 09/26/2017 07:06 AM, Chee, Tien Fong wrote: > > > > > > > > > > > > On Isn, 2017-09-25 at 11:21 +0200, Marek Vasut

Re: [U-Boot] [PATCH v2 02/19] doc: dtbinding: Description on FPGA RBF properties at Arria 10 FPGA manager

2017-09-27 Thread Chee, Tien Fong
On Rab, 2017-09-27 at 10:29 +0200, Marek Vasut wrote: > On 09/27/2017 05:12 AM, Chee, Tien Fong wrote: > > > > On Sel, 2017-09-26 at 12:30 +0200, Marek Vasut wrote: > > > > > > On 09/26/2017 10:54 AM, Chee, Tien Fong wrote: > > > > > > > > > > > > On Isn, 2017-09-25 at 11:00 +0200, Marek Vasut

Re: [U-Boot] [PATCH v2 09/19] arm: socfpga: Add drivers for programing FPGA from flash

2017-09-27 Thread Chee, Tien Fong
On Rab, 2017-09-27 at 10:30 +0200, Marek Vasut wrote: > On 09/27/2017 08:05 AM, Chee, Tien Fong wrote: > > > > On Sel, 2017-09-26 at 12:32 +0200, Marek Vasut wrote: > > > > > > On 09/26/2017 10:30 AM, Chee, Tien Fong wrote: > > > > > > > > > > > > On Isn, 2017-09-25 at 11:14 +0200, Marek Vasut

Re: [U-Boot] [PATCH v2 16/19] arm: socfpga: Enhance Intel SoCFPGA program header to support Arria 10

2017-09-27 Thread Chee, Tien Fong
On Rab, 2017-09-27 at 10:33 +0200, Marek Vasut wrote: > On 09/27/2017 05:30 AM, Chee, Tien Fong wrote: > > > > On Sel, 2017-09-26 at 12:37 +0200, Marek Vasut wrote: > > > > > > On 09/26/2017 06:42 AM, Chee, Tien Fong wrote: > > > > > > > > > > > > On Isn, 2017-09-25 at 11:23 +0200, Marek Vasut

Re: [U-Boot] [U-Boot, 5/5] dm: usb: storage: Fix broken read/write when both EHCD and xHCD are enabled

2017-09-27 Thread Tom Rini
On Thu, Sep 28, 2017 at 03:55:24AM +0200, Marek Vasut wrote: > On 09/28/2017 03:39 AM, Tom Rini wrote: > > On Thu, Sep 28, 2017 at 09:34:23AM +0800, Bin Meng wrote: > >> Hi Tom, > >> > >> On Thu, Sep 28, 2017 at 12:34 AM, Tom Rini wrote: > >>> On Thu, Sep 07, 2017 at

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

2017-09-27 Thread Tom Rini
On Wed, Sep 27, 2017 at 03:35:26PM +0200, Marek Vasut wrote: > The following changes since commit 9241265f29f3670e380a9859a343ddc14873c46f: > > Merge git://www.denx.de/git/u-boot-cfi-flash (2017-09-26 19:38:04 -0400) > > are available in the git repository at: > >

Re: [U-Boot] [U-Boot, 5/5] dm: usb: storage: Fix broken read/write when both EHCD and xHCD are enabled

2017-09-27 Thread Marek Vasut
On 09/28/2017 03:39 AM, Tom Rini wrote: > On Thu, Sep 28, 2017 at 09:34:23AM +0800, Bin Meng wrote: >> Hi Tom, >> >> On Thu, Sep 28, 2017 at 12:34 AM, Tom Rini wrote: >>> On Thu, Sep 07, 2017 at 06:13:21AM -0700, Bin Meng wrote: >>> When EHCD and xHCD are enabled at the

Re: [U-Boot] [U-Boot, 5/5] dm: usb: storage: Fix broken read/write when both EHCD and xHCD are enabled

2017-09-27 Thread Tom Rini
On Thu, Sep 28, 2017 at 09:34:23AM +0800, Bin Meng wrote: > Hi Tom, > > On Thu, Sep 28, 2017 at 12:34 AM, Tom Rini wrote: > > On Thu, Sep 07, 2017 at 06:13:21AM -0700, Bin Meng wrote: > > > >> When EHCD and xHCD are enabled at the same time, USB storage device > >> driver

Re: [U-Boot] [U-Boot, 5/5] dm: usb: storage: Fix broken read/write when both EHCD and xHCD are enabled

2017-09-27 Thread Bin Meng
Hi Tom, On Thu, Sep 28, 2017 at 12:34 AM, Tom Rini wrote: > On Thu, Sep 07, 2017 at 06:13:21AM -0700, Bin Meng wrote: > >> When EHCD and xHCD are enabled at the same time, USB storage device >> driver will fail to read/write from/to the storage device attached >> to the xHCI

[U-Boot] [PATCH v2] ARM: zynq: Add support for SYZYGY Hub board

2017-09-27 Thread Tom McLeod
Add the Zynq-based SYZYGY Hub board from Opal Kelly. The board contains a Xilinx Zynq xc7z012s SoC, 1GB DDR3 RAM, and supports booting from SD. Signed-off-by: Tom McLeod Cc: Michal Simek CC: Albert Aribaud --- Changes for

Re: [U-Boot] [PATCH] mx7ulp_evk: Move CONFIG_CMD_BOOTZ to Kconfig

2017-09-27 Thread Peng Fan
> -Original Message- > From: Fabio Estevam [mailto:fabio.este...@nxp.com] > Sent: Thursday, September 28, 2017 2:01 AM > To: sba...@denx.de > Cc: Peng Fan ; u-boot@lists.denx.de; Fabio Estevam > > Subject: [PATCH] mx7ulp_evk: Move

[U-Boot] [PATCH 2/2] ARM: rmobile: Enable pinconf

2017-09-27 Thread Marek Vasut
Enable pinconf since it's now implemented and used in the DTs. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- configs/r8a7795_salvator-x_defconfig | 1 + configs/r8a7795_ulcb_defconfig | 1 + configs/r8a7796_salvator-x_defconfig

[U-Boot] [PATCH V2 1/2] pinctrl: rmobile: Add pinconf to Renesas RCar pincontrol driver

2017-09-27 Thread Marek Vasut
Add pinconf support to the PFC driver, so that it can handle DT props bias-disable, bias-pull-up, bias-pull-down, drive-strength and power-source. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- V2: Unlock the pincontrol registers via

Re: [U-Boot] rockchip: rk3036: fix grf macro define

2017-09-27 Thread Philipp Tomsich
> Some of macros definition are not correct, fix them according to TRM. > > Signed-off-by: Kever Yang > Reviewed-by: Philipp Tomsich > --- > > arch/arm/include/asm/arch-rockchip/grf_rk3036.h | 4 ++-- > 1 file changed, 2

Re: [U-Boot] rockchip: rk3399: spl: convert to using BOOT_DEVICE_BOOTROM

2017-09-27 Thread Philipp Tomsich
> Instead of directly calling into the back-to-bootrom code, the RK3399 > common SPL implementation now uses BOOT_DEVICE_BOOTROM to trigger a > transfer back into the bootrom. > > With this factored out, the spl_board_init function can not be > customised for each RK3399 board. > >

Re: [U-Boot] rockchip: clk: fix typo in rk322x clock driver

2017-09-27 Thread Philipp Tomsich
> Fix typo RK322X/RK3036 in rk322x clock driver. > > Signed-off-by: Kever Yang > Reviewed-by: Philipp Tomsich > --- > > drivers/clk/rockchip/clk_rk322x.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Applied to

Re: [U-Boot] rockchip: mkimage: add support for rk3128 soc

2017-09-27 Thread Philipp Tomsich
> Add support for rk3128 package header in mkimage tool. > > Signed-off-by: Kever Yang > Reviewed-by: Philipp Tomsich > --- > > tools/rkcommon.c | 1 + > 1 file changed, 1 insertion(+) > Applied to u-boot-rockchip, thanks!

Re: [U-Boot] rockchip: mkimage: add support for rk3128 soc

2017-09-27 Thread Philipp Tomsich
> Add support for rk3128 package header in mkimage tool. > > Signed-off-by: Kever Yang > --- > > tools/rkcommon.c | 1 + > 1 file changed, 1 insertion(+) > Acked-by: Philipp Tomsich

Re: [U-Boot] rockchip: clk: fix typo in rk322x clock driver

2017-09-27 Thread Philipp Tomsich
> Fix typo RK322X/RK3036 in rk322x clock driver. > > Signed-off-by: Kever Yang > --- > > drivers/clk/rockchip/clk_rk322x.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Acked-by: Philipp Tomsich

Re: [U-Boot] rockchip: mkimage: add support for rk3128 soc

2017-09-27 Thread Philipp Tomsich
> Add support for rk3128 package header in mkimage tool. > > Signed-off-by: Kever Yang > --- > > tools/rkcommon.c | 1 + > 1 file changed, 1 insertion(+) > Reviewed-by: Philipp Tomsich

Re: [U-Boot] rockchip: rk3036: fix grf macro define

2017-09-27 Thread Philipp Tomsich
> Some of macros definition are not correct, fix them according to TRM. > > Signed-off-by: Kever Yang > Reviewed-by: Philipp Tomsich > --- > > arch/arm/include/asm/arch-rockchip/grf_rk3036.h | 4 ++-- > 1 file changed, 2

Re: [U-Boot] rockchip: clk: fix typo in rk322x clock driver

2017-09-27 Thread Philipp Tomsich
> Fix typo RK322X/RK3036 in rk322x clock driver. > > Signed-off-by: Kever Yang > --- > > drivers/clk/rockchip/clk_rk322x.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Reviewed-by: Philipp Tomsich

Re: [U-Boot] rockchip: rk3036: fix grf macro define

2017-09-27 Thread Philipp Tomsich
> Some of macros definition are not correct, fix them according to TRM. > > Signed-off-by: Kever Yang > --- > > arch/arm/include/asm/arch-rockchip/grf_rk3036.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > Reviewed-by: Philipp Tomsich

Re: [U-Boot] [PATCH 1/2] pinctrl: rmobile: Add Renesas RCar pincontrol driver

2017-09-27 Thread Marek Vasut
On 09/25/2017 10:52 PM, Marek Vasut wrote: > Add pinconf support to the PFC driver, so that it can handle DT > props bias-disable, bias-pull-up, bias-pull-down, drive-strength > and power-source. > > Signed-off-by: Marek Vasut > Cc: Nobuhiro Iwamatsu

Re: [U-Boot] [PATCH 1/1] rockchip: rk3399: spl: implicit declaration back_to_bootrom

2017-09-27 Thread Dr. Philipp Tomsich
On 27 Sep 2017, at 21:05, Heinrich Schuchardt wrote: > > Without #include asm/arch-rockchip/bootrom.h we get: > > arch/arm/mach-rockchip/rk3399-board-spl.c:162:2: > warning: implicit declaration of function ‘back_to_bootrom’ > [-Wimplicit-function-declaration] > > for

[U-Boot] Rainbow Screen of Death - Raspberry PI Current u-boot master

2017-09-27 Thread Duncan Hare
I pulled the latest master from git clone git://git.denx.de/u-boot.gitbuilt the raspberry pi imagemake r_3_32b_defconfigmakecopied the u-boot bin the a working sd cardand I get the rainbow screen of death from the pi. When I use a u-boot.bin build from a git clone of u-boot in about Jan 2017,

Re: [U-Boot] [PATCH v2 5/6] ARM: Add a new arch + board for QEMU's 'virt' machine

2017-09-27 Thread Peter Robinson
>> Hi Tuomas, >> >> On Wed, Sep 20, 2017 at 4:18 AM, Tuomas Tynkkynen >> wrote: >>> >>> This board builds an U-Boot binary that is bootable with QEMU's 'virt' >>> machine on ARM. The minimal QEMU command line is: >>> >>> qemu-system-arm -machine virt,highmem=off

Re: [U-Boot] [PATCH] mmc: uniphier-sd: Add vqmmc regulator support

2017-09-27 Thread Marek Vasut
On 09/27/2017 06:13 PM, Masahiro Yamada wrote: > 2017-09-28 0:50 GMT+09:00 Marek Vasut : >> On 09/27/2017 05:19 PM, Masahiro Yamada wrote: >>> 2017-09-26 16:41 GMT+09:00 Jaehoon Chung : Hi Marek, On 09/26/2017 01:47 AM, Marek Vasut

[U-Boot] [PATCH 1/1] rockchip: rk3399: spl: implicit declaration back_to_bootrom

2017-09-27 Thread Heinrich Schuchardt
Without #include asm/arch-rockchip/bootrom.h we get: arch/arm/mach-rockchip/rk3399-board-spl.c:162:2: warning: implicit declaration of function ‘back_to_bootrom’ [-Wimplicit-function-declaration] for CONFIG_ROCKCHIP_BACK_TO_BROM=y Signed-off-by: Heinrich Schuchardt --- v2:

[U-Boot] [PATCH 1/1] rockchip: rk3399: spl: implicit declaration back_to_bootrom

2017-09-27 Thread Heinrich Schuchardt
Without #include asm/arch-rockchip/bootrom.h we get: arch/arm/mach-rockchip/rk3399-board-spl.c:162:2: warning: implicit declaration of function ‘back_to_bootrom’ [-Wimplicit-function-declaration] for CONFIG_ROCKCHIP_BACK_TO_BROM=y Signed-off-by: Heinrich Schuchardt ---

[U-Boot] [PATCH 1/1] evb-rk3399: avoid redefinition of CONFIG_ENV_OFFSET

2017-09-27 Thread Heinrich Schuchardt
CONFIG_ENV_OFFSET is already defined in include/configs/rockchip-common.h For CONFIG_ROCKCHIP_BACK_TO_BROM=y we redefine CONFIG_ENV_OFFSET to an unsuitable value. We were lucky to get a compiler warning. Remove the incorrect redefinition. Signed-off-by: Heinrich Schuchardt

[U-Boot] [PATCH] mx7ulp_evk: Move CONFIG_CMD_BOOTZ to Kconfig

2017-09-27 Thread Fabio Estevam
CONFIG_CMD_BOOTZ symbol does not work in board config file anymore, so fix this by moving it to Kconfig. Signed-off-by: Fabio Estevam --- configs/mx7ulp_evk_defconfig | 1 + include/configs/mx7ulp_evk.h | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git

[U-Boot] [PATCH v2 3/5] rk3288: vyasa: Add TPL support

2017-09-27 Thread Chakra Divi
From: Jagan Teki Since the size of SPL can't be exceeded 0x8000 bytes in RK3288, it is not possible add new SPL features like Falcon mode or etc. So add TPL stage so-that adding new features to SPL is possible. - TPL: DRAM init, clocks - SPL: MMC, falcon, etc

[U-Boot] [PATCH v2 4/5] rk3288: vyasa: Add falcon mode support

2017-09-27 Thread Chakra Divi
From: Jagan Teki Add Falcon mode support in vyasa rk3288 board. Signed-off-by: Jagan Teki Reviewed-by: Philipp Tomsich Acked-by: Philipp Tomsich --- Changes

[U-Boot] [PATCH v2 5/5] rk3288: spl: Add dram_init_banksize

2017-09-27 Thread Chakra Divi
From: Jagan Teki Falcon mode, is updating DDR dt node configuration through spl_fixup_fdt() so add appropriate DDR base and size through dram_init_banksize. Signed-off-by: Jagan Teki Reviewed-by: Philipp Tomsich

[U-Boot] [PATCH v2 1/5] armv7: Move L2CTLR read/write to common

2017-09-27 Thread Chakra Divi
From: Jagan Teki L2CTLR read/write functions are common to armv7 so, move them in to include/asm/armv7.h and use them where ever it need. Cc: Tom Warren Signed-off-by: Jagan Teki --- Changes for v2: - New patch

[U-Boot] [PATCH v2 2/5] armv7: rk3288: Move configure_l2ctlr to common

2017-09-27 Thread Chakra Divi
From: Jagan Teki configure_l2ctlr will be shared between SPL and TPL so move them into asm/arch/sys_proto.h Signed-off-by: Jagan Teki --- Changes for v2: - New patch arch/arm/include/asm/arch-rockchip/sys_proto.h | 23

[U-Boot] [PATCH v2 0/5] rk3288: Falcon mode support

2017-09-27 Thread Chakra Divi
From: Jagan Teki Updated with fixing previous version changes. Hi Philipp, TPL working fine but Falcon mode is not working in latest master - hang at mmc read [1] with CMD 12, hoping that Debug uart not printing further on console. Let me know if you find any,

[U-Boot] [PATCH v3 2/2] wandboard: Add support for the MX6QP variant

2017-09-27 Thread Fabio Estevam
Add support for the latest MX6QP wandboard variant. Based on Richard Hu's work from Technexion's U-Boot tree. Signed-off-by: Fabio Estevam --- Changes since v2: - Also turn on ldb_di0 clock. Able to boot the kernel now. arch/arm/include/asm/arch-mx6/imx-regs.h | 3 +

Re: [U-Boot] imx6qp wandboard getting stuck in U-Boot

2017-09-27 Thread Fabio Estevam
On Wed, Sep 27, 2017 at 1:39 PM, Fabio Estevam wrote: > Then I am able to boot the kernel fine. Will try to find out what is > the missing clock for the imx6qp case. Ok, just sent a v3 that allows me to boot the kernel on a imx6qp wandboard.

[U-Boot] [PATCH v3 1/2] wandboard: Add support for the latest revd1 revision

2017-09-27 Thread Fabio Estevam
Latest wandboard hardware revision is revd1, which brings the following new features: - PFUZE100 PMIC - AR8035 Ethernet PHY - Upgrade Wifi/BT chip to BCM4339/BCM43430. The detection mechanism is to probe the PMIC and when it is found, then the revision of the board is revd1. As the detection is

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

2017-09-27 Thread Masahiro Yamada
Hi Simon, 2017-09-27 4:10 GMT+09:00 Simon Glass : > Hi Masahiro, > > On 20 September 2017 at 11:19, Masahiro Yamada > wrote: >> Hi Simon, >> >> >> 2017-09-20 22:49 GMT+09:00 Simon Glass : >>> Hi Masahiro, >>> >>> On 19

Re: [U-Boot] imx6qp wandboard getting stuck in U-Boot

2017-09-27 Thread Fabio Estevam
On Wed, Sep 27, 2017 at 1:27 PM, Fabio Estevam wrote: > Hi, > > With the two attached U-Boot patches plus the dts one I get the > following on imx6qp wandboard: > > U-Boot SPL 2017.09-37395-g28ca7c0-dirty (Sep 27 2017 - 11:04:41) > Trying to boot from MMC1 > > > U-Boot

Re: [U-Boot] [U-Boot, 5/5] dm: usb: storage: Fix broken read/write when both EHCD and xHCD are enabled

2017-09-27 Thread Tom Rini
On Thu, Sep 07, 2017 at 06:13:21AM -0700, Bin Meng wrote: > When EHCD and xHCD are enabled at the same time, USB storage device > driver will fail to read/write from/to the storage device attached > to the xHCI interface, due to its transfer blocks exceeds the xHCD > driver limitation. > > With

Re: [U-Boot] [PATCH] ARM: zynq: Add support for SYZYGY Hub board

2017-09-27 Thread Tom McLeod
Hi Michal, Thanks for looking at the patch! I'll try to incorporate the changes and get a new patch out soon. As far as the device tree Makefile, do you want me to sort it any particular way or should I just add our board to the end of it? I can see now it appears as though it might be sorted in

[U-Boot] imx6qp wandboard getting stuck in U-Boot

2017-09-27 Thread Fabio Estevam
Hi, With the two attached U-Boot patches plus the dts one I get the following on imx6qp wandboard: U-Boot SPL 2017.09-37395-g28ca7c0-dirty (Sep 27 2017 - 11:04:41) Trying to boot from MMC1 U-Boot 2017.09-37395-g28ca7c0-dirty (Sep 27 2017 - 11:04:41 -0300) CPU: Freescale i.MX6QP rev1.0 at

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

2017-09-27 Thread Masahiro Yamada
Hi Philipp, 2017-09-21 2:51 GMT+09:00 Dr. Philipp Tomsich : > Masahiro, > >> On 20 Sep 2017, at 19:34, Masahiro Yamada >> wrote: >> >> 2017-09-20 23:37 GMT+09:00 Dr. Philipp Tomsich >>

Re: [U-Boot] [PATCH] mx6: toradex: Remove custom CONFIG_SPL_PAD_TO definition

2017-09-27 Thread Stefan Agner
On 25.09.2017 20:20, Fabio Estevam wrote: > From: Fabio Estevam > > CONFIG_SPL_PAD_TO is already defined inside "imx6_spl.h", so there > is no need to redefine it in the board config files. That looks good to me. Reviewed-by: Stefan Agner --

[U-Boot] [PATCH 3/4] usb: ehci-ci: Add a prototype for board_ehci_power()

2017-09-27 Thread Diego Dorta
When compiling with W=1 the following warning is observed: board/freescale/mx6sabresd/mx6sabresd.c:601:5: warning: no previous prototype for ‘board_ehci_power’ [-Wmissing-prototypes] int board_ehci_power(int port, int on) Remove this warning by adding the function prototype into usb/ehci-ci.h

Re: [U-Boot] [PATCH] mmc: uniphier-sd: Add vqmmc regulator support

2017-09-27 Thread Masahiro Yamada
2017-09-28 0:50 GMT+09:00 Marek Vasut : > On 09/27/2017 05:19 PM, Masahiro Yamada wrote: >> 2017-09-26 16:41 GMT+09:00 Jaehoon Chung : >>> Hi Marek, >>> >>> On 09/26/2017 01:47 AM, Marek Vasut wrote: On 09/15/2017 09:10 PM, Marek Vasut wrote:

[U-Boot] [PATCH 2/4] mx6sabresd: Include header file

2017-09-27 Thread Diego Dorta
When compiling with W=1 the following warning is observed: board/freescale/mx6sabresd/mx6sabresd.c:680:5: warning: no previous prototype for ‘board_spi_cs_gpio’ [-Wmissing-prototypes] int board_spi_cs_gpio(unsigned bus, unsigned cs) Remove this warning by including . Signed-off-by: Diego

[U-Boot] [PATCH 4/4] mx6sabresd: Include header file

2017-09-27 Thread Diego Dorta
When compiling with W=1 the following warning is observed: board/freescale/mx6sabresd/mx6sabresd.c:586:5: warning: no previous prototype for ‘board_ehci_hcd_init’ [-Wmissing-prototypes] int board_ehci_hcd_init(int port) Remove this warning by including . Signed-off-by: Diego Dorta

[U-Boot] [PATCH 1/4] mx6: soc: Include header file

2017-09-27 Thread Diego Dorta
When compiling with W=1 the following warning is observed: arch/arm/mach-imx/mx6/soc.c:213:12: warning: no previous prototype for ‘get_board_rev’ [-Wmissing-prototypes] u32 __weak get_board_rev(void) Fix the build warning by including . Signed-off-by: Diego Dorta ---

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

2017-09-27 Thread Tom Rini
On Wed, Sep 27, 2017 at 05:55:31PM +0200, Maxime Ripard wrote: > Hi, > > On Wed, Sep 27, 2017 at 03:45:20PM +, Tom Rini wrote: > > On Wed, Sep 27, 2017 at 05:34:04PM +0200, Maxime Ripard wrote: > > > On Wed, Sep 27, 2017 at 12:33:06PM +, Tom Rini wrote: > > > > On Wed, Sep 27, 2017 at

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

2017-09-27 Thread Maxime Ripard
Hi, On Wed, Sep 27, 2017 at 03:45:20PM +, Tom Rini wrote: > On Wed, Sep 27, 2017 at 05:34:04PM +0200, Maxime Ripard wrote: > > On Wed, Sep 27, 2017 at 12:33:06PM +, Tom Rini wrote: > > > On Wed, Sep 27, 2017 at 12:31:16PM +0200, Maxime Ripard wrote: > > > > Hi Tom, > > > > > > > > Here

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

2017-09-27 Thread Joe Hershberger
On Fri, Sep 22, 2017 at 2:26 AM, 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 >

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

2017-09-27 Thread Joe Hershberger
On Fri, Sep 22, 2017 at 2:26 AM, 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. > >

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

2017-09-27 Thread Tom Rini
On Wed, Sep 27, 2017 at 05:34:04PM +0200, Maxime Ripard wrote: > On Wed, Sep 27, 2017 at 12:33:06PM +, Tom Rini wrote: > > On Wed, Sep 27, 2017 at 12:31:16PM +0200, Maxime Ripard wrote: > > > Hi Tom, > > > > > > Here is a pull request for the sunxi related changes for the next > > > U-Boot

Re: [U-Boot] [PATCH 4/6] net: gmac_rockchip: Define the gmac grf register struct at gmac_rockchip.c

2017-09-27 Thread Joe Hershberger
On Thu, Sep 21, 2017 at 9:17 AM, David Wu wrote: > If we include both the rk3288_grf.h and rv1108_grf.h, there is a > number of compiling error for redefinition. So we define the reg > structs of mac_grf at gmac_rockchip.c. Remove the rk**_grf.h files, > give them own grf

Re: [U-Boot] [PATCH] mmc: uniphier-sd: Add vqmmc regulator support

2017-09-27 Thread Masahiro Yamada
2017-09-26 16:41 GMT+09:00 Jaehoon Chung : > Hi Marek, > > On 09/26/2017 01:47 AM, Marek Vasut wrote: >> On 09/15/2017 09:10 PM, Marek Vasut wrote: >>> Add initial support for setting the vqmmc regulator. Since we do not >>> support 1V8 modes, set the regulator to 3V3 and

Re: [U-Boot] [PATCH] mmc: uniphier-sd: Update the file to match V3 patchset

2017-09-27 Thread Masahiro Yamada
2017-09-27 3:05 GMT+09:00 Marek Vasut : > Old version of the uniphier-sd 64bit IO support patchset V1 was > applied by the maintainer, update the uniphier-sd.c with the > changes from the V3 of the patchset. > > Signed-off-by: Marek Vasut >

Re: [U-Boot] [PATCH 0/5] REVERT Follow the Linux Kernel in building dtc as needed

2017-09-27 Thread Wolfgang Denk
Dear Tom, In message <20170927143112.GT3112@bill-the-cat> you wrote: > > Well, NAK. When you passed the "benevolent dictator" hat over, you > passed it over. I value your input, and I don't lightly over-rule > feedback. So, lets summarize things: These are all technical arguments. You could

[U-Boot] ClearFog base USB keyboard

2017-09-27 Thread Влад Мао
I have a ClearfogBase board with armada A388 processor (6828), and trying to setup USB keyboard in U-boot. SOM have 3 USB controllers, described in armada-38x.dtsi: usb@58000 { compatible = "marvell,orion-ehci"; reg = <0x58000 0x500>;

Re: [U-Boot] [PATCH 0/5] REVERT Follow the Linux Kernel in building dtc as needed

2017-09-27 Thread Tom Rini
On Wed, Sep 27, 2017 at 04:15:19PM +0200, Wolfgang Denk wrote: > This patch series reverts some patches that should never have been > merged into mainline at all: > > - They were applied in violation of the well established rule that > ALL patches must be posted on the mailing list before, and

[U-Boot] [PATCH 1/5] Revert "tools/mkimage: Make the path to the dtc binary that mkimage calls configurable"

2017-09-27 Thread Wolfgang Denk
This reverts commit 1f6049e2501b5c35c61435dbc05ba96743202674. This patch is part of a series which has never been reviewed and has not been generally accepted by the community. Signed-off-by: Wolfgang Denk Cc: Albert Aribaud Cc: Alexander Graf

[U-Boot] [PATCH 3/5] Revert "scripts/dtc: Update to upstream version v1.4.4-50-gfe50bd1ecc1d"

2017-09-27 Thread Wolfgang Denk
This reverts commit 2d4c2259930b91fe5e7a2f92db32c03fe640ed60. This patch is part of a series which has never been reviewed and has not been generally accepted by the community. Signed-off-by: Wolfgang Denk Cc: Albert Aribaud Cc: Alexander Graf

[U-Boot] [PATCH 0/5] REVERT Follow the Linux Kernel in building dtc as needed

2017-09-27 Thread Wolfgang Denk
This patch series reverts some patches that should never have been merged into mainline at all: - They were applied in violation of the well established rule that ALL patches must be posted on the mailing list before, and given enough time for review by the community. - Obviously, these

[U-Boot] [PATCH 4/5] Revert "scripts/dtc: Update to upstream version v1.4.4"

2017-09-27 Thread Wolfgang Denk
This reverts commit d6fc90ced42e9fb77185cedfe45d0a2c7ac78508. This patch is part of a series which has never been reviewed and has not been generally accepted by the community. Signed-off-by: Wolfgang Denk Cc: Albert Aribaud Cc: Alexander Graf

[U-Boot] [PATCH 2/5] Revert "dtc: Switch to building and using our own dtc unless provided"

2017-09-27 Thread Wolfgang Denk
This reverts commit 36dd5f1b8abcd0aa5f8490b3ef1e4e7ecce2eb8c. This patch is part of a series which has never been reviewed and has not been generally accepted by the community. Signed-off-by: Wolfgang Denk Cc: Albert Aribaud Cc: Alexander Graf

[U-Boot] [PATCH 1/1] sunxi: Fix A20-OLinuXino-MICRO dts for LAN8710

2017-09-27 Thread Stefan Mavrodiev
From revision J the board uses new phy chip LAN8710. Compared with RTL8201, RA17 pin is TXERR. It has pullup which causes phy not to work. To fix this PA17 is muxed with GMAC function. This makes the pin output-low. Signed-off-by: Stefan Mavrodiev ---

Re: [U-Boot] [PATCH 1/1] sunxi: Fix A20-OLinuXino-MICRO dts for LAN8710

2017-09-27 Thread Stefan Mavrodiev
On 09/27/2017 04:19 PM, Maxime Ripard wrote: Hi Stefan, You should also put Jagan Teki as recipients. On Wed, Sep 27, 2017 at 07:19:10AM +, Stefan Mavrodiev wrote: From revision J the board uses new phy chip LAN8710. Compared with RTL8201, RA17 pin is TXERR. It has pullup which causes

[U-Boot] BUG: Environment is in SPI flash does not even compile (at least for Orange PI PC2

2017-09-27 Thread kope
Hi, I'm trying to compile u-boot with Environment in SPI flash (CONFIG_ENV_IS_IN_SPI_FLASH?) for Orange PI PC2. Compilation ends with an error: CC env/sf.o env/sf.c: In function ‘env_sf_save’: env/sf.c:266:6: error: ‘CONFIG_ENV_SECT_SIZE’ undeclared (first use in this function);

[U-Boot] [PATCH v1 2/6] serial: stm32x7: remove stm32f7-usart and stm32h7-usart compatible

2017-09-27 Thread patrice.chotard
From: Patrice Chotard This patch remove the extra compatibility string "st,stm32h7-usart" and "st,stm32f7-usart" to avoid confusion, save some time & space. Signed-off-by: Patrice Chotard Reviewed-by: Vikas Manocha ---

[U-Boot] [PATCH v1 0/6] Update stm32x7 serial driver

2017-09-27 Thread patrice.chotard
From: Patrice Chotard This series update the serial_stm32x7 driver used by both STM32F7 and STM32H7 SoCs : _ clean the code by using BIT and GENMASK macro _ remove useless CLK and OF_CONTROL flags _ add fifo support for H7 _ introduce

[U-Boot] [PATCH v1 5/6] serial: stm32x7: add STM32F4 support

2017-09-27 Thread patrice.chotard
From: Patrice Chotard stm32f4 doesn't support FIFO and OVERRUN feature. The enable bit is not at the same location in CR1 register than for STM32F7 and STM32H7. Signed-off-by: Patrice Chotard --- drivers/serial/Kconfig | 4 ++--

[U-Boot] [PATCH v1 6/6] serial: stm32x7: remove useless CONFIG_CLK and OF_CONTROL flag

2017-09-27 Thread patrice.chotard
From: Patrice Chotard This driver is currently used by STM32F7 and STM32H7 SoCs. As CONFIG_CLK and OF_CONTROL flags are set by default for these 2 SoCs, this flag becomes useless in this driver, so remove it. Signed-off-by: Patrice Chotard ---

[U-Boot] [PATCH v1 3/6] serial: stm32x7: prepare the ground to STM32F4 support

2017-09-27 Thread patrice.chotard
From: Patrice Chotard STM32F4 serial IP is similar to F7 and H7, but registers are not located at the same offset and some feature are only supported by F7 and H7 version. Registers offset must be added for each version and also some flags indicated the supported

[U-Boot] [PATCH v1 4/6] serial: stm32x7: add fifo support for STM32H7

2017-09-27 Thread patrice.chotard
From: Patrice Chotard Add fifo mode support for rx and tx. As only STM32H7 supports this feature, add has_fifo flag to uart configuration to use fifo only when possible. Signed-off-by: Patrice Chotard --- drivers/serial/serial_stm32x7.c | 6

[U-Boot] [PATCH v1 1/6] serial: stm32x7: cleanup code

2017-09-27 Thread patrice.chotard
From: Patrice Chotard Use BIT() macro and GENMASK() macro Signed-off-by: Patrice Chotard Reviewed-by: Vikas Manocha --- drivers/serial/serial_stm32x7.h | 18 +- 1 file changed, 9 insertions(+), 9

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

2017-09-27 Thread Marek Vasut
The following changes since commit 9241265f29f3670e380a9859a343ddc14873c46f: Merge git://www.denx.de/git/u-boot-cfi-flash (2017-09-26 19:38:04 -0400) are available in the git repository at: git://git.denx.de/u-boot-usb.git master for you to fetch changes up to

Re: [U-Boot] [PATCH 1/1] sunxi: Fix A20-OLinuXino-MICRO dts for LAN8710

2017-09-27 Thread Maxime Ripard
Hi Stefan, You should also put Jagan Teki as recipients. On Wed, Sep 27, 2017 at 07:19:10AM +, Stefan Mavrodiev wrote: > From revision J the board uses new phy chip LAN8710. Compared > with RTL8201, RA17 pin is TXERR. It has pullup which causes phy > not to work. To fix this PA17 is muxed

[U-Boot] [PATCH 8/8] rockchip: rk3128: add sdram driver

2017-09-27 Thread Kever Yang
RK3128 support up to 2GB DDR3 sdram, one channel, 32bit data width. This patch is only used for U-Boot, but not for SPL which will comes later, maybe after we merge all the common code into a common file. Signed-off-by: Kever Yang --- drivers/ram/rockchip/Makefile

[U-Boot] [PATCH 7/8] rockchip: rk3128: add defconfig for evb-rk3128

2017-09-27 Thread Kever Yang
Enable board config for evb-rk3128. Serial output and eMMC works in this version. Signed-off-by: Kever Yang --- configs/evb-rk3128_defconfig | 42 ++ 1 file changed, 42 insertions(+) create mode 100644

[U-Boot] [PATCH 6/8] rockchip: rk3128: add evb-rk3128 support

2017-09-27 Thread Kever Yang
evb-rk3128 is an evb from Rockchip based on rk3128 SoC: - 2 USB2.0 Host port; - 1 HDMI port; - 2 10/100M eth port; - 2GB ddr; - 16GB eMMC; - UART to USB debug port; Signed-off-by: Kever Yang --- arch/arm/mach-rockchip/rk3128/Kconfig | 23 +++

[U-Boot] [PATCH 3/8] rockchip: rk3128: add clock driver

2017-09-27 Thread Kever Yang
Add rk3128 clock driver and cru structure definition. Signed-off-by: Kever Yang --- arch/arm/include/asm/arch-rockchip/cru_rk3128.h | 173 arch/arm/mach-rockchip/rk3128/Makefile | 1 + arch/arm/mach-rockchip/rk3128/clk_rk3128.c | 32 +++

[U-Boot] [PATCH 4/8] rockchip: rk3128: add pinctrl driver

2017-09-27 Thread Kever Yang
Add rk3128 pinctrl driver and grf/iomux structure definition. Signed-off-by: Kever Yang --- arch/arm/include/asm/arch-rockchip/grf_rk3128.h | 551 drivers/pinctrl/Kconfig | 10 + drivers/pinctrl/rockchip/Makefile

[U-Boot] [PATCH 2/8] rockchip: rk3128: add soc basic support

2017-09-27 Thread Kever Yang
RK3128 is a SoC from Rockchip with quad-core Cortex-A7 CPU and mali400 GPU. Support Nand flash, eMMC, SD card, USB 2.0 host and device, HDMI/LVDS/MIPI display. Signed-off-by: Kever Yang --- arch/arm/mach-rockchip/Kconfig| 10 ++

[U-Boot] [PATCH 5/8] rockchip: rk3128: add sysreset driver

2017-09-27 Thread Kever Yang
Add rk3128 sysreset driver. Signed-off-by: Kever Yang --- drivers/sysreset/Makefile | 1 + drivers/sysreset/sysreset_rk3128.c | 45 ++ 2 files changed, 46 insertions(+) create mode 100644

[U-Boot] [PATCH 1/8] rockchip: rk3128: add device tree file

2017-09-27 Thread Kever Yang
Add dts binding header for rk3128, files origin from kernel. Signed-off-by: Kever Yang --- arch/arm/dts/Makefile | 1 + arch/arm/dts/rk3128-evb.dts| 77 arch/arm/dts/rk3128.dtsi | 756

[U-Boot] [PATCH 0/8] rockchip: add new SoC support for RK3128

2017-09-27 Thread Kever Yang
RK3128 is a quad-core ARM Cortex-A7 SoC, this patch set add basic support for it, it does not support SPL/TPL now, and the sdram driver only support get dram size from sysreg in U-Boot stage. Most of basic driver like clock, pinctrl, sysreset have been implement, and more drivers like mac and

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

2017-09-27 Thread Tom Rini
On Wed, Sep 27, 2017 at 12:31:16PM +0200, Maxime Ripard wrote: > Hi Tom, > > Here is a pull request for the sunxi related changes for the next > U-Boot version. > > The diffstat is a bit scary, but mostly because of the Kconfig > migration of the USB ethernet related options, which were enabled

Re: [U-Boot] [U-Boot,v4,1/2] rockchip: rk322x: add sdram driver

2017-09-27 Thread Philipp Tomsich
> Add driver for rk322x to support sdram initialize in SPL. > > Signed-off-by: Kever Yang > Acked-by: Philipp Tomsich > Reviewed-by: Philipp Tomsich > --- > > Changes in v4: > - rebase on

Re: [U-Boot] [U-Boot, v4, 2/2] rockchip: dts: rk3229: remove dram channel info

2017-09-27 Thread Philipp Tomsich
> The dram channel info will be auto detect by the driver, > we do not need it. > > Signed-off-by: Kever Yang > --- > > Changes in v4: None > Changes in v3: None > > arch/arm/dts/rk3229-evb.dts | 1 - > 1 file changed, 1 deletion(-) > Applied to u-boot-rockchip,

Re: [U-Boot] [U-Boot, v2, 2/4] rockchip: rk3188: move sdram driver to driver/ram

2017-09-27 Thread Philipp Tomsich
> Since we have CONFIG_RAM framwork and its driver folder, move the driver > into it. > > Signed-off-by: Kever Yang > Acked-by: Philipp Tomsich > Reviewed-by: Philipp Tomsich > --- > >

Re: [U-Boot] [U-Boot, v2, 4/4] rockchip: rk3328: move sdram driver to driver/ram

2017-09-27 Thread Philipp Tomsich
> Since we have CONFIG_RAM framwork and its driver folder, move the driver > into it. > > Signed-off-by: Kever Yang > Acked-by: Philipp Tomsich > Reviewed-by: Philipp Tomsich > --- > >

  1   2   >