Re: [U-Boot] [PATCH v3 14/28] sf: probe: Add support for erase sector selection flag

2013-09-24 Thread Jagan Teki
Hi Sascha, Yes I understand your point, this time I just refer the old code. See the old code will also use the 4K sector erase. May be we can modify this flag once the old gets stabilized, request for inputs.. On Sun, Sep 22, 2013 at 12:29 AM, Sascha Silbe wrote: > Hi Jagannadha, > > Jagannadha

Re: [U-Boot] [RFC] i2c_reloc_fixup fails on m68k

2013-09-24 Thread Jens Scharsig
Hello Heiko, > Hello Jens, >> I have a access violation problem with i2c_reloc_fixup on coldfire >> m68k systems. >> >> I found out, the i2c_reloc_fixup tries to relocate the adapter itself, >> but at this time i2c_adap_p is already relocated. > > Which toolchain? m68k-elf-gcc (Sourcery CodeBench

Re: [U-Boot] [PATCH 4/5] ep93xx: remove remainders of dead board

2013-09-24 Thread Masahiro Yamada
Hello Sergey > EP93xx is not dead! I recently submit patch for full support of > edb9315a board (see http://patchwork.ozlabs.org/patch/276429/). And > it's working well on my boards and on the original evaluation board. Sorry, I had overlooked your recently-posted patch "arm: ep9315: Return back

Re: [U-Boot] [PATCH 5/5] net: ep93xx_eth: remove a dead driver.

2013-09-24 Thread Masahiro Yamada
Hello, Sergey > And this driver works fine when my patch > (http://patchwork.ozlabs.org/patch/276429/) applied. OK. I retract this patch along with 4/5. Best Regards Masahiro Yamada ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mai

Re: [U-Boot] [PATCH 1/2] Armada100: Adds SD/MMC Register definitions

2013-09-24 Thread Pantelis Antoniou
Hi Ajay, On Sep 24, 2013, at 11:02 AM, Ajay Bhargav wrote: > This patch add SD/MMC interface register difinitions for Armada100 > series. > > Signed-off-by: Ajay Bhargav > --- > arch/arm/include/asm/arch-armada100/armada100.h | 10 ++ > 1 file changed, 10 insertions(+) > > diff --git a/

Re: [U-Boot] [PATCH] powerpc/c29xpcie: DDR ECC off since hardware issue

2013-09-24 Thread Liu Po-B43644
Abandon this patch. Will upload new patch relate ECC on off config for C29XPCIE. Best regards, Liu Po > -Original Message- > From: Liu Po-B43644 > Sent: Wednesday, August 21, 2013 2:28 PM > To: u-boot@lists.denx.de > Cc: sun york-R58495; Wood Scott-B07421; Liu Po-B43644 > Subject:

Re: [U-Boot] [PATCH 2/2] Armada100: Add SD card support for Marvell gplugD

2013-09-24 Thread Pantelis Antoniou
Hi Ajay, On Sep 24, 2013, at 11:02 AM, Ajay Bhargav wrote: > This patch adds support for SD card interface (MMC1 and MMC2) for > Marvell gplugD. > > Signed-off-by: Ajay Bhargav > --- > arch/arm/include/asm/arch-armada100/cpu.h | 1 + > arch/arm/include/asm/arch-armada100/mfp.h | 17

Re: [U-Boot] [PATCH 0/5] cleanup docs and remove remainders of dead board

2013-09-24 Thread Masahiro Yamada
Hello maintainers, Sergey. > ep93xx: remove remainders of dead board > net: ep93xx_eth: remove a dead driver. I retract these two. > cosmetic: doc: driver-model: Do not number driver lists > cosmetic: doc: UDM-serial: clean up the remainders of dead driver > cosmetic: doc: UDM-net: c

Re: [U-Boot] [PATCH 1/3] usb:g_dnl:ums: Conditional compilation for mass storage function (f_mass_storage)

2013-09-24 Thread Lukasz Majewski
Hi Marek, > The mass storage composite function is now compiled in only when > CONFIG_USB_GADGET_MASS_STORAGE is defined. > Such change provides binary size reduction for boards which use USB > download gadget (like am335x_evm) with DFU, but don't use UMS. > > For example at am335x_evm board redu

[U-Boot] [PATCH] boards/c29xpcie: Update TLB and LAW size for IFC NAND

2013-09-24 Thread Prabhakar Kushwaha
IFC NAND AMASK register is programmed for 64K size. so Update TLB & LAW size accordingly. Signed-off-by: Prabhakar Kushwaha --- Based upon git://git.denx.de/u-boot.git branch master board/freescale/c29xpcie/law.c |2 +- board/freescale/c29xpcie/tlb.c |2 +- 2 files changed, 2 insertio

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

2013-09-24 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 --- Based upon git://git.denx.de/

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

2013-09-24 Thread Prabhakar Kushwaha
Defines constants required to support 8K page size NAND flash. Signed-off-by: Prabhakar Kushwaha --- Based upon git://git.denx.de/u-boot.git branch master include/configs/C29XPCIE.h | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/include/configs/C29XPCIE.h b/in

[U-Boot] [PATCH] powerpc/c29xpcie: add DDR ECC on off config setting

2013-09-24 Thread Po Liu
c29xpcie REV_A board DDR ECC chip has bad impedance in hardware, force that kind of board to be DDR ECC off when booting. Other version board config ECC on/off by hwconfig=fsl_ddr:ecc=on in uboot enviroment. Signed-off-by: Po Liu --- Add this patch after the camelcase patch http://patchwork.ozlab

Re: [U-Boot] [PATCH] i2c:zynq: I2C multi-bus support on Zynq

2013-09-24 Thread Michal Simek
>> Tested: >> Xilinx ZC702 eval board (single bus master 'I2C0' with multiplexer >> PCA9548). >> Write and read registers with addresses of length 0 and 1. >> >> Note: >> Mainline code does not work "out of the box" on ZC702 at this time; ad >> hoc adaptations based on 'u-boot-xlnx' repository we

[U-Boot] [PATCH 1/3] mtd:Increase ecc bytes to support 8K page size NAND

2013-09-24 Thread Prabhakar Kushwaha
To support 8 bit ECC for 8K page size NAND flash, number of ecc bytes required are more than 128. so increase eccpos array to support 256 entries. Signed-off-by: Prabhakar Kushwaha --- Based upon git://git.denx.de/u-boot.git branch master include/mtd/mtd-abi.h |2 +- 1 file changed, 1 in

Re: [U-Boot] Does u-boot support S3C24xx nand ecc?

2013-09-24 Thread José Miguel Gonçalves
I've added this support for an S3C2416 based board over 2012.10 u-boot sources. Please check this patch at: http://patchwork.ozlabs.org/patch/185885/ José Gonçalves ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-b

Re: [U-Boot] [PATCH v3 1/3] arm:samsung:serial Extract common UART code

2013-09-24 Thread Minkyu Kang
Dear Lukasz, On 29/08/13 06:01, Lukasz Majewski wrote: > Hi Minkyu > >> Dear Lukasz, >> >> On 13/08/13 06:15, Lukasz Majewski wrote: >>> This commit brings removal of duplicated code for UART IP block >>> embedded at Samsung SoCs. >>> New include/asm/samsung-common directory has been created to s

Re: [U-Boot] s3c2416 usb ohci issue

2013-09-24 Thread José Miguel Gonçalves
Hi Zoltan, Did not try this myself on the MINI2416 board, so I can not give you any hints on that. But I'm curious, why do you need u-boot's OHCI support for that board? Best regards, José Gonçalves ___ U-Boot mailing list U-Boot@lists.denx.de http:/

Re: [U-Boot] [PATCH] usb: ehci: Fix test mode for connected ports

2013-09-24 Thread Marek Vasut
Dear Simon Glass, > Hi Julius, > > On Mon, Sep 23, 2013 at 8:55 PM, Julius Werner wrote: > > Hi Simon, > > > > > It seems like you could do something like > > > > > > /* > > > > > > * This is the delay for ...the spec requires a minimum of ... > > > */ > > > > > > #define SOME_SUITABLE_NAM

Re: [U-Boot] [PATCH 1/3] usb:g_dnl:ums: Conditional compilation for mass storage function (f_mass_storage)

2013-09-24 Thread Marek Vasut
Dear Lukasz Majewski, > Hi Marek, > > > The mass storage composite function is now compiled in only when > > CONFIG_USB_GADGET_MASS_STORAGE is defined. > > Such change provides binary size reduction for boards which use USB > > download gadget (like am335x_evm) with DFU, but don't use UMS. > > >

Re: [U-Boot] [PATCH v3 00/10] USB: XHCI: Add xHCI host controller stack driver

2013-09-24 Thread Marek Vasut
Dear Vivek Gautam, > Hi Marek, > > On Mon, Sep 23, 2013 at 8:59 PM, Marek Vasut wrote: > > Dear Vivek Gautam, > > > >> + Marek, Dan, Julius, Simon and Vikas for this cover patch ;-) > > > > [...] > > > > Thanks, I have the patches lined up. Just waiting for Dans' talk with > > Sarah. Maybe we

Re: [U-Boot] [PATCH v3 00/10] USB: XHCI: Add xHCI host controller stack driver

2013-09-24 Thread Vivek Gautam
On Tue, Sep 24, 2013 at 12:30 PM, Marek Vasut wrote: > Dear Vivek Gautam, > >> Hi Marek, >> >> On Mon, Sep 23, 2013 at 8:59 PM, Marek Vasut wrote: >> > Dear Vivek Gautam, >> > >> >> + Marek, Dan, Julius, Simon and Vikas for this cover patch ;-) >> > >> > [...] >> > >> > Thanks, I have the patches

Re: [U-Boot] - Help with usb3503 hub enumeration

2013-09-24 Thread Vivek Gautam
Hi, On Sun, Sep 15, 2013 at 4:55 AM, Suriyan Ramasami wrote: > Hello All and especially Dan Murphy, > Reading thru the mailing list Dan seems to have worked on usb3503a + > LAN9730 enumeration wrt the OMAP5. Hence, I seek his help and anyone else! > >This is with regards to an odroid-u2.

Re: [U-Boot] [RFC PATCH 0/3] i.MX6 (DQ/DLS): consolidate mux and pad names

2013-09-24 Thread Tapani Utriainen
On Fri, 20 Sep 2013 17:22:58 -0700 Eric Nelson wrote: > On 09/16/2013 02:26 PM, Eric Nelson wrote: > > This patch set begins the process of consolidating mux and pad > > declarations for the i.MX6 Dual/Quad and Dual-Lite/Solo processor > > variants. > > > > Patch 1 replaces the mux/pad names with

Re: [U-Boot] [PATCH v3 1/3] arm:samsung:serial Extract common UART code

2013-09-24 Thread Lukasz Majewski
Hi Minkyu, > Dear Lukasz, > > On 29/08/13 06:01, Lukasz Majewski wrote: > > Hi Minkyu > > > >> Dear Lukasz, > >> > >> On 13/08/13 06:15, Lukasz Majewski wrote: > >>> This commit brings removal of duplicated code for UART IP block > >>> embedded at Samsung SoCs. > >>> New include/asm/samsung-commo

[U-Boot] [PATCH][v2] boards/c29xpcie: Update TLB and LAW size for IFC NAND, CPLD

2013-09-24 Thread Prabhakar Kushwaha
NAND,CPLD AMASK register is programmed for 64K size. so Update TLB & LAW size accordingly. Signed-off-by: Prabhakar Kushwaha --- Based upon git://git.denx.de/u-boot.git branch master changes for v2: - Updated both CPLD and NAND board/freescale/c29xpcie/law.c |4 ++-- board/freesca

Re: [U-Boot] [PATCH v3 02/28] sf: probe: Add new spi_flash_probe support

2013-09-24 Thread Jagan Teki
On Sun, Sep 22, 2013 at 12:21 AM, Sascha Silbe wrote: > Hi Jagannadha, > > Jagannadha Sutradharudu Teki > writes: > >> Added new spi_flash_probe support, currently added N25Q* >> flash part attributes support. > [...] > > I've given your series another try on Cubox. It looks better this time > (e

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

2013-09-24 Thread Michal Simek
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 > wrote: > >> On 09/23/2013 02:31 PM, Albert ARIBAUD wrote: >>> Hi Michal, >>> >>> On Thu, 22 Aug 2013 14:52:02 +0200, Michal Simek >>> wrote: >>> Zynq lowlevel_init(

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

2013-09-24 Thread Minkyu Kang
Dear Marek Vasut, On 19/09/13 23:34, Marek Vasut wrote: > Dear Marek Vasut, > >> Dear Marek Vasut, >> >>> Dear Mateusz Zalega, >>> This commit unifies board-specific USB initialization implementations under one symbol (usb_board_init), declaration of which is available in usb.h. >>

[U-Boot] [PATCH] cmd_pxe.c: Pass along 'cmdtp' to do_bootm()/do_bootz()

2013-09-24 Thread Tom Rini
When we call do_bootm() with a vmlinuz, this would lead to a NULL pointer dereference, and after talking with Wolfgang the right thing to do here for now is to make sure that we pass cmdtp to these functions rather than NULL. Reported-by: Steven A. Falco Signed-off-by: Tom Rini --- common/cmd_p

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

2013-09-24 Thread Marek Vasut
Dear Minkyu Kang, > Dear Marek Vasut, > > On 19/09/13 23:34, Marek Vasut wrote: > > Dear Marek Vasut, > > > >> Dear Marek Vasut, > >> > >>> Dear Mateusz Zalega, > >>> > This commit unifies board-specific USB initialization implementations > under one symbol (usb_board_init), declarat

[U-Boot] [PATCH] am335x_evm: Switch to zImage as default rather than uImage

2013-09-24 Thread Tom Rini
Signed-off-by: Tom Rini --- include/configs/am335x_evm.h |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h index cdf689f..f0d1663 100644 --- a/include/configs/am335x_evm.h +++ b/include/configs/am335x_evm.h @

Re: [U-Boot] [RFC PATCH 0/3] i.MX6 (DQ/DLS): consolidate mux and pad names

2013-09-24 Thread Eric Nelson
Thanks Tapani, On 09/24/2013 02:36 AM, Tapani Utriainen wrote: On Fri, 20 Sep 2013 17:22:58 -0700 Eric Nelson wrote: On 09/16/2013 02:26 PM, Eric Nelson wrote: This patch set begins the process of consolidating mux and pad declarations for the i.MX6 Dual/Quad and Dual-Lite/Solo processor var

[U-Boot] Not able to get the prints in the do_irq handler

2013-09-24 Thread VISWANADHULA BALAJI
Hi, I am facing the typical problem relating to prints in the do_irq handler of versatile based u-boot. I dont know what is the problem. Though i am getting the prints normally in super visor context but not able to get the prints in the interrupt context. Please can you tell me if it is possible.

[U-Boot] [PATCH V2] drivers:power:max77693: add support for new multi function pmic max77693

2013-09-24 Thread Piotr Wilczek
This patch add support for new multi function pmic max77693. The driver is split into three modules: pmic, muic and fuelgage. Signed-off-by: Piotr Wilczek Signed-off-by: Kyungmin Park CC: Minkyu Kang --- Changes for V2: - replaced GPL license with SPDX license GPL-2.0+; - added author to all

[U-Boot] [PATCH] ARM: mxs: tools: Use mkimage for BootStream generation

2013-09-24 Thread Marek Vasut
Now that mkimage can generate an BootStream for i.MX23 and i.MX28, use the mkimage as a default tool to generate the BootStreams instead of the elftosb tool. This cuts out another obscure dependency. Signed-off-by: Marek Vasut Cc: Fabio Estevam Cc: Otavio Salvador Cc: Stefano Babic --- arch/a

Re: [U-Boot] [PATCH] ARM: mxs: tools: Use mkimage for BootStream generation

2013-09-24 Thread Marek Vasut
Hi, > Now that mkimage can generate an BootStream for i.MX23 and i.MX28, > use the mkimage as a default tool to generate the BootStreams instead > of the elftosb tool. This cuts out another obscure dependency. > > Signed-off-by: Marek Vasut > Cc: Fabio Estevam > Cc: Otavio Salvador > Cc: Stefa

Re: [U-Boot] [PATCH] ARM: mxs: tools: Use mkimage for BootStream generation

2013-09-24 Thread Otavio Salvador
On Tue, Sep 24, 2013 at 11:40 AM, Marek Vasut wrote: > Now that mkimage can generate an BootStream for i.MX23 and i.MX28, > use the mkimage as a default tool to generate the BootStreams instead > of the elftosb tool. This cuts out another obscure dependency. > > Signed-off-by: Marek Vasut > Cc: F

[U-Boot] [PATCH v4] socfpga: Adding Freeze Controller driver

2013-09-24 Thread Chin Liang See
Adding Freeze Controller driver. All HPS IOs need to be in freeze state during pin mux or IO buffer configuration. It is to avoid any glitch which might happen during the configuration from propagating to external devices. Signed-off-by: Chin Liang See Cc: Wolfgang Denk CC: Pavel Machek Cc: Din

Re: [U-Boot] [PATCH] ARM: mxs: tools: Use mkimage for BootStream generation

2013-09-24 Thread Marek Vasut
Dear Otavio Salvador, > On Tue, Sep 24, 2013 at 11:40 AM, Marek Vasut wrote: > > Now that mkimage can generate an BootStream for i.MX23 and i.MX28, > > use the mkimage as a default tool to generate the BootStreams instead > > of the elftosb tool. This cuts out another obscure dependency. > > > >

Re: [U-Boot] [PATCH] ARM: mxs: tools: Use mkimage for BootStream generation

2013-09-24 Thread Otavio Salvador
On Tue, Sep 24, 2013 at 11:51 AM, Marek Vasut wrote: > Dear Otavio Salvador, > >> On Tue, Sep 24, 2013 at 11:40 AM, Marek Vasut wrote: >> > Now that mkimage can generate an BootStream for i.MX23 and i.MX28, >> > use the mkimage as a default tool to generate the BootStreams instead >> > of the elf

Re: [U-Boot] [PATCH] i2c:zynq: I2C multi-bus support on Zynq

2013-09-24 Thread Michael Burr
Sorry, Michal I only wrote that part to explain how I was able to test on the ZC702 board (in case somebody else should want to reproduce the results). I understand that you will sync the 'u-boot-xlnx' repo with mainline at some time in the future, on your own schedule. I was not trying to sugge

Re: [U-Boot] [PATCH] cmd_pxe.c: Pass along 'cmdtp' to do_bootm()/do_bootz()

2013-09-24 Thread Tom Rini
On Tue, Sep 24, 2013 at 09:06:42AM -0400, Tom Rini wrote: > When we call do_bootm() with a vmlinuz, this would lead to a NULL > pointer dereference, and after talking with Wolfgang the right thing to > do here for now is to make sure that we pass cmdtp to these functions > rather than NULL. > > R

Re: [U-Boot] [PATCH v3] socfpga: Adding Freeze Controller driver

2013-09-24 Thread Chin Liang See
On Mon, 2013-09-23 at 13:59 -0500, Dinh Nguyen wrote: > On Fri, 2013-09-20 at 00:08 -0500, Chin Liang See wrote: > > diff --git a/arch/arm/cpu/armv7/socfpga/freeze_controller.c > > b/arch/arm/cpu/armv7/socfpga/freeze_controller.c > > new file mode 100644 > > index 000..93ad22a > > --- /dev/nu

Re: [U-Boot] [PATCH V3 0/5] EXYNOS: I2S: Enable I2S0 channel

2013-09-24 Thread Tom Rini
On Wed, Sep 11, 2013 at 04:38:45PM +0530, Dani Krishna Mohan wrote: > This patch set adds I2S-0 support and retains I2S-1 support. > The default i2s channel can be selected through DT. > > Changes in V3: > - Followed proper indentations > > Changes in V2: > - Enabled I2S-0 support

Re: [U-Boot] [PATCH V3 0/5] EXYNOS: I2S: Enable I2S0 channel

2013-09-24 Thread Tom Rini
On Wed, Sep 11, 2013 at 04:38:45PM +0530, Dani Krishna Mohan wrote: > This patch set adds I2S-0 support and retains I2S-1 support. > The default i2s channel can be selected through DT. > > Changes in V3: > - Followed proper indentations > > Changes in V2: > - Enabled I2S-0 support

Re: [U-Boot] [PATCH] i2c:zynq: I2C multi-bus support on Zynq

2013-09-24 Thread Michal Simek
On 09/24/2013 04:58 PM, Michael Burr wrote: > Sorry, Michal > > I only wrote that part to explain how I was able to test on the > ZC702 board (in case somebody else should want to reproduce > the results). > > I understand that you will sync the 'u-boot-xlnx' repo with mainline > at some time in

Re: [U-Boot] [PATCH] ARM: mxs: tools: Use mkimage for BootStream generation

2013-09-24 Thread Marek Vasut
Dear Otavio Salvador, > On Tue, Sep 24, 2013 at 11:51 AM, Marek Vasut wrote: > > Dear Otavio Salvador, > > > >> On Tue, Sep 24, 2013 at 11:40 AM, Marek Vasut wrote: > >> > Now that mkimage can generate an BootStream for i.MX23 and i.MX28, > >> > use the mkimage as a default tool to generate the

Re: [U-Boot] [PATCH v2] ARM: mxs: tools: Use mkimage for BootStream generation

2013-09-24 Thread Fabio Estevam
On Tue, Sep 24, 2013 at 12:24 PM, Marek Vasut wrote: > +The production of BootStream image is handled via "mkimage", which is > +also part of the U-Boot source tree. The "mkimage" requires OpenSSL > +development libraries to be installed. In case of Debian and derivates, > +this is installed by ru

[U-Boot] [PATCH v2] ARM: mxs: tools: Use mkimage for BootStream generation

2013-09-24 Thread Marek Vasut
Now that mkimage can generate an BootStream for i.MX23 and i.MX28, use the mkimage as a default tool to generate the BootStreams instead of the elftosb tool. This cuts out another obscure dependency. Signed-off-by: Marek Vasut Cc: Fabio Estevam Cc: Otavio Salvador Cc: Stefano Babic --- arch/a

Re: [U-Boot] [PATCH] cmd_bootm.c: Only pass BOOTM_STATE_OS_CMDLINE on PowerPC/MIPS

2013-09-24 Thread Tom Rini
On Mon, Sep 23, 2013 at 02:33:33PM -0400, Tom Rini wrote: > In 5c427e4 we pass BOOTM_STATE_OS_CMDLINE as part of the bootm states to > run, on all arches. However, this is only valid / useful on PowerPC and > MIPS, and causes a problem on ARM where we specifically do not use it. > Rather than make

[U-Boot] [PATCH v3] ARM: mxs: tools: Use mkimage for BootStream generation

2013-09-24 Thread Marek Vasut
Now that mkimage can generate an BootStream for i.MX23 and i.MX28, use the mkimage as a default tool to generate the BootStreams instead of the elftosb tool. This cuts out another obscure dependency. Signed-off-by: Marek Vasut Cc: Fabio Estevam Cc: Otavio Salvador Cc: Stefano Babic --- arch/a

Re: [U-Boot] [PATCH] USB: gadget: atmel: disconnect before unbind

2013-09-24 Thread Marek Vasut
Dear Bo Shen, > When unbind the gadget driver, need call disconnect first. > > Signed-off-by: Bo Shen Applied, thanks Best regards, Marek Vasut ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v3 00/10] USB: XHCI: Add xHCI host controller stack driver

2013-09-24 Thread Marek Vasut
Dear Dan Murphy, > Marek > > On 09/23/2013 10:29 AM, Marek Vasut wrote: > > Dear Vivek Gautam, > > > >> + Marek, Dan, Julius, Simon and Vikas for this cover patch ;-) > > > > [...] > > > > Thanks, I have the patches lined up. Just waiting for Dans' talk with > > Sarah. Maybe we should put her

