[U-Boot] please pull u-boot-arc master

2015-04-03 Thread Alexey Brodkin
Dear Tom, The following changes since commit 8a5c9ca4d0b8aa13a1bb321494d24f656a9a7d72: Prepare v2015.04-rc5 (2015-03-31 20:53:59 -0400) are available in the git repository at: git://git.denx.de/u-boot-arc.git for you to fetch changes up to d5717e894497124fd44289a37f818ee301640c70:

Re: [U-Boot] PCIE Switch Support in u-boot-2015.01

2015-04-03 Thread Bin Meng
On Fri, Apr 3, 2015 at 2:32 PM, Ashish Khetan curieux.khe...@gmail.com wrote: Hi, I am using u-boot-2015.01 loader on MPC8641D based Board. I have following queries Related to PCIe bus 1. Does it provide support to pcie switch(PES64H16AG2) support? 2. Do I need any specific driver for this

[U-Boot] PCIE Switch Support in u-boot-2015.01

2015-04-03 Thread Ashish Khetan
Hi, I am using u-boot-2015.01 loader on MPC8641D based Board. I have following queries Related to PCIe bus 1. Does it provide support to pcie switch(PES64H16AG2) support? 2. Do I need any specific driver for this switch to make it up? After booting its not showing any link the logs are: U-Boot

[U-Boot] [PATCH v2] patman: cover letter shows like 00/xx if more than 10 patches

2015-04-03 Thread Josh Wu
Make cover letter shows like 0/x, 00/xx and 000/xxx etc. Signed-off-by: Josh Wu josh...@atmel.com --- Changes in v2: - use math.log10() function instead tools/patman/patchstream.py | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tools/patman/patchstream.py

Re: [U-Boot] [PATCH 1/3] common/armflash: Support for ARM flash images

2015-04-03 Thread Linus Walleij
On Mon, Mar 16, 2015 at 3:12 PM, Tom Rini tr...@konsulko.com wrote: On Mon, Mar 16, 2015 at 01:23:51PM +0100, Linus Walleij wrote: The ARM reference designs all use a special flash image format that stores a footer (two versions exist) at the end of the last erase block of the image in flash

Re: [U-Boot] [RESEND] [PATCH] fastboot: Proper download gadget unregister and clear when cable is missing

2015-04-03 Thread Lukasz Majewski
Hi Marek, On Monday, March 30, 2015 at 10:06:13 AM, Lukasz Majewski wrote: Hi Paul, Signed-off-by: Paul Kocialkowski cont...@paulk.fr --- common/cmd_fastboot.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/cmd_fastboot.c b/common/cmd_fastboot.c index

Re: [U-Boot] [RESEND] [PATCH] fastboot: Proper download gadget unregister and clear when cable is missing

2015-04-03 Thread Marek Vasut
On Friday, April 03, 2015 at 09:35:00 AM, Lukasz Majewski wrote: Hi Marek, On Monday, March 30, 2015 at 10:06:13 AM, Lukasz Majewski wrote: Hi Paul, Signed-off-by: Paul Kocialkowski cont...@paulk.fr --- common/cmd_fastboot.c | 2 ++ 1 file changed, 2 insertions(+)

Re: [U-Boot] [PATCH 1/3] common/armflash: Support for ARM flash images

