Re: [U-Boot] [PATCH] mx6: Add IOMUX_CONFIG_SION flag to all GPIO pins

2013-10-02 Thread Stefano Babic
Hi Benoit, Eric, Otavio, On 01/10/2013 21:50, Benoît Thébaudeau wrote: You probably wouldn't just set SION on all pins, right? I suspect that there'd be some ramification in terms of power consumption if nothing else. Right. Well, instead of adding SION to the pin definition header files,

Re: [U-Boot] [U-boot] SPL: Reading large files with file_fat_read()

2013-10-02 Thread bin4ry
When enabling debug mode I get the following error: dlmalloc.c:2084: malloc_extend_top: Assertion `((unsigned long)((char*)top + top_size) (pagesz - 1)) == 0' failed. Best regards, -b ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] Please pull u-boot-ti/master

2013-10-02 Thread Albert ARIBAUD
Hi Tom, On Sat, 21 Sep 2013 08:06:13 -0400, Tom Rini tr...@ti.com wrote: Hey, The following changes since commit 82cecfce3fd33e151ed8bc382ae31b19535765c5: drivers: s3c44b0_rtc: delete an unused driver (2013-09-19 09:52:08 +0200) are available in the git repository at:

Re: [U-Boot] [PPC] get_timer without CONFIG_INTERRUPTS

2013-10-02 Thread Chris Packham
On 30/09/13 21:22, Chris Packham wrote: Hi, Has anyone looked at a way of implementing get_timer for PowerPC without using interrupts. We appear to be having a problem with common/usb_hub.c where occasionally (1 in ~150 reboots) we seem to get stuck in the do/while loop in

Re: [U-Boot] imximage on the MX50

2013-10-02 Thread Stefano Babic
Hi Andre, On 02/10/2013 05:23, Andre Renaud wrote: Hi, I'm trying to port u-boot 2013.10-rc2 to the i.MX50 (which is very similar to the i.MX53). Fine ! However I'm not having much luck with the imximage, and have so far not managed to make the unit run stand-alone. Specifically, the

Re: [U-Boot] [PATCH] ARM: mx5: Enable L2 cache

2013-10-02 Thread Stefano Babic
Hi Fabio, On 30/09/2013 18:16, Fabio Estevam wrote: Enable L2 cache for improving the system performance. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- arch/arm/cpu/armv7/mx5/lowlevel_init.S | 6 ++ 1 file changed, 6 insertions(+) diff --git

Re: [U-Boot] [PPC] get_timer without CONFIG_INTERRUPTS

2013-10-02 Thread Wolfgang Denk
Dear Chris, In message 524bccee.5020...@gmail.com you wrote: Our mistake was to add a call to usb_start in our boards misc_init_r. You never want to run this automatically. And if you do, you absolutely must make sure to shut down the USB controller after use / before booting Linux, otherwise

Re: [U-Boot] [PATCH] mmc: sdhci: Avoid commands errors by simple timeout adaptation.

2013-10-02 Thread Pantelis Antoniou
Hi Przemyslaw, On Oct 1, 2013, at 7:59 PM, Przemyslaw Marczak wrote: Hello Pantelis, Thank you for reply On 10/01/2013 05:50 PM, Pantelis Antoniou wrote: while (sdhci_readl(host, SDHCI_PRESENT_STATE) mask) { -if (timeout == 0) { +if (time == cmd_timeout) {

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

2013-10-02 Thread Tom Rini
On Fri, Sep 27, 2013 at 07:38:43PM +0200, Marek Vasut wrote: Hi Tom, this is mostly fixes + the dangling ATMEL UDC driver. Hope you don't mind the later. The following changes since commit 6b40852da5c8dd710f9d61204a3c6a3c9d22: Sound: MAX98095: Support I2S0 channel (2013-09-24

Re: [U-Boot] Buildman changes for release

2013-10-02 Thread Tom Rini
On Tue, Oct 01, 2013 at 02:41:23PM -0600, Simon Glass wrote: Hi Tom, I picked up these two - a fix plus a feature that came in after the merge window for the previous release but should go into this one. The following changes since commit 6b40852da5c8dd710f9d61204a3c6a3c9d22:

Re: [U-Boot] Pull request for u-boot-marvell.git

2013-10-02 Thread Albert ARIBAUD
Hi Prafulla, On Wed, 25 Sep 2013 04:20:24 -0700, Prafulla Wadaskar prafu...@marvell.com wrote: Hi Albert, Please kindly pull The following changes since commit 12eba1b49380988fd87cc0b3af44014cca8b71c4: Jeroen Hofstee (1): README: update ARM register usage are available in the

Re: [U-Boot] [i2c] Pull request

2013-10-02 Thread Tom Rini
On Tue, Oct 01, 2013 at 08:40:00AM +0200, Heiko Schocher wrote: Hello Tom, please pull from u-boot-i2c.git The following changes since commit 6b40852da5c8dd710f9d61204a3c6a3c9d22: Sound: MAX98095: Support I2S0 channel (2013-09-24 09:10:33 -0400) are available in the git

Re: [U-Boot] [PATCH 0/2] compulab: adjustments before porting more boards

2013-10-02 Thread Tom Rini
On Mon, Sep 30, 2013 at 11:36:32AM +0300, Igor Grinberg wrote: ping! On 09/16/13 21:49, Igor Grinberg wrote: Two more adjustments before porting more Compulab boards to mainline U-Boot. Move the eeprom code which can be used (and is suitable) by multiple Compulab boards to a common

Re: [U-Boot] [PATCH 1/2] SPL: Add CONFIG_SPL_BOOTCOUNT_SUPPORT

2013-10-02 Thread Tom Rini
On Mon, Sep 30, 2013 at 08:37:56AM +0200, Stefan Roese wrote: Hi Tom, On 27.09.2013 21:26, Tom Rini wrote: Add a new symbol, CONFIG_SPL_BOOTCOUNT_SUPPORT, to make use of the existing BOOTCOUNT_SUPPORT within SPL. It is strongly discouraged to use bootcount in both SPL and full U-Boot,

Re: [U-Boot] [PULL] : Please pull u-boot-imx

2013-10-02 Thread Albert ARIBAUD
Hi Stefano, On Fri, 27 Sep 2013 14:11:56 +0200, Stefano Babic sba...@denx.de wrote: Hi Albert, please pull from u-boot-imx, thanks ! The following changes since commit 8386ca8bea7a6a8469c3b6a99313afb642e6cbeb: Revert standalone-examples: support custom GCC lib (2013-09-12 10:27:29

Re: [U-Boot] [PATCH] ARM: mx5: Enable L2 cache

2013-10-02 Thread Fabio Estevam
Hi Stefano, On Wed, Oct 2, 2013 at 5:36 AM, Stefano Babic sba...@denx.de wrote: This is a repost from a your previous patch on August, 19th, where you report slow tftp transfer even with L2-cache enable. Was this issue solved or it is completeley unrelated to the cache ? Actually the

Re: [U-Boot] [i2c] Pull request

2013-10-02 Thread Heiko Schocher
Hello Tom, Am 02.10.2013 15:04, schrieb Tom Rini: On Tue, Oct 01, 2013 at 08:40:00AM +0200, Heiko Schocher wrote: Hello Tom, please pull from u-boot-i2c.git The following changes since commit 6b40852da5c8dd710f9d61204a3c6a3c9d22: Sound: MAX98095: Support I2S0 channel (2013-09-24

Re: [U-Boot] [PATCH 1/4] exynos: i2c: Fix i2c driver to handle NACKs properly

2013-10-02 Thread Heiko Schocher
Hello Naveen, Am 30.09.2013 08:58, schrieb Naveen Krishna Chatradhi: The Exynos5 i2c driver does not handle NACKs properly. This change: - fixes the NACK processing problem (do not continue transaction if address cycle was NACKed) - eliminates a fair amount of duplicate code

Re: [U-Boot] [PATCH 0/2] compulab: adjustments before porting more boards

2013-10-02 Thread Igor Grinberg
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Tom, On 10/02/13 15:53, Tom Rini wrote: On Mon, Sep 30, 2013 at 11:36:32AM +0300, Igor Grinberg wrote: ping! On 09/16/13 21:49, Igor Grinberg wrote: Two more adjustments before porting more Compulab boards to mainline U-Boot. Move the

Re: [U-Boot] [PATCH 7/9] net: tsec: Use portable types and accessors for BDs

2013-10-02 Thread Claudiu Manoil
On 10/1/2013 9:50 PM, Scott Wood wrote: On Tue, 2013-10-01 at 14:38 +0300, Claudiu Manoil wrote: On 10/1/2013 2:22 AM, Scott Wood wrote: On Mon, 2013-09-30 at 12:44 +0300, Claudiu Manoil wrote: +static RTXBD rtx __aligned(8); +#define RXBD(i) rtx.rxbd[i] +#define TXBD(i) rtx.txbd[i] +#define

Re: [U-Boot] [PATCH] ARM: mx5: Enable L2 cache

2013-10-02 Thread Stefano Babic
Hi Fabio, On 02/10/2013 15:43, Fabio Estevam wrote: Hi Stefano, On Wed, Oct 2, 2013 at 5:36 AM, Stefano Babic sba...@denx.de wrote: This is a repost from a your previous patch on August, 19th, where you report slow tftp transfer even with L2-cache enable. Was this issue solved or it is

[U-Boot] [PATCH 2/8] hash: Export functions to find and show hash

2013-10-02 Thread Simon Glass
These functions are generally useful for displaying a hash value and finding available algorithms, so export them. Signed-off-by: Simon Glass s...@chromium.org --- common/hash.c | 13 ++--- include/hash.h | 22 ++ 2 files changed, 28 insertions(+), 7 deletions(-)

[U-Boot] [PATCH 0/8] Secure boot improvements and test on Beaglebone Black

2013-10-02 Thread Simon Glass
This series adds a few improvements to the image signing feature to make it easier to use on the Beaglebone Black. - Add a DEV_TREE_BIN option to make it easier to include the correct FDT (with embedded public keys) into the U-Boot image - Enable cache for more TI boards (to speed things up) -

[U-Boot] [PATCH 1/8] am33xx/omap: Allow cache enable for all Sitara/OMAP

2013-10-02 Thread Simon Glass
Enable the cache for all devices, unless CONFIG_SYS_DCACHE_OFF is defined. This speeds up the Beaglebone Black boot considerable. (Tested only on Beaglebone Black with SD card boot) Signed-off-by: Simon Glass s...@chromium.org --- arch/arm/cpu/armv7/omap-common/Makefile| 4 ++

[U-Boot] [PATCH 7/8] RFC: am33xx/omap: Enable FIT support

2013-10-02 Thread Simon Glass
Enable booting a FIT containing a kernel/device tree. Signed-off-by: Simon Glass s...@chromium.org --- include/configs/am335x_evm.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h index 2f942e5..8ba6301 100644 ---

[U-Boot] [PATCH 4/8] fdt: Update functions which write to an FDT to return -ENOSPC

2013-10-02 Thread Simon Glass
When writing values into an FDT it is possible that there will be insufficient space. If the caller gets a useful error in the then it can potentially deal with the situation. Adjust these functions to return -ENOSPC when the FDT is full. Signed-off-by: Simon Glass s...@chromium.org ---

Re: [U-Boot] [PATCH 1/1] am33xx: add CONFIG_SYS_NAND_DEVICE_WIDTH to determine NAND device bus-width

2013-10-02 Thread Gupta, Pekon
Hi, Please see last set of queries inline.. From: Scott Wood [mailto:scottw...@freescale.com] On Sat, 2013-09-28 at 06:24 +, Gupta, Pekon wrote: From: Scott Wood [mailto:scottw...@freescale.com] On Fri, 2013-09-27 at 04:18 +, Gupta, Pekon wrote: [snip] (1)

Re: [U-Boot] [PATCH 1/6] exynos: Use common pmic_reg_update() definition

2013-10-02 Thread Lukasz Majewski
Hi Leela, This function is used by different Exynos platforms, put it in the common file. Signed-off-by: Vadim Bendebury vben...@chromium.org Signed-off-by: Leela Krishna Amudala l.kris...@samsung.com Reviewed-by: Doug Anderson diand...@google.com --- board/samsung/common/board.c | 19

[U-Boot] [PATCH 5/8] arm: ti: Increase malloc size to 16MB for armv7 boards

2013-10-02 Thread Simon Glass
The current size of 1MB is not enough use to use DFU. Increase it for ARMv7 boards, all of which should have 32MB or more SDRAM. With this change it is possible to do 'dfu mmc 0' on a Beaglebone Black. Signed-off-by: Simon Glass s...@chromium.org --- include/configs/ti_armv7_common.h | 2 +- 1

[U-Boot] [PATCH 3/8] fdt: Add DEV_TREE_BIN option to specify a device tree binary file

2013-10-02 Thread Simon Glass
In some cases, an externally-built device tree binary is required to be attached to U-Boot. An example is when using image signing, since in that case the .dtb file must include the public keys. Add a DEV_TREE_BIN option to the Makefile, and update the documentation. Usage is something like:

[U-Boot] [PATCH 8/8] RFC: am33xx/omap: Enable secure boot with CONFIG_FIT_SIGNATURE

2013-10-02 Thread Simon Glass
Enable secure boot functionality. Signed-off-by: Simon Glass s...@chromium.org --- include/configs/am335x_evm.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h index 8ba6301..1887480 100644 --- a/include/configs/am335x_evm.h +++

Re: [U-Boot] [PATCH 0/2] Add bootcount support to SPL

2013-10-02 Thread Tom Rini
On Fri, Sep 27, 2013 at 10:20:52PM -0300, Otavio Salvador wrote: On Fri, Sep 27, 2013 at 4:26 PM, Tom Rini tr...@ti.com wrote: The following patches depend on the series I posted earlier that adds environment support to SPL as well as the series that converts the davinci bootcount driver to

[U-Boot] [PATCH 6/8] RFC: am33xx/omap: Enable CONFIG_OF_CONTROL

2013-10-02 Thread Simon Glass
Add support for device tree control and add device tree files for the beaglebone black initially. Signed-off-by: Simon Glass s...@chromium.org --- arch/arm/dts/am33xx.dtsi | 649 ++ arch/arm/dts/dt-bindings/gpio/gpio.h | 15 +

Re: [U-Boot] [PATCH 2/6] power: Explicitly select pmic device's bus

2013-10-02 Thread Lukasz Majewski
Hi Leela, The current pmic i2c code assumes the current i2c bus is the same as the pmic device's bus. There is nothing ensuring that to be true. Therefore, select the proper bus before performing a transaction. Signed-off-by: Aaron Durbin adur...@chromium.org Signed-off-by: Simon Glass

Re: [U-Boot] [PATCH 4/6] SMDK5420: S2MPS11: Adds the register settings for S2MPS11

2013-10-02 Thread Lukasz Majewski
Hi Leela, Adds the register settings, addresses and voltages associated with S2MPS11 Signed-off-by: Alim Akhtar alim.akh...@samsung.com Signed-off-by: Leela Krishna Amudala l.kris...@samsung.com Reviewed-by: Vadim Bendebury vben...@google.com --- include/power/s2mps11_pmic.h | 144

[U-Boot] Pull request: u-boot-arm/master

2013-10-02 Thread Albert ARIBAUD
Hello Tom, The following changes since commit 8386ca8bea7a6a8469c3b6a99313afb642e6cbeb: Revert standalone-examples: support custom GCC lib (2013-09-12 10:27:29 -0400) are available in the git repository at: git://git.denx.De/u-boot-arm master for you to fetch changes up to

Re: [U-Boot] [PATCH v4 3/4] generic board patch of manual reloc and zero gd_t

2013-10-02 Thread Scott Wood
On Wed, 2013-10-02 at 09:52 +0800, FengHua wrote: -原始邮件- 发件人: Scott Wood scottw...@freescale.com 发送时间: 2013年10月1日 星期二 收件人: FengHua feng...@phytium.com.cn 抄送: Simon Glass s...@chromium.org, trini tr...@ti.com, u-boot u-boot@lists.denx.de 主题: Re: Re: [U-Boot] [PATCH v4

[U-Boot] [PATCH v5 09/32] sf: probe: Add support for SST25* flash parts

2013-10-02 Thread Jagannadha Sutradharudu Teki
Added SST25* parts are which are avilable in spi_flash_probe_legacy.c. Updated the sector_size attributes as per the flash parts. Looks fine for with this sector_size for computing the size of flash. Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com Tested-by: Eric Nelson

[U-Boot] [PATCH v5 10/32] sf: probe: Add support for AT45DB* flash parts

2013-10-02 Thread Jagannadha Sutradharudu Teki
Added AT45DB* parts are which are avilable in spi_flash_probe_legacy.c. Updated the sector_size attributes as per the flash parts. Looks fine for with this sector_size for computing the size of flash. Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com --- Changes for v5: -

[U-Boot] [PATCH v5 25/32] sf: ops: Add static qualifier to spi_flash_cmd_bankaddr_write

2013-10-02 Thread Jagannadha Sutradharudu Teki
Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com --- Changes for v5: - none Changes for v4: - none Changes for v3: - none Changes for v2: - none drivers/mtd/spi/spi_flash_internal.h | 5 - drivers/mtd/spi/spi_flash_ops.c | 2 +- 2 files

[U-Boot] [PATCH v5 16/32] sf: probe: Simply the BAR configuration logic

2013-10-02 Thread Jagannadha Sutradharudu Teki
Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com --- Changes for v5: - more simplification. Changes for v4: - none Changes for v3: - none Changes for v2: - none drivers/mtd/spi/spi_flash_internal.h | 8 - drivers/mtd/spi/spi_flash_probe.c|

[U-Boot] [PATCH v5 32/32] doc: SPI: Add status.txt for tracking SPI subsys status

2013-10-02 Thread Jagannadha Sutradharudu Teki
doc/SPI/status.txt added to track the u-boot SPI subsystem status. Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com --- Changes for v5: - none Changes for v4: - none Changes for v3: - none Changes for v2: - none doc/SPI/status.txt | 28

[U-Boot] [PATCH v5 08/32] sf: probe: Add support for S25FL* flash parts

2013-10-02 Thread Jagannadha Sutradharudu Teki
Added S25FL* parts are which are avilable in spi_flash_probe_legacy.c. Updated the sector_size attributes as per the flash parts. Looks fine for with this sector_size for computing the size of flash. Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com --- Changes for v5: -

[U-Boot] [PATCH v5 06/32] sf: probe: Add support for MX25L* flash parts

2013-10-02 Thread Jagannadha Sutradharudu Teki
Added MX25L* parts are which are avilable in spi_flash_probe_legacy.c. Updated the sector_size attributes as per the flash parts. Looks fine for with this sector_size for computing the size of flash. Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com --- Changes for v5: -

[U-Boot] [PATCH v5 14/32] sf: probe: Add support for erase sector selection flag

2013-10-02 Thread Jagannadha Sutradharudu Teki
SECT_4K, SECT_32K and SECT_64K opeartions are performed to to specific flash by adding a SECT* flag on respective spi_flash_params.flag param. Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com --- Changes for v5: - Update the sector flag for winbond Changes for v4: -

[U-Boot] [PATCH v5 27/32] sf: probe: Add support for MX25L51235F

2013-10-02 Thread Jagannadha Sutradharudu Teki
Add support for Macronix MX25L51235F SPI flash. Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com --- Changes for v5: - none Changes for v4: - none Changes for v3: - none Changes for v2: - none drivers/mtd/spi/spi_flash_probe.c | 1 + 1 file changed,

[U-Boot] [PATCH v5 01/32] sf: Divide spi_flash into multiple parts

2013-10-02 Thread Jagannadha Sutradharudu Teki
Divided the spi_flash framework into mutiple parts for - spi_flash.c: spi flash core file, interaction for spi/qspi driver to spi_flash framework. - spi_flash_ops.c spi flash preffered operations, erase,write and read. - spi_flash_probe.c spi flash probing, easy to

[U-Boot] [PATCH v5 21/32] sf: probe: Add support for S25FL256S_256K

2013-10-02 Thread Jagannadha Sutradharudu Teki
Add support for Spansion S25FL256S_256K SPI flash. Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com --- Changes for v5: - none Changes for v4: - none Changes for v3: - none Changes for v2: - none drivers/mtd/spi/spi_flash_probe.c | 3 ++- 1 file

[U-Boot] [PATCH v5 07/32] sf: probe: Add support for W25* flash parts

2013-10-02 Thread Jagannadha Sutradharudu Teki
Added W25* parts are which are avilable in spi_flash_probe_legacy.c. Updated the sector_size attributes as per the flash parts. Looks fine for with this sector_size for computing the size of flash. Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com --- Changes for v5: - none

[U-Boot] [PATCH v5 28/32] sf: Remove spi_flash_do_alloc references

2013-10-02 Thread Jagannadha Sutradharudu Teki
Added a support for common probe, hence removed removed spi_flash_do_alloc reference. Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com --- Changes for v5: - none Changes for v4: - none Changes for v3: - none Changes for v2: - none

[U-Boot] [PATCH v5 23/32] sf: probe: Use print_size arg as page_size

2013-10-02 Thread Jagannadha Sutradharudu Teki
Use flash-page_size arg in print_size() instead of flash-sector_size while printing detected flas part details. Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com --- Changes for v5: - none Changes for v4: - none Changes for v3: - none Changes for v2: -

[U-Boot] [PATCH v5 22/32] sf: probe: Add support for S25FL512S_256K

2013-10-02 Thread Jagannadha Sutradharudu Teki
Add support for Spansion S25FL512S_256K SPI flash. Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com --- Changes for v5: - none Changes for v4: - none Changes for v3: - none Changes for v2: - none drivers/mtd/spi/spi_flash_probe.c | 1 + 1 file

[U-Boot] [PATCH v5 13/32] sf: probe: Add support to clear flash BP# bits

2013-10-02 Thread Jagannadha Sutradharudu Teki
Few of the flashes(Atmel, Macronix and SST) require to clear BP# bits in flash power ups. So clear these BP# bits at probe time, so-that the flash is ready for user operations. Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com --- Changes for v5: - Added macro for

[U-Boot] [PATCH v5 02/32] sf: probe: Add new spi_flash_probe support

2013-10-02 Thread Jagannadha Sutradharudu Teki
Added new spi_flash_probe support, currently added N25Q* flash part attributes support. Updated the sector_size attributes as per the flash parts. Looks fine for with this sector_size for computing the size of flash. Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com --- Changes for

[U-Boot] [PATCH v5 05/32] sf: probe: Add support for GD25* flash parts

2013-10-02 Thread Jagannadha Sutradharudu Teki
Added GD25* parts are which are avilable in spi_flash_probe_legacy.c. Updated the sector_size attributes as per the flash parts. Looks fine for with this sector_size for computing the size of flash. Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com --- Changes for v5: - none

[U-Boot] [PATCH v5 26/32] sf: probe: Add support for MX25L25635F

2013-10-02 Thread Jagannadha Sutradharudu Teki
Add support for Macronix MX25L25635F SPI flash. Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com --- Changes for v5: - none Changes for v4: - none Changes for v3: - none Changes for v2: - none drivers/mtd/spi/spi_flash_probe.c | 1 + 1 file changed,

[U-Boot] [PATCH v5 11/32] sf: probe: Give proper spacing on flash table params

2013-10-02 Thread Jagannadha Sutradharudu Teki
Given proper spacing between flash table params. Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com --- Changes for v5: - none Changes for v4: - none Changes for v3: - none Changes for v2: - none drivers/mtd/spi/spi_flash_probe.c | 154

[U-Boot] [PATCH v5 00/32] sf: Add new probe support

2013-10-02 Thread Jagannadha Sutradharudu Teki
This is v5 series for earlier series where I was breakdown the quad support and will send for next version. http://comments.gmane.org/gmane.comp.boot-loaders.u-boot/170343 This patch series adds common probe support for all flash vendors except ramtron. spi_flash_probe is a new addition where

[U-Boot] [PATCH v5 24/32] sf: probe: Print erase_size while printing flash details

2013-10-02 Thread Jagannadha Sutradharudu Teki
Included erase_size while printing probed flash details. Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com --- Changes for v5: - none Changes for v4: - none Changes for v3: - none Changes for v2: - none drivers/mtd/spi/spi_flash_probe.c | 3 ++- 1

[U-Boot] [PATCH v5 18/32] sf: ramtron: Add support for separate flash driver

2013-10-02 Thread Jagannadha Sutradharudu Teki
Compared to other spi flashes, ramtron has a different probing and implementation on flash ops, hence moved ramtron probe code into ramtron driver. Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com --- Changes for v5: - none Changes for v4: - none Changes for v3:

[U-Boot] [PATCH v5 19/32] sf: Remove unneeded flash drivers files

2013-10-02 Thread Jagannadha Sutradharudu Teki
Now the common probing is handled in spi_flash_probe.c hence removed the unneeded flash drivers. Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com --- Changes for v5: - none Changes for v4: - none Changes for v3: - none Changes for v2: - none

[U-Boot] [PATCH v5 17/32] sf: Add proper comment style on spi_flash structure

2013-10-02 Thread Jagannadha Sutradharudu Teki
Added proper comment style on spi_flash structure to make more readable. Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com --- Changes for v5: - Added comments on func Changes for v4: - none Changes for v3: - none Changes for v2: - none

[U-Boot] [PATCH v5 04/32] sf: probe: Add support for EN25Q* flash parts

2013-10-02 Thread Jagannadha Sutradharudu Teki
Added EN25Q* parts are which are avilable in spi_flash_probe_legacy.c. Updated the sector_size attributes as per the flash parts. Looks fine for with this sector_size for computing the size of flash. Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com --- Changes for v5: -

[U-Boot] [PATCH v5 15/32] sf: probe: Add support for flag status polling

2013-10-02 Thread Jagannadha Sutradharudu Teki
From Micron, 512MB onwards, flash requires to poll flag status instead of read status- hence added E_FSR flag on spectific flash parts. Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com --- Changes for v5: - none Changes for v4: - none Changes for v3: - none

[U-Boot] [PATCH v5 03/32] sf: probe: Add support for M25P* flash parts

2013-10-02 Thread Jagannadha Sutradharudu Teki
Added M25P* parts are which are avilable in spi_flash_probe_legacy.c. Updated the sector_size attributes as per the flash parts. Looks fine for with this sector_size for computing the size of flash. Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com --- Changes for v5: - none

[U-Boot] [PATCH v5 30/32] spi: spi cleanups

2013-10-02 Thread Jagannadha Sutradharudu Teki
- Rearranged multi-line comment style. - Add tabs. - Add spaces. Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com --- Changes for v5: - none Changes for v4: - none Changes for v3: - none Changes for v2: - none include/spi.h | 87

[U-Boot] [PATCH v5 20/32] sf: probe: Add support for EN25Q64

2013-10-02 Thread Jagannadha Sutradharudu Teki
Add support for EON EN25Q64 SPI flash. Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com --- Changes for v5: - none Changes for v4: - none Changes for v3: - none Changes for v2: - none drivers/mtd/spi/spi_flash_probe.c | 1 + 1 file changed, 1

[U-Boot] [PATCH v5 12/32] sf: probe: Add support for SST_WP

2013-10-02 Thread Jagannadha Sutradharudu Teki
Most of the SST flashes needs to write up using SST_WP, AAI Word Program, so added a flag param on spi_flash_params table. SST flashes, which supports SST_WP need to use a WP write sst_write_wp instead of common flash write. Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com ---

[U-Boot] [PATCH v5 29/32] sf: spi_flash cleanups

2013-10-02 Thread Jagannadha Sutradharudu Teki
More cleanups on spi_flash side: - Removed unneeded comments. - Rearranged macros in proper location. - Rearranged func declerations - Renamed few function names. - Added License headers. Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com --- Changes for v5: - none Changes for

[U-Boot] [PATCH v5 31/32] sf: Rename spi_flash files

2013-10-02 Thread Jagannadha Sutradharudu Teki
Renamed: spi_flash.c - sf.c spi_flash_internal.h - sf_internal.h spi_flash_ops.c - sf_ops.c spi_flash_probe.c - sf_probe.c Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com --- Changes for v5: - none Changes for v4: - none Changes for v3: - none Changes for

Re: [U-Boot] [PATCH v4 3/4] generic board patch of manual reloc and zero gd_t

2013-10-02 Thread FengHua
-原始邮件- 发件人: Scott Wood scottw...@freescale.com 发送时间: 2013年10月1日 星期二 收件人: FengHua feng...@phytium.com.cn 抄送: Simon Glass s...@chromium.org, trini tr...@ti.com, u-boot u-boot@lists.denx.de 主题: Re: Re: [U-Boot] [PATCH v4 3/4] generic board patch of manual reloc

Re: [U-Boot] Pull request: u-boot-arm/master

2013-10-02 Thread Tom Rini
On Wed, Oct 02, 2013 at 05:34:07PM +0200, Albert ARIBAUD wrote: Hello Tom, The following changes since commit 8386ca8bea7a6a8469c3b6a99313afb642e6cbeb: Revert standalone-examples: support custom GCC lib (2013-09-12 10:27:29 -0400) are available in the git repository at:

[U-Boot] [PATCH] ARM: fdt support: Add usbethaddr as an acceptable MAC

2013-10-02 Thread Dan Murphy
A board that has a USB ethernet device only may set the usbetheraddr and not the ethaddr. ethaddr will be the default MAC address that is chosen and if that is not populated then the usbethaddr is looked at. If neither are set then then device tree blob is not modified. Signed-off-by: Dan Murphy

[U-Boot] [PATCH v5] usb: new board-specific USB init interface

2013-10-02 Thread Mateusz Zalega
This commit unifies board-specific USB initialization implementations under one symbol (usb_board_init), declaration of which is available in usb.h. New API allows selective initialization of USB controllers whenever needed. Signed-off-by: Mateusz Zalega m.zal...@samsung.com Signed-off-by:

[U-Boot] [ANN] v2013.10-rc4

2013-10-02 Thread Tom Rini
Hey all, I've put v2013.10-rc4 out, only a little later than I had hoped, but I wanted to get those PRs in for this. uploaded soon. At this point, we're just about ready to release so: 1) If you have a bugfix outstand please let me know (I know about the igep and pcm cpsw fixes, those are on my

Re: [U-Boot] [PATCH] ARM: fdt support: Add usbethaddr as an acceptable MAC

2013-10-02 Thread Tom Rini
On Wed, Oct 02, 2013 at 02:00:15PM -0500, Dan Murphy wrote: A board that has a USB ethernet device only may set the usbetheraddr and not the ethaddr. ethaddr will be the default MAC address that is chosen and if that is not populated then the usbethaddr is looked at. If neither are set then

Re: [U-Boot] [PATCH] config.mk: Add -Wundef to CFLAGS

2013-10-02 Thread Albert ARIBAUD
Hi Masahiro, On Wed, 21 Aug 2013 13:33:19 +0900, Masahiro Yamada yamad...@jp.panasonic.com wrote: Hello, Albert and U-Boot developers. The current status of this patch is Changes Requested. I love -Wundef option to be in, but it looks like difficult for me to post the version 2.

Re: [U-Boot] [PATCH] zynq: Use arch_cpu_init() instead of lowlevel_init()

2013-10-02 Thread Albert ARIBAUD
Hi Michal, On Tue, 24 Sep 2013 12:38:38 +0200, Michal Simek mon...@monstr.eu wrote: Hi Albert, On 09/23/2013 04:37 PM, Albert ARIBAUD wrote: Hi Michal, On Mon, 23 Sep 2013 16:19:52 +0200, Michal Simek mon...@monstr.eu wrote: On 09/23/2013 02:31 PM, Albert ARIBAUD wrote: Hi

Re: [U-Boot] imximage on the MX50

2013-10-02 Thread Andre Renaud
Hi Stefano, Specifically, the dcd_ptr in the v2 imx header points to an address in DDR, however I would have thought that on power-up the DCD is loaded somewhere in iRAM (since the DDR isn't running at this stage), and then only once this has been interpreted is the full image loaded into

Re: [U-Boot] [PATCH] ARM: fdt support: Add usbethaddr as an acceptable MAC

2013-10-02 Thread Dan Murphy
Tom On 10/02/2013 02:19 PM, Tom Rini wrote: On Wed, Oct 02, 2013 at 02:00:15PM -0500, Dan Murphy wrote: A board that has a USB ethernet device only may set the usbetheraddr and not the ethaddr. ethaddr will be the default MAC address that is chosen and if that is not populated then the

Re: [U-Boot] [PATCH] ARM: fdt support: Add usbethaddr as an acceptable MAC

2013-10-02 Thread Tom Rini
On Wed, Oct 02, 2013 at 03:14:26PM -0500, Dan Murphy wrote: Tom On 10/02/2013 02:19 PM, Tom Rini wrote: On Wed, Oct 02, 2013 at 02:00:15PM -0500, Dan Murphy wrote: A board that has a USB ethernet device only may set the usbetheraddr and not the ethaddr. ethaddr will be the default

Re: [U-Boot] [PATCH] ARM: fdt support: Add usbethaddr as an acceptable MAC

2013-10-02 Thread Dan Murphy
Tom On 10/02/2013 03:19 PM, Tom Rini wrote: On Wed, Oct 02, 2013 at 03:14:26PM -0500, Dan Murphy wrote: Tom On 10/02/2013 02:19 PM, Tom Rini wrote: On Wed, Oct 02, 2013 at 02:00:15PM -0500, Dan Murphy wrote: A board that has a USB ethernet device only may set the usbetheraddr and not the

Re: [U-Boot] [PATCH v2 1/3] arm/km: add support for km_kirkwood_128m16 board

2013-10-02 Thread Albert ARIBAUD
Hi Holger, On Wed, 18 Sep 2013 09:32:48 +0200, Holger Brunck holger.bru...@keymile.com wrote: From: Karlheinz Jerg karlheinz.j...@keymile.com The board is similar to the standard km_kirkwood board. From a u-boot point of view, the only difference is an increased 256 MiB DRAM (128M16). A

Re: [U-Boot] [ANN] v2013.10-rc4

2013-10-02 Thread Albert ARIBAUD
Hi Tom, On Wed, 2 Oct 2013 15:14:09 -0400, Tom Rini tr...@ti.com wrote: Hey all, I've put v2013.10-rc4 out, only a little later than I had hoped, but I wanted to get those PRs in for this. uploaded soon. At this point, we're just about ready to release so: 1) If you have a bugfix

Re: [U-Boot] imximage on the MX50

2013-10-02 Thread Stefano Babic
Hi Andre, On 02/10/2013 21:41, Andre Renaud wrote: Can you recommend any mechanism for debugging the boot rom execution? I can see on the SPI bus that it is trying to read from the boot flash, and it is getting the correct data (ie, the u-boot.imx image is programmed properly). However it is

Re: [U-Boot] [PATCH 1/1] am33xx: add CONFIG_SYS_NAND_DEVICE_WIDTH to determine NAND device bus-width

2013-10-02 Thread Scott Wood
On Wed, 2013-10-02 at 14:40 +, Gupta, Pekon wrote: Hi, Please see last set of queries inline.. From: Scott Wood [mailto:scottw...@freescale.com] On Sat, 2013-09-28 at 06:24 +, Gupta, Pekon wrote: From: Scott Wood [mailto:scottw...@freescale.com] On Fri, 2013-09-27 at

Re: [U-Boot] [PATCH 7/9] net: tsec: Use portable types and accessors for BDs

2013-10-02 Thread Scott Wood
On Wed, 2013-10-02 at 17:16 +0300, Claudiu Manoil wrote: On 10/1/2013 9:50 PM, Scott Wood wrote: On Tue, 2013-10-01 at 14:38 +0300, Claudiu Manoil wrote: On 10/1/2013 2:22 AM, Scott Wood wrote: On Mon, 2013-09-30 at 12:44 +0300, Claudiu Manoil wrote: +static RTXBD rtx __aligned(8);

Re: [U-Boot] [ANN] v2013.10-rc4

2013-10-02 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/02/2013 04:39 PM, Albert ARIBAUD wrote: Hi Tom, On Wed, 2 Oct 2013 15:14:09 -0400, Tom Rini tr...@ti.com wrote: Hey all, I've put v2013.10-rc4 out, only a little later than I had hoped, but I wanted to get those PRs in for this.

[U-Boot] [PATCH 1/3][v4] mtd: move update nand_ecclayout structure

2013-10-02 Thread Prabhakar Kushwaha
nand_ecclayout is present in mtd.h at Linux. Move this structure to mtd.h to comply with Linux. Also, increase the ecc placement locations to 640 to suport device having writesize/oobsize of 8KB/640B. This means that the maximum oobsize has gone up to 640 bytes and consequently the maximum ecc

[U-Boot] [PATCH 3/3][v4] board/c29xpcie: Add support of 8K page size NAND flash

2013-10-02 Thread Prabhakar Kushwaha
Defines constants required to support 8K page size NAND flash. Signed-off-by: Prabhakar Kushwaha prabha...@freescale.com --- Changes for v2:Sending as it is Changes for v3:Sending as it is Changes for v4:Sending as it is include/configs/C29XPCIE.h | 10 ++ 1 file changed, 6

[U-Boot] [PATCH 2/3][v4] mtd/ifc: Add support of 8K page size NAND flash

2013-10-02 Thread Prabhakar Kushwaha
Current IFC driver supports till 4K page size NAND flash. Add support of 8K NAND flash - Program Spare region size in csor_ext - Add nand_ecclayout for 4 bit 8 bit ecc - Defines constants - Add support of 8K NAND boot. Signed-off-by: Prabhakar Kushwaha prabha...@freescale.com CC: Liu Po

Re: [U-Boot] [PATCH 2/6] power: Explicitly select pmic device's bus

2013-10-02 Thread Heiko Schocher
Hello Lukasz, Am 02.10.2013 17:11, schrieb Lukasz Majewski: Hi Leela, The current pmic i2c code assumes the current i2c bus is the same as the pmic device's bus. There is nothing ensuring that to be true. Therefore, select the proper bus before performing a transaction. Signed-off-by: Aaron