Re: [U-Boot] [PATCH] i2c:zynq: I2C multi-bus support on Zynq

2013-09-24 Thread Michael Burr
Oh, OK. I see what you mean. I'm still very new to this process, so it takes some practice to "learn the customs". Thanks for clarifying. So, in future I will keep those explanations below the "---" line. Michael Burr  //  Software Engineer II Logic PD T // 612.436.7273 NOTICE: Important disclai

Re: [U-Boot] - Help with usb3503 hub enumeration

2013-09-24 Thread Suriyan Ramasami
Thanks Vivek for your response! On Tue, Sep 24, 2013 at 2:10 AM, Vivek Gautam wrote: > Hi, > > > On Sun, Sep 15, 2013 at 4:55 AM, Suriyan Ramasami wrote: >> Hello All and especially Dan Murphy, >> Reading thru the mailing list Dan seems to have worked on usb3503a + >> LAN9730 enumeration wrt

Re: [U-Boot] [PATCH v3] ARM: mxs: tools: Use mkimage for BootStream generation

2013-09-24 Thread Otavio Salvador
On Tue, Sep 24, 2013 at 12:39 PM, Marek Vasut wrote: > Now that mkimage can generate an BootStream for i.MX23 and i.MX28, > use the mkimage as a default tool to generate the BootStreams instead > of the elftosb tool. This cuts out another obscure dependency. > > Signed-off-by: Marek Vasut .. > #

