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 in

[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 --- drivers/mtd/spi/spi_flash.c | 195 ++

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 and add spansion on top of that. -- Jagan T

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 baseboard is equipped with the Nuvoton

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: This patch adds support for the DFI BayTrail BT700 Q

[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 A

[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 + arch/arm/mach-rockchip/rk3399/syscon_rk3399.c | 1 + 2 files changed, 2 inser

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 SMBus related de

[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 follow

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 find any buildman issues? -- Jagan Teki Free

[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 Meng --- v4: - Remove dfi-bt700-int

[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 a/board/congatec/conga-qeval20-qa3-e3845/MAINTAINERS b/b

[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 doesn't work in an

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 Glass wrote: > >>> It is useful to have a b

[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 mx6slevk is that warp onl

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 running build tests som

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 prepared a patch that adds a imximage file f

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 requir

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 trie

[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 "/usr/loca

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 read/write at this time will hang the CPU. Re

[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 a

[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 N

[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 N

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 [8100, 816d0fa8] >> >> Signed-off-by: Stefan

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 Acked-by: Joe Hershberger

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 code, also gets rid of most

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. >> ATM the RX bottom

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 get_contents_vfatname_block global variable would be used for all FA

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 file changed, 6 insertions(+), 6 deletions(-) > > d

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 in

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, suc

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 b

[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 N

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, suc

[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 --- drivers/net/davinci_emac.c | 2 +- 1

[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 b/drivers/net/davinci_emac.c inde

[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

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 mailing list U-Boot@lists.d

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 operation at range > > Si

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@lists.denx.de,s...@chromium.org,bmeng...@gmail.com,vigne...@ti

[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 --- incl

[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 -0400)

[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 deletions(-) diff --git

[U-Boot] [PATCH 3/3] net: nfs: Remove unused define

2016-08-15 Thread Joe Hershberger
Unreferenced, so remove the noise. Signed-off-by: Joe Hershberger --- net/nfs.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/net/nfs.h b/net/nfs.h index d69b422..2a1f4db 100644 --- a/net/nfs.h +++ b/net/nfs.h @@ -44,8 +44,6 @@ #define NFS_READ_SIZE 1024 /* biggest power of two that fi

[U-Boot] [PATCH 0/3] Clean up some NFS issues not related to v3 support

2016-08-15 Thread Joe Hershberger
There were a few issues with related to NFS that existed previously. Clean those up before adding v3 support. Joe Hershberger (3): net: Stop including NFS overhead in defragment max net: nfs: Remove separate buffer for default name net: nfs: Remove unused define net/net.c | 10 +-

[U-Boot] [PATCH 1/3] net: Stop including NFS overhead in defragment max

2016-08-15 Thread Joe Hershberger
At least on bfin, this "specimen" is actually allocated in the BSS and wastes lots of memory in already tight memory conditions. Also, with the introduction of NFSv3 support, this waste got substantially larger. Just remove it. If a board needs a specific different defragment size, that board can

[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 https://patchwork.ozlabs.org/patch/654061/ Joe Hershberger (9):

[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 --- net/nfs.h | 2 +- 1 file cha

[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 deletions(-) diff --git a/

[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 index ade589c..bdbdc26 10064

[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 b/net/nfs.c index 3fb253b.

[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 b/net/nfs.c index f61b96e..ac3c

[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 insertions(+), 21 deleti

[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 int nfs_lookup_reply(uchar

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] ---

[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 int nfs3_get_attributes_of

[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 --- net/nfs.c |

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 Glass >--- > >Changes in v7: None >Changes in v6:

Re: [U-Boot] tpm: atmel_twi: Make compatible with DM I2C busses

2016-08-15 Thread Andreas Bießmann
Dear , Mario Six writes: >Commit 302c5db ("dm: tpm: Add Driver Model support for tpm_atmel_twi >driver") converted the Atmel TWI TPM driver itself to driver model, but >kept the legacy-style i2c_write/i2c_read calls. > >Commit 3e7d940 ("dm: tpm: Every TPM drivers should depends on DM_TPM") >then

Re: [U-Boot] [U-Boot,v5] clk: at91: Add clock driver

2016-08-15 Thread Andreas Bießmann
Dear Wenyou Yang, Wenyou Yang writes: >The patch is referred to at91 clock driver of Linux, to make >the clock node descriptions in DT aligned with the Linux's. > >Signed-off-by: Wenyou Yang >Reviewed-by: Simon Glass >--- > >Changes in v5: > - Change clk_client.h -> clk.h to adapt to clk API co

Re: [U-Boot] [U-Boot, v7, 4/4] atmel: Bring in at91 pio4 device tree file and bindings

2016-08-15 Thread Andreas Bießmann
Dear Wenyou Yang, Wenyou Yang writes: >Bring in required device tree file and bindings from Linux. > >Signed-off-by: Wenyou Yang >Reviewed-by: Andreas Bießmann >Reviewed-by: Simon Glass >--- > >Changes in v7: > - Drop [PATCH]: configs: sama5d2_xplained: Add #ifndef before > CONFIG_ATMEL_PIO4

Re: [U-Boot] [U-Boot, v7, 3/4] pinctrl: at91-pio4: Add pinctrl driver

2016-08-15 Thread Andreas Bießmann
Dear Wenyou Yang, Wenyou Yang writes: >AT91 PIO4 controller is a combined gpio-controller, pin-mux and >pin-config module. The peripheral's pins are assigned through >per-pin based muxing logic. > >The pin configuration is performed on specific registers which >are shared along with the gpio cont

Re: [U-Boot] [U-Boot,v3,2/2] i2c: atmel: DT binding for i2c driver

2016-08-15 Thread Andreas Bießmann
Dear Songjun Wu, Songjun Wu writes: >DT binding documentation for atmel i2c driver. > >Signed-off-by: Songjun Wu >Reviewed-by: Heiko Schocher >Acked-by: Heiko Schocher >--- > >Changes in v3: None >Changes in v2: >- Add phandles to input clocks > > doc/device-tree-bindings/i2c/i2c-at91.txt | 26

Re: [U-Boot] [U-Boot,v3,1/2] i2c: atmel: add i2c driver

2016-08-15 Thread Andreas Bießmann
Dear Songjun Wu, Songjun Wu writes: >Add i2c driver. > >Signed-off-by: Songjun Wu >Reviewed-by: Heiko Schocher >Acked-by: Heiko Schocher >--- > >Changes in v3: >- Update the clk API. > >Changes in v2: >- Add code to get and enable clock. > > drivers/i2c/Kconfig| 10 ++ > drivers/i2c/Makefi

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

2016-08-15 Thread Andreas Bießmann
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 not. > >Signed-off-by: Wenyou Yang >Acked-by: Simon Glass >--- > >Changes in v3: >

Re: [U-Boot] [U-Boot, v11] mmc: atmel_sdhci: Convert to the driver model support

2016-08-15 Thread Andreas Bießmann
Dear Wenyou Yang, Wenyou Yang writes: >Convert the driver to the driver model 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 >Reviewed-by: Simon Glass >Reviewe

Re: [U-Boot] ARM: at91/dt: Add device tree for SAMA5D2 Xplained

2016-08-15 Thread Andreas Bießmann
Dear Wenyou Yang, Wenyou Yang writes: >Add device tree for SAMA5D2 Xplained board. > >Signed-off-by: Wenyou Yang >--- > > arch/arm/dts/Makefile | 3 + > arch/arm/dts/at91-sama5d2_xplained.dts | 200 ++ > arch/arm/dts/sama5d2.dtsi | 671 ++

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 >--- > >Changes in v7: > - Change clk_client.h -> clk.h to a

[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

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 not. >> >> Signed-off-by:

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: > > > git://git.denx.de/u-boot-net.gi

[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 23f728cd317c93e3342766614109ea1

[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 cc2593128f7ad1b879e9e5bd3097f6c

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 c

Re: [U-Boot] net: macb: Fix build error for CONFIG_DM_ETH enabled

2016-08-15 Thread Joe Hershberger
Hi Wenyou, https://patchwork.ozlabs.org/patch/622869/ 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: smsc95xx: Use correct get_unaligned functions

2016-08-15 Thread Joe Hershberger
Hi Chris, https://patchwork.ozlabs.org/patch/647651/ 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: 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

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: 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: 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] 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] 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] 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: 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] 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 haven'

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 >> Jaehoo

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 converted to >>> driver mo

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

2016-08-15 Thread Tom Rini
On Mon, Aug 15, 2016 at 10:45:16PM +0200, Andreas Bießmann wrote: > 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

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

2016-08-15 Thread Andreas Bießmann
Dear =?utf-8?q?Andreas_Bie=C3=9Fmann?=, writes: >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-functio

[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: git://git.denx.de/u-boot-at

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 > Reviewed-by: Simon Glass This

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 code. This allows the d

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

2016-08-15 Thread Tom Rini
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. I've already made sure that the crc32 value is in lowercase to match the U-Boot output and running the test s

  1   2   >