Re: [U-Boot] [PATCH] Tegra: T1x4: SPI: Use a common name (t1x4) for SPI driver

2013-10-07 Thread Jagan Teki
On Tue, Oct 8, 2013 at 2:50 AM, Tom Warren wrote: > Tegra124 is compatible w/T114 SPI, so try to commonize as > much as possible. > > TEST=built all T1x4 boards, tested on Venice1 & 2 OK. > There's no real binary change here, just names/includes. > > Signed-off-by: Tom Warren > --- > .../tegra11

Re: [U-Boot] : SPI patches

2013-10-07 Thread Jagan Teki
On Tue, Oct 8, 2013 at 10:44 AM, Rajeshwari Birje wrote: > Hi Jagan, > > Sorry for late reply. > Will work on this and will send the patches soon, was caught in other > project work. Thanks for your response. I just sent a remainder, bcz i have planned to push these on release build. > > Thanks

Re: [U-Boot] [PATCH v7 1/5] mtd: nand: omap: enable BCH ECC scheme using ELM for generic platform

2013-10-07 Thread Gupta, Pekon
> From: Scott Wood [mailto:scottw...@freescale.com] > > On Sat, 2013-10-05 at 06:11 +, Gupta, Pekon wrote: > > Hi, > > Please see the replies inline.. > > > > > From: Scott Wood [mailto:scottw...@freescale.com] > > > > On Mon, 2013-09-30 at 19:43 +0530, Pekon Gupta wrote: > > > > +Platform spec

Re: [U-Boot] : SPI patches

2013-10-07 Thread Rajeshwari Birje
Hi Jagan, Sorry for late reply. Will work on this and will send the patches soon, was caught in other project work. Thanks and Regards, Rajeshwari Shinde On Mon, Oct 7, 2013 at 9:31 PM, Jagan Teki wrote: > On Fri, Oct 4, 2013 at 1:34 AM, Jagan Teki wrote: >> Hi Rajeswari, >> >> Below is a list

Re: [U-Boot] [PATCH] arm/km: fix i2c mux define for km_kirkwood_128m16 target

2013-10-07 Thread Heiko Schocher
Hello Holger, Am 07.10.2013 15:10, schrieb Holger Brunck: Due to the i2c mux rework in u-boot we now have only to specify the busnumber and not the whole mux configuration. Signed-off-by: Holger Brunck --- include/configs/km_kirkwood.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[U-Boot] [Patch v1 1/1] usb:smsx95xx LED activity for USB net driver

2013-10-07 Thread Suriyan Ramasami
Add LED activity for SMSX95XX USB Ether driver. Signed-off-by: “Suriyan Ramasami" --- drivers/usb/eth/smsc95xx.c | 14 ++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/drivers/usb/eth/smsc95xx.c b/drivers/usb/eth/smsc95xx.c index 15fd9a9..7bf0a34 100644 --- a/driv

Re: [U-Boot] [PATCH 0/4] arm64: rela relocation