Re: [U-Boot] [PATCH v3] ARM: mxs: tools: Use mkimage for BootStream generation

2013-09-24 Thread Marek Vasut
Dear Otavio Salvador, > On Tue, Sep 24, 2013 at 12:39 PM, Marek Vasut wrote: > > Now that mkimage can generate an BootStream for i.MX23 and i.MX28, > > use the mkimage as a default tool to generate the BootStreams instead > > of the elftosb tool. This cuts out another obscure dependency. > > > >

Re: [U-Boot] [PATCH] ARM: mxs: tools: Use mkimage for BootStream generation

2013-09-24 Thread Marek Vasut
Dear Otavio Salvador, > On Tue, Sep 24, 2013 at 11:40 AM, Marek Vasut wrote: > > Now that mkimage can generate an BootStream for i.MX23 and i.MX28, > > use the mkimage as a default tool to generate the BootStreams instead > > of the elftosb tool. This cuts out another obscure dependency. > > > >

Re: [U-Boot] [PATCH] ARM: mxs: tools: Use mkimage for BootStream generation

2013-09-24 Thread Marek Vasut
Dear Otavio Salvador, > On Tue, Sep 24, 2013 at 12:25 PM, Marek Vasut wrote: > > Dear Otavio Salvador, > > > >> On Tue, Sep 24, 2013 at 11:51 AM, Marek Vasut wrote: > >> > Dear Otavio Salvador, > >> > > >> >> On Tue, Sep 24, 2013 at 11:40 AM, Marek Vasut wrote: > >> >> > Now that mkimage can

