[U-Boot] [PATCH] ARM64: zynqmp: Wire up both USBs available on ZynqMP

2016-08-15 Thread Michal Simek
The second USB wasn't enabled. This patch fixes it. Signed-off-by: Michal Simek --- board/xilinx/zynqmp/zynqmp.c| 20 ++-- include/configs/xilinx_zynqmp.h | 2 +- 2 files changed, 19 insertions(+), 3 deletions(-) diff --git

Re: [U-Boot] [PATCH] image-fit: fix fit_image_load() OS check

2016-08-15 Thread Andreas Bießmann
Hi Michal, On 2016-08-15 08:41, Michal Simek wrote: On 14.8.2016 20:31, Andreas Bießmann wrote: Commit 62afc601883e788f3f22291202d5b2a23c1a8b06 introduced fpga image load via bootm but broke the OS check in fit_image_load(). This commit removes following compiler warning: ---8<--- In file

[U-Boot] [PATCH] driver: spi: add spansion s25fs-s family protect/unprotect

2016-08-15 Thread Yunhui Cui
From: Yunhui Cui In order to support spansion s25fs512s flash protect/unprotect: [1] Fill callbak flash->lock/unlock/is_locked by spansion_lock/ unlock/is_locked. [2] Achieve protect/unprotected by operating sr1nv, cr1nv. Signed-off-by: Yunhui Cui ---

Re: [U-Boot] [PATCH] image-fit: fix fit_image_load() OS check

2016-08-15 Thread Michal Simek
On 14.8.2016 20:31, Andreas Bießmann wrote: > Commit 62afc601883e788f3f22291202d5b2a23c1a8b06 introduced fpga image load via > bootm but broke the OS check in fit_image_load(). > > This commit removes following compiler warning: > > ---8<--- > In file included from tools/common/image-fit.c:1: >

Re: [U-Boot] [PATCH] driver: spi: add spansion s25fs-s family protect/unprotect

2016-08-15 Thread Jagan Teki
On 15 August 2016 at 11:42, Yunhui Cui wrote: > From: Yunhui Cui > > In order to support spansion s25fs512s flash protect/unprotect: > > [1] Fill callbak flash->lock/unlock/is_locked by spansion_lock/ > unlock/is_locked. Try to use existing lock code

Re: [U-Boot] [PATCH 1/2 v3] x86: Add DFI BT700 BayTrail board support

2016-08-15 Thread Stefan Roese
Hi Bin, On 12.08.2016 04:41, Bin Meng wrote: On Fri, Aug 12, 2016 at 9:44 AM, Bin Meng wrote: On Tue, Jul 19, 2016 at 1:51 PM, Stefan Roese wrote: This patch adds support for the DFI BayTrail BT700 QSeven SoM installed on the DFI Q7X-151 baseboard. The

Re: [U-Boot] [PATCH 1/2 v3] x86: Add DFI BT700 BayTrail board support

2016-08-15 Thread Bin Meng
Hi Stefan, On Mon, Aug 15, 2016 at 5:11 PM, Stefan Roese wrote: > Hi Bin, > > > On 12.08.2016 04:41, Bin Meng wrote: >> >> On Fri, Aug 12, 2016 at 9:44 AM, Bin Meng wrote: >>> >>> On Tue, Jul 19, 2016 at 1:51 PM, Stefan Roese wrote:

Re: [U-Boot] [PATCH v3 00/27] spi/sf: Updates on flash detection

2016-08-15 Thread Jagan Teki
Hi Bin, On 12 August 2016 at 23:28, Jagan Teki wrote: > On 12 August 2016 at 04:37, york sun wrote: >> I saw some errors when compiling for arm. Compiling for power is still >> going. > > Can you please try again? Please let me know in case if you

[U-Boot] [PATCH v2 0/5] add pinctrl driver for rk3399

2016-08-15 Thread Kever Yang
This patch set add the pinctrl driver for rk3399 and enable pinctrl for pwm module. Module with pinctrl driver support and with interrupt number and default pinctrl in dts node will get pinctrl initialized when driver probe. Module like pwm which without interrupt number need to call the pinctrl

Re: [U-Boot] [PATCH v2] i2c: intel_i2c: SMBus driver PCI addition (e.g. BayTrail)

2016-08-15 Thread Stefan Roese
Hi Simon, On 10.08.2016 04:59, Simon Glass wrote: On 8 August 2016 at 23:41, Stefan Roese wrote: This patch adds support for the SMBus block read/write functionality. Other protocols like the SMBus quick command need to get added if this is needed. This patch also removed the

[U-Boot] [PATCH v2 1/5] rk3399: syscon: add support for pmugrf

2016-08-15 Thread Kever Yang
pmugrf is a module like grf which contain some of the iomux registers and other registers. Signed-off-by: Kever Yang Acked-by: Simon Glass --- Changes in v2: None arch/arm/include/asm/arch-rockchip/clock.h| 1 +

[U-Boot] dm video question

