[U-Boot] [PATCH 1/2] stm32f4: fix MAINTAINERS file

2015-06-30 Thread Antonio Borneo
When "scripts/get_maintainer.pl" parses "board/.../MAINTAINERS", it uses the line containing board name as delimiter. Without this line, the script happily mixes the lines from current board MAINTAINERS file with lines from another file. Fix it by adding a reasonable board name. Tested by compari

[U-Boot] [PATCH 2/2] stm32f4: fix minor typo in comment

2015-06-30 Thread Antonio Borneo
Signed-off-by: Antonio Borneo To: u-boot@lists.denx.de To: Kamil Lulko Cc: Tom Rini --- include/configs/stm32f429-discovery.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/stm32f429-discovery.h b/include/configs/stm32f429-discovery.h index 46869dd..c8af7b6

Re: [U-Boot] GCC 5.x compile errors

2015-06-30 Thread Albert ARIBAUD
Hello ANDY, On Tue, 30 Jun 2015 22:02:38 +, ANDY KENNEDY wrote: > Attempted to build u-boot with gcc 5.x for mipsel 32. Result was that > I get brokenness around arch/mips/include/asm/io.h and > arch/mips/include/asm/system.h. The source lines all look something > like: > > extern inline v

[U-Boot] [PATCH v2 3/8] JFFS2: Only list each directory entry once

2015-06-30 Thread Mark Tomlinson
If multiple versions of a file exist, only the most recent version should be used. The scheme to write 0 for the inode in older versions did not work, since this would have required writing to flash. The only time this caused an issue was listing a directory, where older versions of the file would

[U-Boot] [PATCH v2 6/8] JFFS2: Change scansize to match linux kernel

2015-06-30 Thread Mark Tomlinson
The scan code is similar to the linux kernel, but the kernel defines a much smaller size to scan through before deciding a sector is blank. Assuming that what is in the kernel is OK, make these two match. On its own, this change makes no difference to scanning of any sectors which have a clean mar

[U-Boot] [PATCH v2 4/8] JFFS2: Improve speed reading flash files

2015-06-30 Thread Mark Tomlinson
jffs2_1pass_read_inode() would read the entire data for each node in the filesystem, regardless of whether it was part of the file to be loaded or not. By only reading the header data for an inode, and then reading the data only when it is found to be part of the file to be loaded, much copying of

[U-Boot] [PATCH v2 8/8] JFFS2: Use merge sort when parsing filesystem

2015-06-30 Thread Mark Tomlinson
When building the file system the existing code does an insertion into a linked list. It attempts to speed this up by keeping a pointer to where the last entry was inserted but it's still slow. Now the nodes are just inserted into the list without searching through for the correct place. This unso

[U-Boot] [PATCH v2 7/8] JFFS2: Use CLEANMARKER to reduce scanning time

2015-06-30 Thread Mark Tomlinson
If a sector has a CLEANMARKER at the beginning, it indicates that the entire sector has been erased. Therefore, if this is found, we can skip the entire block. This was not being done before this patch. The code now does the same as the kernel does when encountering a CLEANMARKER. It still checks

[U-Boot] [PATCH v2 2/8] JFFS2: Speed up and fix comparison functions

2015-06-30 Thread Mark Tomlinson
Copying complete nodes from flash can be slow if the flash is slow to read. By only reading the data needed, the sorting operation can be made much faster. The directory entry comparison function also had a two bugs. First, it did not ensure the name was copied, so the name comparison may have bee

[U-Boot] [PATCH v2 1/8] JFFS2: Return early when file read not necessary

2015-06-30 Thread Mark Tomlinson
If a destination is not provided, jffs2_1pass_read_inode() only returns the length of the file. In this case, avoid reading all the data nodes, and return as soon as the length of the file is known. Signed-off-by: Mark Tomlinson --- Changes in v2: - Fix comment style - Remove extra {} pair. f

[U-Boot] [PATCH v2 5/8] JFFS2: Optimize building lists during scan

2015-06-30 Thread Mark Tomlinson
If the flash is slow, reading less from the flash into buffers makes the process faster. Signed-off-by: Mark Tomlinson --- Changes in v2: - Change comment style fs/jffs2/jffs2_1pass.c | 25 + 1 file changed, 21 insertions(+), 4 deletions(-) diff --git a/fs/jffs2/jffs2

[U-Boot] [PATCH v2 0/8] JFFS2 fixes and performance improvements

2015-06-30 Thread Mark Tomlinson
In reply to comments from Wolfgang Denk and Heiko Schocher: My aim was to optimize U-Boot's loading of a JFFS2 file, since we needed to boot much more quickly on one of our devices than we currently were. We had discussed the possibility of abandoning JFFS2 entirely, but chose to see how quickly

[U-Boot] [RESEND PATCH 1/1] armv8: Add framework for CCN-504 interconnect configuration

2015-06-30 Thread Bhupesh Sharma
This patch adds a minimal framework for Dickens CCN-504 interconnect configuration - mainly related to adding Clusters/cores to snoop/DVM domain and setting QoS of the RN-I ports. LS2085A platform makes use of these configurations to support better network data performance and to boot a SMP Linux.

[U-Boot] [PATCH 1/1] armv8: Add framework for CCN-504 interconnect configuration

2015-06-30 Thread Bhupesh Sharma
This patch adds a minimal framework for Dickens CCN-504 interconnect configuration - mainly related to adding Clusters/cores to snoop/DVM domain and setting QoS of the RN-I ports. LS2085A platform makes use of these configurations to support better network data performance and to boot a SMP Linux.

[U-Boot] [PATCH][v8] mpc85xx/T104xD4RDB: Add T104xD4RDB boards support

2015-06-30 Thread Priyanka Jain
T1040D4RDB is a Freescale reference board that hosts the T1040 SoC. T1040D4RDB is re-designed T1040RDB board with following changes : - Support of DDR4 memory - Support of 0x66 serdes protocol which can support following interfaces - 2 RGMII's on DTSEC4, DTSEC5 - 1 SGMII

