Re: [U-Boot] [PATCH] CFI: trigger watchdog in write_buf()

2011-10-05 Thread Stefan Roese
Hi Heiko, On Wednesday 05 October 2011 08:53:59 Heiko Schocher wrote: > > Signed-off-by: Heiko Schocher > > Cc: Stefan Roese > > --- > > > > drivers/mtd/cfi_flash.c |3 +++ > > 1 files changed, 3 insertions(+), 0 deletions(-) > > Patch is not needed, Sorry for the noise. Please ignore it.

[U-Boot] [PATCH] cmd_time: add time command

2011-10-05 Thread Che-Liang Chiou
The 'time' command runs and reports execution time of commands. Sameple usage: u-boot# time crc 0x1000 1000 CRC32 for 1000 ... 1fff ==> ae94dc4b time: 0.004 seconds, 4 ticks Signed-off-by: Che-Liang Chiou --- README |1 +

Re: [U-Boot] [PATCH v3] AVR32: fix timer_init() function

2011-10-05 Thread Andreas Bießmann
Dear Sven, Am 04.10.2015 21:53, schrieb Sven Schnelle: > timer_init() now returns an int (the error code) instead of void. > This makes compilation fail with: > > interrupts.c:111: error: conflicting types for 'timer_init' > /home/svens/u-boot/u-boot/include/common.h:246: error: previous declarat

[U-Boot] [PATCH] cmd_sf.c: fix compilation warning

2011-10-05 Thread Andreas Bießmann
building ./MAKEALL avr32 complains about ---8<--- Configuring for atngw100 board... cmd_sf.c: In function 'do_spi_flash': cmd_sf.c:164: warning: 'skipped' may be used uninitialized in this function cmd_sf.c:164: note: 'skipped' was declared here --->8--- This patch fixes it by defining skipped to

Re: [U-Boot] [PATCH] squash build warning in cmd_sf.c

2011-10-05 Thread Simon Glass
On Tue, Oct 4, 2011 at 9:52 PM, Prabhakar Lad wrote: > hi Simon > > got it its in the for condition > > for (skipped = 0; buf < end && !err_oper; > buf += todo, offset += todo) > > Ive cleared my doubt, you were rite. > OK good, thanks. Regards, Simon > > Regards > --Prabhaka

Re: [U-Boot] [PATCH v2 1/2] mx25: generic.c: Fix coding style

2011-10-05 Thread Stefano Babic
On 10/05/2011 03:02 AM, Fabio Estevam wrote: > Running checkpatch on arch/arm/cpu/arm926ejs/mx25/generic.c we get: > > total: 2 errors, 59 warnings, 326 lines checked > > Fix these errors and warnings. > > Signed-off-by: Fabio Estevam > --- > Changes since v1: > - Fixed typo on subject > > ar

[U-Boot] [PATCH] pci_ftpci100: Implementation FTPCI100 PCI driver

2011-10-05 Thread Macpaul Lin
From: Gavin Guo FTPCI100 is a SoC PCI componenet of Faraday company. Which is usually built into SoC chips for providing embedded PCI functions. Signed-off-by: Gavin Guo Signed-off-by: Rex Sung-Tien Cho Signed-off-by: Macpaul Lin --- drivers/pci/Makefile |1 + drivers/pci/pci_ftpci

Re: [U-Boot] [PATCH] cmd_sf.c: fix compilation warning

2011-10-05 Thread Andreas Bießmann
Ouch, Am 05.10.2011 09:23, schrieb Andreas Bießmann: > building ./MAKEALL avr32 complains about > > ---8<--- > Configuring for atngw100 board... > cmd_sf.c: In function 'do_spi_flash': > cmd_sf.c:164: warning: 'skipped' may be used uninitialized in this function > cmd_sf.c:164: note: 'skipped' wa

Re: [U-Boot] WTF (Re: [MailServer Notification]Web Reputation, > Notification)

2011-10-05 Thread Brilliantov Kirill Vladimirovich
Sorry, usually my e-mail don't lead to similar effect, it is the first time. -- Best regards, Brilliantov Kirill Vladimirovich ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] MMC: PL180: Fix infinite loop with VExpress extended fifo implementation

2011-10-05 Thread Pawel Moll
Hi Tixy, > One possible fix is to add some build time configuration to change > SDI_FIFO_BURST_SIZE for the new implementation. You can also detect the configuration in runtime, basing on PeriphID: http://infocenter.arm.com/help/topic/com.arm.doc.ddi0172a/i1024149.html Configuration == 0 (ID =

Re: [U-Boot] Master branch broken for omap4_panda (SPL_BUILD)

2011-10-05 Thread Aneesh V
Dear Wolfgang, On Tuesday 04 October 2011 11:35 PM, Wolfgang Denk wrote: > Dear Aneesh V, > > In message<4e8b282a.8040...@ti.com> you wrote: >> >>> All file system code has been designed and implemented to run AFTER >>> relocation. Access to a FAT file system is not supposed to happen >>> from S

[U-Boot] [PATCH 02/12] Davinci: ea20: set GPIOs to hold MII-Phy in reset and set UART0-Switch for console

2011-10-05 Thread Stefano Babic
From: Bastian Ruppert Signed-off-by: Bastian Ruppert Signed-off-by: Stefano Babic CC: d...@denx.de CC: Sandeep Paulraj --- arch/arm/include/asm/arch-davinci/hardware.h |4 +++ board/davinci/ea20/ea20.c| 30 +- 2 files changed, 33 insertions(+)

[U-Boot] [PATCH 01/12] Davinci: ea20: set console on UART0

2011-10-05 Thread Stefano Babic
From: Bastian Ruppert Signed-off-by: Bastian Ruppert Signed-off-by: Stefano Babic CC: Sandeep Paulraj --- arch/arm/include/asm/arch-davinci/hardware.h |2 +- board/davinci/ea20/ea20.c| 16 include/configs/ea20.h |2 +- 3 fil