[U-Boot] [PATCH] I2C: Zynq: Support for 0-length register address

2013-09-24 Thread Michael Burr
> Fixed bug with alen == 0 in 'i2c_write', 'i2c_read' Further minor corrections: > Write 'address' register before 'data' register. > Write 'transfer_size' register before 'address' register. Tested: Xilinx ZC702 eval board. Write and read registers with addresses of length 0 and 1. Signed-off-by

Re: [U-Boot] [PATCH v3] ARM: mxs: tools: Use mkimage for BootStream generation

2013-09-24 Thread Otavio Salvador
On Tue, Sep 24, 2013 at 1:28 PM, Marek Vasut wrote: > Dear Otavio Salvador, > >> On Tue, Sep 24, 2013 at 12:39 PM, Marek Vasut wrote: >> > Now that mkimage can generate an BootStream for i.MX23 and i.MX28, >> > use the mkimage as a default tool to generate the BootStreams instead >> > of the elft

Re: [U-Boot] [PATCH] ARM: mxs: tools: Use mkimage for BootStream generation

2013-09-24 Thread Otavio Salvador
On Tue, Sep 24, 2013 at 12:25 PM, Marek Vasut wrote: > Dear Otavio Salvador, > >> On Tue, Sep 24, 2013 at 11:51 AM, Marek Vasut wrote: >> > Dear Otavio Salvador, >> > >> >> On Tue, Sep 24, 2013 at 11:40 AM, Marek Vasut wrote: >> >> > Now that mkimage can generate an BootStream for i.MX23 and i.M

