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

2015-04-07 Thread Joe Hershberger
Hi Simon, On Tue, Apr 7, 2015 at 8:26 PM, Simon Glass wrote: > > Hi Joe, > > On 3 April 2015 at 15:14, Joe Hershberger wrote: > > 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

[U-Boot] [PATCH v2 06/25] net: cosmetic: Fix var naming net <-> eth drivers

2015-04-07 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

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

2015-04-07 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 --- Changes in v2: None net/ping.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/net/ping.c b/net/pi

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

2015-04-07 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 --- Changes in v2: None net/net.c | 4 ++-- net/rarp.c | 23 +++ net/rarp.h | 6 +++--- 3 files changed, 16 inser

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

2015-04-07 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 --- Changes in v2: -Fixed build failures in ip conversio

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

2015-04-07 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 --- Changes in v2: None common/cmd_net.c | 29 ++--- include/net.h| 10 +- net/net.c

[U-Boot] [PATCH v2 24/25] net: Fix compile errors when SNTP enabled and not DATE

2015-04-07 Thread Joe Hershberger
When SNTP is enabled and DATE is not, to_tm() is not built in. It could be defined when TIMESTAMP is defined, so check for that. Signed-off-by: Joe Hershberger --- Changes in v2: -New to series net/sntp.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/net/sntp.c b/net

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

2015-04-07 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 --- Changes in v2: None common/cmd_net.c | 17 +++--- include/net.h| 4 ++-- net/cdp.c| 70 +

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

2015-04-07 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 --- Changes in v2: None net/net.c | 2 +- net/sntp.c | 25 +++-- net/sntp.h | 2 +- 3 files changed, 13 insertion

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

2015-04-07 Thread Joe Hershberger
Remove CamelCase variable naming. Move the definition to the same compilation unit as the primary use. Signed-off-by: Joe Hershberger --- Changes in v2: None common/cmd_net.c | 12 ++-- include/net.h| 6 +++--- net/bootp.c | 51 +++-

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

2015-04-07 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 --- Changes in v2: None net/bootp.c | 119 +--- net/bootp.h | 14 +++ net/

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

2015-04-07 Thread Joe Hershberger
From: Sergey Temerkhanov 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 Chintakuntla Signed-off-by: Se

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

2015-04-07 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 of

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

2015-04-07 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 --- Changes in v2: None drivers/net/netconsole.c | 32 +--- include/net.h| 2 +- net/net.

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

2015-04-07 Thread Joe Hershberger
Finish eliminating CamelCase from net.c and other failures Signed-off-by: Joe Hershberger --- Changes in v2: None README | 6 +- common/cmd_elf.c | 2 +- common/cmd_net.c | 22 +++--- common/spl/spl_net.c | 2 +- common/update.c | 2 +- d

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

2015-04-07 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 --- Changes in v2: None common/update.c | 16 +- net/net.c | 6 +- net/tftp.c | 483

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

2015-04-07 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 --- Changes in v2: None common/cmd_net.c | 9 ++--- common/cmd_pxe.c | 2 +- common/update.c | 7 --- include/net.h| 9 +

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

2015-04-07 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 --- Changes in v2: None include/net.h | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/include/net.h b/include/net.h index c

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

2015-04-07 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 --- Changes in v2: None net/net.c | 4 +- net/nfs.c | 173 +++--- net/nfs.h |

[U-Boot] [PATCH v2 25/25] sandbox: Enable more network features for sandbox

2015-04-07 Thread Joe Hershberger
More net features enabled and supported on sandbox to allow more testing Signed-off-by: Joe Hershberger --- Changes in v2: -New to series include/configs/sandbox.h | 9 + 1 file changed, 9 insertions(+) diff --git a/include/configs/sandbox.h b/include/configs/sandbox.h index c49a847..

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

2015-04-07 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 --- Changes in v2: None arch/powerpc/cpu/mpc8260/ether_fcc.c | 4 ++-- drivers/net/netconsole.c | 13 +-- i

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

2015-04-07 Thread Joe Hershberger
From: Sergey Temerkhanov Convert uchar/ushort to u8/u16 respectively. Signed-off-by: Radha Mohan Chintakuntla Signed-off-by: Sergey Temerkhanov Signed-off-by: Joe Hershberger --- Changes in v2: None include/net.h | 112 +- net/bootp.

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

2015-04-07 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 --- Changes in v2: None net/arp.c | 69 +++--- net/arp.h | 16 +++ ne

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

2015-04-07 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 --- Changes in v2: None common/cmd_net.c | 6 +++--- include/net.h| 4 ++-- net/dns.c| 53 +

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

2015-04-07 Thread Joe Hershberger
Use "_ethaddr" at the end of variables and drop CamelCase. Make constant values actually 'const'. Signed-off-by: Joe Hershberger --- Changes in v2: None arch/arm/mach-davinci/misc.c | 2 +- arch/powerpc/cpu/mpc8260/ether_fcc.c | 14 +-- arch/powerpc/cpu/mpc8xx/fec.

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