2016-08-15 Thread Peng Fan
Hi Simon, I am trying to coverting mxsfb.c to support dm. But met the following issue. " mxsfb_lcd_bind: Frame buffer size 200400 Video device 'lcdif@021c8000' cannot allocate frame buffer memory -ensure the device is set up before relocation " I add "u-boot, dm-pre-reloc" in dts as the

[U-Boot] [PATCH 1/2 v4] x86: Add DFI BT700 BayTrail board support

2016-08-15 Thread Stefan Roese
This patch adds support for the DFI BayTrail BT700 QSeven SoM installed on the DFI Q7X-151 baseboard. The baseboard is equipped with the Nuvoton NCT6102D Super IO chip providing the UART as console. Signed-off-by: Stefan Roese Cc: Simon Glass Reviewed-by: Bin

[U-Boot] [PATCH] x86: conga-qeval20-qa3: Add missing MAINTERNERS entry

2016-08-15 Thread Stefan Roese
Add entry for the missing internal UART defconfig to the MAINTAINERS file. Signed-off-by: Stefan Roese Cc: Bin Meng CC: Simon Glass --- board/congatec/conga-qeval20-qa3-e3845/MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git

[U-Boot] [PATCH 2/2 v2] x86: Add theadorable-x86-dfi-bt700 board support

2016-08-15 Thread Stefan Roese
This patch adds support for the BayTrail based theadorable-x86-dfi-bt700 board which uses the DFI BT700 BayTrail Qseven SoM on a custom baseboard. The main difference to the DFI baseboard is, that it isn't equipped with a Super IO chip and uses the internal HS SIO UART (memory mapped PCI based) as

Re: [U-Boot] A64 fastboot, faster way to compile/test

2016-08-15 Thread jonsm...@gmail.com
On Sun, Aug 14, 2016 at 9:58 PM, Sergey Kubushyn wrote: > On Sun, 14 Aug 2016, jonsm...@gmail.com wrote: > >> I'm trying out various versions of the A64 u-boot -- Allwinner lichee, >> longsleep, apritzel, etc on the Pine64. I can get all of them up to >> the prompt, but fastboot

Re: [U-Boot] [PATCH 3/6] arm: efi: Add a hello world test program

2016-08-15 Thread Leif Lindholm
On Tue, Aug 09, 2016 at 10:55:31PM +0200, Alexander Graf wrote: > > > > Am 09.08.2016 um 20:16 schrieb Simon Glass : > > > > Hi Bin, > > > >> On 9 August 2016 at 00:50, Bin Meng wrote: > >> Hi Simon, > >> > >>> On Sun, Aug 7, 2016 at 7:23 AM, Simon

Re: [U-Boot] [U-Boot, RFC] vexpress: Check TC2 firmware support before defaulting to nonsec booting

2016-08-15 Thread Jon Medhurst (Tixy)
On Sun, 2016-08-14 at 16:05 -0400, Tom Rini wrote: > On Thu, Jun 23, 2016 at 01:37:32PM +0100, Jon Medhurst (Tixy) wrote: > > > The firmware on TC2 needs to be configured appropriately before booting > > in nonsec mode will work as expected, so test for this and fall back to > > sec mode if

[U-Boot] [PATCH] warp: Fix RAM size runtime detection

2016-08-15 Thread Fabio Estevam
From: Fabio Estevam Since commit a13d3757f7df ("warp: Use imx_ddr_size() for calculating the DDR size") warp board no longer boots. The reason for the breakage is that the warp board is using the DDR configuration from mx6slevk. A fundamental difference between warp and

Re: [U-Boot] UMS - maintain connection

2016-08-15 Thread Lukasz Majewski
Hi John Tobias, > Hello All, > > I am using ums (USB Mass Storage) in u-boot to expose the storage of > my device into my host machine. Everything works okay except when the > host machine wakeup from the sleep - my device got disconnect from > host after it received an resume signal. > > I

[U-Boot] buildman error

2016-08-15 Thread Bin Meng
Hi Simon, When building u-boot-spi/next, I got lots of error messages like below after cloning, however the build seems to be not affected (ie: build is running and the summary statistics is updating on the shell) Exception in thread Thread-32: Traceback (most recent call last): File

Re: [U-Boot] [RFC PATCH] ARM: cache: cp15: Align addresses when initial page_table setup is flushed

2016-08-15 Thread Lukasz Majewski
Hi Fabio, > Hi Lukasz, > > On Wed, Aug 10, 2016 at 5:15 AM, Lukasz Majewski > wrote: > > > I see that I wasn't the only one. > > > > Both patches are identical, Stefan was first :-) > > > > My concern is that, as I've written with comment to my patch, that > > when I was

Re: [U-Boot] [PATCH] Revert "warp: Use imx_ddr_size() for calculating the DDR size"

2016-08-15 Thread Fabio Estevam
Hi Stefano, On Fri, Aug 12, 2016 at 9:49 PM, Fabio Estevam wrote: > Hi Stefano, > > On Fri, Aug 12, 2016 at 6:07 PM, Stefano Babic wrote: > >> Let's say: if there won't be any fix before the release, it is ok to >> revert this. > > Fair enough. I have