2015-04-03 Thread Tom Rini
On Fri, Apr 03, 2015 at 12:20:48PM +0200, Linus Walleij wrote: On Mon, Mar 16, 2015 at 3:12 PM, Tom Rini tr...@konsulko.com wrote: On Mon, Mar 16, 2015 at 01:23:51PM +0100, Linus Walleij wrote: The ARM reference designs all use a special flash image format that stores a footer (two

Re: [U-Boot] [PATCH v3 13/17] doc: driver-model: pmic and regulator uclass documentation

2015-04-03 Thread Przemyslaw Marczak
Hello Simon, On 03/29/2015 03:08 PM, Simon Glass wrote: Hi Przemyslaw, On 24 March 2015 at 14:30, Przemyslaw Marczak p.marc...@samsung.com wrote: Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com --- Changes v2, V3: - update documentation with the framework api changes - remove doc file

Re: [U-Boot] [PATCH v3 15/17] odroid: board: add support to dm pmic api

2015-04-03 Thread Przemyslaw Marczak
Hello Simon, On 03/29/2015 03:08 PM, Simon Glass wrote: Hi Przemyslaw, On 24 March 2015 at 14:30, Przemyslaw Marczak p.marc...@samsung.com wrote: This commit change the old pmic framework calls with the new ones. Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com --- Changes v2: -

Re: [U-Boot] [PATCH v3 17/17] odroid: config: enable dm pmic, dm regulator and max77686 driver

2015-04-03 Thread Przemyslaw Marczak
Hello Simon, On 03/29/2015 03:10 PM, Simon Glass wrote: On 24 March 2015 at 14:30, Przemyslaw Marczak p.marc...@samsung.com wrote: This change enables the configs required to init and setup max77686 regulator driver, using the new driver model pmic and regulator API. This commits enables: -

[U-Boot] [PATCH 1/4] mtd: vf610_nfc: use in-band bad block table

2015-04-03 Thread Stefan Agner
Use in-band bad block table (NAND_BBT_NO_OOB) which allows to use the full OOB for hardare ECC purposes. Since there is no ECC correction on the OOB it is also safer to use in-band area to store the bad block table marker. Signed-off-by: Stefan Agner ste...@agner.ch ---

[U-Boot] [PATCH 2/4] mtd: vf610_nfc: add Freescale NFC controller configs to Kconfig

2015-04-03 Thread Stefan Agner
This commit allows users to enable/disable the Freescale NFC controller found in systems like Vybrid (VF610), MPC5125, MCF54418 or Kinetis K70 via Kconfig with more detailed help docs. Signed-off-by: Stefan Agner ste...@agner.ch --- configs/vf610twr_defconfig | 2 ++ drivers/mtd/nand/Kconfig

[U-Boot] [PATCH 3/4] mtd: vf610_nfc: add 32-error correction option for HW ECC

2015-04-03 Thread Stefan Agner
Add option to choose between current 24-error correction and 32-error correction through Kconfig. 32-error correction allow to use NAND chips which require up to 8-bit error correction per 512 byte (when using 2K pages). Signed-off-by: Stefan Agner ste...@agner.ch --- drivers/mtd/nand/Kconfig

Re: [U-Boot] [PATCH v3 00/17] Power(full) framework based on Driver Model

2015-04-03 Thread Przemyslaw Marczak
Hello Simon, On 03/29/2015 03:05 PM, Simon Glass wrote: Hi Przemyslaw, On 24 March 2015 at 14:30, Przemyslaw Marczak p.marc...@samsung.com wrote: Hello, Here is the third RFC version of the new PMIC framework.Big thanks to Simon Glass, your comments were really helpful, and I think, that this

[U-Boot] [PATCH 4/4] mtd: vf610_nfc: support subpage write

2015-04-03 Thread Stefan Agner
Support subpage writes using a custom implementation of write_subpage. The driver loads the page into SRAM buffer using NAND_CMD_READ0, when the framework requests the NAND_CMD_SEQIN command. Then, the buffer is updated by the custom write_subpage implementation. Upon write, the controller

Re: [U-Boot] [PATCH v2 1/7] arc: cache - build invalidate_icache_all() and invalidate_dcache_all() always

2015-04-03 Thread Alexey Brodkin
On Tue, 2015-03-31 at 13:08 +0300, Alexey Brodkin wrote: Make both invalidate_icache_all() and invalidate_dcache_all() available even if U-Boot is configured with CONFIG_SYS_DCACHE_OFF and/or CONFIG_SYS_ICACHE_OFF. This is useful because configuration of U-Boot may not match actual hardware

Re: [U-Boot] [PATCH v2 3/7] arc: move low-level interrupt and exception handlers in a separate file

2015-04-03 Thread Alexey Brodkin
On Tue, 2015-03-31 at 13:08 +0300, Alexey Brodkin wrote: This separation makes maintenance of code easier because those low-level interrupt- or exception handling routines are pretty static and usually require not much care while start-up code is a subject of modifications and enhancements.

Re: [U-Boot] [PATCH v2 2/7] arc: merge common start-up code between ARC and ARCv2

2015-04-03 Thread Alexey Brodkin
On Tue, 2015-03-31 at 13:08 +0300, Alexey Brodkin wrote: Even though ARCompact and ARCv2 are not binary compatible most of assembly instructions are used in both. With this change we'll get rid of duplicate code. Still IVTs are implemented differently so we're keeping them in separate

Re: [U-Boot] [PATCH v2 4/7] arc: clean-up init procedure

2015-04-03 Thread Alexey Brodkin
On Tue, 2015-03-31 at 13:08 +0300, Alexey Brodkin wrote: Intention behind this work was elimination of as much assembly-written code as it is possible. In case of ARC we already have relocation fix-up implemented in C so why don't we use C for U-Boot copying, .bss zeroing etc. It turned

Re: [U-Boot] [PATCH v2 5/7] arc: re-generate defconfigs

2015-04-03 Thread Alexey Brodkin
On Tue, 2015-03-31 at 13:08 +0300, Alexey Brodkin wrote: Before that moment our defconfigs were manually modified with addition of new options. That means once anybody wants to add another option and re-genarate defconfig with make defconfig there will be lots of differences. So to make future

Re: [U-Boot] [PATCH v3 06/17] dm: regulator: add implementation of driver model regulator uclass

2015-04-03 Thread Przemyslaw Marczak
Hello Simon, On 03/29/2015 03:07 PM, Simon Glass wrote: Hi Przemyslaw, On 24 March 2015 at 14:30, Przemyslaw Marczak p.marc...@samsung.com wrote: This is the implementation of driver model regulator uclass api. To use it, the CONFIG_DM_PMIC is required with driver implementation, since it

Re: [U-Boot] [PATCH v3 08/17] dm: regulator: add regulator command

2015-04-03 Thread Przemyslaw Marczak
Hello Simon, On 03/29/2015 03:07 PM, Simon Glass wrote: Hi Przemyslaw, On 24 March 2015 at 14:30, Przemyslaw Marczak p.marc...@samsung.com wrote: This command is based on driver model regulator api. User interface features: - list - list UCLASS regulator devices - regulator

Re: [U-Boot] [PATCH v3 11/17] dm: regulator: add max77686 regulator driver

2015-04-03 Thread Przemyslaw Marczak
Hello Simon, On 03/29/2015 03:08 PM, Simon Glass wrote: Hi Przemyslaw, On 24 March 2015 at 14:30, Przemyslaw Marczak p.marc...@samsung.com wrote: This commit adds support to max77686 regulator driver based on a uclass regulator driver-model api, which provides implementation of all uclass

Re: [U-Boot] [PATCH v3 07/17] dm: pmic: add pmic command

2015-04-03 Thread Przemyslaw Marczak
Hello Simon, On 03/29/2015 03:07 PM, Simon Glass wrote: Hi Prazemyslaw, On 24 March 2015 at 14:30, Przemyslaw Marczak p.marc...@samsung.com wrote: This is new command for the pmic devices based on driver model pmic api. Command features are unchanged: - list - list UCLASS pmic

Re: [U-Boot] [PATCH v3 05/17] dm: pmic: add implementation of driver model pmic uclass

2015-04-03 Thread Przemyslaw Marczak
Hello Simon, On 03/29/2015 03:07 PM, Simon Glass wrote: Hi Prazemyslaw, On 24 March 2015 at 14:30, Przemyslaw Marczak p.marc...@samsung.com wrote: This is an introduction to driver-model multi uclass PMIC support. It starts with UCLASS_PMIC - a common PMIC devices uclass type to provide

Re: [U-Boot] [PATCH v3 12/17] dm: regulator: add fixed voltage regulator driver

2015-04-03 Thread Przemyslaw Marczak
Hello Simon, On 03/29/2015 03:08 PM, Simon Glass wrote: Hi Przemyslaw, On 24 March 2015 at 14:30, Przemyslaw Marczak p.marc...@samsung.com wrote: This driver implements regulator uclass features for fixed value regulators. For getting the basic regulator device-tree node constraints, this

Re: [U-Boot] [PATCH v2 7/7] arc: minor fixes in Kconfig

2015-04-03 Thread Alexey Brodkin
On Tue, 2015-03-31 at 13:08 +0300, Alexey Brodkin wrote: [1] Fix misspeling in ARC_CACHE_LINE_SHIFT dependency, now cache-line lenth selection is correctly enabled if either I$ or D$ are enabled. [2] Add dummy entry to target list to make sure target type is always mentioned in defconfig.

Re: [U-Boot] [PATCH v2 6/7] arc: get rid of CONFIG_SYS_GENERIC_GLOBAL_DATA

2015-04-03 Thread Alexey Brodkin
On Tue, 2015-03-31 at 13:08 +0300, Alexey Brodkin wrote: As discussed on mailing list we're drifting away from CONFIG_SYS_GENERIC_GLOBAL_DATA in favour to use of board_init_f_mem() for global data. So do this for ARC architecture. Signed-off-by: Alexey Brodkin abrod...@synopsys.com

Re: [U-Boot] [PATCH] arc: add support for SLC (System Level Cache, AKA L2-cache)

2015-04-03 Thread Alexey Brodkin
On Tue, 2015-03-31 at 13:25 +0300, Alexey Brodkin wrote: ARCv2 cores may have built-in SLC (System Level Cache, AKA L2-cache). This change adds functions required for controlling SLC: * slc_enable/disable * slc_flush/invalidate For now we just disable SLC to escape DMA coherency issues

Re: [U-Boot] [PATCH] serial-arc: switch to DM

2015-04-03 Thread Alexey Brodkin
On Tue, 2015-03-31 at 13:18 +0300, Alexey Brodkin wrote: Now when all infrastructure in ARC is ready for it let's switch ARC UART to driver model. Signed-off-by: Alexey Brodkin abrod...@synopsys.com Cc: Masahiro Yamada yamada.masah...@socionext.com Cc: Simon Glass s...@chromium.org

Re: [U-Boot] [PATCH] kbuild: include config.mk when auto.conf is not older than .config

2015-04-03 Thread Stephen Warren
On 04/02/2015 09:30 PM, Masahiro Yamada wrote: Since the Kconfig conversion, config.mk has been included only when include/config/auto.conf is newer than the .config file. It causes build error if both files have the same time-stamps. It is actually possible because EXT* file systems have a 1s

Re: [U-Boot] [PATCH 1/2] mtd: vf610_nfc: mark page as dirty on block erase

2015-04-03 Thread Stefan Agner
On 2015-04-03 01:48, Scott Wood wrote: On Tue, 2015-03-31 at 11:02 -0400, Bill Pringlemeir wrote: On 2015-03-31 00:15, Scott Wood wrote: Especially since you'd be doing one write rather than four full-page partial writes. Surely the bottleneck here is the NAND chip itself, not copying

[U-Boot] [PATCH 14/23] net: cosmetic: Clean up CDP variables and functions

2015-04-03 Thread Joe Hershberger
Make a thorough pass through all variables and function names contained within cdp.c and remove CamelCase and improve naming. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- common/cmd_net.c | 17 +++--- include/net.h| 4 ++-- net/cdp.c| 70

[U-Boot] [PATCH 06/23] net: cosmetic: Fix var naming net - eth drivers

2015-04-03 Thread Joe Hershberger
Update the naming convention used in the network stack functions and variables that Ethernet drivers use to interact with it. This cleans up the temporary hacks that were added to this interface along with the DM support. This patch has a few remaining checkpatch.pl failures that would be out of

Re: [U-Boot] [PATCH 2/4] mtd: vf610_nfc: add Freescale NFC controller configs to Kconfig

2015-04-03 Thread Stefan Agner
On 2015-04-03 22:46, Scott Wood wrote: On Fri, 2015-04-03 at 22:42 +0200, Stefan Agner wrote: On 2015-04-03 22:30, Scott Wood wrote: On Fri, 2015-04-03 at 20:40 +0200, Stefan Agner wrote: This commit allows users to enable/disable the Freescale NFC controller found in systems like Vybrid

Re: [U-Boot] [PATCH 1/2] mtd: vf610_nfc: mark page as dirty on block erase

2015-04-03 Thread Scott Wood
On Fri, 2015-04-03 at 22:28 +0200, Stefan Agner wrote: On 2015-04-03 22:15, Scott Wood wrote: On Fri, 2015-04-03 at 20:09 +0200, Stefan Agner wrote: On 2015-04-03 01:48, Scott Wood wrote: On Tue, 2015-03-31 at 11:02 -0400, Bill Pringlemeir wrote: On 2015-03-31 00:15, Scott Wood wrote:

[U-Boot] [PATCH 10/23] net: cosmetic: Clean up NFS variables and functions

2015-04-03 Thread Joe Hershberger
Make a thorough pass through all variables and function names contained within nfs.c and remove CamelCase and improve naming. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- net/net.c | 4 +- net/nfs.c | 173 +++--- net/nfs.h |

[U-Boot] [PATCH 20/23] net: cosmetic: Fix checkpatch.pl failures in net.h

2015-04-03 Thread Joe Hershberger
There were still a few remaining complains in the legacy eth_device definition that hadn't been addressed. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- include/net.h | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/include/net.h b/include/net.h index

[U-Boot] [PATCH 04/23] net: cosmetic: Name ethaddr variables consistently

2015-04-03 Thread Joe Hershberger
Use _ethaddr at the end of variables and drop CamelCase. Make constant values actually 'const'. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- arch/arm/mach-davinci/misc.c | 2 +- arch/powerpc/cpu/mpc8260/ether_fcc.c | 14 +--

[U-Boot] [PATCH 01/23] net: cosmetic: Change IPaddr_t to struct in_addr

2015-04-03 Thread Joe Hershberger
This patch is simply clean-up to make the IPv4 type that is used match what Linux uses. It also attempts to move all variables that are IP addresses use good naming instead of CamelCase. No functional change. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- common/cmd_net.c |

[U-Boot] [PATCH 08/23] net: cosmetic: Clean up ARP variables and functions

2015-04-03 Thread Joe Hershberger
Make a thorough pass through all variables and function names contained within arp and remove CamelCase and improve naming. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- net/arp.c | 69 +++--- net/arp.h | 16 +++

[U-Boot] [PATCH 02/23] net: cosmetic: Fixup var names related to boot file

2015-04-03 Thread Joe Hershberger
The variables around the bootfile were inconsistent and used CamelCase. Update them to make the code more readable. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- common/cmd_net.c | 9 ++--- common/cmd_pxe.c | 2 +- common/update.c | 7 --- include/net.h| 9 +

[U-Boot] [PATCH 12/23] net: cosmetic: Clean up SNTP variables and functions

2015-04-03 Thread Joe Hershberger
Make a thorough pass through all variables and function names contained within sntp.c and remove CamelCase and improve naming. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- net/net.c | 2 +- net/sntp.c | 25 +++-- net/sntp.h | 2 +- 3 files changed, 13

[U-Boot] [PATCH 19/23] net: cosmetic: Fix checkpatch.pl failures in eth.c

2015-04-03 Thread Joe Hershberger
There were still a few failures in net/eth.c, especially in the legacy part of the code. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- net/eth.c | 26 -- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/net/eth.c b/net/eth.c index

[U-Boot] [PATCH 22/23] net: Fix incorrect DHCP/BOOTP packets on 64-bit systems

2015-04-03 Thread Joe Hershberger
From: Sergey Temerkhanov s.temerkha...@gmail.com This commit fixes incorrect DHCP/BOOTP packet layout caused by 'ulong' type size difference on 64 and 32-bit architectures. It also renames NetReadLong()/NetCopyLong() to net_read_u32/net_copy_u32() accordingly. Signed-off-by: Radha Mohan

Re: [U-Boot] [PATCH 1/2] mtd: vf610_nfc: mark page as dirty on block erase

2015-04-03 Thread Scott Wood
On Fri, 2015-04-03 at 20:09 +0200, Stefan Agner wrote: On 2015-04-03 01:48, Scott Wood wrote: On Tue, 2015-03-31 at 11:02 -0400, Bill Pringlemeir wrote: On 2015-03-31 00:15, Scott Wood wrote: Especially since you'd be doing one write rather than four full-page partial writes. Surely

Re: [U-Boot] u-boot: OpenRD Ultimate fails to build

2015-04-03 Thread Vagrant Cascadian
On 2015-03-25, drEagle wrote: Le 21/03/2015 15:53, Vagrant Cascadian a écrit : It seems that OpenRD Ultimate with u-boot 2015.04-rc3 and newer no longer builds from source, both in Debian and with mainline git. It appears to have overgrown the size limits set for it: Looks like the NAND

Re: [U-Boot] [PATCH 2/4] mtd: vf610_nfc: add Freescale NFC controller configs to Kconfig

2015-04-03 Thread Scott Wood
On Fri, 2015-04-03 at 22:42 +0200, Stefan Agner wrote: On 2015-04-03 22:30, Scott Wood wrote: On Fri, 2015-04-03 at 20:40 +0200, Stefan Agner wrote: This commit allows users to enable/disable the Freescale NFC controller found in systems like Vybrid (VF610), MPC5125, MCF54418 or Kinetis

[U-Boot] [PATCH 05/23] net: cosmetic: Cleanup internal packet buffer names

2015-04-03 Thread Joe Hershberger
This patch cleans up the names of internal packet buffer names that are used within the network stack and the functions that use them. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- arch/powerpc/cpu/mpc8260/ether_fcc.c | 4 ++-- drivers/net/netconsole.c | 13 +--

[U-Boot] [PATCH 21/23] net: cosmetic: Fix checkpatch.pl failures in net.c

2015-04-03 Thread Joe Hershberger
Finish eliminating CamelCase from net.c and other failures Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- README | 6 +- common/cmd_elf.c | 2 +- common/cmd_net.c | 22 +++--- common/spl/spl_net.c | 2 +- common/update.c | 2 +-

[U-Boot] [PATCH 11/23] net: cosmetic: Clean up RARP variables and functions

2015-04-03 Thread Joe Hershberger
Make a thorough pass through all variables and function names contained within rarp.c and remove CamelCase and improve naming. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- net/net.c | 4 ++-- net/rarp.c | 23 +++ net/rarp.h | 6 +++--- 3 files changed, 16

[U-Boot] [PATCH 0/23] net: cosmetic: Fix naming and other checkpatch.pl issues in net/

2015-04-03 Thread Joe Hershberger
This series is fairly disruptive in naming, so hopefully there aren't many network stack changes in flight that will conflict with this. This is based on top of dm/next for now so that the dm/eth series is assumed. This will be rebased when that is, but will likely not have issues. Like ripping

[U-Boot] [PATCH 07/23] net: cosmetic: Clean up TFTP variables and functions

2015-04-03 Thread Joe Hershberger
Make a thorough pass through all variables and function names contained within tftp and remove CamelCase and improve naming. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- common/update.c | 16 +- net/net.c | 6 +- net/tftp.c | 483

[U-Boot] [PATCH 17/23] net: cosmetic: Clean up cmd_net variables and functions

2015-04-03 Thread Joe Hershberger
Make a thorough pass through all variables and function names contained within common/cmd_net.c and remove CamelCase and improve naming. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- common/cmd_net.c | 29 ++--- include/net.h| 10 +- net/net.c

[U-Boot] [PATCH 03/23] net: cosmetic: Fixup var names for DHCP strings

2015-04-03 Thread Joe Hershberger
Remove CamelCase variable naming. Move the definition to the same compilation unit as the primary use. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- common/cmd_net.c | 12 ++-- include/net.h| 6 +++--- net/bootp.c | 51

[U-Boot] [PATCH 09/23] net: cosmetic: Clean up DHCP variables and functions

2015-04-03 Thread Joe Hershberger
Make a thorough pass through all variables and function names contained within bootp.c and remove CamelCase and improve naming. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- net/bootp.c | 119 +--- net/bootp.h | 14 +++

[U-Boot] [PATCH 18/23] net: cosmetic: Fix checkpatch.pl failures in linklocal

2015-04-03 Thread Joe Hershberger
A few new rules in checkpatch.pl since linklocal.c was added. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- net/link_local.c | 36 +--- 1 file changed, 17 insertions(+), 19 deletions(-) diff --git a/net/link_local.c b/net/link_local.c index

[U-Boot] [PATCH 15/23] net: cosmetic: Clean up DNS variables and functions

2015-04-03 Thread Joe Hershberger
Make a thorough pass through all variables and function names contained within dns.c and remove CamelCase and improve naming. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- common/cmd_net.c | 6 +++--- include/net.h| 4 ++-- net/dns.c| 53

[U-Boot] [PATCH 16/23] net: cosmetic: Clean up netconsole variables and functions

2015-04-03 Thread Joe Hershberger
Make a thorough pass through all variables and function names contained within netconsole.c and remove CamelCase and improve naming. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- drivers/net/netconsole.c | 32 +--- include/net.h| 2 +-

[U-Boot] [PATCH 23/23] net: Convert protocol structures to use explicit sizes

2015-04-03 Thread Joe Hershberger
From: Sergey Temerkhanov s.temerkha...@gmail.com Convert uchar/ushort to u8/u16 respectively. Signed-off-by: Radha Mohan Chintakuntla rchintakun...@cavium.com Signed-off-by: Sergey Temerkhanov s.temerkha...@gmail.com Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- include/net.h |

Re: [U-Boot] [PATCH 4/4] mtd: vf610_nfc: support subpage write

2015-04-03 Thread Stefan Agner
On 2015-04-03 22:36, Scott Wood wrote: On Fri, 2015-04-03 at 20:40 +0200, Stefan Agner wrote: Support subpage writes using a custom implementation of write_subpage. The driver loads the page into SRAM buffer using NAND_CMD_READ0, when the framework requests the NAND_CMD_SEQIN command. Then,

Re: [U-Boot] [PATCH 2/4] mtd: vf610_nfc: add Freescale NFC controller configs to Kconfig

2015-04-03 Thread Scott Wood
On Fri, 2015-04-03 at 20:40 +0200, Stefan Agner wrote: This commit allows users to enable/disable the Freescale NFC controller found in systems like Vybrid (VF610), MPC5125, MCF54418 or Kinetis K70 via Kconfig with more detailed help docs. Signed-off-by: Stefan Agner ste...@agner.ch ---

Re: [U-Boot] [PATCH 2/4] mtd: vf610_nfc: add Freescale NFC controller configs to Kconfig

2015-04-03 Thread Stefan Agner
On 2015-04-03 22:30, Scott Wood wrote: On Fri, 2015-04-03 at 20:40 +0200, Stefan Agner wrote: This commit allows users to enable/disable the Freescale NFC controller found in systems like Vybrid (VF610), MPC5125, MCF54418 or Kinetis K70 via Kconfig with more detailed help docs.

[U-Boot] [PATCH 13/23] net: cosmetic: Clean up ping variables and functions

2015-04-03 Thread Joe Hershberger
Make a thorough pass through all variables and function names contained within ping.c and remove CamelCase and improve naming. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- net/ping.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/net/ping.c

Re: [U-Boot] [PATCH 1/2] mtd: vf610_nfc: mark page as dirty on block erase

2015-04-03 Thread Stefan Agner
On 2015-04-03 22:15, Scott Wood wrote: On Fri, 2015-04-03 at 20:09 +0200, Stefan Agner wrote: On 2015-04-03 01:48, Scott Wood wrote: On Tue, 2015-03-31 at 11:02 -0400, Bill Pringlemeir wrote: On 2015-03-31 00:15, Scott Wood wrote: Especially since you'd be doing one write rather than

Re: [U-Boot] [PATCH 4/4] mtd: vf610_nfc: support subpage write

2015-04-03 Thread Scott Wood
On Fri, 2015-04-03 at 20:40 +0200, Stefan Agner wrote: Support subpage writes using a custom implementation of write_subpage. The driver loads the page into SRAM buffer using NAND_CMD_READ0, when the framework requests the NAND_CMD_SEQIN command. Then, the buffer is updated by the custom

Re: [U-Boot] [PATCH] serial-arc: switch to DM

2015-04-03 Thread Simon Glass
Hi Alexey, On 31 March 2015 at 04:18, Alexey Brodkin alexey.brod...@synopsys.com wrote: Now when all infrastructure in ARC is ready for it let's switch ARC UART to driver model. Signed-off-by: Alexey Brodkin abrod...@synopsys.com Cc: Masahiro Yamada yamada.masah...@socionext.com Cc: Simon

Re: [U-Boot] [PATCH] dm: eth: Provide a way for drivers to manage packet buffers

2015-04-03 Thread Simon Glass
Hi Joe, On 1 April 2015 at 10:03, Joe Hershberger joe.hershber...@gmail.com wrote: Hi Simon, On Tue, Mar 31, 2015 at 10:32 PM, Simon Glass s...@chromium.org wrote: Hi Joe, On 30 March 2015 at 14:44, Joe Hershberger joe.hershber...@ni.com wrote: Some drivers need a chance to manage their

[U-Boot] [PATCH] arm: mx6: ddr: add pd_fast_exit flag to system information

2015-04-03 Thread Tim Harvey
DDR3 has a special Precharge power-down mode: fast-exit vs slow-exit. In slow-exit mode the DLL is off but in some quiescent state that makes it easy to turn on again in tXPDLL cycles (about 10tCK) vs the full tDLLK (512tCK). In fast-exist mode the DLL is maintained such that it is ready again in

[U-Boot] [PATCH] fdt: nios: Fix warning in ft_cpu_setup()

2015-04-03 Thread Simon Glass
This function should not return a value. Signed-off-by: Simon Glass s...@chromium.org --- arch/nios2/cpu/fdt.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/nios2/cpu/fdt.c b/arch/nios2/cpu/fdt.c index 5024682..79f72aa 100644 --- a/arch/nios2/cpu/fdt.c +++ b/arch/nios2/cpu/fdt.c @@

[U-Boot] [PATCH] power: pfuze100: fix LDO_EN bit value

2015-04-03 Thread Tim Harvey
The LDO_EN is bit 4, not value 4. This is only used on the Ventana boards so we will change it in the header as the other values there are in terms of values and not bit numbers. Signed-off-by: Tim Harvey thar...@gateworks.com --- include/power/pfuze100_pmic.h | 2 +- 1 file changed, 1

Re: [U-Boot] multi-image uImage with fitImage

2015-04-03 Thread Simon Glass
+U-Boot again Hi Andre, On 30 March 2015 at 22:41, Andre Wolokita andre.wolok...@analog.com wrote: On 31/03/15 13:42, Stephen Warren wrote: On 03/30/2015 05:42 PM, Andre Wolokita wrote: ... I am able to boot a uImage produced by buildroot successfully, although I still haven't tried a

[U-Boot] [PATCH v2] dm: eth: Provide a way for drivers to manage packet buffers

2015-04-03 Thread Joe Hershberger
Some drivers need a chance to manage their receive buffers after the packet has been handled by the network stack. Add an operation that will allow the driver to be called in that case. Reported-by: Simon Glass s...@chromium.org Signed-off-by: Joe Hershberger joe.hershber...@ni.com Acked-by:

Re: [U-Boot] please pull u-boot-arc master

2015-04-03 Thread Tom Rini
On Fri, Apr 03, 2015 at 06:56:13AM +, Alexey Brodkin wrote: Dear Tom, The following changes since commit 8a5c9ca4d0b8aa13a1bb321494d24f656a9a7d72: Prepare v2015.04-rc5 (2015-03-31 20:53:59 -0400) are available in the git repository at: git://git.denx.de/u-boot-arc.git

Re: [U-Boot] [PATCH 2/4] mtd: vf610_nfc: add Freescale NFC controller configs to Kconfig

2015-04-03 Thread Scott Wood
On Sat, 2015-04-04 at 00:30 +0200, Stefan Agner wrote: On 2015-04-03 22:46, Scott Wood wrote: On Fri, 2015-04-03 at 22:42 +0200, Stefan Agner wrote: On 2015-04-03 22:30, Scott Wood wrote: On Fri, 2015-04-03 at 20:40 +0200, Stefan Agner wrote: This commit allows users to enable/disable

Re: [U-Boot] [PATCH] ahci: Fix a wrong parameter pass

2015-04-03 Thread Simon Glass
On 31 March 2015 at 01:02, yuantian.t...@freescale.com wrote: From: Tang Yuantian yuantian.t...@freescale.com In stead of user_buffer_size, transfer_size should be used to pass to ahci_device_data_io(). transfer_size is the length that we want the low level function to transfer each time.

Re: [U-Boot] [PATCHv3 01/17] arm: socfpga: spl: Add main sdram code

2015-04-03 Thread Marek Vasut
On Friday, April 03, 2015 at 06:55:20 AM, Dinh Nguyen wrote: Hi Marek, Hi Dinh, On Thu, Apr 2, 2015 at 9:00 PM, Marek Vasut ma...@denx.de wrote: On Tuesday, March 31, 2015 at 08:41:46 AM, Wolfgang Denk wrote: Dear dingu...@opensource.altera.com, In message

[U-Boot] [PATCH] imx: ipu: fix occasional hang following disabling of channel

2015-04-03 Thread Tim Harvey
It has been observed that some IMX6SDL SoC will hang appx 0.1% of boots between disabling the ipu channel and disabling DMA preceeding an OS boot unless an extra delay is added here. The specific cause is still under investigation. Signed-off-by: Tim Harvey thar...@gateworks.com ---

Re: [U-Boot] How to reduce SDcard speed in u-boot

2015-04-03 Thread Michael Trimarchi
Hi On Fri, Apr 3, 2015 at 9:50 PM, Marco Cavallini cavallini.k...@gmail.com wrote: 2015-03-30 17:32 GMT+02:00 Marco Cavallini cavallini.k...@gmail.com: Hello, I am probably working on a 'buggy hardware' based on i.MX6 that isn't able to manage a SDcard speed properly. I mean, u-boot starts,

Re: [U-Boot] How to reduce SDcard speed in u-boot

2015-04-03 Thread Marco Cavallini
2015-03-30 17:32 GMT+02:00 Marco Cavallini cavallini.k...@gmail.com: Hello, I am probably working on a 'buggy hardware' based on i.MX6 that isn't able to manage a SDcard speed properly. I mean, u-boot starts, but as soon as I try to perform a fatload if the uImage the command won't work