Re: [U-Boot] [PATCH] powerpc/mpc85xx:Add GCC flag -fno-delete-null-pointer-checks

2015-06-30 Thread Kushwaha Prabhakar
> -Original Message- > From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass > Sent: Tuesday, June 30, 2015 8:28 PM > To: Kushwaha Prabhakar-B32579 > Cc: Wood Scott-B07421; Sun York-R58495; tr...@konsulko.com; u- > b...@lists.denx.de; Dharmakan Rohit-B30502 > Subject: Re:

Re: [U-Boot] [PATCH v6 1/5] dm: sf: Add Atmel DataFlash spi flash driver

2015-06-30 Thread Wang Haikun
On 6/30/2015 7:24 PM, Jagan Teki wrote: > Hi Haikun, > > On 30 June 2015 at 04:48, Simon Glass wrote: >> Hi, >> >> On 26 June 2015 at 05:30, Haikun Wang wrote: >>> Atmel DataFlash chips have commands different from common spi >>> flash commands. >>> Atmel DataFlash also have special page-size. >>

Re: [U-Boot] [resend][PATCH 0/2] ARM: cache: clean up the code to drop the empty stub functions

2015-06-30 Thread Josh Wu
Hi, Any feedback for this series patch? Best Regards, Josh Wu On 6/11/2015 1:21 PM, Josh Wu wrote: This series is based on the patch I sent: http://patchwork.ozlabs.org/patch/481095/ As above introduces the default empty function for invalidate_dcache_range() & flush_dcache_range() in arch/

Re: [U-Boot] [PATCH v2 1/2] pci: Configure expansion ROM during auto config process

2015-06-30 Thread Simon Glass
Hi Bin, On 22 June 2015 at 21:45, Bin Meng wrote: > Currently PCI expansion ROM address is assigned by a call to > pciauto_setup_rom() outside of the pci auto config process. > This does not work when expansion ROM is on a device behind > PCI bridge where bridge's memory limit register was alread

Re: [U-Boot] [v3 10/10] spi: cadence_qspi: add device tree binding doc

2015-06-30 Thread Vikas MANOCHA
Thanks Jagan, > -Original Message- > From: Jagan Teki [mailto:jt...@openedev.com] > Sent: Monday, June 29, 2015 11:29 PM > To: Vikas MANOCHA > Cc: u-boot@lists.denx.de; Stefan Roese > Subject: Re: [U-Boot] [v3 10/10] spi: cadence_qspi: add device tree binding > doc > > On 30 June 2015 at

Re: [U-Boot] [PATCH 08/11 v2] drivers/net/vsc9953: Add VLAN commands for VSC9953

2015-06-30 Thread Joe Hershberger
Hi Codrin, On Tue, Jun 30, 2015 at 9:02 AM, Codrin Constantin Ciubotariu wrote: > Hi Joe, > >> -Original Message- >> From: Joe Hershberger [mailto:joe.hershber...@gmail.com] >> Sent: Friday, June 26, 2015 1:41 AM >> To: Ciubotariu Codrin Constantin-B43658 >> Cc: u-boot; Joe Hershberger; S

Re: [U-Boot] [PATCH 07/11 v2] drivers/net/vsc9953: Add commands to manipulate the FDB for VSC9953

2015-06-30 Thread Joe Hershberger
Hi Codrin, On Tue, Jun 30, 2015 at 8:31 AM, Codrin Constantin Ciubotariu wrote: > Hi Joe, > >> -Original Message- >> From: Joe Hershberger [mailto:joe.hershber...@gmail.com] >> Sent: Friday, June 26, 2015 1:39 AM >> To: Ciubotariu Codrin Constantin-B43658 >> Cc: u-boot; Joe Hershberger; S

Re: [U-Boot] [PATCH] ti: Add SPDX license identifier to omap.h

2015-06-30 Thread Tom Rini
On Tue, Jun 30, 2015 at 04:03:02PM -0600, Simon Glass wrote: > This also came from Linux - according to this thread it has a GPL v2 > license like arch/arm/mach-omap2/mux.h: > > http://lists.denx.de/pipermail/u-boot/2015-June/217827.html > > Signed-off-by: Simon Glass > Reported-by: Ingrid Viit

Re: [U-Boot] [PATCH 04/11 v2] drivers/net/vsc9953: Refractor the parser for VSC9953 commands

2015-06-30 Thread Joe Hershberger
Hi Codrin, On Tue, Jun 30, 2015 at 3:57 AM, Codrin Constantin Ciubotariu wrote: > Hi Joe, > >> -Original Message- >> From: Joe Hershberger [mailto:joe.hershber...@gmail.com] >> Sent: Friday, June 26, 2015 1:31 AM >> To: Ciubotariu Codrin Constantin-B43658 >> Cc: u-boot; Joe Hershberger; S

Re: [U-Boot] [PATCH 03/11 v2] drivers/net/vsc9953: Add default configuration for VSC9953 L2 Switch