Re: [U-Boot] [PATCH] driver: spi: add spansion s25fs-s family protect/unprotect

2016-08-15 Thread Yunhui Cui
On August 15, 2016 4:02 PM, Jagan Teki Wrote: > On 15 August 2016 at 11:42, Yunhui Cui wrote: > > From: Yunhui Cui > > > > In order to support spansion s25fs512s flash protect/unprotect: > > > > [1] Fill callbak flash->lock/unlock/is_locked by

Re: [U-Boot] [PATCH v2] i2c: intel_i2c: SMBus driver PCI addition (e.g. BayTrail)

2016-08-15 Thread Heiko Schocher
Hello Simon, Stefan, Am 16.08.2016 um 06:50 schrieb Simon Glass: Hi Stefan, On 15 August 2016 at 04:02, Stefan Roese wrote: Hi Simon, On 10.08.2016 04:59, Simon Glass wrote: On 8 August 2016 at 23:41, Stefan Roese wrote: This patch adds support for the

Re: [U-Boot] test.py and tftp crc32 test?

2016-08-15 Thread Heiko Schocher
Hello Stephen, Am 16.08.2016 um 00:59 schrieb Stephen Warren: On 08/15/2016 04:49 PM, Tom Rini wrote: Hey guys, Is anyone else running the crc32 tftp tests with test.py? I'm trying to do it locally but even with a 2MiB file it looks like somehow the crc32 is never captured in the output.

Re: [U-Boot] test.py and tftp crc32 test?

2016-08-15 Thread Heiko Schocher
Hello Stephen, Am 16.08.2016 um 05:35 schrieb Stephen Warren: On 08/15/2016 05:20 PM, Tom Rini wrote: On Mon, Aug 15, 2016 at 04:59:02PM -0600, Stephen Warren wrote: On 08/15/2016 04:49 PM, Tom Rini wrote: Hey guys, Is anyone else running the crc32 tftp tests with test.py? I'm trying to do

Re: [U-Boot] [PATCH] x86: conga-qeval20-qa3: Add missing MAINTERNERS entry

2016-08-15 Thread Bin Meng
On Mon, Aug 15, 2016 at 7:51 PM, Stefan Roese wrote: > Add entry for the missing internal UART defconfig to the MAINTAINERS > file. > > Signed-off-by: Stefan Roese > Cc: Bin Meng > CC: Simon Glass > --- >

Re: [U-Boot] [PATCH v4 2/2] serial: bcm283x_mu: Detect disabled serial device

2016-08-15 Thread Stephen Warren
On 08/15/2016 09:48 AM, Alexander Graf wrote: On the raspberry pi, you can disable the serial port to gain dynamic frequency scaling which can get handy at times. However, in such a configuration the serial controller gets its rx queue filled up with zero bytes which then happily get

Re: [U-Boot] test.py and tftp crc32 test?

2016-08-15 Thread Stephen Warren
On 08/15/2016 05:20 PM, Tom Rini wrote: On Mon, Aug 15, 2016 at 04:59:02PM -0600, Stephen Warren wrote: On 08/15/2016 04:49 PM, Tom Rini wrote: Hey guys, Is anyone else running the crc32 tftp tests with test.py? I'm trying to do it locally but even with a 2MiB file it looks like somehow the

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

2016-08-15 Thread Bin Meng
Hi Tom, The following changes since commit 4cc9699be7ffc6072482240f5ba208488abe1090: common: env_nand: Ensure that we have nand_info[0] prior to use (2016-08-15 18:46:41 -0400) are available in the git repository at: git://git.denx.de/u-boot-x86.git master for you to fetch changes up to

Re: [U-Boot] UMS - maintain connection

2016-08-15 Thread John Tobias
Hi Łukasz Majewski, On Mon, Aug 15, 2016 at 6:17 AM, Lukasz Majewski wrote: > Hi John Tobias, > >> Hello All, >> >> I am using ums (USB Mass Storage) in u-boot to expose the storage of >> my device into my host machine. Everything works okay except when the >> host machine

Re: [U-Boot] [PATCH] x86: conga-qeval20-qa3: Add missing MAINTERNERS entry

2016-08-15 Thread Bin Meng
On Tue, Aug 16, 2016 at 11:31 AM, Bin Meng wrote: > On Mon, Aug 15, 2016 at 7:51 PM, Stefan Roese wrote: >> Add entry for the missing internal UART defconfig to the MAINTAINERS >> file. >> >> Signed-off-by: Stefan Roese >> Cc: Bin Meng

Re: [U-Boot] [PATCH 5/5] rk3288: add arch_cpu_init for rk3288

2016-08-15 Thread Simon Glass
On 12 August 2016 at 03:58, Kever Yang wrote: > > We do some SoC level one time setting initialization in > arch_cpu_init. > > Signed-off-by: Kever Yang > --- > > arch/arm/mach-rockchip/rk3288/Makefile | 1 + >