2015-04-07 Thread Joe Hershberger
A few new rules in checkpatch.pl since linklocal.c was added. Signed-off-by: Joe Hershberger --- Changes in v2: None 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 2bca7de..ea

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

2015-04-07 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 --- Changes in v2: None net/eth.c | 26 -- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/net/eth.c b/net/eth.c index e936ca0..953b6a

Re: [U-Boot] [PATCH v5 0/8] Extend LPC32xx functionality and add LPC32xx-based work_92015 board

2015-04-07 Thread Albert ARIBAUD
Hi Simon, Le Tue, 7 Apr 2015 21:20:22 -0600, Simon Glass a écrit : > Well the problem is that we don't have driver model support in rtc, We > do have an eeprom uclass, but it is currently implemented only for > sandbox. We don't have a hwmon uclass (although there is thermal, and > I wonder if t

Re: [U-Boot] [PATCH v3 3/3] usb: Early failure when the first descriptor read fails or is invalid

2015-04-07 Thread Stephen Warren
On 04/07/2015 11:07 PM, Stephen Warren wrote: > On 04/04/2015 07:12 AM, Paul Kocialkowski wrote: >> This may happen when using an USB1 device on a controller that only supports >> USB2 (e.g. EHCI). Reading the first descriptor will fail (read 0 byte), so we >> can abort the process at this point in

[U-Boot] [PATCH 2/3] board/BuR/tseries: reactivate NAND-board

2015-04-07 Thread Hannes Petermaier
The NAND-version has been become a bit orphan. Now we need to reactivate it, so bring necessary things: - loading devicetree - switch control signal to correct pins - setup pinmux - default-environment up to date. Signed-off-by: Hannes Petermaier --- board/BuR/common/common.c | 15 +

[U-Boot] [PATCH 3/3] board/BuR/tseries: change pinmux

2015-04-07 Thread Hannes Petermaier
some pins on the board have been rerouted to other peripherals, so we change the pinmux to apply with hardware-design. Signed-off-by: Hannes Petermaier --- board/BuR/tseries/mux.c | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/board/BuR/tseries/mux.c b/board

[U-Boot] [PATCH 1/3] board/BuR/common: simplify access to devicetree

2015-04-07 Thread Hannes Petermaier
instead of polling everytime the environment, we take usage of the global gd->fdt_blob variable and check it only against NULL. Variable "dtbaddr" from environment is needed only one time on loading the devicetree within "load_devicetree()" Signed-off-by: Hannes Petermaier --- board/BuR/common

[U-Boot] [PATCH v2] ARM: zynq: disable CONFIG_SYS_MALLOC_F to fix MMC boot

2015-04-07 Thread Masahiro Yamada
Since commit 326a682358c1 (malloc_f: enable SYS_MALLOC_F by default if DM is on), Zynq MMC boot hangs up after printing the following: U-Boot SPL 2015.04-rc5-00053-gadcc570 (Apr 08 2015 - 12:59:11) mmc boot reading system.dtb Prior to commit 326a682358c1, Zynq boards enabled CONFIG_DM

Re: [U-Boot] KIRKWOOD - PARTITIONS and BOOTSTRAP

2015-04-07 Thread drEagle
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi, Le 07/04/2015 02:39, Tom Rini a écrit : > On Sat, Apr 04, 2015 at 06:13:18PM +0200, drEagle wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA256 >> >> Le 03/04/2015 23:46, Vagrant Cascadian a écrit : >>> On 2015-03-25, drEagle wrote: >>>

[U-Boot] [PATCH] ARM: zynq: disable CONFIG_SYS_MALLOC_F_LEN to fix MMC boot

2015-04-07 Thread Masahiro Yamada
Since commit 326a682358c1 (malloc_f: enable SYS_MALLOC_F by default if DM is on), Zynq MMC boot hangs up after printing the following: U-Boot SPL 2015.04-rc5-00053-gadcc570 (Apr 08 2015 - 12:59:11) mmc boot reading system.dtb Prior to commit 326a682358c1, Zynq boards enabled CONFIG_DM

Re: [U-Boot] Zynq board is boken

2015-04-07 Thread Masahiro Yamada
Simon, Thanks for checking this. 2015-04-08 12:25 GMT+09:00 Simon Glass : > Hi Masahiro, > > On 7 April 2015 at 06:06, Masahiro Yamada > wrote: >> Hi Michal, >> (cc Simon) >> >> Bad new. >> >> >> My Zedboard would not boot from MMC card with the U-Boot mainline. >> >> U-Boot hangs after printin

[U-Boot] [PATCH] patman: check git format.subjectprefix setting when generate patches prefix

2015-04-07 Thread Josh Wu
For the local project, we may specified format.subjectprefix setting. Then the patch will be formated as [Project_prefix][PATCH]. But patman will not check this setting. It will remove the format.subjectprefix. So This patch will let patman check this setting and add it as a project prefix. Signe

Re: [U-Boot] [PATCH v3 3/3] usb: Early failure when the first descriptor read fails or is invalid

2015-04-07 Thread Stephen Warren
On 04/04/2015 07:12 AM, Paul Kocialkowski wrote: > This may happen when using an USB1 device on a controller that only supports > USB2 (e.g. EHCI). Reading the first descriptor will fail (read 0 byte), so we > can abort the process at this point instead of failing later and wasting time. FYI, this

Re: [U-Boot] Zynq board is boken

2015-04-07 Thread Simon Glass
Hi Masahiro, On 7 April 2015 at 06:06, Masahiro Yamada wrote: > Hi Michal, > (cc Simon) > > Bad new. > > > My Zedboard would not boot from MMC card with the U-Boot mainline. > > U-Boot hangs after printing "reading system.dtb". > I think, other zynq board types, too. > > I did git-bisect and the

Re: [U-Boot] [PATCH v5 0/8] Extend LPC32xx functionality and add LPC32xx-based work_92015 board

2015-04-07 Thread Simon Glass
Hi Albert, On 24 March 2015 at 02:09, Albert ARIBAUD wrote: > Bonjour Simon, > > Le Mon, 23 Mar 2015 17:55:56 -0600, Simon Glass a > écrit : > >> Hi Albert, >> >> On 16 March 2015 at 14:28, Albert ARIBAUD wrote: >> > Hello Simon, >> > >> > On Mon, 16 Mar 2015 11:40:54 -0600, Simon Glass >> > w

[U-Boot] [PATCH] board/t2080rdb: enable CONFIG_PHY_AQUANTIA

2015-04-07 Thread Shengzhou Liu
CONFIG_PHY_AQ1202 is no longer needed, use CONFIG_PHY_AQUANTIA. Signed-off-by: Shengzhou Liu --- include/configs/T208xRDB.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/T208xRDB.h b/include/configs/T208xRDB.h index db6b42e..508edec 100644 --- a/include/conf

Re: [U-Boot] [PATCH 12/12] powerpc: ids8313: use "select" instead of default value in defconfig

2015-04-07 Thread Simon Glass
On 30 March 2015 at 21:48, Masahiro Yamada wrote: > Signed-off-by: Masahiro Yamada > --- > > arch/powerpc/cpu/mpc83xx/Kconfig | 1 + > configs/ids8313_defconfig| 1 - > 2 files changed, 1 insertion(+), 1 deletion(-) Acked-by: Simon Glass ___

Re: [U-Boot] [PATCH 11/12] ARM: cm_fx6: use "select" instead of default value in defconfig

2015-04-07 Thread Simon Glass
On 30 March 2015 at 21:48, Masahiro Yamada wrote: > Signed-off-by: Masahiro Yamada > --- > > arch/arm/Kconfig | 3 +++ > configs/cm_fx6_defconfig | 3 --- > 2 files changed, 3 insertions(+), 3 deletions(-) Acked-by: Simon Glass ___ U-Boot mai

Re: [U-Boot] [PATCH 10/12] ARM: stv0991: use "select" instead of default value in defconfig

2015-04-07 Thread Simon Glass
On 30 March 2015 at 21:48, Masahiro Yamada wrote: > Signed-off-by: Masahiro Yamada > --- > > arch/arm/Kconfig | 2 ++ > configs/stv0991_defconfig | 2 -- > 2 files changed, 2 insertions(+), 2 deletions(-) Acked-by: Simon Glass ___ U-Boot mai

Re: [U-Boot] [PATCH 03/12] ARM: UniPhier: use "select" instead of default value in defconfig

2015-04-07 Thread Simon Glass
On 30 March 2015 at 21:47, Masahiro Yamada wrote: > All the UniPhier boards have switch to Driver Model. > "select DM" is better than default value in each defconfig. > > Signed-off-by: Masahiro Yamada > --- > > arch/arm/Kconfig | 3 +++ > configs/ph1_ld4_defconfig | 3 --- > configs/

Re: [U-Boot] [PATCH 09/12] ARM: bav335x: use "select" instead of default value in defconfig

2015-04-07 Thread Simon Glass
On 30 March 2015 at 21:48, Masahiro Yamada wrote: > Signed-off-by: Masahiro Yamada > --- > > arch/arm/Kconfig | 2 ++ > configs/birdland_bav335a_defconfig | 3 --- > configs/birdland_bav335b_defconfig | 3 --- > 3 files changed, 2 insertions(+), 6 deletions(-) Acked-by: Simon

Re: [U-Boot] [PATCH 01/12] dm: spi_flash: fix wrong dependency

2015-04-07 Thread Simon Glass
On 30 March 2015 at 21:47, Masahiro Yamada wrote: > CONFIG_SPI does not exist in Kconfig in the first place, so the > dependency "depends on DM && SPI" is never met, i.e., DM_SPI_FLASH > can never be enabled (unless you ignore the dependency in an illegal > way. See below.) > > Actually, some def

Re: [U-Boot] [PATCH 05/12] ARM: rmobile: use "select" instead of default value in defconfig

2015-04-07 Thread Simon Glass
On 30 March 2015 at 21:47, Masahiro Yamada wrote: > Signed-off-by: Masahiro Yamada > --- > > arch/arm/cpu/armv7/rmobile/Kconfig | 12 > configs/alt_defconfig | 2 -- > configs/gose_defconfig | 2 -- > configs/koelsch_defconfig | 2 -- > configs/l

Re: [U-Boot] [PATCH 04/12] ARM: zynq: use "select" instead of default value in defconfig

2015-04-07 Thread Simon Glass
On 30 March 2015 at 21:47, Masahiro Yamada wrote: > All the Zynq boards have switch to Driver Model. > "select DM" is better than default value in each defconfig. > > Signed-off-by: Masahiro Yamada > --- > > arch/arm/Kconfig | 1 + > configs/zynq_microzed_defconfig| 1 - >

Re: [U-Boot] [PATCH 07/12] ARM: mx6: use "select" instead of default value in defconfig

2015-04-07 Thread Simon Glass
On 30 March 2015 at 21:47, Masahiro Yamada wrote: > Signed-off-by: Masahiro Yamada > --- > > arch/arm/Kconfig | 6 ++ > configs/mx6dlsabreauto_defconfig | 2 -- > configs/mx6dlsabresd_defconfig | 2 -- > configs/mx6qsabreauto_defconfig| 2 -- > configs/mx6qsabresd

Re: [U-Boot] [PATCH 06/12] ARM: snapper9260: use "select" instead of default value in defconfig

2015-04-07 Thread Simon Glass
On 30 March 2015 at 21:47, Masahiro Yamada wrote: > Signed-off-by: Masahiro Yamada > --- > > arch/arm/mach-at91/Kconfig| 3 +++ > configs/snapper9260_defconfig | 3 --- > configs/snapper9g20_defconfig | 3 --- > 3 files changed, 3 insertions(+), 6 deletions(-) Acked-by: Simon Glass ___

Re: [U-Boot] [PATCH 08/12] ARM: socfpga: use "select" instead of default value in defconfig

2015-04-07 Thread Simon Glass
On 7 April 2015 at 20:46, Simon Glass wrote: > Hi Masahiro, > > On 5 April 2015 at 21:22, Masahiro Yamada > wrote: >> Hi Pavel, >> >> >> 2015-04-02 21:47 GMT+09:00 Pavel Machek : >>> Hi! >>> >> Signed-off-by: Masahiro Yamada >> --- >> >> arch/arm/Kconfig |

Re: [U-Boot] [PATCH 08/12] ARM: socfpga: use "select" instead of default value in defconfig

2015-04-07 Thread Simon Glass
Hi Masahiro, On 5 April 2015 at 21:22, Masahiro Yamada wrote: > Hi Pavel, > > > 2015-04-02 21:47 GMT+09:00 Pavel Machek : >> Hi! >> >>> >> Signed-off-by: Masahiro Yamada >>> >> --- >>> >> >>> >> arch/arm/Kconfig | 6 ++ >>> >> configs/socfpga_arria5_defconfig | 3 --- >>>

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

2015-04-07 Thread Simon Glass
Hi Josh, On 7 April 2015 at 20:38, Josh Wu wrote: > > On 4/8/2015 4:49 AM, Simon Glass wrote: >> >> Hi Josh, >> >> On 6 April 2015 at 20:31, Josh Wu wrote: >>> >>> HI, Simon >>> >>> Thanks for the feedback. >>> >>> >>> On 4/6/2015 2:31 AM, Simon Glass wrote: Hi Josh, On 31 Ma

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

2015-04-07 Thread Josh Wu
On 4/8/2015 4:49 AM, Simon Glass wrote: Hi Josh, On 6 April 2015 at 20:31, Josh Wu wrote: HI, Simon Thanks for the feedback. On 4/6/2015 2:31 AM, Simon Glass wrote: Hi Josh, On 31 March 2015 at 20:54, Josh Wu wrote: Hi, Simon On 4/1/2015 10:04 AM, Simon Glass wrote: Hi Josh, On 30 Ma

Re: [U-Boot] [PATCH] mx53loco: Disable printing cpuinfo

2015-04-07 Thread Fabio Estevam
Tom/Stefano, On Tue, Apr 7, 2015 at 12:46 AM, hui@freescale.com wrote: >> -Original Message- >> From: Fabio Estevam [mailto:fabio.este...@freescale.com] >> Sent: Monday, April 06, 2015 10:23 PM >> To: sba...@denx.de >> Cc: Liu Hui-R64343; u-boot@lists.denx.de; Estevam Fabio-R49496 >>

Re: [U-Boot] [PATCH] x86: minnowmax: add GPIO mapping support

2015-04-07 Thread Simon Glass
Hi Gabriel, On 6 April 2015 at 00:10, Gabriel Huau wrote: > Hi Simon, > > > On 04/05/2015 11:31 AM, Simon Glass wrote: >> >> Hi Gabriel, >> >> On 1 April 2015 at 05:20, Gabriel Huau wrote: >>> >>> Hi Simon, >>> >>> >>> On 03/31/2015 07:32 PM, Simon Glass wrote: Hi Gabriel, On

Re: [U-Boot] [PATCH] fdt: add new fdt_fixup_display function to configure display

2015-04-07 Thread Simon Glass
Hi Tim, On 6 April 2015 at 08:07, Tim Harvey wrote: > > Add 'fdt_fixup_display' function to fixup device-tree for a specific > display. This is useful if a device-tree has configurations for multiple > display timings for undetectable displays. > > Signed-off-by: Tim Harvey > --- > common/fdt_s

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

2015-04-07 Thread Simon Glass
Hi Przemyslaw, On 7 April 2015 at 09:31, Przemyslaw Marczak wrote: > Hello Simon, > > > On 04/05/2015 08:30 PM, Simon Glass wrote: >> >> Hi Przemyslaw, >> >> On 3 April 2015 at 10:09, Przemyslaw Marczak >> wrote: >>> >>> Hello Simon, >>> >>> >>> On 03/29/2015 03:07 PM, Simon Glass wrote: >>

Re: [U-Boot] [PATCH] ARM: tegra: CONFIG_{SYS_, }LOAD{_, }ADDR rationalization

2015-04-07 Thread Simon Glass
On 1 April 2015 at 15:40, Stephen Warren wrote: > From: Stephen Warren > > As best I can tell, CONFIG_SYS_LOAD_ADDR and CONFIG_LOADADDR/$loadaddr > serve essentially the same purpose. Roughly, if a command takes a load > address, then CONFIG_SYS_LOAD_ADDR or $loadaddr (or both) are the default >

Re: [U-Boot] [PATCH v2 80/80] dm: usb: Add a README for driver model

2015-04-07 Thread Simon Glass
Hi Jim, On 6 April 2015 at 21:24, Jim Lin wrote: > There are some typos. Please correct them, thanks. > > > On 03/26/2015 02:23 AM, Simon Glass wrote: >> >> Add some documentation describing how USB is implemented with USB. This >> might make things easier for people to understand. >> >> Signed-o

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

2015-04-07 Thread Simon Glass
Hi Joe, On 3 April 2015 at 15:14, Joe Hershberger wrote: > 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 He

[U-Boot] [PATCH 1/2] powerpc/mpc85xx: Don't relocate exception vectors

2015-04-07 Thread Scott Wood
Booke does not require exception vectors to be located at address zero. U-Boot was doing so anyway, simply because that's how it had been done on other PPC. The downside of this is that once the OS is loaded to address zero, the exception vectors have been overwritten -- which makes it difficult t

[U-Boot] [PATCH 2/2] powerpc/mpc85xx: Remove some dead code

2015-04-07 Thread Scott Wood
U-Boot does not have system calls (the services it exposes to standalone commands use a different mechanism), so the syscall handler is dead code. It's also broken code, as it assumes it is located at 0xc00 -- while even before the patch to stop relocating exception vectors to 0, U-Boot had the sy

Re: [U-Boot] [PATCH v2 3/8] sandbox: Add support for bootz

2015-04-07 Thread Simon Glass
Hi Stephen, On 7 April 2015 at 15:00, Stephen Warren wrote: > On 04/07/2015 02:40 PM, Simon Glass wrote: >> >> Hi Sjoerd, >> >> On 7 April 2015 at 01:56, Sjoerd Simons >> wrote: >>> >>> On Mon, 2015-04-06 at 15:40 -0600, Stephen Warren wrote: On 04/06/2015 03:02 PM, Sjoerd Simons wrote

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

2015-04-07 Thread Scott Wood
On Tue, 2015-04-07 at 13:54 -0400, Bill Pringlemeir wrote: > On 7 Apr 2015, scottw...@freescale.com wrote: > > On Tue, 2015-04-07 at 10:06 -0400, Bill Pringlemeir wrote: > > >> In any case the document has, > > >> If the NAND flash supports sub-pages, then what can be done is ECC > >> codes can

Re: [U-Boot] [PATCH v2 3/8] sandbox: Add support for bootz

2015-04-07 Thread Stephen Warren
On 04/07/2015 02:40 PM, Simon Glass wrote: Hi Sjoerd, On 7 April 2015 at 01:56, Sjoerd Simons wrote: On Mon, 2015-04-06 at 15:40 -0600, Stephen Warren wrote: On 04/06/2015 03:02 PM, Sjoerd Simons wrote: Add dummy bootz_setup implementation allowing the u-boot sandbox to run bootz. This recog

Re: [U-Boot] [PATCH v2 2/3] sunxi: Complete i2c support for each supported platform

2015-04-07 Thread Simon Glass
Hi, On 6 April 2015 at 02:43, Hans de Goede wrote: > Hi Simon and Paul, > > On 05-04-15 22:56, Paul Kocialkowski wrote: >> >> Le dimanche 05 avril 2015 à 12:31 -0600, Simon Glass a écrit : >>> >>> Hi Paul, >>> >>> On 4 April 2015 at 14:49, Paul Kocialkowski wrote: Sunxi platforms come

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

2015-04-07 Thread Simon Glass
Hi Josh, On 6 April 2015 at 20:31, Josh Wu wrote: > HI, Simon > > Thanks for the feedback. > > > On 4/6/2015 2:31 AM, Simon Glass wrote: >> >> Hi Josh, >> >> On 31 March 2015 at 20:54, Josh Wu wrote: >>> >>> Hi, Simon >>> >>> On 4/1/2015 10:04 AM, Simon Glass wrote: Hi Josh,

Re: [U-Boot] [PATCH v4 2/3] i2c: MVTWSI driver Kconfig bindings

2015-04-07 Thread Paul Kocialkowski
Le mardi 07 avril 2015 à 22:20 +0200, Paul Kocialkowski a écrit : > This adds the MVTWSI I2C driver to Kconfig bindings, to allow flexible > selection > e.g. based on other Kconfig properties. Oh and if you can, please make MVTWSI lowercase in the commit title, I'm just realizing now how bad it h

Re: [U-Boot] [PATCH v2 4/8] sandbox: Renamed sb command to host

2015-04-07 Thread Simon Glass
Hi Sjoerd, On 6 April 2015 at 15:02, Sjoerd Simons wrote: > As suggested by Simon Glass, rename the sb command to host but keep the > old sb command as an alias > > Signed-off-by: Sjoerd Simons > --- > > Changes in v2: None > > common/Makefile | 2 +- > common/{cmd_sandbox

Re: [U-Boot] [PATCH v2 5/8] sandbox: Implement host dev [device]

2015-04-07 Thread Simon Glass
On 6 April 2015 at 15:02, Sjoerd Simons wrote: > A common pattern to check if a certain device exists (e.g. in > config_distro_bootcmd) is to use: dev [device] > > Implement host dev [device] so this pattern can be used for sandbox host > devices. > > Signed-off-by: Sjoerd Simons > --- > > Chang

Re: [U-Boot] [PATCH v2 8/8] sandbox: add config_distro_defaults and config_distro_bootcmd

2015-04-07 Thread Simon Glass
On 6 April 2015 at 15:02, Sjoerd Simons wrote: > Make the sandbox setup more generic/examplary by including > config_distro_defaults.h and config_distro_bootcmd.h. > > Among other things this makes it easy to test whether images will boot > though with the standard distro bootcmds by running e.g:

Re: [U-Boot] [PATCH v2 3/8] sandbox: Add support for bootz

2015-04-07 Thread Simon Glass
Hi Sjoerd, On 7 April 2015 at 01:56, Sjoerd Simons wrote: > On Mon, 2015-04-06 at 15:40 -0600, Stephen Warren wrote: >> On 04/06/2015 03:02 PM, Sjoerd Simons wrote: >> > Add dummy bootz_setup implementation allowing the u-boot sandbox to >> > run bootz. This recognizes both ARM and x86 zImages to

Re: [U-Boot] [PATCH v2 6/8] config_distro_bootcmd.h: Add shared block definition for the host interface

2015-04-07 Thread Simon Glass
On 6 April 2015 at 15:02, Sjoerd Simons wrote: > Define the common shared block environment for the host interface in > preperation for the sandbox build to use config_distro_bootcmd. > > Signed-off-by: Sjoerd Simons > --- > > Changes in v2: None > > include/config_distro_bootcmd.h | 13

Re: [U-Boot] [PATCH v2 7/8] pxe: Ensure all memory access is to mapped memory

2015-04-07 Thread Simon Glass
Hi Sjoerd, On 6 April 2015 at 15:02, Sjoerd Simons wrote: > Properly map memory through map_sysmem so that pxe can be used from the > sandbox. > > Tested in sandbox as well as on jetson-tk1, odroid-xu3, snow as peach-pi > boards > > Signed-off-by: Sjoerd Simons > > --- > > Changes in v2: > - Pre

Re: [U-Boot] [PATCH v2 1/8] sandbox: only do sandboxfs for hostfs interface

2015-04-07 Thread Simon Glass
On 6 April 2015 at 15:02, Sjoerd Simons wrote: > Only do sandbox filesystem access when using the hostfs device > interface, rather then falling back to it in all cases. This prevents > confusion situations due to the fallback being taken rather then an > unsupported error being raised. > > Signed

Re: [U-Boot] [PATCH v2 2/8] sandbox: Split bootm code out into lib/bootm

2015-04-07 Thread Simon Glass
On 6 April 2015 at 15:02, Sjoerd Simons wrote: > Follow the convention of other architectures and move the platform > specific linux bootm code into sandbox/lib/bootm.c. > > Signed-off-by: Sjoerd Simons > --- > > Changes in v2: None > > arch/sandbox/cpu/cpu.c| 12 > arch/sandbox

[U-Boot] [PATCH v4 3/3] sunxi: Complete i2c support for each supported platform

2015-04-07 Thread Paul Kocialkowski
Sunxi platforms come with at least 3 TWI (I2C) controllers and some platforms even have up to 5. This adds support for every controller on each supported platform, which is especially useful when using expansion ports on single-board- computers. Signed-off-by: Paul Kocialkowski --- arch/arm/incl

[U-Boot] [PATCH v4 1/3] i2c: mvtwsi: Support for up to 4 different controllers

2015-04-07 Thread Paul Kocialkowski
Orion5x, Kirkwood and Armada XP platforms come with a single TWSI (I2C) MVTWSI controller. However, other platforms using MVTWSI may come with more: this is the case on Allwinner (sunxi) platforms, where up to 4 controllers can be found on the same chip. Signed-off-by: Paul Kocialkowski --- arch

[U-Boot] [PATCH v4 2/3] i2c: MVTWSI driver Kconfig bindings

2015-04-07 Thread Paul Kocialkowski
This adds the MVTWSI I2C driver to Kconfig bindings, to allow flexible selection e.g. based on other Kconfig properties. Signed-off-by: Paul Kocialkowski --- drivers/i2c/Kconfig | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/i2c/Kconfig b/drivers/i2c/Kconfig index 692810d..71

[U-Boot] [PATCH v4 0/3] i2c: sunxi: Support every i2c controller on each supported platform

2015-04-07 Thread Paul Kocialkowski
Changes since v3: * Kconfig support for MVTWSI * Only enable twsi0 by default for platforms that always use it for the AXP * Remove enabling other I2C busses by default on boards that expose them on pin headers since those might be used for some other functionalities Changes since v2: * I2C/TWI

Re: [U-Boot] [PATCH v2 76/80] dm: test: Allow 'dm test' to select a particular test to run

2015-04-07 Thread Simon Glass
On 25 March 2015 at 12:23, Simon Glass wrote: > As well as running all tests, it is useful to be able to run a selected test. > > Signed-off-by: Simon Glass > --- > > Changes in v2: None > > include/dm/test.h | 7 --- > test/dm/cmd_dm.c| 11 --- > test/dm/test-main.c | 7

Re: [U-Boot] [PATCH v2 77/80] dm: usb: Add tests for the USB uclass

2015-04-07 Thread Simon Glass
On 25 March 2015 at 12:23, Simon Glass wrote: > This adds a simple test for probing and a functional test using the flash > stick emulator, which tests a large chunk of the USB stack. > > Signed-off-by: Simon Glass > --- > > Changes in v2: None > > test/dm/Makefile | 1 + > test/dm/test-dm.sh

Re: [U-Boot] [PATCH v2 75/80] dm: test: Correct printf() output nit in 'dm uclass'

2015-04-07 Thread Simon Glass
On 25 March 2015 at 12:23, Simon Glass wrote: > Neither the hyphen nor the equals sign is needed. > > Signed-off-by: Simon Glass > --- > > Changes in v2: None > > test/dm/cmd_dm.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied to u-boot-dm/next.

Re: [U-Boot] [PATCH v2 70/80] dm: usb: exynos: Enable both EHCI and XHCI on snow

2015-04-07 Thread Simon Glass
On 25 March 2015 at 12:22, Simon Glass wrote: > Since we can support both controllers now, enable this in the device tree. > > Signed-off-by: Simon Glass > --- > > Changes in v2: None > > arch/arm/dts/exynos5250-snow.dts | 1 + > 1 file changed, 1 insertion(+) Applied to u-boot-dm/next. ___

Re: [U-Boot] [PATCH v2 71/80] dm: usb: tegra: Move to driver model for USB

2015-04-07 Thread Simon Glass
On 25 March 2015 at 12:22, Simon Glass wrote: > Move Tegra boards over to driver model for USB EHCI. There are a few things > that are no-longer needed (e.g. in fdtdec.h) but these will be cleaned up > in a later patch to be applied one we are confident this change is fully > tested. > > Signed-of

Re: [U-Boot] [PATCH v2 74/80] dm: usb: sandbox: Enable USB

2015-04-07 Thread Simon Glass
On 25 March 2015 at 12:23, Simon Glass wrote: > Enable USB emulation and associated features so that USB can be used in > sandbox. > > Signed-off-by: Simon Glass > --- > > Changes in v2: None > > configs/sandbox_defconfig | 4 > include/configs/sandbox.h | 2 ++ > 2 files changed, 6 inserti

Re: [U-Boot] [PATCH v2 73/80] dm: usb: Tidy up pipe value decoding

2015-04-07 Thread Simon Glass
On 25 March 2015 at 12:23, Simon Glass wrote: > Add a few more shifts/masks to make it easier to decode a pipe value (rather > than just building it). We need this for USB device emulation. > > Signed-off-by: Simon Glass > --- > > Changes in v2: None > > include/usb_defs.h | 23 +

Re: [U-Boot] [PATCH v2 72/80] dm: usb: Add a generic descriptor struct

2015-04-07 Thread Simon Glass
On 25 March 2015 at 12:23, Simon Glass wrote: > This is useful for creating lists of descriptors, and is better than using > void * for this purpose. > > Signed-off-by: Simon Glass > --- > > Changes in v2: None > > include/linux/usb/ch9.h | 5 + > 1 file changed, 5 insertions(+) Applied to

Re: [U-Boot] [PATCH v2 68/80] dm: usb: exynos: Use driver model for USB

2015-04-07 Thread Simon Glass
On 25 March 2015 at 12:22, Simon Glass wrote: > Convert Exynos boards over to use driver model for USB. This does not remove > any unnecessary code so far. > > Signed-off-by: Simon Glass > --- > > Changes in v2: None > > arch/arm/cpu/armv7/exynos/Kconfig | 3 +++ > 1 file changed, 3 insertions(+

Re: [U-Boot] [PATCH v2 67/80] dm: usb: exynos: Adjust XHCI driver to support driver model

2015-04-07 Thread Simon Glass
On 25 March 2015 at 12:22, Simon Glass wrote: > Support driver model in the exynos XHCI driver. > > Signed-off-by: Simon Glass > --- > > Changes in v2: None > > drivers/usb/host/xhci-exynos5.c | 120 > +++- > 1 file changed, 119 insertions(+), 1 deletion(-)

Re: [U-Boot] [PATCH v2 69/80] dm: usb: exynos: Enable both USB ports on snow

2015-04-07 Thread Simon Glass
On 25 March 2015 at 12:22, Simon Glass wrote: > Switch snow over to use both EHCI and XHCI at the same time. > > Signed-off-by: Simon Glass > --- > > Changes in v2: None > > include/configs/snow.h | 2 ++ > 1 file changed, 2 insertions(+) Applied to u-boot-dm/next. _

Re: [U-Boot] [PATCH v2 64/80] dm: usb: xhci: Factor out common init/uninit

2015-04-07 Thread Simon Glass
On 25 March 2015 at 12:22, Simon Glass wrote: > Since driver model will want to use most of the same code for XHCI init > and uninit, put it in a separate function. > > Signed-off-by: Simon Glass > --- > > Changes in v2: None > > drivers/usb/host/xhci.c | 85 > ++

Re: [U-Boot] [PATCH v2 65/80] dm: usb: Support driver model in XHCI

2015-04-07 Thread Simon Glass
On 25 March 2015 at 12:22, Simon Glass wrote: > Add driver model support in the XHCI support code so that it can be used by > XHCI USB drivers. > > Signed-off-by: Simon Glass > --- > > Changes in v2: None > > drivers/usb/host/xhci-mem.c | 1 + > drivers/usb/host/xhci.c | 179 > +++

Re: [U-Boot] [PATCH v2 62/80] dm: usb: xhci: Use explicit parameters for xhci_alloc_virt_device()

2015-04-07 Thread Simon Glass
On 25 March 2015 at 12:22, Simon Glass wrote: > This function should not be delving into struct usb_device. Pass in the > parameters it needs directly. > > Signed-off-by: Simon Glass > --- > > Changes in v2: None > > drivers/usb/host/xhci-mem.c | 4 +--- > drivers/usb/host/xhci.c | 2 +- > d

Re: [U-Boot] [PATCH v2 66/80] dm: usb: Rename the XHCI HCD to U-Boot

2015-04-07 Thread Simon Glass
On 25 March 2015 at 12:22, Simon Glass wrote: > This should be "U-Boot", not "u-boot". > > Signed-off-by: Simon Glass > --- > > Changes in v2: None > > drivers/usb/host/xhci.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied to u-boot-dm/next.

Re: [U-Boot] [PATCH v2 63/80] dm: usb: xhci: Use explicit parameters for xhci_setup_addressable_virt_dev()

2015-04-07 Thread Simon Glass
On 25 March 2015 at 12:22, Simon Glass wrote: > This function should not be delving into struct usb_device. Pass in the > parameters it needs directly. > > Signed-off-by: Simon Glass > --- > > Changes in v2: None > > drivers/usb/host/xhci-mem.c | 19 +++ > drivers/usb/host/xhci.c

Re: [U-Boot] [PATCH v2 61/80] dm: usb: xhci: Use a function to get xhci_ctrl

2015-04-07 Thread Simon Glass
On 25 March 2015 at 12:22, Simon Glass wrote: > Rather than getting this directly from struct usb_device, call a function > to obtain it. This will make it possible for driver model to provide it > another way. > > Signed-off-by: Simon Glass > --- > > Changes in v2: None > > drivers/usb/host/xhc

Re: [U-Boot] [PATCH v2 59/80] dm: usb: tegra: Move most of init/uninit into a function

2015-04-07 Thread Simon Glass
On 25 March 2015 at 12:22, Simon Glass wrote: > We want to use mostly the same init and uninit code for driver model, so move > the common part into two functions. > > Signed-off-by: Simon Glass > --- > > Changes in v2: None > > drivers/usb/host/ehci-tegra.c | 143 >

  1   2   3   >