2013-10-07 Thread FengHua
> Hi FengHua, > > On Fri, 4 Oct 2013 23:55:01 +0800 (GMT+08:00), FengHua > wrote: > > > > > > > > arm64: rela relocation > > > > > > This lets us remove the manual relocation stuff from the arm64 patchset > > > (the symbol itself is removed by this patchset, but not all the new > > > manual

Re: [U-Boot] [PATCH] mpc85xx: Fix the offset of register address error

2013-10-07 Thread Tang Yuantian-B29983
> > diff --git a/arch/powerpc/include/asm/mpc85xx_gpio.h > > b/arch/powerpc/include/asm/mpc85xx_gpio.h > > index 3d11884..87bb4a0 100644 > > --- a/arch/powerpc/include/asm/mpc85xx_gpio.h > > +++ b/arch/powerpc/include/asm/mpc85xx_gpio.h > > @@ -20,7 +20,7 @@ > > static inline void mpc85xx_gpio_set

Re: [U-Boot] [PATCH v7 1/5] mtd: nand: omap: enable BCH ECC scheme using ELM for generic platform

2013-10-07 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/07/2013 09:06 PM, Scott Wood wrote: > On Sat, 2013-10-05 at 06:11 +, Gupta, Pekon wrote: >> Hi, >> Please see the replies inline.. >> >>> From: Scott Wood [mailto:scottw...@freescale.com] On Mon, 2013-09-30 at 19:43 +0530, Pekon Gupta wr

Re: [U-Boot] [PATCH v7 1/5] mtd: nand: omap: enable BCH ECC scheme using ELM for generic platform

2013-10-07 Thread Scott Wood
On Sat, 2013-10-05 at 06:11 +, Gupta, Pekon wrote: > Hi, > Please see the replies inline.. > > > From: Scott Wood [mailto:scottw...@freescale.com] > > > On Mon, 2013-09-30 at 19:43 +0530, Pekon Gupta wrote: > > > +Platform specific options > > > += > > > + > > > + CON

Re: [U-Boot] [PATCH 1/4] arm64: Add tool to statically apply RELA relocations

2013-10-07 Thread Scott Wood
On Sat, 2013-10-05 at 09:52 +0200, Albert ARIBAUD wrote: > Hi Scott, > > On Thu, 3 Oct 2013 17:48:28 -0500, Scott Wood > wrote: > > > ARM64 uses the newer RELA-style relocations rather than the older REL. > > RELA relocations have an addend in the relocation struct, rather than > > expecting the

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

2013-10-07 Thread Troy Kisky
On 10/7/2013 3:32 AM, Mateusz Zalega wrote: On 10/05/13 02:48, Troy Kisky wrote: On 10/4/2013 10:22 AM, Mateusz Zalega wrote: +/* + * You can initialize platform's USB host or device + * ports by passing this enum as an argument to + * board_usb_init(). + */ +enum board_usb_init_type { +

Re: [U-Boot] [PATCH] Tegra114: Dalmore: Add voltage reg/PMIC init for various periphs

2013-10-07 Thread Tom Warren
As Stephen points out, the PMIC/vreg settings aren't needed to boot an upstream kernel, so I'm dropping this patch. Thanks On Mon, Oct 7, 2013 at 1:22 PM, Stephen Warren wrote: > On 10/07/2013 01:49 PM, Tom Warren wrote: > > These powerrails are currently needed for kernel boot. This will > > b

[U-Boot] [PATCH 7/8] Tegra124: Venice2: fdt: Add device-tree files

2013-10-07 Thread Tom Warren
These are fairly complete, and near-clones of T114 Venice, with an additional I2C port, and MMC address changes for T124. Change-Id: Icf9d34a2ebf15b5389bbc5293a067a08938ef16a Signed-off-by: Tom Warren --- arch/arm/dts/tegra124.dtsi| 328 ++ board/nvidi

[U-Boot] [PATCH 6/8] Tegra124: Add generic T124 build support

2013-10-07 Thread Tom Warren
Basic Tegra124 build support added - no specific board is targeted. Change-Id: Id16b44b5b394e03b121e702eaef2f49f55ab3da3 Signed-off-by: Tom Warren --- board/nvidia/common/board.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/board/nvidia/common/board.c b/board/nvidia/common/board.c inde

[U-Boot] [PATCH 8/8] Tegra124: Add Venice2 (T124) build

2013-10-07 Thread Tom Warren
These are the board files for Venice2 (t124), plus the AS3722 PMIC files. PMIC init will be moved to pmic_common_init later. This builds/boots on Venice2, SPI/MMC/USB/I2C all work. Audio and display and WB/LP0 are not supported yet. Change-Id: Ic9f023c0d62e2ee24b9189d93e61c2f492e568fd Signed-off-

[U-Boot] [PATCH 4/8] Tegra124: Add CPU (armv7) files

2013-10-07 Thread Tom Warren
These files are for code that runs on the CPU (A15) on T124 boards. At this time, there is no A15-specific code here. The warmboot/LP0 files aren't included as that code hasn't been ported yet. Change-Id: I299409ca1b051f8a76df641be73f1f4489d491ab Signed-off-by: Tom Warren --- arch/arm/cpu/armv7/

[U-Boot] [PATCH 3/8] Tegra124: Add SPL/AVP (arm720t) cpu files

2013-10-07 Thread Tom Warren
This provides SPL support for T124 boards - AVP early init, plus CPU (A15) init/jump to main U-Boot. Change-Id: I721f83f1d5fa549e0698e0cc76ab3e5ea11ba895 Signed-off-by: Tom Warren --- arch/arm/cpu/arm720t/tegra-common/cpu.c | 63 +-- arch/arm/cpu/arm720t/tegra-common/cpu.h | 6 +- arch/ar

[U-Boot] [PATCH 5/8] Tegra124: Add common CPU (shared) files

2013-10-07 Thread Tom Warren
These files are used by both SPL and main U-Boot. Change-Id: I5b762fc3f9886f588372c7706feaf80c50305c75 Signed-off-by: Tom Warren --- arch/arm/cpu/tegra-common/ap.c| 11 +-- arch/arm/cpu/tegra-common/board.c | 8 +++- arch/arm/cpu/tegra-common/cache.c | 38 +++

[U-Boot] [PATCH 2/8] Tegra124: Add changes to common arch-tegra header files

2013-10-07 Thread Tom Warren
Minor changes to support T124 chip and sku IDs. Change-Id: I44092a2ec558e01952be8cc7c0534e384a810ffd Signed-off-by: Tom Warren --- arch/arm/include/asm/arch-tegra/gp_padctrl.h | 1 + arch/arm/include/asm/arch-tegra/tegra.h | 2 ++ 2 files changed, 3 insertions(+) diff --git a/arch/arm/incl

Re: [U-Boot] declaring and initializing variables

2013-10-07 Thread Kim Phillips
On Mon, 30 Sep 2013 17:04:33 -0700 York Sun wrote: > Kim, et al., > > I know I have asked this before. Pardon me as I don't consider myself a > savy programmer. > > I am cleaning up the DDR driver for mpc83xx, mpc85xx and mpc86xx. The > question is the accetable formats of declaring and initial

[U-Boot] [PATCH] Tegra114: spl: Set system clock to clk_m

2013-10-07 Thread Tom Warren
From: Jimmy Zhang Based on Tegra114 TRM, system clock can run up to 275MHz. On power on, the default sytem clock source is set to pllp_out0. In function clock_early_init(), pllp_out0 will be set to 480MHz which is beyond system clock's upper limit. The fix is to set the system clock to CLK_M bef

[U-Boot] [PATCH] Tegra: T1x4: SPI: Use a common name (t1x4) for SPI driver

2013-10-07 Thread Tom Warren
Tegra124 is compatible w/T114 SPI, so try to commonize as much as possible. TEST=built all T1x4 boards, tested on Venice1 & 2 OK. There's no real binary change here, just names/includes. Signed-off-by: Tom Warren --- .../tegra114_spi.h => arch-tegra/tegra1x4_spi.h} | 6 +++--- drivers/spi/Ma

[U-Boot] [PATCH] Tegra114: Add support for more clock sources for T1x4 periphs

2013-10-07 Thread Tom Warren
Some T1x4 peripherals can take up to 8 different clock sources (parents), including 4 new ones that don't exist on previous chips (PLLC2/C3/MEM2/SRC2). Expand clock/pll code/tables to support these additional bits/sources. Changes were made to some common code. Testing on T30/T20 showed no changes

Re: [U-Boot] [PATCH] Tegra114: Dalmore: Add voltage reg/PMIC init for various periphs

2013-10-07 Thread Stephen Warren
On 10/07/2013 01:49 PM, Tom Warren wrote: > These powerrails are currently needed for kernel boot. This will > be move to a pmic-specific driver (or even better moved to the > kernel) at a later date. Which kernel? The upstream kernel has been booting on Dalmore without issue for quite a long time

[U-Boot] [PATCH] Tegra114: Dalmore: Add voltage reg/PMIC init for various periphs

2013-10-07 Thread Tom Warren
These powerrails are currently needed for kernel boot. This will be move to a pmic-specific driver (or even better moved to the kernel) at a later date. Signed-off-by: Tom Warren Change-Id: Id1654e6338b11cb22715fa3caba644cfe6e2410b --- arch/arm/include/asm/arch-tegra/board.h | 3 + board/nvidi

Re: [U-Boot] [U-Boot, v3, 3/3] doc: Fix a typo in the description in doc/README.JFFS2_NAND

2013-10-07 Thread Tom Rini
On Thu, Oct 03, 2013 at 08:04:40AM -0300, Otavio Salvador wrote: > Signed-off-by: Otavio Salvador > > --- > Changes in v3: None > Changes in v2: None > > doc/README.JFFS2_NAND | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/doc/README.JFFS2_NAND b/doc/README.JFFS2_NAN

Re: [U-Boot] power:pmic: prevent data abort for pmic bat command

2013-10-07 Thread Tom Rini
On Thu, Sep 26, 2013 at 02:43:35PM +0200, Piotr Wilczek wrote: > This patch prevents data abort when pmic bat command is called > on non-batery pmic device. > > Signed-off-by: Piotr Wilczek > Signed-off-by: Kyungmin Park > CC: Lukasz Majewski > CC: Minkyu Kang Applied to u-boot/master, thank

Re: [U-Boot] [U-Boot, v3, 1/3] mtd: Fix function description in part_validate comment

2013-10-07 Thread Tom Rini
On Thu, Oct 03, 2013 at 08:04:38AM -0300, Otavio Salvador wrote: > The part_validate comment had a wrong description of the actions it > does and referenced to non-existent functions while in fact it calls > 'part_validate_eraseblock()'. > > Signed-off-by: Otavio Salvador Applied to u-boot/mast

Re: [U-Boot] [U-Boot, v3, 2/3] include/linux/fb.h: Add a missing include for 'list.h'

2013-10-07 Thread Tom Rini
On Thu, Oct 03, 2013 at 08:04:39AM -0300, Otavio Salvador wrote: > The modelist data uses the list definition but the 'list.h' header > were not being included. The build failure is bellow: > > , > | In file included from .c:16:0: > | .../u-boot/include/linux/fb.h:503:19: error: field 'mo

Re: [U-Boot] [PATCH] Fix number base handling of "load" command

2013-10-07 Thread Tom Rini
On Sat, Oct 05, 2013 at 09:07:25PM +0200, Wolfgang Denk wrote: > A documented, almost all U-Boot commands expect numbers to be entered > in hexadecimal input format. (Exception: for historical reasons, the > "sleep" command takes its argument in decimal input format.) > > This rule was broken for

Re: [U-Boot] pci: Properly configure prefetchable memory region

2013-10-07 Thread Tom Rini
On Fri, Sep 20, 2013 at 03:50:50PM +0200, Thierry Reding wrote: > Forcibly set hose->pci_prefetch to NULL to make sure it will be setup. > This will help if for any reason callers didn't make sure themselves to > NULL the field. > > Signed-off-by: Thierry Reding Applied to u-boot/master, thanks

Re: [U-Boot] ARM: virtualization: replace verbose license with SPDX identifier

2013-10-07 Thread Tom Rini
On Mon, Oct 07, 2013 at 10:56:51AM +0200, Andre Przywara wrote: > The original creation of arch/arm/cpu/armv7/{virt-v7.c,nonsec_virt.S} > predates the SPDX conversion, so the original elaborate license > statements sneaked in. > Fix this by replacing them with the proper abbreviation. > > Signed-

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

2013-10-07 Thread Albert ARIBAUD
Hello Tom, The following changes since commit e261c83aa04ce0396d57aaecf8dfe0970ffac03e: ARM: VExpress: enable ARMv7 virt support for VExpress A15 (2013-10-03 21:28:57 +0200) are available in the git repository at: git://git.denx.De/u-boot-arm master for you to fetch changes up to 572886a

[U-Boot] [PATCH V2] Fix number base handling of "load" command

2013-10-07 Thread Wolfgang Denk
As documented, almost all U-Boot commands expect numbers to be entered in hexadecimal input format. (Exception: for historical reasons, the "sleep" command takes its argument in decimal input format.) This rule was broken for the "load" command; for details please see especially commits 045fa1e "

Re: [U-Boot] [PATCH] Fix number base handling of "load" command

2013-10-07 Thread Wolfgang Denk
Dear Stephen, In message <5252ddd4.8030...@wwwdotorg.org> you wrote: > On 10/05/2013 01:07 PM, Wolfgang Denk wrote: > > A documented, almost all U-Boot commands expect numbers to be entered Thanks for pointing out. > s/A/As/ (btw, where?) In TFM, section "5.9. U-Boot Command Line Interface", no

Re: [U-Boot] Bootdelay -1 for none autoboot does not work

2013-10-07 Thread Robert P. J. Day
On Mon, 7 Oct 2013, Eric Nelson wrote: > Hi Mario, > > On 10/07/2013 09:05 AM, Mario Albrecht wrote: > > Hi, > > > > i am using u-boot 213.07 and hav set CONFIG_BOOTDELAY to -1 > > to prevent autoboot. But u-boot seems to ignore the parameter and > > do autoboot after 1 second. Could someon please

Re: [U-Boot] Bootdelay -1 for none autoboot does not work

2013-10-07 Thread Eric Nelson
Hi Mario, On 10/07/2013 09:05 AM, Mario Albrecht wrote: Hi, i am using u-boot 213.07 and hav set CONFIG_BOOTDELAY to -1 to prevent autoboot. But u-boot seems to ignore the parameter and do autoboot after 1 second. Could someon please help why I cannot disable autoboot? Do you by chance have

[U-Boot] SPL initialization for DDR memory

2013-10-07 Thread Laszlo Papp
Hi all, I tried to ask for some help last week about the basics, but got no responses in here, unfortunately: http://lists.denx.de/pipermail/u-boot/2013-September/163875.html I decided to give it one more go. My current question: if I have a working u-boot for our board, and I only added the lin

[U-Boot] [PATCH] drivers/net/e1000: Introduce CONFIG_E1000_NO_NVM

2013-10-07 Thread Rojhalat Ibrahim
The e1000 driver expects to always have some kind of non-volatile memory attached directly to the ethernet controller chip. This means that I would have to add an additional separate flash chip to my custom board just to store essentially the MAC address. Since I don't want to do that, this patch i

[U-Boot] Bootdelay -1 for none autoboot does not work

2013-10-07 Thread Mario Albrecht
Hi, i am using u-boot 213.07 and hav set CONFIG_BOOTDELAY to -1 to prevent autoboot. But u-boot seems to ignore the parameter and do autoboot after 1 second. Could someon please help why I cannot disable autoboot? Regards Mario ___ U-Boot mailing list U

Re: [U-Boot] [RESEND PATCH v7 1/2] socfpga: Adding System Manager driver

2013-10-07 Thread Albert ARIBAUD
Hi Chin, On Wed, 11 Sep 2013 11:24:48 -0500, Chin Liang See wrote: > Adding System Manager driver which will configure the > pin mux for real hardware Cyclone V development kit > (not Virtual Platform) > > Signed-off-by: Chin Liang See > Reviewed-by: Pavel Machek > Acked-by: Dinh Nguyen > Cc

Re: [U-Boot] [RESEND PATCH v6 2/2] socfpga: Adding pin mux handoff files

2013-10-07 Thread Albert ARIBAUD
Hi Chin, On Wed, 11 Sep 2013 11:26:10 -0500, Chin Liang See wrote: > Adding the generated pin mux configuration by Preloader > Generator tool > > Signed-off-by: Chin Liang See > Reviewed-by: Pavel Machek > Acked-by: Dinh Nguyen > Cc: Wolfgang Denk > CC: Pavel Machek > Cc: Dinh Nguyen > Cc

Re: [U-Boot] [PATCH 0/4] arm64: rela relocation

2013-10-07 Thread Scott Wood
On Sat, 2013-10-05 at 09:55 +0200, Albert ARIBAUD wrote: > Hi FengHua, > > On Fri, 4 Oct 2013 23:55:01 +0800 (GMT+08:00), FengHua > wrote: > > > > > > > > arm64: rela relocation > > > > > > This lets us remove the manual relocation stuff from the arm64 patchset > > > (the symbol itself is rem

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

2013-10-07 Thread Scott Wood
On Mon, 2013-10-07 at 13:16 +0300, Claudiu Manoil wrote: > On 10/5/2013 5:31 PM, Timur Tabi wrote: > > On Fri, Oct 4, 2013 at 11:25 AM, Claudiu Manoil > > wrote: > > > >> [v3] declaring the BDs as __iomem to avoid casting submitted: > >> http://patchwork.ozlabs.org/patch/280664/ > > > > + out_be32

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

2013-10-07 Thread Albert ARIBAUD
Hi Tom, On Mon, 7 Oct 2013 07:44:56 -0400, Tom Rini wrote: > Hello, > > The following changes since commit e261c83aa04ce0396d57aaecf8dfe0970ffac03e: > > ARM: VExpress: enable ARMv7 virt support for VExpress A15 (2013-10-03 > 21:28:57 +0200) > > are available in the git repository at: > >

Re: [U-Boot] [PATCH] Fix number base handling of "load" command

2013-10-07 Thread Stephen Warren
On 10/05/2013 01:07 PM, Wolfgang Denk wrote: > A documented, almost all U-Boot commands expect numbers to be entered s/A/As/ (btw, where?) > in hexadecimal input format. (Exception: for historical reasons, the > "sleep" command takes its argument in decimal input format.) > > This rule was broke

Re: [U-Boot] : SPI patches

2013-10-07 Thread Jagan Teki
On Fri, Oct 4, 2013 at 1:34 AM, Jagan Teki wrote: > Hi Rajeswari, > > Below is a list of pending patches on my queue: > http://patchwork.ozlabs.org/patch/247461/ > http://patchwork.ozlabs.org/patch/247457/ > http://patchwork.ozlabs.org/patch/247452/ > http://patchwork.ozlabs.org/patch/247451/ > ht

[U-Boot] [PATCH V2 3/3] cm_t35: update lcd predefines

2013-10-07 Thread Nikita Kiryanov
Current predefines do not fit cm-t3730 very well (some of them produce artifacts in the image). Update LCD predefines to accommodate both cm-t35 and cm-t3730 modules. Signed-off-by: Nikita Kiryanov Signed-off-by: Igor Grinberg --- Changes in V2: - In V1 an old version of the patch was se

Re: [U-Boot] [Uboot][PATCH] drivers: spi: macronix: Add MX66L51235L data

2013-10-07 Thread Jagan Teki
On Mon, Oct 7, 2013 at 8:50 PM, Sourav Poddar wrote: > On Thursday 03 October 2013 09:19 PM, Jagan Teki wrote: >> >> Hi Sourav, >> >> Can you test this macronix part w.r.t latest code base on >> u-boot-spi.git with master-probe branch. >> Please let me know about any issues/concerns. >> > Regardin

Re: [U-Boot] [Uboot][PATCH] drivers: spi: macronix: Add MX66L51235L data

2013-10-07 Thread Sourav Poddar
On Thursday 03 October 2013 09:19 PM, Jagan Teki wrote: Hi Sourav, Can you test this macronix part w.r.t latest code base on u-boot-spi.git with master-probe branch. Please let me know about any issues/concerns. Regarding the number of blocks, it should be 1024 only. I will do other testing a

Re: [U-Boot] [UBOOT][PATCHv6 0/6] Add TI qspi controller with memory mapped support.

2013-10-07 Thread Sourav Poddar
On Monday 07 October 2013 08:01 PM, Jagan Teki wrote: On Mon, Oct 7, 2013 at 3:52 PM, Sourav Poddar wrote: This patch series add support for TI qspi controller and in the process also add support for quad read and memory mapped read in mtd spi framework. Testing details: Did a boot from qspi m

[U-Boot] [PATCH 0/3] cm_t35 tune up

2013-10-07 Thread Nikita Kiryanov
This patchset is a collection of short cm_t35 updates. It changes some configuration parameters and turns on GPIO commands. Nikita Kiryanov (3): cm_t35: reduce default bootdelay to 3 seconds cm_t35: turn on GPIO commands cm_t35: update lcd predefines board/compulab/cm_t35/display.c | 8 +++

[U-Boot] [PATCH 1/3] cm_t35: reduce default bootdelay to 3 seconds

2013-10-07 Thread Nikita Kiryanov
Current default bootdelay of 10 seconds is too long. Reduce default bootdelay to 3 seconds. Signed-off-by: Nikita Kiryanov Signed-off-by: Igor Grinberg --- include/configs/cm_t35.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/cm_t35.h b/include/configs/cm_

[U-Boot] [PATCH 2/3] cm_t35: turn on GPIO commands

2013-10-07 Thread Nikita Kiryanov
Turn on GPIO commands for cm-t35 and cm-t3730. Signed-off-by: Nikita Kiryanov Signed-off-by: Igor Grinberg --- include/configs/cm_t35.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/cm_t35.h b/include/configs/cm_t35.h index f74ccdc..eff35b9 100644 --- a/include/configs/cm_

[U-Boot] [PATCH 3/3] cm_t35: update lcd predefines

2013-10-07 Thread Nikita Kiryanov
Current predefines do not fit cm-t3730 very well (some of them produce artifacts in the image). Update LCD predefines to accommodate both cm-t35 and cm-t3730 modules. Signed-off-by: Nikita Kiryanov Signed-off-by: Igor Grinberg --- board/compulab/cm_t35/display.c | 8 +++- 1 file changed, 7

Re: [U-Boot] Prevent null pointer dereference originating in cmd_pxe.c

2013-10-07 Thread Fabio Estevam
On Mon, Oct 7, 2013 at 10:51 AM, Steven Falco wrote: > Sorry - I've been having trouble getting Thunderbird to leave my text > alone. There was some insane "flowed text" setting that I just discovered > and disabled. Better send patches via 'git send-email' as this can avoid these kind of email

Re: [U-Boot] [UBOOT][PATCHv6 0/6] Add TI qspi controller with memory mapped support.

2013-10-07 Thread Jagan Teki
On Mon, Oct 7, 2013 at 3:52 PM, Sourav Poddar wrote: > This patch series add support for TI qspi controller and in the process also > add support for quad read and memory mapped read > in mtd spi framework. > > Testing details: > Did a boot from qspi mode on DRA7xx. > Testing details present in th

Re: [U-Boot] [PATCH 3/3] doc: SPI: Update SPI status track

2013-10-07 Thread Jagan Teki
Applied to u-boot-spi/master -- Thanks, Jagan. On Mon, Oct 7, 2013 at 5:42 PM, Jagannadha Sutradharudu Teki wrote: > Updated SPI/status.txt, with memory_map and TODO. > > Signed-off-by: Jagannadha Sutradharudu Teki > --- > doc/SPI/status.txt | 5 - > 1 file changed, 4 insertions(+), 1 dele

Re: [U-Boot] [PATCH 2/3] sf: ramtron: Remove page_size print

2013-10-07 Thread Jagan Teki
Applied to u-boot-spi/master -- Thanks, Jagan. On Mon, Oct 7, 2013 at 5:42 PM, Jagannadha Sutradharudu Teki wrote: > There is no page_size for ramtron flashes, > so just print the detected flash and it's size. > > Signed-off-by: Jagannadha Sutradharudu Teki > --- > drivers/mtd/spi/ramtron.c |

Re: [U-Boot] [PATCH v3] sf: Minor cleanups

2013-10-07 Thread Jagan Teki
Applied to u-boot-spi/master -- Thanks, Jagan. On Mon, Oct 7, 2013 at 7:47 PM, Jagannadha Sutradharudu Teki wrote: > - Add spaces, tabs > - Commenting. > - Rearrange code. > - Add static qualifier for missing func. > - Remove memory_map from ramtron.c > - Ramtron: spi_flash_internal.h -> sf_inte

Re: [U-Boot] fs/fs.c - error handling needed?

2013-10-07 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/07/2013 09:55 AM, Wolfgang Denk wrote: > Dear Tom, > > In message <20131007121252.GS15917@bill-the-cat> you wrote: >> >>> 331 filename = argv[3]; 332 addr = >>> simple_strtoul(argv[4], NULL, cmdline_base); 333 bytes >>>

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

2013-10-07 Thread Jagannadha Sutradharudu Teki
Hi Tom, Just released pull request with new sf probe support. Tested these changes on stmicro, winbond, spansion and sst. -- Thanks, Jagan. The following changes since commit f835c77fb7e57508ffe8d8ca3a092ee28add77b2: Merge branch 'master' of git://git.denx.de/u-boot-arm (2013-10-04 13:17:48

[U-Boot] [PATCH v3] sf: Minor cleanups

2013-10-07 Thread Jagannadha Sutradharudu Teki
- Add spaces, tabs - Commenting. - Rearrange code. - Add static qualifier for missing func. - Remove memory_map from ramtron.c - Ramtron: spi_flash_internal.h -> sf_internal.h Signed-off-by: Jagannadha Sutradharudu Teki --- Changes for v3: - Remove exctra added "update.txt" file Changes f

Re: [U-Boot] Prevent null pointer dereference originating in cmd_pxe.c

2013-10-07 Thread Jagan Teki
It's good to write commit message head for easy to track the fix from where. cmd_pxe: Prevent null pointer deference For more info, please look at here. http://www.denx.de/wiki/U-Boot/Patches On Mon, Oct 7, 2013 at 7:21 PM, Steven Falco wrote: > Pass a valid cmdtp into do_tftpb(), do_ext2load(

Re: [U-Boot] [PATCH] env_mmc: fix buffer allocation for armv7

2013-10-07 Thread Wolfgang Denk
Dear Tom, In message <20131007122020.GT15917@bill-the-cat> you wrote: > > > But malloc() is drawing from the very same resource as the stack, even > > more so: with a buffer on the stack, the memory isfreed completeky > > upon return from the fucntion, with no reminders left. With malloc() > > y

Re: [U-Boot] fs/fs.c - error handling needed?

2013-10-07 Thread Wolfgang Denk
Dear Tom, In message <20131007121252.GS15917@bill-the-cat> you wrote: > > > 331 filename = argv[3]; > > 332 addr = simple_strtoul(argv[4], NULL, cmdline_base); > > 333 bytes = simple_strtoul(argv[5], NULL, cmdline_base); > > 334 if (argc >= 7) > > 335

Re: [U-Boot] Prevent null pointer dereference originating in cmd_pxe.c

2013-10-07 Thread Steven Falco
Pass a valid cmdtp into do_tftpb(), do_ext2load(), and do_get_fat(), to avoid possible crashes due to null pointer dereferencing. Signed-off-by: Steven A. Falco --- > This doesn't apply cleanly, nor with --ignore-whitespace for me. Can > you please re-check and re-send the patch? Thanks. Sor

[U-Boot] [PATCH v2] sf: Minor cleanups

2013-10-07 Thread Jagannadha Sutradharudu Teki
- Add spaces, tabs - Commenting. - Rearrange code. - Add static qualifier for missing func. - Remove memory_map from ramtron.c - Ramtron: spi_flash_internal.h -> sf_internal.h Signed-off-by: Jagannadha Sutradharudu Teki --- Changes for v2: - Replace rantron: spi_flash_internal.h -> sf_int

[U-Boot] [PATCH] arm/km: fix i2c mux define for km_kirkwood_128m16 target

2013-10-07 Thread Holger Brunck
Due to the i2c mux rework in u-boot we now have only to specify the busnumber and not the whole mux configuration. Signed-off-by: Holger Brunck --- include/configs/km_kirkwood.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/km_kirkwood.h b/include/configs/

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

2013-10-07 Thread Prafulla Wadaskar
> -Original Message- > From: Holger Brunck [mailto:holger.bru...@keymile.com] > Sent: 07 October 2013 12:48 > To: Prafulla Wadaskar > Cc: Albert ARIBAUD; 'u-boot@lists.denx.de'; Manas > Saksena > Subject: Re: Pull request for u-boot-marvell.git > > Hi, > > On 10/02/2013 02:51 PM, Albert

Re: [U-Boot] [PATCHv2 5/8] drivers: mtd: spi: Modify read/write command for sfl256s flash.

2013-10-07 Thread Sourav Poddar
On Monday 07 October 2013 05:59 PM, Jagan Teki wrote: On Mon, Oct 7, 2013 at 5:58 PM, Sourav Poddar wrote: On Monday 07 October 2013 05:51 PM, Jagan Teki wrote: On Wed, Aug 7, 2013 at 8:46 PM, Sourav Poddar wrote: On Wednesday 07 August 2013 08:35 PM, Jagan Teki wrote: On Wed, Aug 7, 2013 at

Re: [U-Boot] [PATCHv2 5/8] drivers: mtd: spi: Modify read/write command for sfl256s flash.

2013-10-07 Thread Jagan Teki
On Mon, Oct 7, 2013 at 5:58 PM, Sourav Poddar wrote: > On Monday 07 October 2013 05:51 PM, Jagan Teki wrote: >> >> On Wed, Aug 7, 2013 at 8:46 PM, Sourav Poddar >> wrote: >>> >>> On Wednesday 07 August 2013 08:35 PM, Jagan Teki wrote: On Wed, Aug 7, 2013 at 5:34 PM, Sourav Poddar wr

Re: [U-Boot] [PATCHv2 5/8] drivers: mtd: spi: Modify read/write command for sfl256s flash.

2013-10-07 Thread Sourav Poddar
On Monday 07 October 2013 05:51 PM, Jagan Teki wrote: On Wed, Aug 7, 2013 at 8:46 PM, Sourav Poddar wrote: On Wednesday 07 August 2013 08:35 PM, Jagan Teki wrote: On Wed, Aug 7, 2013 at 5:34 PM, Sourav Poddar wrote: Hi Jagan, On Wednesday 07 August 2013 05:21 PM, Jagan Teki wrote: Hi, On W

Re: [U-Boot] Prevent null pointer dereference originating in cmd_pxe.c

2013-10-07 Thread Tom Rini
On Wed, Sep 25, 2013 at 09:35:30PM -0400, Steven Falco wrote: > Pass a valid cmdtp into do_tftpb(), do_ext2load(), and do_get_fat(), to avoid > possible crashes due to null pointer dereferencing. > > Signed-off-by: Steven A. Falco This doesn't apply cleanly, nor with --ignore-whitespace for me.

Re: [U-Boot] [PATCHv2 5/8] drivers: mtd: spi: Modify read/write command for sfl256s flash.

2013-10-07 Thread Jagan Teki
On Wed, Aug 7, 2013 at 8:46 PM, Sourav Poddar wrote: > > On Wednesday 07 August 2013 08:35 PM, Jagan Teki wrote: >> >> On Wed, Aug 7, 2013 at 5:34 PM, Sourav Poddar >> wrote: >>> >>> Hi Jagan, >>> >>> On Wednesday 07 August 2013 05:21 PM, Jagan Teki wrote: Hi, On Wed, Aug 7, 20

Re: [U-Boot] [PATCH] env_mmc: fix buffer allocation for armv7

2013-10-07 Thread Tom Rini
On Mon, Oct 07, 2013 at 07:34:24AM +0200, Wolfgang Denk wrote: > Dear Tom, > > In message <20131006204214.GO15917@bill-the-cat> you wrote: > > > > > Why do you hesitate to use the stack? > > > > Mainly to allow us to work in restricted stack areas like SPL where we > > simply may not have that m

Re: [U-Boot] fs/fs.c - error handling needed?

2013-10-07 Thread Tom Rini
On Sat, Oct 05, 2013 at 09:49:41PM +0200, Wolfgang Denk wrote: > Dear Simon, > > with commit a8f6ab5 "fs: Add support for saving data to filesystems" > you add the function do_save() to U-Boot. This includes the following > code (line numbers as of current master): > > "fs/fs.c": > > ... > 331

[U-Boot] [PATCH 1/3] sf: Minor cleanups

2013-10-07 Thread Jagannadha Sutradharudu Teki
- Add spaces, tabs - Commenting. - Rearrange code. - Add static qualifier for missing func. - Remove memory_map from ramtron.c Signed-off-by: Jagannadha Sutradharudu Teki --- drivers/mtd/spi/ramtron.c | 2 -- drivers/mtd/spi/sf_internal.h | 8 drivers/mtd/spi/sf_probe.c| 7 ++

[U-Boot] [PATCH 3/3] doc: SPI: Update SPI status track

2013-10-07 Thread Jagannadha Sutradharudu Teki
Updated SPI/status.txt, with memory_map and TODO. Signed-off-by: Jagannadha Sutradharudu Teki --- doc/SPI/status.txt | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/SPI/status.txt b/doc/SPI/status.txt index 6050e4a..62c3c85 100644 --- a/doc/SPI/status.txt +++ b/doc/SP

[U-Boot] [PATCH 2/3] sf: ramtron: Remove page_size print

2013-10-07 Thread Jagannadha Sutradharudu Teki
There is no page_size for ramtron flashes, so just print the detected flash and it's size. Signed-off-by: Jagannadha Sutradharudu Teki --- drivers/mtd/spi/ramtron.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/mtd/spi/ramtron.c b/drivers/mtd/spi/ramtron.c index 5

Re: [U-Boot] [PATCH 01/11] fw_env.c: Increase max dev path to 32

2013-10-07 Thread Tom Rini
On Mon, Oct 07, 2013 at 07:47:13AM +0200, Wolfgang Denk wrote: > Dear Tom, > > In message <20131006205527.GP15917@bill-the-cat> you wrote: > > > > > Do we really need a static size here? Can we not auto-adjust to the > > > needed size, say by dynamically allocating the buffer? > > > > Doesn't l

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

2013-10-07 Thread Timur Tabi
Claudiu Manoil wrote: I think you're suggesting that virt_to_phys() should be used to fix that, right? Yes. However, virt_to_phys() is equivalent to that simple cast in most cases as there's no CONFIG_PHYS_64BIT for the platforms with eTSEC. I'm actually not sure if there's a platform with eT

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

2013-10-07 Thread Tom Rini
Hello, The following changes since commit e261c83aa04ce0396d57aaecf8dfe0970ffac03e: ARM: VExpress: enable ARMv7 virt support for VExpress A15 (2013-10-03 21:28:57 +0200) are available in the git repository at: git://git.denx.de/u-boot-ti.git master for you to fetch changes up to ddd025bb6

Re: [U-Boot] [PATCH 1/4] Coding Style cleanup: remove trailing white space

2013-10-07 Thread Wolfgang Denk
Dear Michal Simek, In message <52524f3f.4040...@monstr.eu> you wrote: > > > tools/easylogo/linux_blackfin.tga | Bin 158718 -> 158697 > > bytes > > tools/easylogo/linux_logo.tga | Bin 19244 -> 19236 > > bytes > > Are these two correct changes? Oops, no. T

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

2013-10-07 Thread Mateusz Zalega
On 10/05/13 02:48, Troy Kisky wrote: > On 10/4/2013 10:22 AM, Mateusz Zalega wrote: >> +/* >> + * You can initialize platform's USB host or device >> + * ports by passing this enum as an argument to >> + * board_usb_init(). >> + */ >> +enum board_usb_init_type { >> +USB_INIT_HOST, >> +USB

[U-Boot] [UBOOT][PATCHv6 5/6] dra7xx_evm: add SPL API, QSPI, and serial flash support

2013-10-07 Thread Sourav Poddar
From: Matt Porter Enables support for SPI SPL, QSPI and Spansion serial flash device on the EVM. Configures pin muxes for QSPI mode. Signed-off-by: Matt Porter Signed-off-by: Sourav Poddar --- v5->v6: change MMAP name to amore readable name. board/ti/dra7xx/mux_data.h | 10 ++ inc

[U-Boot] [UBOOT][PATCHv6 4/6] spi: add TI QSPI driver

2013-10-07 Thread Sourav Poddar
From: Matt Porter Adds a SPI master driver for the TI QSPI peripheral. - Added quad read support. - Added memory mapped support. Signed-off-by: Matt Porter Signed-off-by: Sourav Poddar Signed-off-by: Jagannadha Sutradharudu Teki --- v5->v6: - Added ti related comments - Create

[U-Boot] [UBOOT][PATCHv6 1/6] omap5: add qspi support

2013-10-07 Thread Sourav Poddar
From: Matt Porter Add QSPI definitions and clock configuration support. Signed-off-by: Matt Porter Signed-off-by: Sourav Poddar --- arch/arm/cpu/armv7/omap5/hw_data.c |8 arch/arm/cpu/armv7/omap5/prcm-regs.c |1 + arch/arm/include/asm/arch-omap5/omap.h |3 +++ arch/

[U-Boot] [UBOOT][PATCHv6 3/6] sf: Add memory mapped read support

2013-10-07 Thread Sourav Poddar
Qspi controller can have a memory mapped port which can be used for data read. Added support to enable memory mapped port read. This patch enables the following: - It enables exchange of memory map address between mtd and qspi through the introduction of "memory_map" flag. - Add support to communi

[U-Boot] [UBOOT][PATCHv6 6/6] README: qspi usecase and testing documentation.

2013-10-07 Thread Sourav Poddar
Contains documentation and testing details for qspi flash interface. Signed-off-by: Sourav Poddar --- doc/SPI/README.ti_qspi_dra_test | 48 +++ doc/SPI/README.ti_qspi_flash| 47 ++ 2 files changed, 95 insertions(+),

[U-Boot] [UBOOT][PATCHv6 2/6] armv7: hw_data: change clock divider setting.

2013-10-07 Thread Sourav Poddar
Clock requirement for qspi clk is 192 Mhz. According to the below formulae, f dpll = f ref * 2 * m /(n + 1) clockoutx2_Hmn = f dpll / (hmn+ 1) fref = 20 Mhz, m = 96, n = 4 gives f dpll = 768 Mhz For clockoutx2_Hmn to be 768, hmn + 1 should be 4. Signed-off-by: Sourav Poddar --- arch/arm/cpu/ar

[U-Boot] [UBOOT][PATCHv6 0/6] Add TI qspi controller with memory mapped support.

2013-10-07 Thread Sourav Poddar
This patch series add support for TI qspi controller and in the process also add support for quad read and memory mapped read in mtd spi framework. Testing details: Did a boot from qspi mode on DRA7xx. Testing details present in the last patch of the series. Currently, TI qpsi controller supports

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

2013-10-07 Thread Claudiu Manoil
On 10/5/2013 5:31 PM, Timur Tabi wrote: On Fri, Oct 4, 2013 at 11:25 AM, Claudiu Manoil wrote: [v3] declaring the BDs as __iomem to avoid casting submitted: http://patchwork.ozlabs.org/patch/280664/ + out_be32(®s->tbase, (u32)&txbd[0]); + out_be32(®s->rbase, (u32)&rxbd[0]); &rxbd[0] is a vi

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

2013-10-07 Thread Claudiu Manoil
On 10/5/2013 5:49 PM, Timur Tabi wrote: On Sat, Oct 5, 2013 at 9:31 AM, Timur Tabi wrote: + out_be32(®s->tbase, (u32)&txbd[0]); + out_be32(®s->rbase, (u32)&rxbd[0]); &rxbd[0] is a virtual address. Doesn't rbase require a physical address? You're assuming that virt == phys. Also: - out_

[U-Boot] [PATCH 2/2] powerpc/t104xrdb: Add T1042RDB_PI board support

2013-10-07 Thread Priyanka Jain
T1042RDB_PI is Freescale Reference Design Board supporting the T1042 QorIQ Power Architecture™ processor. T1042 is a reduced personality of T1040 SoC without Integrated 8-port Gigabit. The board is designed with low power features targeted for Printing Image Market. T1042RDB_PI is similar to T104

[U-Boot] [PATCH 0/2] powerpc/t104xrdb: Add support for T1040RDB and T1042RDB_PI

2013-10-07 Thread Priyanka Jain
Signed-off-by: Poonam Aggrwal Signed-off-by: Prabhakar Kushwaha Signed-off-by: Priyanka Jain --- Add support for T1040RDB and T1042RDB_PI boards T1040RDB and T1042RDB_PI are similar boards with few differences like -T1040RDB is reference design board for T1040Soc whereas T1042RDB_PI is referen

Re: [U-Boot] [PATCH] ARM: align MVBAR on 32 byte boundary

2013-10-07 Thread Masahiro Yamada
Hello Andre, > Masahiro, > > good catch, thanks for spotting! > > I am wondering whether we need the alignment statements in the various > start.S files also, because the lower 5 bits are reserved for VBAR too. I think start.o is always located at the begnning of .text section. So, we do not

[U-Boot] [PATCH] ARM: virtualization: replace verbose license with SPDX identifier

2013-10-07 Thread Andre Przywara
The original creation of arch/arm/cpu/armv7/{virt-v7.c,nonsec_virt.S} predates the SPDX conversion, so the original elaborate license statements sneaked in. Fix this by replacing them with the proper abbreviation. Signed-off-by: Andre Przywara --- arch/arm/cpu/armv7/nonsec_virt.S | 18 +-

Re: [U-Boot] [PATCH] ARM: align MVBAR on 32 byte boundary

2013-10-07 Thread Andre Przywara
On 10/07/2013 04:46 AM, Masahiro Yamada wrote: The lower 5 bit of MVBAR is UNK/SBZP. So, Monitor Vector Base Address must be 32-byte aligned. On the other hand, the secure monitor handler does not need 32-byte alignment. This commit moves ".algin 5" directive to the correct place. Signed-off-by

  1   2   >