Re: [U-Boot] [PATCH v3] ARM: mxs: tools: Use mkimage for BootStream generation

2013-09-24 Thread Marek Vasut
Dear Otavio Salvador, > On Tue, Sep 24, 2013 at 1:28 PM, Marek Vasut wrote: > > Dear Otavio Salvador, > > > >> On Tue, Sep 24, 2013 at 12:39 PM, Marek Vasut wrote: > >> > Now that mkimage can generate an BootStream for i.MX23 and i.MX28, > >> > use the mkimage as a default tool to generate the

[U-Boot] [PATCH v2] usb: ehci: Fix test mode for connected ports

2013-09-24 Thread Julius Werner
The EHCI controller has some very specific requirements for the USB 2.0 port test modes, which were not closely followed in the initial test mode commit. It demands that the host controller is completely shut down (all ports suspended, Run/Stop bit unset) when activating test mode, and will not wor

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

2013-09-24 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 Tested-by: Eric Nelson --- Changes for v4:

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

2013-09-24 Thread Jagannadha Sutradharudu Teki
Added proper comment style on spi_flash structure to make more readable. Signed-off-by: Jagannadha Sutradharudu Teki --- Changes for v4: - none Changes for v3: - none Changes for v2: - none include/spi_flash.h | 63 + 1