2015-06-30 Thread Joe Hershberger
Hi Codrin, On Tue, Jun 30, 2015 at 2:51 AM, Codrin Constantin Ciubotariu wrote: > Hi Joe, > > I removed the lines on which we agreed on... > >> >> > + switch (mode) { >> >> > + case EGRESS_UNTAG_ALL: >> >> > + clrsetbits_le32(&l2rew_reg->port[port_no].port_tag_cfg, >> >>

[U-Boot] GCC 5.x compile errors

2015-06-30 Thread ANDY KENNEDY
Attempted to build u-boot with gcc 5.x for mipsel 32. Result was that I get brokenness around arch/mips/include/asm/io.h and arch/mips/include/asm/system.h. The source lines all look something like: extern inline void func() { func text ; } Question: Is that valid C text? I have never

[U-Boot] [PATCH] ti: Add SPDX license identifier to omap.h

2015-06-30 Thread Simon Glass
This also came from Linux - according to this thread it has a GPL v2 license like arch/arm/mach-omap2/mux.h: http://lists.denx.de/pipermail/u-boot/2015-June/217827.html Signed-off-by: Simon Glass Reported-by: Ingrid Viitanen --- include/dt-bindings/pinctrl/omap.h | 2 ++ 1 file changed, 2 ins

Re: [U-Boot] Fwd: [PATCH] exynos: sandbox: ti: Add SPDX license identifiers and notes

2015-06-30 Thread Simon Glass
+U-Boot ML On 22 April 2015 at 14:21, Tony Lindgren wrote: > * Simon Glass [150422 13:16]: >> Hi, >> >> Please see below. >> >> Can you please advise what license should be used for this kernel file? >> >> include/dt-bindings/pinctrl/omap.h > > It's based on arch/arm/mach-omap2/mux.h which is GP

Re: [U-Boot] [PATCH 08/22] dm: usb: Use device_chld_remove and _unbind to clean up usb devs on stop

2015-06-30 Thread Simon Glass
HI Hans, On 30 June 2015 at 14:20, Hans de Goede wrote: > Hi, > > On 06/30/2015 06:07 PM, Simon Glass wrote: > > > Instead, I wonder if we can remove the children when we probe the bus? >>> >>> >>> >>> That should work, but I do not really see any advantage in that, >>> removing the childre

[U-Boot] [PATCH v2 2/2] ARM: ts4800: add ethernet support

2015-06-30 Thread Damien Riegel
This commit adds ethernet support to the TS4800. Note that the MAC address is not fused on this board and have to be read from FEC PALR PAUR registers (this is how the kernel provided by Technologic Systems does it). signed-off-by: Damien Riegel Cc: Stefano Babic --- Changes for v2: - Reorder

[U-Boot] [PATCH v2 1/2] ARM: ts4800: add basic board support

2015-06-30 Thread Damien Riegel
From: Lucile Quirion This commit adds basic support including: MMC, Serial console, TS4800 watchdog The config use CONFIG_SKIP_LOWLEVEL_INIT as U-boot is used as a second stage bootloader. Signed-off-by: Lucile Quirion signed-off-by: Damien Riegel Cc: Stefano Babic --- Changes for v2: - wt

Re: [U-Boot] [PATCH v3 00/54] dm: Introduce new driver model uclasses

2015-06-30 Thread Simon Glass
Hi Tom, On 30 June 2015 at 14:31, Tom Rini wrote: > On Tue, Jun 30, 2015 at 01:10:45PM -0700, York Sun wrote: >> >> >> On 06/30/2015 12:01 PM, Tom Rini wrote: >> > On Tue, Jun 30, 2015 at 11:42:41AM -0700, York Sun wrote: >> >> >> >> >> >> On 06/30/2015 11:33 AM, Simon Glass wrote: >> >>> Hi York

[U-Boot] [PATCH] sunxi: Update selects in arch/arm/Kconfig for DM conversions

2015-06-30 Thread Tom Rini
With certain features being convert to DM now we want sunxi to default to having DM enabled for ETH/SERIAL and USB in some cases. Cc: Hans de Goede Cc: Ian Campbell Signed-off-by: Tom Rini --- arch/arm/Kconfig |3 +++ configs/A10-OLinuXino-Lime_defconfig

Re: [U-Boot] [PATCH] sunxi: Select a bunch of CONFIG_foo options from ARCH_SUNXI

2015-06-30 Thread Tom Rini
On Tue, Jun 30, 2015 at 10:33:17PM +0200, Hans de Goede wrote: > Select a bunch of CONFIG_foo options from ARCH_SUNXI, instead of having > them set to y in every single sunxi defconfig. > > Signed-off-by: Hans de Goede Ug, sorry, I was waiting for some build results to come out before posting

[U-Boot] [PATCH] sunxi: Select a bunch of CONFIG_foo options from ARCH_SUNXI

2015-06-30 Thread Hans de Goede
Select a bunch of CONFIG_foo options from ARCH_SUNXI, instead of having them set to y in every single sunxi defconfig. Signed-off-by: Hans de Goede --- arch/arm/Kconfig | 3 +++ configs/A10-OLinuXino-Lime_defconfig | 3 --- configs/A10s-OLinuXino-M_defconfig

Re: [U-Boot] [PATCH v3 00/54] dm: Introduce new driver model uclasses

2015-06-30 Thread Tom Rini
On Tue, Jun 30, 2015 at 01:10:45PM -0700, York Sun wrote: > > > On 06/30/2015 12:01 PM, Tom Rini wrote: > > On Tue, Jun 30, 2015 at 11:42:41AM -0700, York Sun wrote: > >> > >> > >> On 06/30/2015 11:33 AM, Simon Glass wrote: > >>> Hi York, > >>> > >>> On 30 June 2015 at 10:08, York Sun wrote: > >

Re: [U-Boot] Please pull u-boot-sunxi master (fixes for v2015.07)

2015-06-30 Thread Hans de Goede
Hi, On 06/30/2015 07:52 PM, Tom Rini wrote: On Tue, Jun 30, 2015 at 03:11:02PM +0200, Hans de Goede wrote: Hi, On 28-06-15 18:06, Tom Rini wrote: On Sun, Jun 28, 2015 at 05:39:28PM +0200, Hans de Goede wrote: Hi, On 26-06-15 23:05, Tom Rini wrote: On Fri, Jun 26, 2015 at 12:13:51PM +0200,

Re: [U-Boot] [PATCH 08/22] dm: usb: Use device_chld_remove and _unbind to clean up usb devs on stop

2015-06-30 Thread Hans de Goede
Hi, On 06/30/2015 06:07 PM, Simon Glass wrote: Instead, I wonder if we can remove the children when we probe the bus? That should work, but I do not really see any advantage in that, removing the children is not that expensive and it feels like a kludge. That's how it currently works, fr

Re: [U-Boot] [PATCH] x86: baytrail: Configure FSP UPD from device tree

2015-06-30 Thread Andrew Bradford
Hi Simon, On 06/30 12:13, Simon Glass wrote: > Hi Andrew, > > On 30 June 2015 at 10:58, Andrew Bradford wrote: > > > > Hi Simon, > > > > On 06/30 09:29, Simon Glass wrote: > > > +Bin > > > > > > Hi Andrew, > > > > > > On 29 June 2015 at 09:10, wrote: > > > > > > > > From: Andrew Bradford > > >

Re: [U-Boot] [PATCH v3 00/54] dm: Introduce new driver model uclasses

2015-06-30 Thread York Sun
On 06/30/2015 12:01 PM, Tom Rini wrote: > On Tue, Jun 30, 2015 at 11:42:41AM -0700, York Sun wrote: >> >> >> On 06/30/2015 11:33 AM, Simon Glass wrote: >>> Hi York, >>> >>> On 30 June 2015 at 10:08, York Sun wrote: Simon, Does the dm force using device tree? I was reviewing a patc

Re: [U-Boot] [PATCH 18/20] spi: Kconfig: Add TEGRA114_SPI entry

2015-06-30 Thread Simon Glass
On 27 June 2015 at 12:14, Jagan Teki wrote: > Added TEGRA114_SPI entry on Kconfig with help description. > > Signed-off-by: Jagan Teki > Cc: Tom Warren > Cc: Stephen Warren > Cc: Simon Glass > --- > drivers/spi/Kconfig | 10 ++ > 1 file changed, 10 insertions(+) > Reviewed-by: Simon

Re: [U-Boot] [PATCH 19/20] spi: Kconfig: Add TEGRA20_SFLASH entry

2015-06-30 Thread Simon Glass
On 27 June 2015 at 12:14, Jagan Teki wrote: > Added TEGRA20_SFLASH entry on Kconfig with help description. > > Signed-off-by: Jagan Teki > Cc: Tom Warren > Cc: Stephen Warren > Cc: Simon Glass > --- > drivers/spi/Kconfig | 7 +++ > 1 file changed, 7 insertions(+) Reviewed-by: Simon Glass

Re: [U-Boot] [PATCH 17/20] spi: Kconfig: Add ICH_SPI entry

2015-06-30 Thread Simon Glass
On 27 June 2015 at 12:14, Jagan Teki wrote: > Added ICH_SPI entry on Kconfig with help description. > > Signed-off-by: Jagan Teki > Cc: Simon Glass > --- > drivers/spi/Kconfig | 7 +++ > 1 file changed, 7 insertions(+) > Reviewed-by: Simon Glass ___

Re: [U-Boot] [PATCH 20/20] spi: Kconfig: Add TEGRA20_SLINK entry

2015-06-30 Thread Simon Glass
On 27 June 2015 at 12:14, Jagan Teki wrote: > Added TEGRA20_SLINK entry on Kconfig with help description. > > Signed-off-by: Jagan Teki > Cc: Tom Warren > Cc: Stephen Warren > Cc: Simon Glass > --- > drivers/spi/Kconfig | 7 +++ > 1 file changed, 7 insertions(+) Reviewed-by: Simon Glass

Re: [U-Boot] [PATCH 16/20] spi: Kconfig: Add EXYNOS_SPI entry

2015-06-30 Thread Simon Glass
On 27 June 2015 at 12:13, Jagan Teki wrote: > Added EXYNOS_SPI entry on Kconfig with help description. > > Signed-off-by: Jagan Teki > Cc: Simon Glass > --- > drivers/spi/Kconfig | 7 +++ > 1 file changed, 7 insertions(+) Reviewed-by: Simon Glass __

Re: [U-Boot] [PATCH 07/20] sf: Kconfig: Add SPI_FLASH_DATAFLASH entry

2015-06-30 Thread Simon Glass
Hi Jagan, On 27 June 2015 at 12:13, Jagan Teki wrote: > Added SPI_FLASH_DATAFLASH entry on Kconfig with help description > > Signed-off-by: Jagan Teki > Cc: Haikun Wang > Cc: Simon Glass > --- > drivers/mtd/spi/Kconfig | 8 > 1 file changed, 8 insertions(+) Reviewed-by: Simon Glass

Re: [U-Boot] [PATCH v3 00/54] dm: Introduce new driver model uclasses

2015-06-30 Thread Jagan Teki
On 1 July 2015 at 00:12, York Sun wrote: > > > On 06/30/2015 11:33 AM, Simon Glass wrote: >> Hi York, >> >> On 30 June 2015 at 10:08, York Sun wrote: >>> Simon, >>> >>> Does the dm force using device tree? I was reviewing a patch set regarding >>> SPI >>> and found OF_CONTROL has to be selected

Re: [U-Boot] [PATCH v3 00/54] dm: Introduce new driver model uclasses

2015-06-30 Thread Tom Rini
On Tue, Jun 30, 2015 at 11:42:41AM -0700, York Sun wrote: > > > On 06/30/2015 11:33 AM, Simon Glass wrote: > > Hi York, > > > > On 30 June 2015 at 10:08, York Sun wrote: > >> Simon, > >> > >> Does the dm force using device tree? I was reviewing a patch set regarding > >> SPI > >> and found OF_

Re: [U-Boot] [PATCH v3 00/54] dm: Introduce new driver model uclasses

2015-06-30 Thread York Sun
On 06/30/2015 11:33 AM, Simon Glass wrote: > Hi York, > > On 30 June 2015 at 10:08, York Sun wrote: >> Simon, >> >> Does the dm force using device tree? I was reviewing a patch set regarding >> SPI >> and found OF_CONTROL has to be selected in order to get the driver model >> happy. >> >> My

Re: [U-Boot] dm-spi: spi_chip_select value

2015-06-30 Thread Simon Glass
Hi Jagan, On 30 June 2015 at 11:48, Jagan Teki wrote: > Hi Simon, > > On 27 June 2015 at 04:32, Simon Glass wrote: >> Hi Jagan, >> >> On 26 June 2015 at 13:07, Jagan Teki wrote: >>> Hi Simon, >>> >>> On 26 June 2015 at 21:23, Simon Glass wrote: Hi Jagan, On 23 June 2015 at 15:03

Re: [U-Boot] [PATCH v3 00/54] dm: Introduce new driver model uclasses

2015-06-30 Thread Simon Glass
Hi York, On 30 June 2015 at 10:08, York Sun wrote: > Simon, > > Does the dm force using device tree? I was reviewing a patch set regarding SPI > and found OF_CONTROL has to be selected in order to get the driver model > happy. > > My understanding of the driver model is both device tree and plat

Re: [U-Boot] [PATCH] powerpc/mpc85xx:Add GCC flag -fno-delete-null-pointer-checks

2015-06-30 Thread Tom Rini
On Tue, Jun 30, 2015 at 08:58:26AM -0600, Simon Glass wrote: > Hi, > > On 29 June 2015 at 22:18, Kushwaha Prabhakar wrote: > > Hi Simon, Tom, > > > > -fdelete-null-pointer-checks flag controls global dataflow analyses and > > eliminate useless checks for null pointers; It assume that if a point

Re: [U-Boot] [PATCH] x86: baytrail: Configure FSP UPD from device tree

2015-06-30 Thread Simon Glass
Hi Andrew, On 30 June 2015 at 10:58, Andrew Bradford wrote: > > Hi Simon, > > On 06/30 09:29, Simon Glass wrote: > > +Bin > > > > Hi Andrew, > > > > On 29 June 2015 at 09:10, wrote: > > > > > > From: Andrew Bradford > > > > > > Allow for configuration of FSP UPD from the device tree which will

Re: [U-Boot] Please pull u-boot-sunxi master (fixes for v2015.07)

2015-06-30 Thread Tom Rini
On Tue, Jun 30, 2015 at 03:11:02PM +0200, Hans de Goede wrote: > Hi, > > On 28-06-15 18:06, Tom Rini wrote: > >On Sun, Jun 28, 2015 at 05:39:28PM +0200, Hans de Goede wrote: > >>Hi, > >> > >>On 26-06-15 23:05, Tom Rini wrote: > >>>On Fri, Jun 26, 2015 at 12:13:51PM +0200, Hans de Goede wrote: > >

Re: [U-Boot] dm-spi: spi_chip_select value

2015-06-30 Thread Jagan Teki
Hi Simon, On 27 June 2015 at 04:32, Simon Glass wrote: > Hi Jagan, > > On 26 June 2015 at 13:07, Jagan Teki wrote: >> Hi Simon, >> >> On 26 June 2015 at 21:23, Simon Glass wrote: >>> Hi Jagan, >>> >>> On 23 June 2015 at 15:03, Jagan Teki wrote: Hi Simon, I'm calling spi_chip_sel

Re: [U-Boot] Please pull u-boot-sunxi master (fixes for v2015.07)

2015-06-30 Thread Tom Rini
On Tue, Jun 30, 2015 at 10:48:20AM -0500, Joe Hershberger wrote: > Hi Ian, > > On Tue, Jun 30, 2015 at 8:30 AM, Ian Campbell wrote: > > On Tue, 2015-06-30 at 15:11 +0200, Hans de Goede wrote: > > [...] > >> The latest patch-series seems to do the exact reverse. More knowledge is > >> being moved

Re: [U-Boot] [PATCH] x86: baytrail: Configure FSP UPD from device tree

2015-06-30 Thread Andrew Bradford
Hi Simon, On 06/30 09:29, Simon Glass wrote: > +Bin > > Hi Andrew, > > On 29 June 2015 at 09:10, wrote: > > > > From: Andrew Bradford > > > > Allow for configuration of FSP UPD from the device tree which will > > override any settings which the FSP was built with itself if the device > > tree

Re: [U-Boot] [PATCH] nitrogen6x: change maintainer

2015-06-30 Thread Troy Kisky
On 6/30/2015 7:48 AM, Eric Nelson wrote: > Troy Kisky will be maintaining the Nitrogen6x board going forward. > > Signed-off-by: Eric Nelson > --- > board/boundary/nitrogen6x/MAINTAINERS | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/board/boundary/nitrogen6x/MAINTAINE

Re: [U-Boot] [PATCH v3 00/54] dm: Introduce new driver model uclasses

2015-06-30 Thread York Sun
Simon, Does the dm force using device tree? I was reviewing a patch set regarding SPI and found OF_CONTROL has to be selected in order to get the driver model happy. My understanding of the driver model is both device tree and platform data are allowed, like Linux. Is that still true? York _

Re: [U-Boot] [PATCH 08/22] dm: usb: Use device_chld_remove and _unbind to clean up usb devs on stop

2015-06-30 Thread Simon Glass
Hi Hans, On 30 June 2015 at 09:54, Hans de Goede wrote: > Hi, > > > On 06/30/2015 04:58 PM, Simon Glass wrote: >> >> Hi Hans, >> >> On 30 June 2015 at 06:54, Hans de Goede wrote: >>> >>> Hi, >>> >>> On 29-06-15 05:45, Simon Glass wrote: Hi Hans, On 17 June 2015 at 13:33,

Re: [U-Boot] [PATCH 08/22] dm: usb: Use device_chld_remove and _unbind to clean up usb devs on stop

2015-06-30 Thread Hans de Goede
Hi, On 06/30/2015 04:58 PM, Simon Glass wrote: Hi Hans, On 30 June 2015 at 06:54, Hans de Goede wrote: Hi, On 29-06-15 05:45, Simon Glass wrote: Hi Hans, On 17 June 2015 at 13:33, Hans de Goede wrote: On an usb stop instead of leaving orphan usb devices behind simply remove On a usb

Re: [U-Boot] Please pull u-boot-sunxi master (fixes for v2015.07)

2015-06-30 Thread Joe Hershberger
Hi Ian, On Tue, Jun 30, 2015 at 8:30 AM, Ian Campbell wrote: > On Tue, 2015-06-30 at 15:11 +0200, Hans de Goede wrote: > [...] >> The latest patch-series seems to do the exact reverse. More knowledge is >> being moved away from a central place and into defconfig files. As said >> ARCH_SUNXI build

Re: [U-Boot] [PATCH] net: designware: fix driver name

2015-06-30 Thread Joe Hershberger
Hi Masahiro-san, On Tue, Jun 30, 2015 at 12:20 AM, Masahiro Yamada wrote: > Joe, > > Ping. > > 2015-05-27 14:57 GMT+09:00 Masahiro Yamada : >> It is working, but not nice... >> >> Signed-off-by: Masahiro Yamada >> --- >> >> drivers/net/designware.c | 2 +- >> 1 file changed, 1 insertion(+), 1 d

Re: [U-Boot] [PATCH] x86: baytrail: Configure FSP UPD from device tree

2015-06-30 Thread Simon Glass
+Bin Hi Andrew, On 29 June 2015 at 09:10, wrote: > > From: Andrew Bradford > > Allow for configuration of FSP UPD from the device tree which will > override any settings which the FSP was built with itself if the device > tree settings exist, otherwise simply trust the FSP's defaults. > > Modif

[U-Boot] [PATCH] nitrogen6x: change maintainer

2015-06-30 Thread Eric Nelson
Troy Kisky will be maintaining the Nitrogen6x board going forward. Signed-off-by: Eric Nelson --- board/boundary/nitrogen6x/MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/boundary/nitrogen6x/MAINTAINERS b/board/boundary/nitrogen6x/MAINTAINERS index cb06c03

Re: [U-Boot] git fsck errors with u-boot

2015-06-30 Thread Liam R. Howlett
* Wolfgang Denk [150630 07:29]: > Dear "Liam R. Howlett", > > In message <20150629173158.gd24...@yow-lhowlett-d0.wrs.com> you wrote: > > > > Since git 2.1, there have been a number of new fsck options added which > > produce issues when I clone & fsck the repository > > git://git.denx.de/u-boot.

Re: [U-Boot] [PATCH 08/22] dm: usb: Use device_chld_remove and _unbind to clean up usb devs on stop

2015-06-30 Thread Simon Glass
Hi Hans, On 30 June 2015 at 06:54, Hans de Goede wrote: > Hi, > > On 29-06-15 05:45, Simon Glass wrote: >> >> Hi Hans, >> >> On 17 June 2015 at 13:33, Hans de Goede wrote: >>> >>> On an usb stop instead of leaving orphan usb devices behind simply remove >> >> >> On a usb_stop() >> >> or >> >> On

Re: [U-Boot] [PATCH 04/22] usb: Pass device instead of portnr to usb_legacy_port_reset

2015-06-30 Thread Simon Glass
Hi Hans, On 30 June 2015 at 06:31, Hans de Goede wrote: > Hi, > > > On 29-06-15 05:44, Simon Glass wrote: >> >> Hi Hans, >> >> On 17 June 2015 at 13:33, Hans de Goede wrote: >>> >>> Pass the usb_device instead of the portnr to usb_legacy_port_reset and >>> rename it to usb_hub_port_reset as ther

Re: [U-Boot] [PATCH v2 00/16] tegra: Expand Nyan-big support

2015-06-30 Thread Simon Glass
Hi Dennis, On 27 June 2015 at 01:39, Dennis Gilmore wrote: > On Sunday, June 07, 2015 06:55:36 PM Simon Glass wrote: >> Hi Tom, >> >> On 5 June 2015 at 16:27, Tom Warren wrote: >> > Simon, >> > >> > Applied to u-boot-tegra/master, then I rebased against u-boot/master and >> > uploaded it back to

Re: [U-Boot] [PATCH] powerpc/mpc85xx:Add GCC flag -fno-delete-null-pointer-checks

2015-06-30 Thread Simon Glass
Hi, On 29 June 2015 at 22:18, Kushwaha Prabhakar wrote: > Hi Simon, Tom, > > -fdelete-null-pointer-checks flag controls global dataflow analyses and > eliminate useless checks for null pointers; It assume that if a pointer is > checked after it has already been dereferenced, it cannot be null

Re: [U-Boot] [PATCH v3 16/16] spi: Kconfig: Add Zynq SPI controller entry

2015-06-30 Thread Simon Glass
On 26 June 2015 at 13:21, Jagan Teki wrote: > Add Zynq SPI controller Kconfig entry. > > Signed-off-by: Jagan Teki > Cc: Simon Glass > Cc: Marek Vasut > Cc: Michal Simek > Cc: Siva Durga Prasad Paladugu > --- > drivers/spi/Kconfig | 8 > 1 file changed, 8 insertions(+) > Reviewed-b

Re: [U-Boot] [PATCH 03/22] usb: usb_setup_device: Drop unneeded portnr function argument

2015-06-30 Thread Simon Glass
Hi Hans, On 30 June 2015 at 06:29, Hans de Goede wrote: > Hi, > > > On 29-06-15 05:44, Simon Glass wrote: >> >> Hi Hans. >> >> On 17 June 2015 at 13:33, Hans de Goede wrote: >>> >>> Drop the unneeded portnr function argument, the portnr is part of the >>> usb_device struct which is passed via th

Re: [U-Boot] [PATCH 10/11 v2] drivers/net/vsc9953: Add commands for VLAN ingress filtering

2015-06-30 Thread Codrin Constantin Ciubotariu
Hi Joe, I will make a v3 with your suggestions. Thanks and best regards, Codrin > -Original Message- > From: Joe Hershberger [mailto:joe.hershber...@gmail.com] > Sent: Friday, June 26, 2015 1:42 AM > To: Ciubotariu Codrin Constantin-B43658 > Cc: u-boot; Joe Hershberger; Sun York-R58495 >

Re: [U-Boot] [PATCH 09/11 v2] drivers/net/vsc9953: Add command for shared/private VLAN learning

2015-06-30 Thread Codrin Constantin Ciubotariu
Hi Joe, I will make a v3 with your suggestions. Thanks and best regards, Codrin > -Original Message- > From: Joe Hershberger [mailto:joe.hershber...@gmail.com] > Sent: Friday, June 26, 2015 1:41 AM > To: Ciubotariu Codrin Constantin-B43658 > Cc: u-boot; Joe Hershberger; Sun York-R58495 >

Re: [U-Boot] [PATCH 08/11 v2] drivers/net/vsc9953: Add VLAN commands for VSC9953

2015-06-30 Thread Codrin Constantin Ciubotariu
Hi Joe, > -Original Message- > From: Joe Hershberger [mailto:joe.hershber...@gmail.com] > Sent: Friday, June 26, 2015 1:41 AM > To: Ciubotariu Codrin Constantin-B43658 > Cc: u-boot; Joe Hershberger; Sun York-R58495 > Subject: Re: [U-Boot] [PATCH 08/11 v2] drivers/net/vsc9953: Add VLAN comm

Re: [U-Boot] Please pull u-boot-sunxi master (fixes for v2015.07)

2015-06-30 Thread Hans de Goede
Hi, On 30-06-15 15:30, Ian Campbell wrote: On Tue, 2015-06-30 at 15:11 +0200, Hans de Goede wrote: [...] The latest patch-series seems to do the exact reverse. More knowledge is being moved away from a central place and into defconfig files. As said ARCH_SUNXI builds must always have CONFIG_DM*

Re: [U-Boot] [PATCH 07/11 v2] drivers/net/vsc9953: Add commands to manipulate the FDB for VSC9953

2015-06-30 Thread Codrin Constantin Ciubotariu
Hi Joe, > -Original Message- > From: Joe Hershberger [mailto:joe.hershber...@gmail.com] > Sent: Friday, June 26, 2015 1:39 AM > To: Ciubotariu Codrin Constantin-B43658 > Cc: u-boot; Joe Hershberger; Sun York-R58495 > Subject: Re: [U-Boot] [PATCH 07/11 v2] drivers/net/vsc9953: Add commands

Re: [U-Boot] Please pull u-boot-sunxi master (fixes for v2015.07)

2015-06-30 Thread Ian Campbell
On Tue, 2015-06-30 at 15:11 +0200, Hans de Goede wrote: [...] > The latest patch-series seems to do the exact reverse. More knowledge is > being moved away from a central place and into defconfig files. As said > ARCH_SUNXI builds must always have CONFIG_DM* set, and yet now all sunxi > defconfig f

Re: [U-Boot] Please pull u-boot-sunxi master (fixes for v2015.07)

2015-06-30 Thread Hans de Goede
Hi, On 28-06-15 18:06, Tom Rini wrote: On Sun, Jun 28, 2015 at 05:39:28PM +0200, Hans de Goede wrote: Hi, On 26-06-15 23:05, Tom Rini wrote: On Fri, Jun 26, 2015 at 12:13:51PM +0200, Hans de Goede wrote: Hi Tom, Please pull u-boot-sunxi/master into master for two bug-fixes, and one new boa

Re: [U-Boot] [PATCH 08/22] dm: usb: Use device_chld_remove and _unbind to clean up usb devs on stop

2015-06-30 Thread Hans de Goede
Hi, On 29-06-15 05:45, Simon Glass wrote: Hi Hans, On 17 June 2015 at 13:33, Hans de Goede wrote: On an usb stop instead of leaving orphan usb devices behind simply remove On a usb_stop() or On a 'usb stop' command ? My intention was for both, since I was under the assumption that "usb

Re: [U-Boot] [PATCH 06/22] dm: Export device_chld_remove / device_chld_unbind

2015-06-30 Thread Hans de Goede
Hi, On 29-06-15 05:45, Simon Glass wrote: Hi Hans, On 17 June 2015 at 13:33, Hans de Goede wrote: These functions are useful to remove all children from an usb bus before rescanning the bus. Signed-off-by: Hans de Goede --- drivers/core/device-remove.c | 18 ++ include/dm

Re: [U-Boot] [PATCH 04/22] usb: Pass device instead of portnr to usb_legacy_port_reset

2015-06-30 Thread Hans de Goede
Hi, On 29-06-15 05:44, Simon Glass wrote: Hi Hans, On 17 June 2015 at 13:33, Hans de Goede wrote: Pass the usb_device instead of the portnr to usb_legacy_port_reset and rename it to usb_hub_port_reset as there is nothing legacy about it. Signed-off-by: Hans de Goede --- common/usb.c | 8 +

Re: [U-Boot] [PATCH 03/22] usb: usb_setup_device: Drop unneeded portnr function argument

2015-06-30 Thread Hans de Goede
Hi, On 29-06-15 05:44, Simon Glass wrote: Hi Hans. On 17 June 2015 at 13:33, Hans de Goede wrote: Drop the unneeded portnr function argument, the portnr is part of the usb_device struct which is passed via the dev argument. Signed-off-by: Hans de Goede --- common/usb.c |

[U-Boot] scripts: RPi 2: only 1 out of 4 CPUs brought up

2015-06-30 Thread Jonas Jensen
Hello, I have found the following issue with RPi 2: Only 1 CPU is brought up when the kernel is started from script (see [1]). All 4 CPUs are brought up if started "manually" typing in environment variables from said script (see [2]). U-Boot: 2015.04-rc5-gd6d345b kernel: d9fa11803a0d2e3b1eaf404

Re: [U-Boot] [PATCH 0/8] JFFS2 fixes and performance improvements

2015-06-30 Thread Wolfgang Denk
Dear Mark, In message <1435554149-18042-1-git-send-email-mark.tomlin...@alliedtelesis.co.nz> you wrote: > These patches fix bugs and improve performance of JFFS2. Some of these > improvements can already be found in old mailing lists, but for some > reason they have not made their way into the u

Re: [U-Boot] git fsck errors with u-boot

2015-06-30 Thread Wolfgang Denk
Dear "Liam R. Howlett", In message <20150629173158.gd24...@yow-lhowlett-d0.wrs.com> you wrote: > > Since git 2.1, there have been a number of new fsck options added which > produce issues when I clone & fsck the repository > git://git.denx.de/u-boot.git ... > I think these issues were already rep

Re: [U-Boot] [PATCH][v7] mpc85xx/T104xD4RDB: Add T104xD4RDB boards support

2015-06-30 Thread Priyanka Jain
Hello York, This patch is not dependent on New SPI driver . I have analysed the compilation error issue. There has been some recent changes related to SPI_FLASH config which has caused the compilation error. I will send the next version of the patch. Regards Priyanka -Original Message-

Re: [U-Boot] [PATCH v6 1/5] dm: sf: Add Atmel DataFlash spi flash driver

2015-06-30 Thread Jagan Teki
Hi Haikun, On 30 June 2015 at 04:48, Simon Glass wrote: > Hi, > > On 26 June 2015 at 05:30, Haikun Wang wrote: >> Atmel DataFlash chips have commands different from common spi >> flash commands. >> Atmel DataFlash also have special page-size. >> This driver add support for accessing Atmel DataFl

Re: [U-Boot] [PATCH v2] spi: cf_qspi: fix clamp macro type check compilation warnings

2015-06-30 Thread Angelo Dureghello
Hi Jagan, On 29/06/2015 22:00, Jagan Teki wrote: On 22 June 2015 at 12:49, Angelo Dureghello wrote: On 22/06/2015 08:44, Jagan Teki wrote: On 22 June 2015 at 03:10, Angelo Dureghello wrote: Fix compilation warnings for redefined 'clamp' macro and non-uniform clamp macro types. Signed-o

Re: [U-Boot] [PATCH 6/8] JFFS2: Change scansize to match linux kernel

2015-06-30 Thread Heiko Schocher invitel
Hello Mark, Am 29.06.2015 um 07:02 schrieb Mark Tomlinson: The scan code is similar to the linux kernel, but the kernel defines a much smaller size to scan through before deciding a sector is blank. Assuming that what is in the kernel is OK, make these two match. On its own, this change makes n

Re: [U-Boot] [PATCH 5/8] JFFS2: Optimize building lists during scan

2015-06-30 Thread Heiko Schocher invitel
Hello Mark, please fix Tom rinis mail address globally for your patchset into Tom Rini I fixed it for my response manually, thanks! BTW: You can use patman for creating patches/patchset. Look into u-boot:tools/patman Am 29.06.2015 um 07:02 schrieb Mark Tomlinson: If the flash is slow, readi

Re: [U-Boot] [PATCH 7/8] JFFS2: Use CLEANMARKER to reduce scanning time

2015-06-30 Thread Heiko Schocher invitel
Hello Mark, Am 29.06.2015 um 07:02 schrieb Mark Tomlinson: If a sector has a CLEANMARKER at the beginning, it indicates that the entire sector has been erased. Therefore, if this is found, we can skip the entire block. This was not being done before this patch. The code now does the same as the

[U-Boot] [PATCH] ARM: UniPhier: add IDs for PH1-Pro5, ProXstream2, PH1-LD6b

2015-06-30 Thread Masahiro Yamada
This prepares for new SoCs support. Signed-off-by: Masahiro Yamada --- arch/arm/mach-uniphier/cpu_info.c | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/mach-uniphier/cpu_info.c b/arch/arm/mach-uniphier/cpu_info.c index c4ba6d2..5d9ed84 100644 --- a/arch/arm/mach-uniphier

Re: [U-Boot] Marvell Armada XP SATA support

2015-06-30 Thread Anton Schubert
That should be it. Although it's probably a good idea to do this in cpu.c as you did with your a38x ahci support. Thanks for your help. Anton --- arch/arm/mach-mvebu/include/mach/soc.h | 1 + drivers/block/mvsata_ide.c | 46 ++ include/configs/db-mv78

[U-Boot] [PATCH 2/2] ARM: dts: UniPhier: re-license device tree files under GPLv2+/X11

2015-06-30 Thread Masahiro Yamada
The current GPL only licensing on the device trees makes it very impractical for other software components licensed under another license. To make it easier to reuse them, the device trees for UniPhier SoCs and boards have already been dual-licensed in Linux. Follow this trend in U-boot too. Sig

[U-Boot] [PATCH 1/2] ARM: dts: UniPhier: sync device trees with the Linux kernel

2015-06-30 Thread Masahiro Yamada
This makes code diff much easier. Device trees describe hardware attributes, which are independent of software architecture. It generally makes sense to synchronize them beyond software projects. Signed-off-by: Masahiro Yamada --- arch/arm/dts/uniphier-ph1-ld4.dtsi | 47 +

Re: [U-Boot] [PATCH 8/8] JFFS2: Use merge sort when parsing filesystem

2015-06-30 Thread Heiko Schocher denx
Hello Mark, Am 29.06.2015 um 07:02 schrieb Mark Tomlinson: When building the file system the existing code does an insertion into a linked list. It attempts to speed this up by keeping a pointer to where the last entry was inserted but it's still slow. Now the nodes are just inserted into the l

Re: [U-Boot] [PATCH 7/8] JFFS2: Use CLEANMARKER to reduce scanning time

2015-06-30 Thread Heiko Schocher denx
Hello Mark, Am 29.06.2015 um 07:02 schrieb Mark Tomlinson: If a sector has a CLEANMARKER at the beginning, it indicates that the entire sector has been erased. Therefore, if this is found, we can skip the entire block. This was not being done before this patch. The code now does the same as the

Re: [U-Boot] [PATCH] imx: imximage: add new CHECK/CLR BIT command

2015-06-30 Thread Peng Fan
Hi Stefano, On Sun, Jun 28, 2015 at 01:00:07PM +0200, Stefano Babic wrote: >Hi Peng, > >On 14/06/2015 11:38, Peng Fan wrote: >> Since rom code supports the following commands, add new commands support in >> imximage. >> > >It is better to explain here which i.MX are supporting this ROM (i.MX6 >an

Re: [U-Boot] [PATCH 4/8] JFFS2: Improve speed reading flash files

2015-06-30 Thread Heiko Schocher denx
Hello Mark, Am 29.06.2015 um 07:02 schrieb Mark Tomlinson: jffs2_1pass_read_inode() would read the entire data for each node in the filesystem, regardless of whether it was part of the file to be loaded or not. By only reading the header data for an inode, and then reading the data only when it

  1   2   >