[U-Boot] [PATCH 06/12] Davinci: ea20: add gpio for keeping power on in board_late_init

2011-10-05 Thread Stefano Babic
From: Bastian Ruppert The pin called HALTEN drives a transistor to operate the supply voltage. After HALTEN is high, the user can release the power switch button and the device will stay powered on. Signed-off-by: Bastian Ruppert CC: sba...@denx.de CC: d...@denx.de --- board/davinci/ea20/ea20.

[U-Boot] [PATCH 07/12] Davinci: ea20: add gpios for LCD backlight control

2011-10-05 Thread Stefano Babic
From: Bastian Ruppert Signed-off-by: Bastian Ruppert CC: Sandeep Paulraj --- board/davinci/ea20/ea20.c | 14 +- 1 files changed, 13 insertions(+), 1 deletions(-) diff --git a/board/davinci/ea20/ea20.c b/board/davinci/ea20/ea20.c index 1a57baf..c28d8df 100644 --- a/board/davinci/

[U-Boot] [PATCH 03/12] Davinci: ea20: Add NAND support

2011-10-05 Thread Stefano Babic
Signed-off-by: Stefano Babic CC: Sandeep Paulraj CC: Scott Wood --- board/davinci/ea20/ea20.c | 35 ++- include/configs/ea20.h| 20 +--- 2 files changed, 35 insertions(+), 20 deletions(-) diff --git a/board/davinci/ea20/ea20.c b/board/dav

[U-Boot] [PATCH 05/12] Davinci: ea20: Add default U-Boot environment

2011-10-05 Thread Stefano Babic
Signed-off-by: Stefano Babic Signed-off-by: Bastian Ruppert CC: Sandeep Paulraj --- include/configs/ea20.h | 80 1 files changed, 80 insertions(+), 0 deletions(-) diff --git a/include/configs/ea20.h b/include/configs/ea20.h index 2a7f531..7e0d

[U-Boot] [PATCH 04/12] Davinci: ea20: Add early init to get early output from console

2011-10-05 Thread Stefano Babic
Use board_early_init_f so that the full boot log output can be displayed. Signed-off-by: Stefano Babic CC: Sandeep Paulraj --- board/davinci/ea20/ea20.c | 18 +++--- 1 files changed, 11 insertions(+), 7 deletions(-) diff --git a/board/davinci/ea20/ea20.c b/board/davinci/ea20/ea20

[U-Boot] [PATCH 08/12] ARM: Davinci: added missing registers to hardware.h

2011-10-05 Thread Stefano Babic
The hardware base address for ther LCD configuration registers is missing, as well as some syscfg registers. Signed-off-by: Stefano Babic CC: Sandeep Paulraj --- arch/arm/include/asm/arch-davinci/hardware.h |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/arch/arm/inc

[U-Boot] [PATCH 10/12] Davinci: ea20: added video support

2011-10-05 Thread Stefano Babic
Signed-off-by: Stefano Babic Cc: Anatolij Gustschin CC: Sandeep Paulraj --- board/davinci/ea20/ea20.c | 62 + include/configs/ea20.h| 14 +- 2 files changed, 75 insertions(+), 1 deletions(-) diff --git a/board/davinci/ea20/ea20.c b/bo

[U-Boot] [PATCH 11/12] Davinci: ea20: added I2C support

2011-10-05 Thread Stefano Babic
Signed-off-by: Stefano Babic CC: Sandeep Paulraj --- board/davinci/ea20/ea20.c |7 +++ include/configs/ea20.h|8 2 files changed, 15 insertions(+), 0 deletions(-) diff --git a/board/davinci/ea20/ea20.c b/board/davinci/ea20/ea20.c index d581cdd..720a360 100644 --- a/boar

[U-Boot] [PATCH 09/12] VIDEO: davinci: add framebuffer to da8xx

2011-10-05 Thread Stefano Babic
The patch is a port of the Linux driver da8xx-fb.c used on davinci da8xx and OMAP-L138 boards. Last commit seen on this driver used as base for porting is 1db41e032d563eb47deab40dc5595be306b143ba (video: da8xx-fb: fix section mismatch warning) Signed-off-by: Stefano Babic CC: Sandeep Paulraj Cc

[U-Boot] [PATCH 12/12] Davinci: ea20: added PREBOOT to configuration

2011-10-05 Thread Stefano Babic
PREBOOT is used on the ea20 to load a splash image at the start up. Signed-off-by: Stefano Babic CC: Sandeep Paulraj --- include/configs/ea20.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/configs/ea20.h b/include/configs/ea20.h index ceb84a4..9b4b415 100644

Re: [U-Boot] [PATCH] MMC: PL180: Fix infinite loop with VExpress extended fifo implementation

2011-10-05 Thread Jon Medhurst (Tixy)
On Wed, 2011-10-05 at 10:30 +0100, Pawel Moll wrote: > Hi Tixy, > > > One possible fix is to add some build time configuration to change > > SDI_FIFO_BURST_SIZE for the new implementation. > > You can also detect the configuration in runtime, basing on PeriphID: > > http://infocenter.arm.com/he

Re: [U-Boot] WTF (Re: [MailServer Notification]Web Reputation, > Notification)

2011-10-05 Thread Detlev Zundel
Hi Kirill, > Sorry, usually my e-mail don't lead to similar effect, it is the first > time. You don't have to excuse anything. The problem here is clearly on the people administring the machine that sent those mails. All _you_ could do is rebase the patches to a current U-Boot ;) Cheers Detl

Re: [U-Boot] [PATCH] MMC: PL180: Fix infinite loop with VExpress extended fifo implementation