[U-Boot] [PATCH v4 01/36] sf: Divide spi_flash into multiple parts

2013-09-24 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 e

[U-Boot] [PATCH v4 21/36] sf: probe: Add support for S25FL256S_256K

2013-09-24 Thread Jagannadha Sutradharudu Teki
Add support for Spansion S25FL256S_256K SPI flash. Signed-off-by: Jagannadha Sutradharudu Teki --- Changes for v4: - none Changes for v3: - none Changes for v2: - none drivers/mtd/spi/spi_flash_probe.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a

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

2013-09-24 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 --- Changes for v4: - none Changes for v3:

[U-Boot] [PATCH v4 34/36] sf: Set quad enable bit support

2013-09-24 Thread Jagannadha Sutradharudu Teki
This patch provides support to set the quad enable bit on flash. quad enable bit needs to set before performing any quad IO operations on respective SPI flashes. Signed-off-by: Jagannadha Sutradharudu Teki --- Changes for v4: - none Changes for v3: - none Changes for v2:

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

2013-09-24 Thread Jagannadha Sutradharudu Teki
Given proper spacing between flash table params. Signed-off-by: Jagannadha Sutradharudu Teki --- Changes for v4: - none Changes for v3: - none Changes for v2: - none drivers/mtd/spi/spi_flash_probe.c | 154 +++--- 1 file changed, 77 insert