Re: [U-Boot] [PATCH v2] i2c: intel_i2c: SMBus driver PCI addition (e.g. BayTrail)

2016-08-15 Thread Simon Glass
Hi Stefan, On 15 August 2016 at 04:02, Stefan Roese wrote: > Hi Simon, > > > On 10.08.2016 04:59, Simon Glass wrote: >> >> On 8 August 2016 at 23:41, Stefan Roese wrote: >>> >>> This patch adds support for the SMBus block read/write functionality. >>> Other protocols

Re: [U-Boot] [PATCH] clk.h: inline clk_get_by_name()

2016-08-15 Thread Simon Glass
On 15 August 2016 at 13:04, Andreas Bießmann wrote: > > Fix compile warning for non OF_CONTROL builds: > > ---8<--- > In file included from /Volumes/devel/u-boot/drivers/gpio/atmel_pio4.c:10:0: > /Volumes/devel/u-boot/include/clk.h:107:12: warning: 'clk_get_by_name' >

Re: [U-Boot] [PATCH 1/3] net: davinci_emac: Remove useless dcache ops on descriptors

2016-08-15 Thread Joe Hershberger
On Sun, Aug 14, 2016 at 10:03 AM, Karl Beldan wrote: > ATM the rx and tx descriptors are handled as cached memory while they > lie in a dedicated RAM of the SoCs, which is an uncached area. > Removing the said dcache ops, while optimizing the logic and clarifying > the

Re: [U-Boot] [PATCH v2] common: env_nand: Ensure that we have nand_info[0] prior to use

2016-08-15 Thread Scott Wood
On Mon, 2016-08-15 at 11:56 -0400, Tom Rini wrote: > Now that nand_info[] is an array of pointers we need to ensure that it's > been populated prior to use.  We may for example have ENV in NAND set in > configurations that run on boards with and without NAND (where default > env is fine enough,

[U-Boot] [PATCH v3] common: env_nand: Ensure that we have nand_info[0] prior to use

2016-08-15 Thread Tom Rini
Now that nand_info[] is an array of pointers we need to ensure that it's been populated prior to use. We may for example have ENV in NAND set in configurations that run on boards with and without NAND (where default env is fine enough, such as omap3_beagle and beagleboard (NAND) vs beagle xM (no

[U-Boot] [PATCH v4 2/2] serial: bcm283x_mu: Detect disabled serial device

2016-08-15 Thread Alexander Graf
On the raspberry pi, you can disable the serial port to gain dynamic frequency scaling which can get handy at times. However, in such a configuration the serial controller gets its rx queue filled up with zero bytes which then happily get transmitted on to whoever calls getc() today. This patch

Re: [U-Boot] [PATCH 2/3] net: davinci_emac: Round up top buffer boundaries for dcache ops

2016-08-15 Thread Joe Hershberger
On Sun, Aug 14, 2016 at 10:47 AM, Tom Rini wrote: > On Sun, Aug 14, 2016 at 03:03:16PM +, Karl Beldan wrote: > >> check_cache_range() warns that the top boundaries are not properly >> aligned while flushing and invalidating the buffers and make these >> operations to fail.

Re: [U-Boot] [PATCH 2/2] fs/fat: Optimizes memory size with single global variable instead of 3

2016-08-15 Thread Stephen Warren
On 08/13/2016 04:57 PM, Benoît Thébaudeau wrote: Hi, On Tue, Aug 2, 2016 at 9:35 PM, Benoît Thébaudeau wrote: On Tue, Aug 2, 2016 at 8:53 PM, Stephen Warren wrote: On 07/28/2016 12:11 AM, Tien Fong Chee wrote: Single 64KB

Re: [U-Boot] [PATCH 2/3] net: davinci_emac: Round up top buffer boundaries for dcache ops

2016-08-15 Thread Karl Beldan
On Sun, Aug 14, 2016 at 07:43:56PM +, Karl Beldan wrote: > On Sun, Aug 14, 2016 at 11:47:25AM -0400, Tom Rini wrote: > > On Sun, Aug 14, 2016 at 03:03:16PM +, Karl Beldan wrote: > > > > > check_cache_range() warns that the top boundaries are not properly > > > aligned while flushing and

Re: [U-Boot] [PATCH v2 1/2] net: davinci_emac: Round up top tx buffer boundaries for dcache ops

2016-08-15 Thread Joe Hershberger
On Mon, Aug 15, 2016 at 12:23 PM, Karl Beldan wrote: > check_cache_range() warns that the top boundaries are not properly > aligned when flushing or invalidating the buffers and make these > operations fail. > > This gets rid of the remaining warnings: > CACHE: Misaligned

Re: [U-Boot] [PATCH v2 2/2] net: davinci_emac: Invalidate only the received portion of a buffer

