Re: [U-Boot] [PATCH v3 3/3] mtd: nand: omap: fix ecclayout->oobfree->length

2014-02-16 Thread Gupta, Pekon
removing sta...@vger.kernel.org from CC list. (git send-email --suppress-cc=cc din't work, may be it should have been --supress-cc=bodycc) >From: Gupta, Pekon > >This patch excludes reserved-marker byte-position from oobfree->length >calculation. Thus all bytes from oobfree->offset till end of O

Re: [U-Boot] [PATCH v3 2/3] mtd: nand: omap: fix ecclayout->oobfree->offset

2014-02-16 Thread Gupta, Pekon
removing sta...@vger.kernel.org from CC list. (git send-email --suppress-cc=cc din't work for me) >From: Gupta, Pekon > >1) In current implementation, ecclayout->oobfree->offset is calculated with > respect to ecclayout->eccpos[0] which is incorrect because ECC bytes may not > be stored contiguou

Re: [U-Boot] [PATCH v3 1/3] mtd: nand: omap: fix ecclayout to be in sync with u-boot NAND driver

2014-02-16 Thread Gupta, Pekon
removing sta...@vger.kernel.org from CC list. (git send-email --suppress-cc=cc din't work for me) >From: Gupta, Pekon > >Fixes: commit a919e51161b58ed7e6e663daba99ab7d558808f3 > mtd: nand: omap2: clean-up BCHx_HW and BCHx_SW ECC configurations in > device_probe > >Fixes ecclayout mismatch

[U-Boot] [PATCH v3 2/3] mtd: nand: omap: fix ecclayout->oobfree->offset

2014-02-16 Thread Pekon Gupta
1) In current implementation, ecclayout->oobfree->offset is calculated with respect to ecclayout->eccpos[0] which is incorrect because ECC bytes may not be stored contiguously in OOB. So, this patch calculates ecclayout->oobfree->offset with respect to last ECC byte-position 'eccpos[ecclayout->

[U-Boot] [PATCH v3 3/3] mtd: nand: omap: fix ecclayout->oobfree->length

2014-02-16 Thread Pekon Gupta
This patch excludes reserved-marker byte-position from oobfree->length calculation. Thus all bytes from oobfree->offset till end of OOB are free. CC: # 3.13.x+ Signed-off-by: Pekon Gupta --- drivers/mtd/nand/omap2.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/driver

[U-Boot] [PATCH v3 0/3] mtd: nand: omap: fix ecc-layout

2014-02-16 Thread Pekon Gupta
*changes v2 -> v3* - re-ordered the patch-set so that eccpos[] is fixed before 'oobfree' - marked for stable 3.13.x+ *changes v1 -> v2* [PATCH 1/3] fix oobfree->offset calculation + adjust for reserved-marker of last sector [PATCH 2/3] [PATCH 3/3] refactor code as suggested by Brian Norris

[U-Boot] [PATCH v3 1/3] mtd: nand: omap: fix ecclayout to be in sync with u-boot NAND driver

2014-02-16 Thread Pekon Gupta
Fixes: commit a919e51161b58ed7e6e663daba99ab7d558808f3 mtd: nand: omap2: clean-up BCHx_HW and BCHx_SW ECC configurations in device_probe Fixes ecclayout mismatch introduced in above commit for following ecc-schemes: - OMAP_ECC_BCH4_CODE_HW_DETECTION_SW - OMAP_ECC_BCH8_CODE_HW_DETECTION_S

Re: [U-Boot] [PATCH] arm: zynq: correct the argument to lldiv

2014-02-16 Thread Michal Simek
On 02/17/2014 07:12 AM, Siva Durga Prasad Paladugu wrote: > Typecast the argument with unsigned long > long for proper calculation of lldiv > > Signed-off-by: Siva Durga Prasad Paladugu > --- > -Fixes the issue of rounding of the multiplication result to > 32-bit value We found this in connecti

Re: [U-Boot] [PATCH v2 3/8] fit: add sha256 support

2014-02-16 Thread Heiko Schocher
Hello Simon, I was a little to fast with my answer ... Am 17.02.2014 07:33, schrieb Heiko Schocher: Hello Simon, Am 15.02.2014 23:47, schrieb Simon Glass: Hi Heiko, On 8 February 2014 22:34, Heiko Schocher wrote: add sha256 support to fit images Signed-off-by: Heiko Schocher Acked-by: Simo

Re: [U-Boot] [PATCH v2 3/8] fit: add sha256 support

2014-02-16 Thread Heiko Schocher
Hello Simon, Am 15.02.2014 23:47, schrieb Simon Glass: Hi Heiko, On 8 February 2014 22:34, Heiko Schocher wrote: add sha256 support to fit images Signed-off-by: Heiko Schocher Acked-by: Simon Glass Sorry I spotted a few things since. No problem! Thanks for your review. --- changes for

[U-Boot] [PATCH] arm: zynq: correct the argument to lldiv

2014-02-16 Thread Siva Durga Prasad Paladugu
Typecast the argument with unsigned long long for proper calculation of lldiv Signed-off-by: Siva Durga Prasad Paladugu --- -Fixes the issue of rounding of the multiplication result to 32-bit value --- arch/arm/cpu/armv7/zynq/timer.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)

[U-Boot] [PATCH] 85xx/b4860: Alternate serdes protocols for B4860/B4420

2014-02-16 Thread Poonam Aggrwal
On B4860 and B4420, some serdes protocols can be used with LC VCO as well as Ring VCO options. Addded Alternate options with LC VCO for such protocols. For example protocol 0x2a on srds 1 becomes 0x29 if it is LC VCO. The alternate option has the same functionality as the original option; the onl

Re: [U-Boot] [PATCH v1 0/5] usb: eth: introduce Moschip MCS7830 driver

2014-02-16 Thread Marek Vasut
On Monday, February 17, 2014 at 12:01:06 AM, Gerhard Sittig wrote: > this series > - adds a new USB ethernet driver for adapters that are based on the > MCS7730/7830/7832 chips > - enables the driver for those boards which previously had support for > "all other" USB ethernet adapters > - updat

Re: [U-Boot] [PATCH v1 1/5] usb: net: introduce support for Moschip USB ethernet

2014-02-16 Thread Marek Vasut
On Monday, February 17, 2014 at 12:01:07 AM, Gerhard Sittig wrote: > introduce an 'mcs7830' driver for Moschip based USB ethernet adapters, > which was implemented based on the U-Boot Asix driver with additional > information gathered from the Moschip Linux driver > > Signed-off-by: Gerhard Sittig

Re: [U-Boot] u-boot spl with FIT images

2014-02-16 Thread Simon Glass
Hi Michal, On 3 February 2014 01:20, Michal Simek wrote: > Hi Simon, > > On 02/01/2014 01:28 AM, Simon Glass wrote: >> +U-Boot (good to copy the list) > > yes, sure. > >> >> Hi Michal, >> >> On 28 January 2014 06:23, Michal Simek wrote: >>> Hi Simon, >>> >>> hope that you are good. >>> IRC you m

Re: [U-Boot] Regarding u-boot patch about accurate boot time measurement

2014-02-16 Thread Simon Glass
Hi Abdullah, On 16 February 2014 15:38, Abdullah Yıldız wrote: > Dear Glass, > > I've fount this > http://lists.denx.de/pipermail/u-boot/2011-May/092584.html while > searching about boot time measurement methods in u-boot. However, I > couldn't find a patch file regarding your post. Could you hel

[U-Boot] [PATCH v1 3/5] arm: config: enable Moschip USB ethernet support for several boards

2014-02-16 Thread Gerhard Sittig
enable support for the Moschip USB ethernet adapter for those boards which previously had support for "all other" USB ethernet adapters (that's Asix _and_ SMSC) enabled -- which applies to harmony, m53evk, mx53loco, nitrogen6x, omap3_beagle Signed-off-by: Gerhard Sittig --- include/configs/harmo

[U-Boot] [PATCH v1 4/5] arm: config: enable USB ethernet for taskit stamp9g20

2014-02-16 Thread Gerhard Sittig
enabling CONFIG_MACB makes other locations in the stamp config file enable network related commands (actually prevents disabling them) enable USB ethernet support by activating generic support as well as Asix and Moschip ethernet adapters Signed-off-by: Gerhard Sittig --- include/configs/stamp9

[U-Boot] [PATCH v1 5/5] usb: doc: update README.doc to list all USB ethernet options

2014-02-16 Thread Gerhard Sittig
- extend the discussion of USB network related config options such that all available adapter drivers are listed, and that the 'usb' command for the interactive prompt and scripting becomes available - suggest to *not* put individual IP configuration parameters into the exectuable, but instea

[U-Boot] [PATCH v1 0/5] usb: eth: introduce Moschip MCS7830 driver

2014-02-16 Thread Gerhard Sittig
this series - adds a new USB ethernet driver for adapters that are based on the MCS7730/7830/7832 chips - enables the driver for those boards which previously had support for "all other" USB ethernet adapters - updates the README.usb documentation file to list all available drivers for USB et

[U-Boot] [PATCH v1 2/5] arm: config: alpha-sort USB ethernet items for Asix and SMSC

2014-02-16 Thread Gerhard Sittig
adjust the harmony and omap3_beagle board configs to make their CONFIG_USB_ETHER_* items appear in alphabetical order Signed-off-by: Gerhard Sittig --- include/configs/harmony.h |2 +- include/configs/omap3_beagle.h |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

[U-Boot] [PATCH v1 1/5] usb: net: introduce support for Moschip USB ethernet

2014-02-16 Thread Gerhard Sittig
introduce an 'mcs7830' driver for Moschip based USB ethernet adapters, which was implemented based on the U-Boot Asix driver with additional information gathered from the Moschip Linux driver Signed-off-by: Gerhard Sittig --- the driver was tested with a Logilink and a Delock product each, both o

Re: [U-Boot] [PATCH 1/1] TPM: STMicroelectronics u-boot driver I2C

2014-02-16 Thread Simon Glass
On 16 February 2014 15:46, Simon Glass wrote: > Hi, > > On 22 October 2013 09:48, Simon Glass wrote: >> Hi Mathias, >> >> On Wed, May 15, 2013 at 7:58 AM, Mathias leblanc >> wrote: >>> From: Mathias Leblanc >>> >>> * STMicroelectronics version 1.2.0, Copyright (C) 2013 >>> * This is free sof

Re: [U-Boot] [PATCH 1/1] TPM: STMicroelectronics u-boot driver I2C

2014-02-16 Thread Simon Glass
Hi, On 22 October 2013 09:48, Simon Glass wrote: > Hi Mathias, > > On Wed, May 15, 2013 at 7:58 AM, Mathias leblanc > wrote: >> From: Mathias Leblanc >> >> * STMicroelectronics version 1.2.0, Copyright (C) 2013 >> * This is free software, and you are welcome to redistribute it. >> >> This is

Re: [U-Boot] u-boot - timestamp

2014-02-16 Thread Wolfgang Denk
Dear Abdullah, please keep the mailing list on Cc: And please do not top post / full quote, and send only plain text, no HTML. Thanks. In message <1392582412.49443.yahoomail...@web140303.mail.bf1.yahoo.com> you wrote: > > How can I configure u-boot to add timestamp data to console log? You c

[U-Boot] [PATCH 1/1] ARM: OMAP4: fix DDR timings for OMAP4430 ES2.0

2014-02-16 Thread Janne Grunau
DDR timings were broken since 47abc3df701d8bc26f311350aa523fc1d0f8ad4e for PandaBoard EA1. Signed-off-by: Janne Grunau --- arch/arm/cpu/armv7/omap4/hw_data.c | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/cpu/armv7/omap4/hw_data.c b/arch/arm/cpu/armv7/omap4/hw_

[U-Boot] [PATCH v3 2/3] usb: tegra: fix PHY configuration

2014-02-16 Thread Stefan Agner
On Tegra30 and later, the PTS (parallel transceiver select) and STS (serial transceiver select) are part of the HOSTPC1_DEVLC_0 register rather than PORTSC1_0 register. Since the reset configuration usually matches the intended configuration, this error did not show up on Tegra30 devices. Also use

[U-Boot] [PATCH v3 0/3] ubs: tegra: two fixes and cleanup

2014-02-16 Thread Stefan Agner
I splitted this patch. Only patch 1 is an actual issue while the second patch is something I stumbled upon, and the third is more about housekeeping. I descieded to ifdef the driver, I think that this is easier to read and does not mix register access style. The function ehci_get_port_speed howeve

[U-Boot] [PATCH v3 3/3] usb: tegra: combine header file

2014-02-16 Thread Stefan Agner
Combine the Tegra USB header file into one header file for all SoCs. Use ifdef to account for the difference, especially Tegra20 is quite different from newer SoCs. This avoids duplication especially between Tegra30 and newer devices. Signed-off-by: Stefan Agner --- arch/arm/include/asm/arch-teg

[U-Boot] [PATCH v3 1/3] usb: tegra: fix USB2 powerdown for Tegra30 and later

2014-02-16 Thread Stefan Agner
Clear the forced powerdown bit in the UTMIP_PLL_CFG2_0 register which brings USB2 in UTMI mode to work. This was clearly missing since the forced powerdown bit is set in reset by default for all USB ports. Signed-off-by: Stefan Agner --- drivers/usb/host/ehci-tegra.c | 3 +++ 1 file changed, 3 i

Re: [U-Boot] [PATCH 1/2] spi: spi-mxc: implement clk control for ECSPI to fix SPI_MODE_3

2014-02-16 Thread Jagan Teki
On Mon, Feb 10, 2014 at 1:57 PM, Markus Niebel wrote: > From: Markus Niebel > > SPI_MODE_3 requires clk high when inactive. The SCLK_CTL > field of the config reg was not configured. Provide defines > for missing fields in the ECSPI config reg and use them > for SPI_CPOL > > Signed-off-by: Markus

Re: [U-Boot] [RFC] try to merge different i.MX environment

2014-02-16 Thread Stefano Babic
Hi Otavio, On 14/02/2014 16:24, Otavio Salvador wrote: > > Fully agreed. This is especially important with the common distro > environment in mind. Right - we should also take care of Dennis' efforts in this direction. > > ... >> diff --git a/include/configs/default_env.h b/include/configs/de

Re: [U-Boot] ATMEL AT45DB041D spi flash and gplugd

2014-02-16 Thread Jagan Teki
Hi Yogi, On Sun, Feb 9, 2014 at 2:10 PM, Yogi P wrote: > Hello all, > > From following commit spi write/erase times out on gplugd which uses ATMEL > AT45DB041D spi flash. > >>commit f4f51a8ff894d34eb332f0d11f6c73c7bf509848 >>Author: Jagannadha Sutradharudu Teki >>Date: Wed Oct 2 19:36:58 2013

Re: [U-Boot] [PATCH v6 07/17] dm: Add README for driver model

2014-02-16 Thread Simon Glass
Hi Gerhard, On 10 November 2013 11:17, Gerhard Sittig wrote: > On Thu, Nov 07, 2013 at 09:32 -0700, Simon Glass wrote: >> >> +Declaring Drivers >> +- >> + >> +A driver declaration looks something like this (see >> +drivers/demo/demo-shape.c): >> + >> +static const struct demo_ops

[U-Boot] [PATCH] patman: Use Patch-cc: instead of Cc:

2014-02-16 Thread Simon Glass
Add a new Patch-cc: tag which performs the service now provided by the Cc: tag. The Cc: tag is interpreted by git send-email but ignored by patman. So now: Cc: patman does nothing. (git send-email can cc patches) Patch-cc: patman Cc's patch and removes this tag from the patch Signed-off-by:

Re: [U-Boot] [PATCH 1/5] wandboard: Staticize usdhc1_pads

2014-02-16 Thread Stefano Babic
On 16/02/2014 15:42, Fabio Estevam wrote: > make -j4 C=1 2>wandboard.txt Thanks, Stefano -- = DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Ge

Re: [U-Boot] patman drops Cc tag

2014-02-16 Thread Simon Glass
Hi, On 11 November 2013 05:03, Otavio Salvador wrote: > On Mon, Nov 11, 2013 at 4:44 AM, Masahiro Yamada > wrote: >> Hello Simon >> >>> > I want Cc: tag not to be touched by patman. >>> >>> Maybe we could add a new Patch-Cc: tag for this purpose? >> >> Good. >> >> Cc: patman does nothing. (git s

Re: [U-Boot] [PATCH 1/5] wandboard: Staticize usdhc1_pads

2014-02-16 Thread Fabio Estevam
Hi Stefano, On Sun, Feb 16, 2014 at 9:15 AM, Stefano Babic wrote: > Thanks for fix it. However, which gcc version reports these warnings ? > Surely I must update and test with a newer one: with gcc 4.6.4/4.7.2 I > saw no error. In order to trigger the sparse warnings we need to build it as: ma

Re: [U-Boot] [PATCH 1/5] wandboard: Staticize usdhc1_pads

2014-02-16 Thread Stefano Babic
Hi Fabio, On 15/02/2014 17:51, Fabio Estevam wrote: > From: Fabio Estevam > > Fix the following sparse warning: > > wandboard.c:58:22: warning: symbol 'usdhc1_pads' was not declared. Should it > be static? > > Signed-off-by: Fabio Estevam > --- > board/wandboard/wandboard.c | 2 +- > 1 file

Re: [U-Boot] [PATCH v3 00/13] ARMv7: add PSCI support to u-boot

2014-02-16 Thread Marc Zyngier
Hi Albert, On 2014-02-15 14:45, Albert ARIBAUD wrote: On Sat, 15 Feb 2014 13:36:24 +, Marc Zyngier wrote: PSCI is an ARM standard that provides a generic interface that supervisory software can use to manage power in the following situations: There seems to be no history information ei

[U-Boot] [PATCH] endian dependency fix

2014-02-16 Thread Yoshinori Sato
mmc_spi have dependency of little-endian environment. So doesn't work big-endian environment. Signed-off-by: Yoshinori Sato --- drivers/mmc/mmc_spi.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/mmc/mmc_spi.c b/drivers/mmc/mmc_spi.c index fe6a5a1..17fdac