[U-Boot] [PATCH v4 02/36] sf: probe: Add new spi_flash_probe support

2013-09-24 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. Defined CONFIG_SPI_FLASH_LEGACY for old probing style which is available on spi_

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

2013-09-24 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 --- Changes for v4: - Correct the sector sizes

[U-Boot] [PATCH v4 16/36] sf: probe: Move BAR config to spi_flash_validate_ids

2013-09-24 Thread Jagannadha Sutradharudu Teki
Moved BAR config to spi_flash_validate_ids, so its better to have all flash initalization at once. Signed-off-by: Jagannadha Sutradharudu Teki --- Changes for v4: - none Changes for v3: - none Changes for v2: - none drivers/mtd/spi/spi_flash_internal.h | 5 - driver

[U-Boot] [PATCH v4 22/36] sf: probe: Add support for S25FL512S_256K

2013-09-24 Thread Jagannadha Sutradharudu Teki
Add support for Spansion S25FL512S_256K SPI flash. Signed-off-by: Jagannadha Sutradharudu Teki --- Changes for v4: - none Changes for v3: - none Changes for v2: - none drivers/mtd/spi/spi_flash_probe.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mtd/spi/s

[U-Boot] [PATCH v4 20/36] sf: probe: Add support for EN25Q64

2013-09-24 Thread Jagannadha Sutradharudu Teki
Add support for EON EN25Q64 SPI flash. Signed-off-by: Jagannadha Sutradharudu Teki --- Changes for v4: - none Changes for v3: - none Changes for v2: - none drivers/mtd/spi/spi_flash_probe.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mtd/spi/spi_flash_pro

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

2013-09-24 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 --- Changes for v4: - none Changes for v3:

[U-Boot] [PATCH v4] sf: probe: Add support for S25FL* flash parts

2013-09-24 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 --- Changes for v4: - Update the ext_jedec d

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

2013-09-24 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 --- Changes for v4: - none Changes for v3: - none Changes for v2: - none drivers/mtd/spi/s

[U-Boot] [PATCH v4 12/36] sf: probe: Add support for SST_WP

2013-09-24 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 --- Changes for v4:

[U-Boot] [PATCH v4 26/36] sf: ops: Add static qualifier to spi_flash_cmd_bankaddr_write

2013-09-24 Thread Jagannadha Sutradharudu Teki
Signed-off-by: Jagannadha Sutradharudu Teki --- 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 changed, 1 insertion(+), 6 deletions(-) diff --git a/

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

2013-09-24 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 --- Changes for v4: - none Changes for v3:

[U-Boot] [PATCH v4 35/36] sf: spi_flash cleanups

2013-09-24 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 --- Changes for v4: - none Changes for v3: - none

[U-Boot] [PATCH v4 31/36] sf: Add extended read commands support