2016-08-15 Thread Joe Hershberger
On Mon, Aug 15, 2016 at 12:23 PM, Karl Beldan wrote: > ATM when receiving a packet the whole buffer is invalidated, this change > optimizes this behaviour. > > Signed-off-by: Karl Beldan Acked-by: Joe Hershberger

[U-Boot] [PATCH v2 0/2] davinci emac dcache ops on buffers

2016-08-15 Thread Karl Beldan
Changes from v1: - Prefer dcache_op(base, base + ALIGN(len, PKTALIGN)) to dcache_op(base, round_up(base + len, ARCH_DMA_MINALIGN)) as suggested by Tom and Joe. - In v2_1/2, explicitly align the top tx buffers only since the rx top ones are obviously already properly aligned. Karl

[U-Boot] [PATCH v2 1/2] net: davinci_emac: Round up top tx buffer boundaries for dcache ops

2016-08-15 Thread Karl Beldan
check_cache_range() warns that the top boundaries are not properly aligned when flushing or invalidating the buffers and make these operations fail. This gets rid of the remaining warnings: CACHE: Misaligned operation at range Signed-off-by: Karl Beldan ---

[U-Boot] [PATCH v2 2/2] net: davinci_emac: Invalidate only the received portion of a buffer

2016-08-15 Thread Karl Beldan
ATM when receiving a packet the whole buffer is invalidated, this change optimizes this behaviour. Signed-off-by: Karl Beldan --- drivers/net/davinci_emac.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/net/davinci_emac.c

Re: [U-Boot] [PATCH 3/3] net: davinci_emac: Invalidate only the received portion of a buffer

2016-08-15 Thread Joe Hershberger
On Sun, Aug 14, 2016 at 10:03 AM, Karl Beldan wrote: > ATM when receiving a packet the whole buffer is invalidated, this change > optimizes this behaviour. > > Signed-off-by: Karl Beldan > --- > drivers/net/davinci_emac.c | 12 ++-- > 1

Re: [U-Boot] cmd: net: flush cache cacheline aligned

2016-08-15 Thread Joe Hershberger
On Sun, Aug 14, 2016 at 3:06 PM, Tom Rini wrote: > On Tue, Aug 02, 2016 at 12:20:28AM -0700, Stefan Agner wrote: > >> From: Stefan Agner >> >> Flush loaded data cacheline aligned. This avoids warnings such as >> CACHE: Misaligned operation at range

[U-Boot] [PATCH] common: env_nand: Ensure that we have nand_info[0] prior to use

2016-08-15 Thread Tom Rini
Now that nand_info[] is an array of pointers we need to ensure that it's been populated prior to use. We may for example have ENV in NAND set in configurations that run on boards with and without NAND (where default env is fine enough, such as omap3_beagle and beagleboard (NAND) vs beagle xM (no

Re: [U-Boot] [PATCH] drivers: net: keystone_net: add rgmii link type support when parsing dt

2016-08-15 Thread Joe Hershberger
On Thu, Aug 11, 2016 at 9:34 AM, Mugunthan V N wrote: > Add support to detect RGMII link interface from link-interface > device tree entry. Also rename the existing link type enums so > that it provides meaningful interface like SGMII. > > Signed-off-by: Mugunthan V N

Re: [U-Boot] [PATCH v2] common: env_nand: Ensure that we have nand_info[0] prior to use

2016-08-15 Thread Tom Rini
On Mon, Aug 15, 2016 at 11:48:31AM -0500, Scott Wood wrote: > On Mon, 2016-08-15 at 11:56 -0400, Tom Rini wrote: > > Now that nand_info[] is an array of pointers we need to ensure that it's > > been populated prior to use.  We may for example have ENV in NAND set in > > configurations that run on

Re: [U-Boot] [PATCH] spi: tegra20: fix mode selection logic

2016-08-15 Thread Stephen Warren
On 08/13/2016 09:56 AM, Jagan Teki wrote: On 13 August 2016 at 02:36, Stephen Warren wrote: From: Stephen Warren When the set_mode() function runs, the SPI bus is not active, and hence the clocks to the SPI controller are not running. Any register

[U-Boot] [PATCH v2] common: env_nand: Ensure that we have nand_info[0] prior to use

2016-08-15 Thread Tom Rini
Now that nand_info[] is an array of pointers we need to ensure that it's been populated prior to use. We may for example have ENV in NAND set in configurations that run on boards with and without NAND (where default env is fine enough, such as omap3_beagle and beagleboard (NAND) vs beagle xM (no

Re: [U-Boot] [PATCH v3] common: env_nand: Ensure that we have nand_info[0] prior to use

2016-08-15 Thread Scott Wood
On Mon, 2016-08-15 at 13:02 -0400, Tom Rini wrote: > Now that nand_info[] is an array of pointers we need to ensure that it's > been populated prior to use.  We may for example have ENV in NAND set in > configurations that run on boards with and without NAND (where default > env is fine enough,

Re: [U-Boot] [PATCH v3 00/27] spi/sf: Updates on flash detection