2011-10-05 Thread Pawel Moll
> That's useful to know. The PL180 code is also used for U8500, I don't > know if that implements the peripheral ID register; though I guess any > probing could be limited to vexpress anyway. STE have the same "problems" with FIFO size, see drivers/mmc/host/mmci.c in kernel sources: static struct

[U-Boot] [PATCH V2] MX51: vision2: Set global macros

2011-10-05 Thread Stefano Babic
Adapt vision2 to the current u-boot version. Drop own macros to set global data and use the common ones. Signed-off-by: Stefano Babic --- Changes: - drop redundant parentheses include/configs/vision2.h | 17 + 1 files changed, 9 insertions(+), 8 deletions(-) diff --g

Re: [U-Boot] [PATCH] MMC: PL180: Fix infinite loop with VExpress extended fifo implementation

2011-10-05 Thread Jon Medhurst (Tixy)
On Wed, 2011-10-05 at 10:58 +0100, Pawel Moll wrote: > > That's useful to know. The PL180 code is also used for U8500, I don't > > know if that implements the peripheral ID register; though I guess any > > probing could be limited to vexpress anyway. > > STE have the same "problems" with FIFO size

Re: [U-Boot] ubifs: memory possibly not freed

2011-10-05 Thread Stefan Roese
Hi Renaud, On Friday 30 September 2011 18:42:52 Renaud Barbier wrote: > Looking at the function ubifs_finddir in the file fs/ubifs/ubifs.c, > I was wondering if some memory had not been freed before > the function returns. > > > 287 static int ubifs_finddir(struct super_block *sb, char *dirname,

Re: [U-Boot] [PATCH v2 0/3] misc:pmic: New PMIC generic driver

2011-10-05 Thread Stefano Babic
On 10/04/2011 07:45 AM, Lukasz Majewski wrote: > This patch series adds new generic PMIC framework for u-boot. > It is supposed to handle various types of pmic IC's (both, > equippled with I2C or SPI bus). > > This patch series has been tested on Samsung's GONI reference target. > --- > Chan

Re: [U-Boot] [PATCH v2 1/3] misc:pmic:core New generic PMIC driver

2011-10-05 Thread Stefano Babic
On 10/04/2011 07:45 AM, Lukasz Majewski wrote: > I2C or SPI PMIC devices can be accessed. > Separate files: pmic_i2c.c and pmic_spi.c are responsible > for handling transmission over I2C or SPI bus. > > New flags: > CONFIG_PMIC - enable PMIC general device. > CONFIG_PMIC_I2C/SPI - specify the inte

Re: [U-Boot] [PATCH v2 2/3] misc:pmic:max8998 MAX8998 support at a new PMIC driver.

2011-10-05 Thread Stefano Babic
On 10/04/2011 07:45 AM, Lukasz Majewski wrote: > This commit adds support for MAX8998 PMIC driver. > > Signed-off-by: Lukasz Majewski > Signed-off-by: Kyungmin Park > Cc: Stefano Babic > --- > Changes for v2: > - separate commit for MAX8998 prepared Acked-by: Stefano Babic Best regar

Re: [U-Boot] [PATCH v2 3/3] misc:pmic:samsung Enable PMIC driver at GONI target

2011-10-05 Thread Stefano Babic
On 10/04/2011 07:45 AM, Lukasz Majewski wrote: > Enable support for new PMIC driver at GONI reference target. > > Signed-off-by: Lukasz Majewski > Signed-off-by: Kyungmin Park > Cc: Stefano Babic > --- Acked-by: Stefano Babic Best regards, Stefano Babic -- =

[U-Boot] [PATCH v2 4/4] misc: pmic: Freescale PMIC switches to generic PMIC driver

2011-10-05 Thread Stefano Babic
Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park Cc: Stefano Babic --- Changes: this code was part of V1, missing in V2, required for Freescale PMIC drivers/misc/Makefile |1 + drivers/misc/pmic_fsl.c | 57 +++ include/fsl

[U-Boot] Please apply [PATCH V2] ARM: Update mach-types

2011-10-05 Thread Marek Vasut
Hi guys, my KMail seems to have some bugs, which I need to investigate. Albert, can you please apply "[PATCH V2] ARM: Update mach-types" ? It was submitted to ML on Sept. 13. Thanks ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mai

Re: [U-Boot] [PATCH 0/2] SPL improvements

2011-10-05 Thread Marek Vasut
On Monday, September 12, 2011 06:03:22 AM Marek Vasut wrote: > This series introduces a few modifications to the new SPL framework to make > it a bit more flexible. > > RESEND: Missing Cc-ed people in the patches. > > Marek Vasut (2): > SPL: Make path to start.S configurable > SPL: Allow user

Re: [U-Boot] [Resend PATCH V3] mx31: provide readable WEIM CS accessor

2011-10-05 Thread Stefano Babic
On 09/29/2011 05:45 PM, Helmut Raiger wrote: > setup_weimcs() and some macros are added to support the setup > for i.MX31 WEIM chip selects. As a compromise between verbosity > and readability an ASCII-art'ish bit comment is used instead of > bitfields. > All i.MX31 boards have been patched to use

Re: [U-Boot] WTF (Re: [MailServer Notification]Web Reputation Notification)

2011-10-05 Thread Detlev Zundel
Hi Igor, [...] > Another question, is the email address of the sender > of those notification mails subscribed to u-boot mailing list? > Or can people send email to the list without being subscribed? This mailing list is by intent an open mailing list, i.e. also non-subscribers can post to the l

Re: [U-Boot] [PATCH 02/12] Davinci: ea20: set GPIOs to hold MII-Phy in reset and set UART0-Switch for console

2011-10-05 Thread Laurence Withers
On Wed, Oct 05, 2011 at 11:43:29AM +0200, Stefano Babic wrote: > From: Bastian Ruppert > > Signed-off-by: Bastian Ruppert > Signed-off-by: Stefano Babic > CC: d...@denx.de > CC: Sandeep Paulraj > --- > arch/arm/include/asm/arch-davinci/hardware.h |4 +++ > board/davinci/ea20/ea20.c

[U-Boot] [PATCH v2] BeagleBoard: match gpio_request() and gpio_free()

2011-10-05 Thread In-Bae Jeong
This patch adds code to match gpio_free() to the corresponding gpio_request() Signed-off-by: In-Bae Jeong --- Changes for v2: - added lables for gpio_request() - separated labels and statements --- board/ti/beagle/beagle.c | 43 +-- 1 files changed

Re: [U-Boot] Regarding MMC patches

2011-10-05 Thread Marek Vasut
On Wednesday, October 05, 2011 02:11:20 PM Ajay Bhargav wrote: > Hi Marek, > > I wanted to ask something related to mmc patches in u-boot. I found a small > bug in mmc driver (driver/mmc/mmc.c) whom should i submit it to? > > Regards, > Ajay Bhargav Hi Ajay, please submit such questions to the

Re: [U-Boot] Regarding MMC patches

2011-10-05 Thread Ajay Bhargav
- "Marek Vasut" wrote: > On Wednesday, October 05, 2011 02:11:20 PM Ajay Bhargav wrote: > > Hi Marek, > > > > I wanted to ask something related to mmc patches in u-boot. I found > a small > > bug in mmc driver (driver/mmc/mmc.c) whom should i submit it to? > > > > Regards, > > Ajay Bhargav

[U-Boot] [PATCH] PPC: Cleanup tqm8xx_pcmcia.c

2011-10-05 Thread Marek Vasut
Signed-off-by: Marek Vasut --- drivers/pcmcia/tqm8xx_pcmcia.c | 154 +--- 1 files changed, 81 insertions(+), 73 deletions(-) diff --git a/drivers/pcmcia/tqm8xx_pcmcia.c b/drivers/pcmcia/tqm8xx_pcmcia.c index ca1a9fe..859cbe0 100644 --- a/drivers/pcmcia/tqm8xx

Re: [U-Boot] [PATCH] PPC: Cleanup tqm8xx_pcmcia.c

2011-10-05 Thread Marek Vasut
On Wednesday, October 05, 2011 02:51:55 PM Marek Vasut wrote: > Signed-off-by: Marek Vasut > --- > drivers/pcmcia/tqm8xx_pcmcia.c | 154 > +--- 1 files changed, 81 > insertions(+), 73 deletions(-) > Hi Wolfgang, if you have chance, can you please test if this

Re: [U-Boot] [PATCH 02/12] Davinci: ea20: set GPIOs to hold MII-Phy in reset and set UART0-Switch for console

2011-10-05 Thread Stefano Babic
On 10/05/2011 02:06 PM, Laurence Withers wrote: > On Wed, Oct 05, 2011 at 11:43:29AM +0200, Stefano Babic wrote: >> From: Bastian Ruppert >> >> Signed-off-by: Bastian Ruppert >> Signed-off-by: Stefano Babic >> CC: d...@denx.de >> CC: Sandeep Paulraj >> --- >> arch/arm/include/asm/arch-davinci/

[U-Boot] [PATCH 13/13] Davinci: ea20: use gpio framework to access gpios

2011-10-05 Thread Stefano Babic
Drop direct access to SOC's registers and use the function of the GPIO driver for da8xx. Signed-off-by: Stefano Babic CC: Bastian Ruppert CC: d...@denx.de CC: Sandeep Paulraj --- This is added to an existing patchset board/davinci/ea20/ea20.c | 32 +--- include/

[U-Boot] [PATCH] mmc: CMD7:MMC_CMD_SELECT_CARD response fix

2011-10-05 Thread Ajay Bhargav
As per JEDEC document JESD84-A441 (page 105) response for CMD7 (MMC_CMD_SELECT_CARD) response should be R1 instead of R1b. In uboot we never take MMC to disconnected state and on powerup its always ideal state which later goes to stand-by state. from document footnote: R1 while selecting from Stan

Re: [U-Boot] [PATCH 13/13] Davinci: ea20: use gpio framework to access gpios

2011-10-05 Thread Laurence Withers
On Wed, Oct 05, 2011 at 03:08:24PM +0200, Stefano Babic wrote: > Drop direct access to SOC's registers and use > the function of the GPIO driver for da8xx. Dear Stefano, The da8xx GPIO driver also configures the pinmux for you. Bye for now, -- Laurence Withers, http://www.guralp

Re: [U-Boot] [PATCH 13/13] Davinci: ea20: use gpio framework to access gpios

2011-10-05 Thread Stefano Babic
On 10/05/2011 03:14 PM, Laurence Withers wrote: > On Wed, Oct 05, 2011 at 03:08:24PM +0200, Stefano Babic wrote: >> Drop direct access to SOC's registers and use >> the function of the GPIO driver for da8xx. > > Dear Stefano, > > The da8xx GPIO driver also configures the pinmux for you. > > Bye

Re: [U-Boot] [PATCH 1/2] Tegra2: Make XTal speed configurable

2011-10-05 Thread Simon Glass
Hi Marek, On Fri, Sep 30, 2011 at 5:12 PM, Marek Vasut wrote: > The Toradex T20 module uses 13MHz Xtal, so make the Xtal speed configurable. > > Signed-off-by: Marek Vasut > Cc: Simon Glass > Cc: Ben Warren > Cc: Tom Warren > Cc: Stephen Warren > --- >  arch/arm/cpu/armv7/tegra2/ap20.c |    

[U-Boot] [PATCH v2 00/10] arm, davinci: add support for dm368 based cam_enc_4xx board

2011-10-05 Thread Heiko Schocher
This is a repost of the cam_enc_4xx board support patches from http://lists.denx.de/pipermail/u-boot/2011-July/096302.html changes for v2: - rebased to TOT - support new spl framework - add USB support - add MMC support - add bdinfo command - add board specific nandrbl function for switching bet

[U-Boot] [PATCH v2 01/10] arm, usb, davinci: make USBPHY_CTL register configurable

2011-10-05 Thread Heiko Schocher
Define CONFIG_DV_USBPHY_CTL for setting the USB PHY control register. Signed-off-by: Heiko Schocher Acked-by: Remy Bohmer cc: Sandeep Paulraj cc: Remy Bohmer --- drivers/usb/musb/davinci.c |6 +- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/drivers/usb/musb/davinci.

[U-Boot] [PATCH v2 02/10] net, davinci_emac: make clock divider in MDIO control register configurable

2011-10-05 Thread Heiko Schocher
Define CONFIG_SYS_EMAC_TI_CLKDIV for setting the clkdiv value in the MDIO control register. Signed-off-by: Heiko Schocher cc: Sandeep Paulraj cc: Wolfgang Denk --- drivers/net/davinci_emac.c |9 +++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/drivers/net/davinci_e

[U-Boot] [PATCH v2 03/10] spl: add option for adding post memory test to the SPL framework

2011-10-05 Thread Heiko Schocher
Signed-off-by: Heiko Schocher Cc: Albert ARIBAUD Cc: Sandeep Paulraj --- doc/README.SPL |1 + spl/Makefile |1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/doc/README.SPL b/doc/README.SPL index d53ef9c..c991aab 100644 --- a/doc/README.SPL +++ b/doc/README.SPL @@ -6

[U-Boot] [PATCH v2 04/10] arm, davinci: add support for new spl framework

2011-10-05 Thread Heiko Schocher
Signed-off-by: Heiko Schocher Cc: Albert ARIBAUD Cc: Sandeep Paulraj --- Makefile |8 +++- arch/arm/cpu/arm926ejs/davinci/Makefile |8 arch/arm/cpu/arm926ejs/davinci/spl.c | 63 + arch/arm/cpu/arm926ejs/davinci/s

[U-Boot] [PATCH v2 05/10] spl, nand: add 4bit HW ecc oob first nand_read_page function

2011-10-05 Thread Heiko Schocher
similiar to commit dc7cd8e59ba077f3b4c1a4557c9cd86a31b9ab1f, only adapted for the new spl framework. Signed-off-by: Heiko Schocher Cc: Scott Wood Cc: Albert ARIBAUD Cc: Sandeep Paulraj --- drivers/mtd/nand/nand_spl_simple.c | 43 1 files changed, 43 inse

[U-Boot] [PATCH v2 06/10] arm, davinci: add header files for dm365

2011-10-05 Thread Heiko Schocher
Signed-off-by: Heiko Schocher Cc: Albert ARIBAUD Cc: Sandeep Paulraj --- changes for v2: - rebase to TOT - add defines for timer 3 and 4 - delete "struct dv_timer_regs" as it is now "davinci_timer" arch/arm/include/asm/arch-davinci/aintc_defs.h | 50 + arch/arm/include/asm/arch-dav

[U-Boot] [PATCH v2 07/10] arm, davinci: add lowlevel function for dm365 soc

2011-10-05 Thread Heiko Schocher
used for booting (for example) from NAND using spl code. Signed-off-by: Heiko Schocher Cc: Albert ARIBAUD Cc: Sandeep Paulraj --- changes for v2: - fix bug for dm365 if setup A2CR register - rebase to TOT: - rename DM36x_DDR_* to DV_DDR_* - add support for new SPL framework arch/arm/cpu/

[U-Boot] [PATCH v2 08/10] arm926ejs, davinci: add cpuinfo for dm365

2011-10-05 Thread Heiko Schocher
Signed-off-by: Heiko Schocher Cc: Albert ARIBAUD Cc: Sandeep Paulraj --- Changes for v2: - rebase to TOT arch/arm/cpu/arm926ejs/davinci/cpu.c | 27 - arch/arm/include/asm/arch-davinci/pll_defs.h |4 +++ 2 files changed, 29 insertions(+), 2 deletions(-) d

[U-Boot] [PATCH v2 10/10] arm, davinci: add cam_enc_4xx support

2011-10-05 Thread Heiko Schocher
- DM368 SOC - booting with spl not with UBL from TI - before loading u-boot from NAND into RAM, test the RAM with the post memory test. If error is found, switch all LEDs on and halt system. - SPI Flash Dataflash Typ: M25PE80 - Ethernet DM9161BI - MMC - USB Signed-off-by: Heiko Schocher Cc:

[U-Boot] [PATCH v2 09/10] arm926ejs, davinci: add missing spi defines for dm365

2011-10-05 Thread Heiko Schocher
Signed-off-by: Heiko Schocher Cc: Albert ARIBAUD Cc: Sandeep Paulraj --- arch/arm/include/asm/arch-davinci/hardware.h |2 ++ arch/arm/include/asm/arch-davinci/pll_defs.h |1 + 2 files changed, 3 insertions(+), 0 deletions(-) diff --git a/arch/arm/include/asm/arch-davinci/hardware.h b/

Re: [U-Boot] [PATCH v2 3/4] tegra2: Enable second SD port (J5) on Harmony

2011-10-05 Thread Simon Glass
Hi Stephen, On Tue, Oct 4, 2011 at 10:32 AM, Stephen Warren wrote: > Seaboard uses SDMMC4, SDMMC3. Harmony uses SDMMC4, SDMMC2. Move > board_init_mmc and gpio_config_mmc into board-specific files, so boards > can choose which ports to set up. Split clock_init_mmc and pin_mux_mmc > into per-port f

[U-Boot] U-Boot on LCD monitor (BeagleBoard)?

2011-10-05 Thread Giorgio Wicklein
Hello everybody, just a question - Is it possible to interact with the U-Boot command line (prompt) over an LCD monitor? I'm using a Beagleboard rev C4 with DVI-D/HDMI and Beagletouch hardware. It would be nice to interact directly with the bootloader. As it is now, on boot, I get only an Orange

[U-Boot] [PATCH] USB: gadaget: add Marvell controller support

2011-10-05 Thread Lei Wen
Signed-off-by: Lei Wen --- drivers/usb/gadget/Makefile |1 + drivers/usb/gadget/gadget_chips.h |7 + drivers/usb/gadget/mv_udc.c | 499 + include/usb/mv_udc.h | 151 +++ 4 files changed, 658 insertions(+), 0 deletions(

[U-Boot] [PATCH] ARM: pantheon: enable dcache by default

2011-10-05 Thread Lei Wen
Marvell 88SV331xV5 has its specific arm cp15 opcode, which could flush out whole dcache by only one line of asm code. Signed-off-by: Lei Wen --- arch/arm/cpu/arm926ejs/pantheon/cpu.c | 14 ++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/arch/arm/cpu/arm926ejs/pan

Re: [U-Boot] U-Boot on LCD monitor (BeagleBoard)?

2011-10-05 Thread Wolfgang Denk
Dear Giorgio Wicklein, In message <20111005144523.GA8624@wicklein-desktop> you wrote: > > just a question - Is it possible to interact with the U-Boot command line > (prompt) over an LCD monitor? No, this is not possible. A LCD monitor is an output device, and to enter commands to the command l

Re: [U-Boot] [PATCH] PPC: Cleanup tqm8xx_pcmcia.c

2011-10-05 Thread Wolfgang Denk
Dear Marek Vasut, In message <201110051453.45233.marek.va...@gmail.com> you wrote: > On Wednesday, October 05, 2011 02:51:55 PM Marek Vasut wrote: > > Signed-off-by: Marek Vasut > > --- > > drivers/pcmcia/tqm8xx_pcmcia.c | 154 > > +--- 1 files changed, 81 > >

Re: [U-Boot] [PATCH v2 3/4] tegra2: Enable second SD port (J5) on Harmony

2011-10-05 Thread Stephen Warren
Simon Glass wrote at Wednesday, October 05, 2011 8:39 AM: > Hi Stephen, > > On Tue, Oct 4, 2011 at 10:32 AM, Stephen Warren wrote: > > Seaboard uses SDMMC4, SDMMC3. Harmony uses SDMMC4, SDMMC2. Move > > board_init_mmc and gpio_config_mmc into board-specific files, so boards > > can choose which p

Re: [U-Boot] [PATCH 1/2] Tegra2: Make XTal speed configurable

2011-10-05 Thread Marek Vasut
On Wednesday, October 05, 2011 04:10:56 PM Simon Glass wrote: > Hi Marek, > > On Fri, Sep 30, 2011 at 5:12 PM, Marek Vasut wrote: > > The Toradex T20 module uses 13MHz Xtal, so make the Xtal speed > > configurable. > > > > Signed-off-by: Marek Vasut > > Cc: Simon Glass > > Cc: Ben Warren > >

Re: [U-Boot] [PATCH] cmd_time: add time command

2011-10-05 Thread Mike Frysinger
On Wednesday 05 October 2011 03:09:15 Che-Liang Chiou wrote: > The 'time' command runs and reports execution time of commands. cool > Sameple usage: typo: Sample > --- /dev/null > +++ b/common/cmd_time.c > > +static void report_time(unsigned long int cycles) > +{ > +#ifdef CONFIG_SYS_HZ CONFIG

Re: [U-Boot] [PATCH] PPC: Cleanup tqm8xx_pcmcia.c

2011-10-05 Thread Wolfgang Denk
Dear Marek Vasut, In message <1317819115-9089-1-git-send-email-marek.va...@gmail.com> you wrote: > Signed-off-by: Marek Vasut > --- > drivers/pcmcia/tqm8xx_pcmcia.c | 154 > +--- > 1 files changed, 81 insertions(+), 73 deletions(-) Tested on TQM823L_LCD and

Re: [U-Boot] [PATCH] PPC: Cleanup tqm8xx_pcmcia.c

2011-10-05 Thread Wolfgang Denk
Dear Marek Vasut, In message <1317819115-9089-1-git-send-email-marek.va...@gmail.com> you wrote: > Signed-off-by: Marek Vasut > --- > drivers/pcmcia/tqm8xx_pcmcia.c | 154 > +--- > 1 files changed, 81 insertions(+), 73 deletions(-) Applied, thanks. Best re

Re: [U-Boot] [PATCH] Makefile: remove tx25 exception

2011-10-05 Thread Wolfgang Denk
Dear Stefano Babic, In message <1314629830-32588-1-git-send-email-sba...@denx.de> you wrote: > An entry in the main Makefile for the tx25 board is not > necessary, and the board is added to boards.cfg as all > other targets. > > Signed-off-by: Stefano Babic > CC: Wolfgang Denk > --- > Makefile

Re: [U-Boot] [PATCH 1/2] Makefile: drop imx31_phycore from general Makefile

2011-10-05 Thread Wolfgang Denk
Dear Stefano Babic, In message <1314701563-27922-1-git-send-email-sba...@denx.de> you wrote: > Signed-off-by: Stefano Babic > --- > Makefile |8 > boards.cfg |2 ++ > 2 files changed, 2 insertions(+), 8 deletions(-) Applied, thanks. Best regards, Wolfgang Denk -- DENX Sof

Re: [U-Boot] [PATCH 2/2] Makefile: remove mx31pdk exception

2011-10-05 Thread Wolfgang Denk
Dear Stefano Babic, In message <1314701563-27922-2-git-send-email-sba...@denx.de> you wrote: > An entry in the main Makefile for the mx31pdk board is not > necessary, and the board is added to boards.cfg as all > other targets. > > Signed-off-by: Stefano Babic > CC: Wolfgang Denk > --- > Makef

Re: [U-Boot] [PATCH V5] console: Implement pre-console buffer

2011-10-05 Thread Wolfgang Denk
Dear Graeme Russ, In message <1314874326-10231-1-git-send-email-graeme.r...@gmail.com> you wrote: > Allow redirection of console output prior to console initialisation to a > temporary buffer. > > To enable this functionality, the board (or arch) must define: > - CONFIG_PRE_CONSOLE_BUFFER - Enab

Re: [U-Boot] [PATCH v4 1/8] POST/arm: adaptations needed for POST on ARM to work

2011-10-05 Thread Wolfgang Denk
Dear Valentin Longchamp, In message <1315837122-11952-2-git-send-email-valentin.longch...@keymile.com> you wrote: > For post to run on ARM, 3 things are needed: > - post_log_word to be defined in gd > - a post.h include in arch/arm/lib/board.c > > Signed-off-by: Valentin Longchamp > Signed-off-

Re: [U-Boot] [PATCH v4 2/8] POST: allow redefinition of post_word_load/store

2011-10-05 Thread Wolfgang Denk
Dear Valentin Longchamp, In message <1315837122-11952-3-git-send-email-valentin.longch...@keymile.com> you wrote: > The predefinde post_word_load/store functions do not fit all boards, > so we introduce a way to define post_word_load/store as externs in > post.h that then can be defined in board

Re: [U-Boot] [PATCH v4 3/8] POST: add post_log_res field for post results in global data

2011-10-05 Thread Wolfgang Denk
Dear Valentin Longchamp, In message <1315837122-11952-4-git-send-email-valentin.longch...@keymile.com> you wrote: > The current post_log_word in global data is currently split into 2x > 16 bits: half for the test start, half for the test success. > Since we alredy have more than 16 POST tests def

Re: [U-Boot] [PATCH v4 4/8] POST: make env test flags fetching optional

2011-10-05 Thread Wolfgang Denk
Dear Valentin Longchamp, In message <1315837122-11952-5-git-send-email-valentin.longch...@keymile.com> you wrote: > Some boards have the environment variables defined in a slow EEPROM. post_run > accesses these environment variables to define which tests have to be run (in > post_get_flags). This

Re: [U-Boot] [PATCH v4 5/8] POST: drivers/memory.c coding style cleanup

2011-10-05 Thread Wolfgang Denk
Dear Valentin Longchamp, In message <1315837122-11952-6-git-send-email-valentin.longch...@keymile.com> you wrote: > This is needed for a further patch adding a new memory test. > > Signed-off-by: Valentin Longchamp > Acked-by: Mike Frysinger > --- > Changes for v4: > - rebased on 2011.09-rc1

Re: [U-Boot] [PATCH v4 6/8] POST: add new memory regions test

2011-10-05 Thread Wolfgang Denk
Dear Valentin Longchamp, In message <1315837122-11952-7-git-send-email-valentin.longch...@keymile.com> you wrote: > This test is similar to the actual POST memory test but quicker and > far less complete. It checks the address and data lines and then only > tests some regularly placed sub regions

Re: [U-Boot] [PATCH v4 7/8] km_arm: change CONFIG_SYS_TEXT_BASE to end of RAM

2011-10-05 Thread Wolfgang Denk
Dear Valentin Longchamp, In message <1315837122-11952-8-git-send-email-valentin.longch...@keymile.com> you wrote: > This allows to test a larger part of the RAM in the memory tests. > > Signed-off-by: Valentin Longchamp > Signed-off-by: Holger Brunck > Cc: Heiko Schocher > Cc: Prafulla Wadask

Re: [U-Boot] [PATCH v4 8/8] km_arm: enable POST for these boards

2011-10-05 Thread Wolfgang Denk
Dear Valentin Longchamp, In message <1315837122-11952-9-git-send-email-valentin.longch...@keymile.com> you wrote: > The current km_arm boards have a Power-On test jumper. When this > jumper is set, this triggers some Power-On tests on the board. > > This patch enables the support of this jumper

Re: [U-Boot] [PATCH V2 1/3] mkimage: ublimage must return if the header is not verified

2011-10-05 Thread Wolfgang Denk
Dear Stefano Babic, In message <1316687112-27380-1-git-send-email-sba...@denx.de> you wrote: > Each image handler must return a not-zero value if the > header is not recognized to allow the main program to > iterate to the next handler. > > Signed-off-by: Stefano Babic > CC: Heiko Schocher > --

Re: [U-Boot] [PATCH 2/3] mkimage: Add variable lenght header support

2011-10-05 Thread Wolfgang Denk
Dear Stefano Babic, In message <1316166617-11711-2-git-send-email-sba...@denx.de> you wrote: > Some images have not a header of fix lenght. The patch will be > used for the generation of AIS images, because this header has > a variable lenght. The patch adds also the parameter "-s" (skip) > to not

Re: [U-Boot] [PATCH 3/3] mkimage: adding support for Davinci AIS image

2011-10-05 Thread Wolfgang Denk
Dear Stefano Babic, In message <1316166617-11711-3-git-send-email-sba...@denx.de> you wrote: > Some Davinci processors supports the Application > Image Script (AIS) boot process. The patch adds the generation > of the AIS image inside the mkimage tool to make possible > to generate a bootable U-bo

[U-Boot] Your New Friend Rama .

2011-10-05 Thread mis rama
Hello Dear, How are you today, Hope all is well with you and your family? My name is Miss Rama Djirama. However it really pleases me to write you for a lovely and sincere friendship even if we haven't met or seen each other before. I will so much appreciate to see your reply soon so that we can

Re: [U-Boot] [PATCH v3] image: push default arch values to arch headers

2011-10-05 Thread Wolfgang Denk
Dear Mike Frysinger, In message <1317689433-7108-1-git-send-email-vap...@gentoo.org> you wrote: > This pushes the ugly duplicated arch ifdef lists we maintain in various > image related files out to the arch headers themselves. > > Acked-by: Nobuhiro Iwamatsu > Tested-by: Thomas Chou > Signed-o

Re: [U-Boot] [PATCH v3] mkconfig: start deprecating Makefile config targets

2011-10-05 Thread Wolfgang Denk
Dear Mike Frysinger, In message <1317500104-1508-1-git-send-email-vap...@gentoo.org> you wrote: > Now that we've got boards.cfg and most people have converted over, > start warning people who have yet to so we can phase board configs > completely out of the Makefile. > > Signed-off-by: Mike Frysi

Re: [U-Boot] [PATCH 1/4] net: drop !NET_MULTI bcm570x/tigon3 drivers

2011-10-05 Thread Wolfgang Denk
Dear Mike Frysinger, In message <1317585688-3396-2-git-send-email-vap...@gentoo.org> you wrote: > These drivers have never been converted to NET_MULTI, and they are only > used by one board (BMW). So drop the drivers until someone feels like > rewriting them for NET_MULTI support. > > Rather tha

Re: [U-Boot] [PATCH 2/4] net: drop !NET_MULTI ns7520 driver

2011-10-05 Thread Wolfgang Denk
Dear Mike Frysinger, In message <1317585688-3396-3-git-send-email-vap...@gentoo.org> you wrote: > This driver was never converted to NET_MULTI, and no board uses it. > So punt it and be done. > > Signed-off-by: Mike Frysinger > --- > drivers/net/Makefile |1 - > drivers/net/ns7520_eth.c

Re: [U-Boot] [PATCH 3/4] net: drop !NET_MULTI code

2011-10-05 Thread Wolfgang Denk
Dear Mike Frysinger, In message <1317585688-3396-4-git-send-email-vap...@gentoo.org> you wrote: > This is long over due. All but two net drivers have been converted, but > those have now been dropped. > > The only thing left to do is actually delete all references to NET_MULTI > and code that is

[U-Boot] [PATCH 1/3] phylib: Work around bug in Teranetics PHY

2011-10-05 Thread Timur Tabi
From: Andy Fleming The Teranetics PHY does not properly report the link state for fiber connections. The new PHY code actually checked the link, and so the FM driver would refuse to talk over a linkless PHY. But the link may actually be up, so now we always report it as up for fiber connections

[U-Boot] [PATCH 3/3] powerpc/85xx: wait for alignment before resetting SERDES RX lanes (SERDES9)

2011-10-05 Thread Timur Tabi
The work-around for P4080 erratum SERDES9 says that the SERDES receiver lanes should be reset after the XAUI starts tranmitting alignment signals. Signed-off-by: Timur Tabi --- arch/powerpc/cpu/mpc85xx/fsl_corenet_serdes.c | 10 -- board/freescale/corenet_ds/eth_p4080.c| 40 +

[U-Boot] [PATCH 2/3] phylib: wait for TN2020 to achieve SERDES lane alignment at startup

2011-10-05 Thread Timur Tabi
Before the Teranetics TN2020 PHY can be used, the SERDES lanes need to be aligned, so wait for lane alignment before completing the startup sequence. Note that this process can take up to three seconds. Signed-off-by: Timur Tabi --- drivers/net/phy/teranetics.c | 32 ++

Re: [U-Boot] [PATCH 4/4] board configs: drop NET_MULTI references

2011-10-05 Thread Wolfgang Denk
Dear Mike Frysinger, In message <1317585688-3396-5-git-send-email-vap...@gentoo.org> you wrote: > Now that none of the core checks CONFIG_NET_MULTI, there's not much point > in boards defining it. So scrub all references to it. > > Signed-off-by: Mike Frysinger > --- > arch/arm/include/asm/arc

Re: [U-Boot] [PATCH] cmd_sf: Fix compiler warning

2011-10-05 Thread Wolfgang Denk
Dear Kumar Gala, In message <1317652547-31435-1-git-send-email-ga...@kernel.crashing.org> you wrote: > cmd_sf.c: In function 'do_spi_flash': > cmd_sf.c:164:9: warning: 'skipped' may be used uninitialized in this function > > Signed-off-by: Kumar Gala > --- > common/cmd_sf.c |6 +++--- > 1

Re: [U-Boot] [PATCH] MAKEALL: rename coldfire list to m68k to match arch

2011-10-05 Thread Wolfgang Denk
Dear Mike Frysinger, In message <1317016410-608-2-git-send-email-vap...@gentoo.org> you wrote: > The m68k tree is the only one where `./MAKEALL ` does not work. > So rename the existing coldfire list in the MAKEALL script to m68k, and > add an alias from coldfire to m68k. This makes scripting aro

Re: [U-Boot] [PATCH 1/2 RESEND] SPL: Make path to start.S configurable

2011-10-05 Thread Wolfgang Denk
Dear Marek Vasut, In message <1315800204-19705-2-git-send-email-marek.va...@gmail.com> you wrote: > Introduce CONFIG_SPL_START_S_PATH to configure path to start.S file. It's not > always fitting to use CPU's start.S . > > Signed-off-by: Marek Vasut > Cc: Stefano Babic > Cc: Wolfgang Denk > Cc:

  1   2   >