2013-09-24 Thread Jagannadha Sutradharudu Teki
Current sf uses FAST_READ command, this patch adds support to use the different/extended read command. This implementation will determine the fastest command by taking the supported commands from the flash and the controller, controller is always been a priority. Signed-off-by: Jagannadha Sutradh

[U-Boot] [PATCH v4 25/36] sf: probe: Simply the BAR configuration logic

2013-09-24 Thread Jagannadha Sutradharudu Teki
Signed-off-by: Jagannadha Sutradharudu Teki --- Changes for v4: - none Changes for v3: - none Changes for v2: - none drivers/mtd/spi/spi_flash_internal.h | 3 -- drivers/mtd/spi/spi_flash_probe.c| 56 +++- include/spi_flash.h

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

2013-09-24 Thread Jagannadha Sutradharudu Teki
Included erase_size while printing probed flash details. Signed-off-by: Jagannadha Sutradharudu Teki --- Changes for v4: - none Changes for v3: - none Changes for v2: - none drivers/mtd/spi/spi_flash_probe.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff -

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

2013-09-24 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 --- Changes for v4: - none Changes for v3: - none Changes for v2: - none drivers/mtd

[U-Boot] [PATCH v4 28/36] sf: probe: Add support for MX25L51235F

2013-09-24 Thread Jagannadha Sutradharudu Teki
Add support for Macronix MX25L51235F SPI flash. Signed-off-by: Jagannadha Sutradharudu Teki --- Changes for v4: - none Changes for v3: - none Changes for v2: - none drivers/mtd/spi/spi_flash_probe.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mtd/spi/spi_

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

2013-09-24 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 --- Changes for v4: - none Changes for v3:

[U-Boot] [PATCH v4 00/36] sf: Add common probe and extended/quad read/write cmds support

2013-09-24 Thread Jagannadha Sutradharudu Teki
This patch series is a combination of "sf: Add common probe support" "sf: Add support for extended/quad read and write commands" http://www.mail-archive.com/u-boot@lists.denx.de/msg121668.html http://u-boot.10912.n7.nabble.com/PATCH-v2-00-10-sf-Add-support-for-extended-quad-read-and-write-commands-

[U-Boot] [PATCH v4 29/36] sf: Remove spi_flash_do_alloc references

2013-09-24 Thread Jagannadha Sutradharudu Teki
Added a support for common probe, hence removed removed spi_flash_do_alloc reference. Signed-off-by: Jagannadha Sutradharudu Teki --- Changes for v4: - none Changes for v3: - none Changes for v2: - none include/spi_flash.h | 38 -- 1 f

[U-Boot] [PATCH v4 36/36] spi: spi cleanups

2013-09-24 Thread Jagannadha Sutradharudu Teki
- Rearranged multi-line comment style. - Add tabs. - Add spaces. Signed-off-by: Jagannadha Sutradharudu Teki --- Changes for v4: - none Changes for v3: - none Changes for v2: - none include/spi.h | 99 ++- 1 file ch

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

2013-09-24 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 --- Changes for v4: - none Changes for v3: - none Changes f

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

2013-09-24 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 --- Changes for v4: - none Changes for v3: - none Changes for v2: - none driver

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

2013-09-24 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 --- Changes for v4: - none Changes for v3: - none Changes for v2: - none drivers/mtd/spi/spi_flash_probe.c | 2 +-

[U-Boot] [PATCH v4 30/36] doc: SPI: Add status.txt for tracking SPI subsys status

2013-09-24 Thread Jagannadha Sutradharudu Teki
doc/SPI/status.txt added to track the u-boot SPI subsystem status. Signed-off-by: Jagannadha Sutradharudu Teki --- Changes for v4: - none Changes for v3: - none Changes for v2: - none doc/SPI/status.txt | 27 +++ 1 file changed, 27 insertions(+)

[U-Boot] [PATCH v4 33/36] sf: ops: Add configuration register writing support

2013-09-24 Thread Jagannadha Sutradharudu Teki
This patch provides support to program a flash config register. Configuration register contains the control bits used to configure the different configurations and security features of a device. User need to set these bits through spi_flash_cmd_write_config() based on their usage. Signed-off-by:

[U-Boot] [PATCH v4 32/36] sf: Add quad read/write commands support

2013-09-24 Thread Jagannadha Sutradharudu Teki
Current sf uses PAGE_PROGRAM command for write and FAST_READ, SLOW_READ, DUAL_READ and DUAL_IO_READ commands for read this patch adds support to use the quad read/write commands. - QUAD_PAGE_PROGRAM - QUAD_OUTPUT_FAST Signed-off-by: Jagannadha Sutradharudu Teki --- Changes for v4: - none

[U-Boot] [PATCH v4 19/36] sf: Remove unneeded flash drivers files

2013-09-24 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 --- Changes for v4: - none Changes for v3: - none Changes for v2: - none drivers/mtd/spi/Makefile | 8 - drivers/mtd

  1   2   >