2016-08-15 Thread york sun
Sorry I am out of office this week. York Original Message From: Jagan Teki Sent: Friday, August 12, 2016 11:58 AM To: york sun Subject: Re: [PATCH v3 00/27] spi/sf: Updates on flash detection CC: Tom Rini

[U-Boot] [PATCH] clk.h: inline clk_get_by_name()

2016-08-15 Thread Andreas Bießmann
Fix compile warning for non OF_CONTROL builds: ---8<--- In file included from /Volumes/devel/u-boot/drivers/gpio/atmel_pio4.c:10:0: /Volumes/devel/u-boot/include/clk.h:107:12: warning: 'clk_get_by_name' defined but not used [-Wunused-function] --->8--- Signed-off-by: Andreas Bießmann

[U-Boot] Pull request, u-boot-tegra/master

2016-08-15 Thread Tom Warren
Tom, Please pull u-boot-tegra/master into U-Boot/master. Thanks! All Tegra builds are OK, and Stephen's automated test system reports that all tests pass. The following changes since commit f4b0df1823921ad3bc39820466e9c5201cef6210: Merge git://git.denx.de/u-boot-dm (2016-08-12 16:00:50

Re: [U-Boot] [PATCH 0/5] ARM: Enable CMD_TIME on all TI platforms

2016-08-15 Thread Lokesh Vutla
On Thursday 11 August 2016 07:01 PM, Tom Rini wrote: > On Thu, Aug 11, 2016 at 06:39:12PM +0530, Lokesh Vutla wrote: > >> This series enables CMD_TIME on all TI platforms. >> >> Lokesh Vutla (5): >> configs: am335x: Enable CMD_TIME >> configs: am43xx: Enable CMD_TIME >> configs: am57xx:

Re: [U-Boot] [PATCH v4 2/2] serial: bcm283x_mu: Detect disabled serial device

2016-08-15 Thread Alexander Graf
> Am 16.08.2016 um 05:30 schrieb Stephen Warren : > >> On 08/15/2016 09:48 AM, Alexander Graf wrote: >> On the raspberry pi, you can disable the serial port to gain dynamic >> frequency >> scaling which can get handy at times. >> >> However, in such a configuration the

Re: [U-Boot] Pull request: u-boot-net.git master

2016-08-15 Thread Joe Hershberger
On Mon, Aug 15, 2016 at 3:20 PM, Joe Hershberger wrote: > Hi Tom, > > The following changes since commit f4b0df1823921ad3bc39820466e9c5201cef6210: > > Merge git://git.denx.de/u-boot-dm (2016-08-12 16:00:50 -0400) > > are available in the git repository at: > > >

[U-Boot] Pull request: u-boot-net.git master

2016-08-15 Thread Joe Hershberger
Hi Tom, The following changes since commit f4b0df1823921ad3bc39820466e9c5201cef6210: Merge git://git.denx.de/u-boot-dm (2016-08-12 16:00:50 -0400) are available in the git repository at: git://git.denx.de/u-boot-net.git master for you to fetch changes up to

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

2016-08-15 Thread Tom Rini
On Mon, Aug 15, 2016 at 10:23:29PM +0200, Andreas Bießmann wrote: > Hi Tom, > > please pull the following changes into u-boot/master for v2016.09. It contains > one patch also available in the pull request for u-boot-mmc/master from > Jaehoon Chung. > > Andreas > > The following changes since

Re: [U-Boot] net: mii: Use spatch to update miiphy_register

2016-08-15 Thread Joe Hershberger
Hi Joe, https://patchwork.ozlabs.org/patch/656902/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] net: mii: Fix changes made by spatch

2016-08-15 Thread Joe Hershberger
Hi Joe, https://patchwork.ozlabs.org/patch/656897/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] net: mii: Changes not made by spatch

2016-08-15 Thread Joe Hershberger
Hi Joe, https://patchwork.ozlabs.org/patch/656883/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] net/ethoc: implement MDIO bus and support phylib

2016-08-15 Thread Joe Hershberger
Hi Max, https://patchwork.ozlabs.org/patch/656239/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] scripts: Add a cocci patch for miiphy_register

2016-08-15 Thread Joe Hershberger
Hi Joe, https://patchwork.ozlabs.org/patch/656885/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] Boot failure with a AT91RM9200 based custom board

2016-08-15 Thread Andreas Bießmann
Dear Peter, On 12.08.16 02:24, Peter Kardos wrote: > Greetings, > > I'm looking for a AT91RM9200 specialist as I've got stuck porting board > support from a old u-boot (v1.1.4) to the latest stable (v2016.07)... > > I'm using the at91r9200ek board as a template to get things running... I

[U-Boot] [PULL] u-boot-atmel/master -> u-boot/master

2016-08-15 Thread Andreas Bießmann
Hi Tom, please pull the following changes into u-boot/master for v2016.09. Andreas The following changes since commit f4b0df1823921ad3bc39820466e9c5201cef6210: Merge git://git.denx.de/u-boot-dm (2016-08-12 16:00:50 -0400) are available in the git repository at:

[U-Boot] [PATCH 2/3] net: nfs: Remove separate buffer for default name

2016-08-15 Thread Joe Hershberger
There is no reason to store the default filename in a separate buffer only to immediately copy it to the main name buffer. Just write it there directly and remove the other buffer. Signed-off-by: Joe Hershberger --- net/nfs.c | 4 +--- 1 file changed, 1 insertion(+), 3

[U-Boot] [PATCH 9/9] net: nfs: Simplify rpc_add_credentials()

2016-08-15 Thread Joe Hershberger
We use an empty hostname, so remove all the "processing" of the known-to-be-empty hostname and just write 0's where needed. Signed-off-by: Joe Hershberger --- net/nfs.c | 19 +++ 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/net/nfs.c

[U-Boot] [PATCH 1/9] net: nfs: Share the file handle buffer for v2 / v3

2016-08-15 Thread Joe Hershberger
The v3 handles can be larger than v2, but that doesn't mean we need a separate buffer. Reuse the same (larger) buffer for both. Signed-off-by: Joe Hershberger --- net/nfs.c | 12 +--- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/net/nfs.c

[U-Boot] [PATCH 2/9] net: nfs: Correct the reply data buffer size

2016-08-15 Thread Joe Hershberger
The type of the buffer is uint32_t, but the parameter used to size it is referring to bytes. Divide by the size of the array elements. Strictly speaking, this shouldn't be needed at all... It could just be 1 just like the request. Signed-off-by: Joe Hershberger ---

[U-Boot] [PATCH 4/9] net: nfs: Consolidate handling of NFSv3 attributes

2016-08-15 Thread Joe Hershberger
Instead of repeating the same large snippet for dealing with attributes it should be shared with a helper function. Signed-off-by: Joe Hershberger --- net/nfs.c | 151 -- 1 file changed, 59 insertions(+), 92

[U-Boot] [PATCH 6/9] net: nfs: Use consistent names for the rpc_pkt

2016-08-15 Thread Joe Hershberger
Use the same name throughout the nfs code and use the same member of the union to avoid casts. Signed-off-by: Joe Hershberger --- net/nfs.c | 34 +- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/net/nfs.c b/net/nfs.c

[U-Boot] [PATCH 0/9] Fix up issues with new NFSv3 implementation

2016-08-15 Thread Joe Hershberger
This fixes most of the memory bloat that happened with the addition of NFSv3 Some checkpatch.pl issues are also fixed Refactored some code to better share common snippets These patches depend on the NFSv3 patch by Guillaume GARDET

Re: [U-Boot] net: mii: Clean up legacy glue that is not used

2016-08-15 Thread Joe Hershberger
Hi Joe, https://patchwork.ozlabs.org/patch/656884/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

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

2016-08-15 Thread Andreas Bießmann
Hi Tom, On 15.08.16 22:33, Tom Rini wrote: > On Mon, Aug 15, 2016 at 10:23:29PM +0200, Andreas Bießmann wrote: > >> Hi Tom, >> >> please pull the following changes into u-boot/master for v2016.09. It >> contains >> one patch also available in the pull request for u-boot-mmc/master from >>

Re: [U-Boot] [U-Boot, RESEND, v3] dm: atmel: Add driver model support for the ehci driver

2016-08-15 Thread Andreas Bießmann
Hi Marek, On 15.08.16 22:25, Marek Vasut wrote: > On 08/15/2016 10:16 PM, Andreas Bießmann wrote: >> Dear Wenyou Yang, >> >> Wenyou Yang writes: >>> Add driver model support while retaining the existing legacy code. >>> This allows the driver to support boards that have

Re: [U-Boot] [PATCH v7] dm: at91: Add driver model support for the spi driver

2016-08-15 Thread Andreas Bießmann
Hi Wenyou, On 29.07.16 02:38, Wenyou Yang wrote: > Add driver model support while retaining the existing legacy code. > This allows the driver to support boards that have converted to > driver model as well as those that have not. > > Signed-off-by: Wenyou Yang >

Re: [U-Boot] [U-Boot, RESEND, v3] dm: atmel: Add driver model support for the ehci driver

2016-08-15 Thread Marek Vasut
On 08/15/2016 10:50 PM, Andreas Bießmann wrote: > Hi Marek, > > On 15.08.16 22:25, Marek Vasut wrote: >> On 08/15/2016 10:16 PM, Andreas Bießmann wrote: >>> Dear Wenyou Yang, >>> >>> Wenyou Yang writes: Add driver model support while retaining the existing legacy

Re: [U-Boot] [U-Boot, v7, 1/4] gpio: atmel_pio4: Move PIO4 definitions to head file

2016-08-15 Thread Andreas Bießmann
Dear Wenyou Yang, Wenyou Yang writes: >In order to make these PIO4 definitions shared with AT91 PIO4 >pinctrl driver, move them from the existing gpio driver to the >head file, and rephrase them. > >Signed-off-by: Wenyou Yang >Reviewed-by: Simon

Re: [U-Boot] [U-Boot, v7, 2/4] gpio: atmel_pio4: Rework to support DM & DT

2016-08-15 Thread Andreas Bießmann
Dear Wenyou Yang, Wenyou Yang writes: >Rework the driver to support driver model and device tree, and >support to regard the pio4 pinctrl device as a child of >atmel_pio4 device. > >Signed-off-by: Wenyou Yang >Reviewed-by: Simon Glass

[U-Boot] [PULL] u-boot-atmel/master -> u-boot/master

2016-08-15 Thread Andreas Bießmann
Hi Tom, please pull the following changes into u-boot/master for v2016.09. It contains one patch also available in the pull request for u-boot-mmc/master from Jaehoon Chung. Andreas The following changes since commit f4b0df1823921ad3bc39820466e9c5201cef6210: Merge git://git.denx.de/u-boot-dm

[U-Boot] Pull request: u-boot-net.git master

2016-08-15 Thread Joe Hershberger
Hi Tom, The following changes since commit f4b0df1823921ad3bc39820466e9c5201cef6210: Merge git://git.denx.de/u-boot-dm (2016-08-12 16:00:50 -0400) are available in the git repository at: git://git.denx.de/u-boot-net.git master for you to fetch changes up to

Re: [U-Boot] net/ethoc: don't mix virtual and physical addresses

2016-08-15 Thread Joe Hershberger
Hi Max, https://patchwork.ozlabs.org/patch/656242/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] net/ethoc: add CONFIG_DM_ETH support

2016-08-15 Thread Joe Hershberger
Hi Max, https://patchwork.ozlabs.org/patch/656240/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] net/ethoc: support device tree

2016-08-15 Thread Joe Hershberger
Hi Max, https://patchwork.ozlabs.org/patch/656241/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] net: e1000: Fix the build with driver model and SPI EEPROM

2016-08-15 Thread Joe Hershberger
Hi Alban, https://patchwork.ozlabs.org/patch/655311/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] net/ethoc: add Kconfig entry for the driver

2016-08-15 Thread Joe Hershberger
Hi Max, https://patchwork.ozlabs.org/patch/656236/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] net/ethoc: support private memory configurations

2016-08-15 Thread Joe Hershberger
Hi Max, https://patchwork.ozlabs.org/patch/656237/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] net/ethoc: use priv instead of dev internally

2016-08-15 Thread Joe Hershberger
Hi Max, https://patchwork.ozlabs.org/patch/656238/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH 5/9] net: nfs: Correct a comment

2016-08-15 Thread Joe Hershberger
The buffer is of 32-bit elements, not bytes. Signed-off-by: Joe Hershberger --- net/nfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/nfs.c b/net/nfs.c index 08bdd92..ade589c 100644 --- a/net/nfs.c +++ b/net/nfs.c @@ -592,7 +592,7 @@ static

[U-Boot] [PATCH 8/9] net: nfs: Use the tx buffer to construct rpc msgs

2016-08-15 Thread Joe Hershberger
Instead of always allocating a huge temporary buffer on the stack and then memcpy()ing the result into the transmit buffer, simply figure out where in the transmit buffer the bytes will belong and write them there directly as each message is built. Signed-off-by: Joe Hershberger

[U-Boot] [PATCH 7/9] net: nfs: Move some prints to debug statements

2016-08-15 Thread Joe Hershberger
Much of the information is verbose and derived directly from the environment. Only output in debug mode. This also saves about 300 bytes from the code size. Signed-off-by: Joe Hershberger --- net/nfs.c | 43 ++- 1 file changed, 22

[U-Boot] [PATCH 3/9] net: nfs: Fix lines that are too long

2016-08-15 Thread Joe Hershberger
Fix complaints from checkpatch.pl. Signed-off-by: Joe Hershberger --- net/nfs.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/net/nfs.c b/net/nfs.c index ac3cde4..14a0d2f 100644 --- a/net/nfs.c +++ b/net/nfs.c @@ -547,7 +547,8 @@ static

Re: [U-Boot] [PATCH] clk.h: inline clk_get_by_name()

2016-08-15 Thread Stephen Warren
On 08/15/2016 01:04 PM, Andreas Bießmann wrote: Fix compile warning for non OF_CONTROL builds: ---8<--- In file included from /Volumes/devel/u-boot/drivers/gpio/atmel_pio4.c:10:0: /Volumes/devel/u-boot/include/clk.h:107:12: warning: 'clk_get_by_name' defined but not used [-Wunused-function]

Re: [U-Boot] [U-Boot, RESEND, v3] dm: atmel: Add driver model support for the ehci driver

2016-08-15 Thread Marek Vasut
On 08/15/2016 10:16 PM, Andreas Bießmann wrote: > Dear Wenyou Yang, > > Wenyou Yang writes: >> Add driver model support while retaining the existing legacy code. >> This allows the driver to support boards that have converted to >> driver model as well as those that have

  1   2   >