[U-Boot] [PATCH] snowball: Clear UART RX FIFO

2012-09-14 Thread Ramesh Chandrasekaran
Without usb-serial cable plugged at this stage, some garbage is seen in UART RX FIFO, which blocks autoboot progress. The fix makes sure to empty the RX FIFO, before we wait for user input to interrupt autoboot. Signed-off-by: Ramesh Chandrasekaran --- board/st-ericsson/snowball/snowball.c |

Re: [U-Boot] [PATCH 2/4 v2] net: Add driver for Zynq Gem IP

2012-09-14 Thread Marek Vasut
Dear Joe Hershberger, > On Thu, Sep 13, 2012 at 11:45 PM, Marek Vasut wrote: > > Dear Joe Hershberger, > > > >> Hi Marek, > >> > >> On Thu, Sep 13, 2012 at 4:28 AM, Marek Vasut wrote: > >> > Dear Michal Simek, > >> > > >> >> + /* > >> >> + * Following is the setup for Network Control

Re: [U-Boot] [PATCH 1/4 v2] serial: Add Zynq serial driver

2012-09-14 Thread Marek Vasut
Dear Joe Hershberger, > Hi Marek, > > On Thu, Sep 13, 2012 at 11:47 PM, Marek Vasut wrote: > > Dear Joe Hershberger, > > > >> Hi Marek, > >> > >> On Thu, Sep 13, 2012 at 9:01 AM, Marek Vasut wrote: > >> > Dear Michal Simek, > >> > > >> >> On 09/13/2012 02:33 PM, Marek Vasut wrote: > >> >> >

Re: [U-Boot] [PATCH 3/4 v3] arm: Support new Xilinx Zynq platform

2012-09-14 Thread Marek Vasut
Dear Michal Simek, > Add timer driver. > > Signed-off-by: Michal Simek > CC: Joe Hershberger > CC: Marek Vasut > > --- > v2: Move lowlevel_init.S from board to cpu folder > Remove XPSS prefix > Rename XSCUTIMER -> SCUTIMER > > v3: Using clrsetbits_le32 > Fix compilation warning >

Re: [U-Boot] [PATCH 4/4 v4] xilinx: Add new Zynq board

2012-09-14 Thread Marek Vasut
Dear Michal Simek, > Add support for Xilinx Zynq board. > > Signed-off-by: Michal Simek > CC: Joe Hershberger > CC: Marek Vasut > > --- > v2: Forget to also add config file > > v3: Change name for serial driver > Remove lowlevel_init from board folder > Remove XPSS part from timer ba

Re: [U-Boot] [PATCH 2/4 v3] net: Add driver for Zynq Gem IP

2012-09-14 Thread Marek Vasut
Dear Michal Simek, > Device driver for Zynq Gem IP. > > Signed-off-by: Michal Simek > CC: Joe Hershberger > CC: Marek Vasut > > --- > v2: Remove phylib protection > Rename driver file name xilinx_gem to zynq_gem > Rename XEMACPSS to ZYNQ_GEM > Rename gemac_priv to zynq_gem_priv >

Re: [U-Boot] [PATCH 1/4 v3] serial: Add Zynq serial driver

2012-09-14 Thread Marek Vasut
Dear Michal Simek, > The driver is used on Xilinx Zynq platform. > > Signed-off-by: Michal Simek > CC: Joe Hershberger > CC: Marek Vasut > > --- > v2: Use Zynq name instead of Dragonfire and XPSS/XDFUART > Rename driver name > Remove driver description > > v3: SERIAL_MULTI support >

Re: [U-Boot] [PATCH 3/4 v3] arm: Support new Xilinx Zynq platform

2012-09-14 Thread Michal Simek
On 09/14/2012 09:50 AM, Marek Vasut wrote: Dear Michal Simek, Add timer driver. Signed-off-by: Michal Simek CC: Joe Hershberger CC: Marek Vasut --- v2: Move lowlevel_init.S from board to cpu folder Remove XPSS prefix Rename XSCUTIMER -> SCUTIMER v3: Using clrsetbits_le32 Fi

Re: [U-Boot] [PATCH 1/4 v3] serial: Add Zynq serial driver

2012-09-14 Thread Michal Simek
On 09/14/2012 09:45 AM, Marek Vasut wrote: Dear Michal Simek, The driver is used on Xilinx Zynq platform. Signed-off-by: Michal Simek CC: Joe Hershberger CC: Marek Vasut --- v2: Use Zynq name instead of Dragonfire and XPSS/XDFUART Rename driver name Remove driver description v3:

Re: [U-Boot] [Question] [ARM] global data array defined in board.c linkage problem : overlapping with relocation sections

2012-09-14 Thread Sun Eric
Hi all, Today I have some new findings on this topic. In "arch/arm/cpu/u-boot.lds", the BSS section is arranged as the following --- .bss __rel_dyn_start (OVERLAY) : { __bss_start = .; *(.bss) . = ALIGN(4); __bs

[U-Boot] [PATCH v2 0/3] Enable MMC support for at91sam9x5ek board.

2012-09-14 Thread Josh Wu
This patch series enable MCI0 solt in at91sam9x5ek board. Josh Wu (3): mmc: at91: add multi block read/write support. ARM: at91sam9x5: enable MCI0 support for 9x5ek board. mmc: at91: use max timeout value. It will avoid some situation that timeout happened. arch/arm/cpu/arm926ejs/at91/

[U-Boot] [PATCH v2 1/3] mmc: at91: add multi block read/write support.

2012-09-14 Thread Josh Wu
Since the at91sam9263, the mmc hardware support multi blocks read/write. So this driver enable it. Signed-off-by: Josh Wu --- since v1: use MMCI_BF macro and remove the redefinition for the BLKLEN according to Andreas' suggestion. drivers/mmc/gen_atmel_mci.c | 11 +++ include/atme

[U-Boot] [PATCH v2 2/3] ARM: at91sam9x5: enable MCI0 support for 9x5ek board.

2012-09-14 Thread Josh Wu
Signed-off-by: Josh Wu --- since v1: move the clock initialization function. remove useless #if macro block. arch/arm/cpu/arm926ejs/at91/at91sam9x5_devices.c | 15 +++ board/atmel/at91sam9x5ek/at91sam9x5ek.c | 10 ++ include/configs/at91sam9x5ek.h

[U-Boot] [PATCH v2 3/3] mmc: at91: use max timeout value. It will avoid some situation that timeout happened.

2012-09-14 Thread Josh Wu
Signed-off-by: Josh Wu --- since v1: seperate it as one patch from v1. drivers/mmc/gen_atmel_mci.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/gen_atmel_mci.c b/drivers/mmc/gen_atmel_mci.c index 9f06304..67b2dbe 100644 --- a/drivers/mmc/gen_atmel_mci

[U-Boot] [PATCH v4 1/6] davinci: ea20: reorganisation LCD startup

2012-09-14 Thread Bastian Ruppert
Signed-off-by: Bastian Ruppert CC: Tom Rini Acked-by: Stefano Babic --- board/davinci/ea20/ea20.c | 23 +++ 1 files changed, 15 insertions(+), 8 deletions(-) diff --git a/board/davinci/ea20/ea20.c b/board/davinci/ea20/ea20.c index 7e00040..69307e4 100644 --- a/board/davin

[U-Boot] [PATCH v4 2/6] davinci: ea20: the console is always set to the serial line

2012-09-14 Thread Bastian Ruppert
Do not allow to overwrite it when video is enabled. Signed-off-by: Bastian Ruppert CC: Tom Rini Acked-by: Stefano Babic --- board/davinci/ea20/ea20.c | 11 +-- include/configs/ea20.h|2 ++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/board/davinci/ea20/ea20

[U-Boot] [PATCH v4 6/6] davinci: ea20: add some configs and default environmet variables

2012-09-14 Thread Bastian Ruppert
Signed-off-by: Bastian Ruppert CC: Tom Rini Acked-by: Stefano Babic --- v4: - use more expressive CONFIG name for emac rmii no autonegotiation v3: v2: - related to other patches of this series --- include/configs/ea20.h | 106 ++-- 1 files changed

[U-Boot] [PATCH v4 4/6] video: cfb_console: add function to plot the logo area black

2012-09-14 Thread Bastian Ruppert
Signed-off-by: Bastian Ruppert CC: Anatolij Gustschin CC: Tom Rini CC: Stefano Babic --- drivers/video/cfb_console.c | 46 +++--- 1 files changed, 42 insertions(+), 4 deletions(-) diff --git a/drivers/video/cfb_console.c b/drivers/video/cfb_console.c inde

[U-Boot] [PATCH v4 3/6] video: cfb_console: logo can be positioned via the splashpos variable

2012-09-14 Thread Bastian Ruppert
Extend the driver for placing the video/bmp logo as specified by "splashpos" environment variable. Signed-off-by: Bastian Ruppert Signed-off-by: Anatolij Gustschin CC: Tom Rini CC: Stefano Babic --- v3: - logo offset calculation is no longer based on BMP_ALIGN_CENTER if "m" specifier is us

[U-Boot] [PATCH v4 5/6] da850/omap-l138: davinci_emac: Suppress auto negotiation if needed

2012-09-14 Thread Bastian Ruppert
>From this commit id: b78375a806ed04eb22b963255cfdef8df702de47 auto negotiation is enabled in RMII mode. Some boards based on da850 need to suppress this procedure. CC: Rajashekhara, Sudhakar CC: Lad, Prabhakar CC: Hadli, Manjunath CC: sba...@denx.de Acked-by: Stefano Babic CC: Tom Rini Signe

Re: [U-Boot] [PATCH 1/2] mmc: at91: add multi block read/write support.

2012-09-14 Thread Josh Wu
On 9/13/2012 7:11 PM, Andreas Bießmann wrote: Dear Josh Wu, sorry for beeing late. Bu2013.01 release.t this submission was way after merge window close so it will anyhow end up in 2013.01 release. OK, no problem. According to your comments I made the v2 patch and already sent it out. Thank y

Re: [U-Boot] [PATCH 1/4 v3] serial: Add Zynq serial driver

2012-09-14 Thread Marek Vasut
Dear Michal Simek, > On 09/14/2012 09:45 AM, Marek Vasut wrote: > > Dear Michal Simek, > > > >> The driver is used on Xilinx Zynq platform. > >> > >> Signed-off-by: Michal Simek > >> CC: Joe Hershberger > >> CC: Marek Vasut > >> > >> --- > >> v2: Use Zynq name instead of Dragonfire and XPSS/

Re: [U-Boot] [PATCH 3/4 v3] arm: Support new Xilinx Zynq platform

2012-09-14 Thread Marek Vasut
Dear Michal Simek, > On 09/14/2012 09:50 AM, Marek Vasut wrote: > > Dear Michal Simek, > > > >> Add timer driver. > >> > >> Signed-off-by: Michal Simek > >> CC: Joe Hershberger > >> CC: Marek Vasut > >> > >> --- > >> v2: Move lowlevel_init.S from board to cpu folder > >> > >> Remove XP

Re: [U-Boot] [PATCH 1/3] dm: sparc: net: Fixup greth compile warnings

2012-09-14 Thread Marek Vasut
Hi Tom, can you pick these three sparc things by hand please? > greth.c: In function ‘greth_recv’: > greth.c:507:3: warning: format ‘%lx’ expects argument of type ‘long > unsigned int’, but argument 2 has type ‘unsigned int’ [-Wformat] > greth.c:507:3: warning: format ‘%lx’ expects argument of ty

Re: [U-Boot] [PATCH 3/4 v3] arm: Support new Xilinx Zynq platform

2012-09-14 Thread Michal Simek
On 09/14/2012 11:59 AM, Marek Vasut wrote: Dear Michal Simek, On 09/14/2012 09:50 AM, Marek Vasut wrote: Dear Michal Simek, Add timer driver. Signed-off-by: Michal Simek CC: Joe Hershberger CC: Marek Vasut --- v2: Move lowlevel_init.S from board to cpu folder Remove XPSS prefix

Re: [U-Boot] [PATCH 1/4 v3] serial: Add Zynq serial driver

2012-09-14 Thread Michal Simek
On 09/14/2012 12:03 PM, Marek Vasut wrote: Dear Michal Simek, On 09/14/2012 09:45 AM, Marek Vasut wrote: Dear Michal Simek, The driver is used on Xilinx Zynq platform. Signed-off-by: Michal Simek CC: Joe Hershberger CC: Marek Vasut --- v2: Use Zynq name instead of Dragonfire and XPSS/XD

[U-Boot] [PATCH 1/4 v4] serial: Add Zynq serial driver

2012-09-14 Thread Michal Simek
The driver is used on Xilinx Zynq platform. Signed-off-by: Michal Simek CC: Joe Hershberger CC: Marek Vasut --- v2: Use Zynq name instead of Dragonfire and XPSS/XDFUART Rename driver name Remove driver description v3: SERIAL_MULTI support Rename xdfuart to uart_zynq v4: Properly

Re: [U-Boot] [PATCH 1/4 v4] serial: Add Zynq serial driver

2012-09-14 Thread Marek Vasut
Dear Michal Simek, > The driver is used on Xilinx Zynq platform. > > Signed-off-by: Michal Simek > CC: Joe Hershberger > CC: Marek Vasut Acked-by: Marek Vasut > --- > v2: Use Zynq name instead of Dragonfire and XPSS/XDFUART > Rename driver name > Remove driver description > > v3: S

Re: [U-Boot] [PATCH 3/4 v3] arm: Support new Xilinx Zynq platform

2012-09-14 Thread Marek Vasut
Dear Michal Simek, > On 09/14/2012 11:59 AM, Marek Vasut wrote: > > Dear Michal Simek, > > > >> On 09/14/2012 09:50 AM, Marek Vasut wrote: > >>> Dear Michal Simek, > >>> > Add timer driver. > > Signed-off-by: Michal Simek > CC: Joe Hershberger > CC: Marek Vasut > >>>

Re: [U-Boot] [PATCH 1/4 v3] serial: Add Zynq serial driver

2012-09-14 Thread Marek Vasut
Dear Michal Simek, > On 09/14/2012 12:03 PM, Marek Vasut wrote: > > Dear Michal Simek, > > > >> On 09/14/2012 09:45 AM, Marek Vasut wrote: > >>> Dear Michal Simek, > >>> > The driver is used on Xilinx Zynq platform. > > Signed-off-by: Michal Simek > CC: Joe Hershberger > >

Re: [U-Boot] [PATCH 1/4 v3] serial: Add Zynq serial driver

2012-09-14 Thread Michal Simek
On 09/14/2012 01:00 PM, Marek Vasut wrote: Dear Michal Simek, On 09/14/2012 12:03 PM, Marek Vasut wrote: Dear Michal Simek, On 09/14/2012 09:45 AM, Marek Vasut wrote: Dear Michal Simek, The driver is used on Xilinx Zynq platform. Signed-off-by: Michal Simek CC: Joe Hershberger CC: Mare

Re: [U-Boot] [PATCH 3/4 v3] arm: Support new Xilinx Zynq platform

2012-09-14 Thread Michal Simek
On 09/14/2012 12:58 PM, Marek Vasut wrote: Dear Michal Simek, On 09/14/2012 11:59 AM, Marek Vasut wrote: Dear Michal Simek, On 09/14/2012 09:50 AM, Marek Vasut wrote: Dear Michal Simek, Add timer driver. Signed-off-by: Michal Simek CC: Joe Hershberger CC: Marek Vasut --- v2: Move low

Re: [U-Boot] [PATCH] phy: Add support for Marvell 88E1118R

2012-09-14 Thread Michal Simek
Hi Tom and Joe, On 08/07/2012 02:23 PM, Michal Simek wrote: Marvell 88E1118R has different uid then 88E1118. Signed-off-by: Michal Simek CC: Andy Fleming CC: Zang Roy-R61911 CC: Kumar Gala --- drivers/net/phy/marvell.c | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-)

[U-Boot] Don't get any interrupts once I boot into Linux

2012-09-14 Thread Greg Topmiller
I downloaded the V2012.07 version of u-boot from the git.denx.de repository and built it for our target. U-boot boots up properly and I can use the commands but now when I boot into Linux I don't seem to be getting interrupts. The Linux kernel hangs in the calculate_delay function waiting for

Re: [U-Boot] Don't get any interrupts once I boot into Linux

2012-09-14 Thread Fabio Estevam
On Fri, Sep 14, 2012 at 12:04 PM, Greg Topmiller wrote: > I downloaded the V2012.07 version of u-boot from the git.denx.de repository > and built it for our target. U-boot boots up properly and I can use the > commands but now when I boot into Linux I don't seem to be getting > interrupts. Th

[U-Boot] [PATCH] Correct the first byte of idcode1 for S25FL256S part

2012-09-14 Thread 402jagan
From: Jagannadha Sutradharudu Teki <402ja...@gmail.com> First byte of idcode1 for S25FL256S was miss assinged, so I was corrected and tested the same. Regards, Jagan. Jagannadha Sutradharudu Teki (1): sf: spansion: Correct the idcode1 of S25FL256S part drivers/mtd/spi/spansion.c |2 +- 1

[U-Boot] [PATCH] sf: spansion: Correct the first byte of idcode1 for S25FL256S part

2012-09-14 Thread 402jagan
From: Jagannadha Sutradharudu Teki <402ja...@gmail.com> This patch corrected the first byte of idcode1 for S25FL256S SPI flash. Signed-off-by: Jagannadha Sutradharudu Teki <402ja...@gmail.com> --- drivers/mtd/spi/spansion.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[U-Boot] [PATCH 00/16] pmic: Redesign PMIC framework to support multiple instances of devices

2012-09-14 Thread Lukasz Majewski
PMIC framework has been redesigned to support multiple instances of power related devices (e.g. fuel gauge, PMICs, chargers, micro USB IC). Due to that, code at other architectures and boards have been adjusted properly. New power_board_init() method at ./lib/board.c file has been introduced. It

[U-Boot] [PATCH 01/16] pmic:i2c: Handle PMIC I2C transmission comprising of two bytes

2012-09-14 Thread Lukasz Majewski
This patch adds support for proper handling of a PMIC I2C transmission comprising of two bytes. Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park --- drivers/misc/pmic_i2c.c |9 - 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/drivers/misc/pmic_i2c.c b/driv

[U-Boot] [PATCH 02/16] pmic:i2c: Add I2C byte order to PMIC framework

2012-09-14 Thread Lukasz Majewski
Since the pmic_reg_read is the u32 value, the order in which bytes are placed to form u32 value is important. This commit adds the reverse (which is default) and normal byte order. Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park --- drivers/misc/pmic_i2c.c | 31 ++

[U-Boot] [PATCH 03/16] pmic:max8997: Switch the MAX8997 PMIC to be used with multibus I2C

2012-09-14 Thread Lukasz Majewski
PMIC MAX8997 is now ready to work with single and multibus soft I2C implementation. Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park --- drivers/misc/pmic_max8997.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/misc/pmic_max8997.c b/drivers/misc/p

[U-Boot] [PATCH 04/16] pmic: Extend PMIC framework to support multiple instances of PMIC devices

2012-09-14 Thread Lukasz Majewski
The PMIC framework has been extended to support multiple instances of the variety of devices responsible for power management. This change allows supporting of e.g. fuel gauge, charger, MUIC (Micro USB Interface Circuit). Power related includes have been moved to ./include/power directory. This is

[U-Boot] [PATCH 06/16] pmic: Enable power_board_init() support at TRATS

2012-09-14 Thread Lukasz Majewski
Enable support for power_board_init() method at TRATS board. Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park --- board/samsung/trats/trats.c | 15 +++ include/configs/trats.h |1 + 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/board/samsung/tr

[U-Boot] [PATCH 07/16] pmic:chrg: Common information about charger and battery (power_chrg.h)

2012-09-14 Thread Lukasz Majewski
New power_chrg.h file has been added to "bind" together common information about charging battery available in the system. Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park Cc: Stefano Babic --- include/power/power_chrg.h | 53 1 files c

[U-Boot] [PATCH 08/16] pmic:muic: Support for MUIC built into MAX8997 device

2012-09-14 Thread Lukasz Majewski
Support for MUIC (Micro USB Integrated Circuit) built into the MAX8997 power management device. The MUIC device will work with redesigned PMIC framework. Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park Cc: Stefano Babic --- drivers/misc/Makefile|1 + drivers/misc/muic_

[U-Boot] [PATCH 05/16] pmic: Introduce power_board_init() method at ./lib/board.c file

2012-09-14 Thread Lukasz Majewski
It is necessary to introduce a new system wide function- power_board_init() It turns out, that power initialization must be done as early as possible. In the case of PMIC framework redesign, which aims to support multiple instances of PMIC devices the initialization shall be performed just after m

[U-Boot] [PATCH 09/16] pmic:fuel-gauge: Support for MAX17042 fuel-gauge

2012-09-14 Thread Lukasz Majewski
Support for MAX17042 fuel-gauge (FG), which is built into the MAX8997 power management device. Special file - fg_battery_cell_params.h with cells characteristics added. The FG device will work with redesigned PMIC framework. Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park Cc: Stefan

[U-Boot] [PATCH 10/16] pmic:max8997: Function for calculating LDO internal register value

2012-09-14 Thread Lukasz Majewski
Function for calculating LDO internal register value from passed micro Volt. Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park Cc: Stefano Babic --- drivers/misc/pmic_max8997.c | 17 + 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/drivers/misc/pmic

[U-Boot] [PATCH 11/16] arm:trats:pmic: Default PMIC(MAX8997) initialization for Samsung's TRATS board

2012-09-14 Thread Lukasz Majewski
Default PMIC (MAX8997) initialization for Samsung's TRATS development board. Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park Cc: Minkyu Kang --- board/samsung/trats/trats.c | 150 ++ include/power/max8997_pmic.h |9 +++ 2 files changed,

[U-Boot] [PATCH 12/16] arm:trats:pmic: Enable MUIC (MAX8997) at Samsung's TRATS board

2012-09-14 Thread Lukasz Majewski
MUIC IC built into the MAX8997 device is enabled at TRATS. Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park Cc: Minkyu Kang --- board/samsung/trats/trats.c |2 ++ include/configs/trats.h |2 ++ 2 files changed, 4 insertions(+), 0 deletions(-) diff --git a/board/samsung/

[U-Boot] [PATCH 14/16] pmic:max8997: Support for MAX8997 internal charger control

2012-09-14 Thread Lukasz Majewski
Support for MAX8997 built-in charger. Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park Cc: Stefano Babic --- drivers/misc/pmic_max8997.c | 52 ++ include/power/max8997_pmic.h |3 +- 2 files changed, 54 insertions(+), 1 deletions(-) dif

[U-Boot] [PATCH 13/16] arm:trats:pmic: Enable fuel-gauge (MAX17042) at Samsung's TRATS board

2012-09-14 Thread Lukasz Majewski
FG IC built into the MAX8997 device (compliant to MAX17042) is enabled at TRATS. Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park Cc: Minkyu Kang --- board/samsung/trats/trats.c |2 ++ include/configs/trats.h |4 2 files changed, 6 insertions(+), 0 deletions(-) dif

[U-Boot] [PATCH 15/16] arm:trats:pmic: Support for charging battery at Samsung's TRATS board

2012-09-14 Thread Lukasz Majewski
The battery connected to Samsung's Trats development board is now charged when voltage drops below threshold. Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park Cc: Minkyu Kang --- board/samsung/trats/trats.c | 37 + 1 files changed, 37 insertions

[U-Boot] [PATCH 16/16] arm:trats:pmic: Power consumption reduction state for Samsung's TRATS board

2012-09-14 Thread Lukasz Majewski
When charging battery is necessary, the development board needs to be turned into low power mode for better efficiency. Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park Cc: Minkyu Kang --- board/samsung/trats/trats.c | 43 +++ 1 files change

Re: [U-Boot] Cache alignment warnings on Tegra (ARM)

2012-09-14 Thread Simon Glass
Hi, On Wed, Sep 12, 2012 at 4:42 PM, Marek Vasut wrote: > Dear Stephen Warren, > >> On 09/12/2012 04:38 PM, Marek Vasut wrote: >> > Dear Stephen Warren, >> > >> >> On 09/12/2012 10:19 AM, Tom Warren wrote: >> >>> Folks, >> >>> >> >>> Stephen Warren has posted an internal bug regarding the cache >

Re: [U-Boot] Don't get any interrupts once I boot into Linux

2012-09-14 Thread Benoît Thébaudeau
Hi Fabio, Greg, On Friday, September 14, 2012 5:15:17 PM, Fabio Estevam wrote: > On Fri, Sep 14, 2012 at 12:04 PM, Greg Topmiller > wrote: > > I downloaded the V2012.07 version of u-boot from the git.denx.de > > repository and built it for our target. U-boot boots up properly > > and I can use t

Re: [U-Boot] Don't get any interrupts once I boot into Linux

2012-09-14 Thread Benoît Thébaudeau
Hi Stefano, On Friday, September 14, 2012 6:06:16 PM, Benoît Thébaudeau wrote: > Hi Fabio, Greg, > > On Friday, September 14, 2012 5:15:17 PM, Fabio Estevam wrote: > > On Fri, Sep 14, 2012 at 12:04 PM, Greg Topmiller > > wrote: > > > I downloaded the V2012.07 version of u-boot from the git.denx.

Re: [U-Boot] [PATCH] phy: Add support for Marvell 88E1118R

2012-09-14 Thread Joe Hershberger
Hi Michal, On Fri, Sep 14, 2012 at 8:15 AM, Michal Simek wrote: > Hi Tom and Joe, > > > On 08/07/2012 02:23 PM, Michal Simek wrote: >> >> Marvell 88E1118R has different uid then 88E1118. >> >> Signed-off-by: Michal Simek >> CC: Andy Fleming >> CC: Zang Roy-R61911 >> CC: Kumar Gala >> --- >>

[U-Boot] [PATCHv3] ARM: Add Altera SOCFPGA Cyclone5

2012-09-14 Thread dinguyen
From: Dinh Nguyen Add minimal support for Altera's SOCFPGA Cyclone 5 hardware. Applied on top of trini/WIP/spl-improvements v6 Test building edminiv2_config and km_kirkwood_config w/o errors. Signed-off-by: Dinh Nguyen Signed-off-by: Chin Liang See Signed-off-by: Pavel Machek --- MAINTAINER

Re: [U-Boot] Don't get any interrupts once I boot into Linux

2012-09-14 Thread Benoît Thébaudeau
On Friday, September 14, 2012 6:08:15 PM, Greg Topmiller wrote: > Thanks Benoit, > > I also tried changing the uboot V2012.07, file arm/cpu/armv7/timer.c > to use the IPG clock rather than the 32Khz but no difference. OK, as expected. > It looks like the FSL interrupt initialization is in > ar

Re: [U-Boot] [PATCH 1/4 v3] serial: Add Zynq serial driver

2012-09-14 Thread Marek Vasut
Dear Michal Simek, [...] > > MW is closed (Aug. 18) > > ok. Isn't there any "next" branch for this purpose? > I believe it can go at least to custodian arm tree. That's a question for Albert I think. > Thanks, > Michal Best regards, Marek Vasut ___

Re: [U-Boot] [PATCHv3] ARM: Add Altera SOCFPGA Cyclone5

2012-09-14 Thread Marek Vasut
Dear dingu...@altera.com, > From: Dinh Nguyen > > Add minimal support for Altera's SOCFPGA Cyclone 5 hardware. > > Applied on top of trini/WIP/spl-improvements v6 > Test building edminiv2_config and km_kirkwood_config w/o > errors. This doesn't belong into the commit message. > Signed-off-by:

Re: [U-Boot] [PATCHv3] ARM: Add Altera SOCFPGA Cyclone5

2012-09-14 Thread Tom Rini
On Fri, Sep 14, 2012 at 11:02:37AM -0600, dingu...@altera.com wrote: > From: Dinh Nguyen > > Add minimal support for Altera's SOCFPGA Cyclone 5 hardware. [snip] > +/* > + * Write the reset manager register to cause reset > + */ > +__attribute__((noreturn)) void reset_cpu(ulong addr) Please add

Re: [U-Boot] [PATCH 09/16] pmic:fuel-gauge: Support for MAX17042 fuel-gauge

2012-09-14 Thread Tom Rini
On Fri, Sep 14, 2012 at 05:40:08PM +0200, Lukasz Majewski wrote: > Support for MAX17042 fuel-gauge (FG), which is built into the MAX8997 > power management device. > Special file - fg_battery_cell_params.h with cells characteristics > added. [snip] > +#ifndef __FG_BATTERY_CELL_PARAMS_H_ > +#define

Re: [U-Boot] [PATCH 10/16] pmic:max8997: Function for calculating LDO internal register value

2012-09-14 Thread Tom Rini
On Fri, Sep 14, 2012 at 05:40:09PM +0200, Lukasz Majewski wrote: > Function for calculating LDO internal register value from passed micro > Volt. > > Signed-off-by: Lukasz Majewski > Signed-off-by: Kyungmin Park > Cc: Stefano Babic > --- > drivers/misc/pmic_max8997.c | 17 +

[U-Boot] FW: Don't get any interrupts once I boot into Linux

2012-09-14 Thread Greg Topmiller
Thanks Benoit, I also tried changing the uboot V2012.07, file arm/cpu/armv7/timer.c to use the IPG clock rather than the 32Khz but no difference. It looks like the FSL interrupt initialization is in arch/arm/plat-mxc/tzic.c file. I don't see anything obvious. It's not real big. I have a La

Re: [U-Boot] [PATCH 13/16] arm:trats:pmic: Enable fuel-gauge (MAX17042) at Samsung's TRATS board

2012-09-14 Thread Tom Rini
On Fri, Sep 14, 2012 at 05:40:12PM +0200, Lukasz Majewski wrote: > FG IC built into the MAX8997 device (compliant to MAX17042) is enabled > at TRATS. [snip] > +#define CONFIG_POWER_FG > +#define CONFIG_POWER_FG_MAX17042 > #define CONFIG_POWER_MUIC > #define CONFIG_POWER_MUIC_MAX8997 > + > + > #

Re: [U-Boot] Don't get any interrupts once I boot into Linux

2012-09-14 Thread Benoît Thébaudeau
On Friday, September 14, 2012 7:04:14 PM, Greg Topmiller wrote: > SoC: i.MX51 > Board: mx51evk and our own board that is based on the mx51evk. > Linux: FSL version. Perfect, so we are in exactly the same test conditions, except for mx51evk. Can you try mx51evk with U-Boot 2012.07 and mainline Lin

[U-Boot] [PATCH v2 01/11] ARM: fix relocation on ARM926EJS

2012-09-14 Thread José Miguel Gonçalves
Jumping to board_init_r is not performed due to a bug on address computation. Relocation offsets are not needed when building SPL. Signed-off-by: José Miguel Gonçalves --- Changes for v2: - None --- arch/arm/cpu/arm926ejs/start.S |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) di

[U-Boot] [PATCH v2 06/11] rtc: Improve rtc_get() on s3c24x0_rtc

2012-09-14 Thread José Miguel Gonçalves
A better approach to avoid reading the RTC during updates, as sugested in the S3C2416 User's Manual. Signed-off-by: José Miguel Gonçalves --- Changes for v2: - New patch --- drivers/rtc/s3c24x0_rtc.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/drivers/rtc/

[U-Boot] [PATCH v2 05/11] serial: Remove unnecessary delay in serial_s3c24x0

2012-09-14 Thread José Miguel Gonçalves
The loop used to make a delay after baudrate setting is not necessary. Moreover it is removed by the GCC optimizer (at least with GCC 4.6). Signed-off-by: José Miguel Gonçalves --- Changes for v2: - New patch --- drivers/serial/serial_s3c24x0.c |3 --- 1 file changed, 3 deletions(-) diff

[U-Boot] [PATCH v2 07/11] rtc: Fix rtc_reset() on s3c24x0_rtc

2012-09-14 Thread José Miguel Gonçalves
rtc_reset() must set the RTC date to the UNIX Epoch. Signed-off-by: José Miguel Gonçalves --- Changes for v2: - New patch --- drivers/rtc/s3c24x0_rtc.c | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/drivers/rtc/s3c24x0_rtc.c b/drivers/rtc/s3c24x0_rtc.c

[U-Boot] [PATCH v2 00/11] S3C24XX: Add support to MINI2416 board

2012-09-14 Thread José Miguel Gonçalves
Support for the MINI2416 board based on a Samsung's S3C2416 SoC with 64MB DDR2 SDRAM, 256MB NAND Flash, a LAN9220 Ethernet Controller and a WM8731 Audio CODEC. Changes for v2: - Coding style cleanup - Removed new serial and rtc drivers - Use of in-tree serial and rtc drivers José Miguel

[U-Boot] [PATCH v2 04/11] serial: Use a more precise baud rate generation for serial_s3c24x0

2012-09-14 Thread José Miguel Gonçalves
Program udivslot register in order to obtain a more precise baudrate. Signed-off-by: José Miguel Gonçalves --- Changes for v2: - New patch --- drivers/serial/serial_s3c24x0.c | 24 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/drivers/serial/serial_

[U-Boot] [PATCH v2 08/11] rtc: Don't allow setting unsuported years on s3c24x0_rtc

2012-09-14 Thread José Miguel Gonçalves
This RTC only supports a 100 years range so rtc_set() should not allow setting years bellow 1970 or above 2069. Signed-off-by: José Miguel Gonçalves --- Changes for v2: - New patch --- drivers/rtc/s3c24x0_rtc.c |5 + 1 file changed, 5 insertions(+) diff --git a/drivers/rtc/s3c24x0_rt

[U-Boot] [PATCH v2 03/11] serial: Add support to 4 ports in serial_s3c24x0

2012-09-14 Thread José Miguel Gonçalves
S3C2416 and S3C2450 have 4 UARTs insted of 3 found on older chips. This patch adds support to the additional UART port and changes the mapping between CONFIG_SERIAL? and S3C24X0_UART? in order they have a direct correspondence. Signed-off-by: José Miguel Gonçalves --- Changes for v2: - New pat

[U-Boot] [PATCH v2 10/11] Add u-boot-ubl.bin target to the Makefile

2012-09-14 Thread José Miguel Gonçalves
Samsung's S3C24XX SoCs need this in order to generate a binary image with the SPL and U-Boot concatenated. Signed-off-by: José Miguel Gonçalves --- Changes for v2: - None --- Makefile |7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 058fb

[U-Boot] [PATCH v2 02/11] S3C24XX: Add core support for Samsung's S3C24XX SoCs

2012-09-14 Thread José Miguel Gonçalves
This patch adds the support for Samsung's S3C24XX SoCs that have an ARM926EJS core. Currently it supports S3C2412, S3C2413, S3C2416 and S3C2450. Tested on an S3C2416 platform. Signed-off-by: José Miguel Gonçalves --- Changes for v2: - Added register bit macros to avoid magic numbers - Remo

[U-Boot] [PATCH v2 09/11] S3C24XX: Add NAND Flash driver

2012-09-14 Thread José Miguel Gonçalves
NAND Flash driver with HW ECC for the S3C24XX SoCs. Currently it only supports SLC NAND chips. Signed-off-by: José Miguel Gonçalves --- Changes for v2: - Coding style cleanup - Use of clrsetbits_le32() - Use of register bit macros instead of magic numbers --- drivers/mtd/nand/Makefile

[U-Boot] [PATCH v2 11/11] S3C24XX: Add support to MINI2416 board

2012-09-14 Thread José Miguel Gonçalves
The MINI2416 board is based on a Samsung's S3C2416 SoC and has 64MB DDR2 SDRAM, 256MB NAND Flash, a LAN9220 Ethernet Controller and a WM8731 Audio CODEC. This U-Boot port was implemented and tested on a unit bought to Boardcon (http://www.armdesigner.com/) but there are some other chinese providers

Re: [U-Boot] [PATCH 15/16] arm:trats:pmic: Support for charging battery at Samsung's TRATS board

2012-09-14 Thread Tom Rini
On Fri, Sep 14, 2012 at 05:40:14PM +0200, Lukasz Majewski wrote: > The battery connected to Samsung's Trats development board is now > charged when voltage drops below threshold. [snip] > @@ -247,6 +250,40 @@ int power_board_init(void) > pmic_init_max8997(); > power_fg_init(I2C_9); >

Re: [U-Boot] [PATCH 00/16] pmic: Redesign PMIC framework to support multiple instances of devices

2012-09-14 Thread Tom Rini
On Fri, Sep 14, 2012 at 05:39:59PM +0200, Lukasz Majewski wrote: > PMIC framework has been redesigned to support multiple instances of power > related devices > (e.g. fuel gauge, PMICs, chargers, micro USB IC). > > Due to that, code at other architectures and boards have been adjusted > properl

Re: [U-Boot] [PATCH v2 02/11] S3C24XX: Add core support for Samsung's S3C24XX SoCs

2012-09-14 Thread Marek Vasut
Dear José Miguel Gonçalves, It's getting better :) [...] > + > +typedef ulong(*getfreq) (void); Is this used? > +static const getfreq freq_f[] = { const array const members, no? > + get_FCLK, > + get_HCLK, > + get_PCLK, > + get_UCLK, > +}; > + > +static const char freq_c[] =

[U-Boot] [PATCH] common, hush [BUG]: exit not work in hush shell

2012-09-14 Thread Heiko Schocher
running the following script in u-boot: setenv error 'if true; then echo ERROR exit; fi' setenv foo echo "This should not be printed" setenv loadubi setenv updfs 'if true; then echo; echo == Updating rootfs ==; echo; if run

Re: [U-Boot] [PATCH v2 04/11] serial: Use a more precise baud rate generation for serial_s3c24x0

2012-09-14 Thread Marek Vasut
Dear José Miguel Gonçalves, > Program udivslot register in order to obtain a more precise baudrate. More explanatory commit message would be nice. [...] > +static const int udivslot[] = { const array const members, no ? > + 0x, 0x0080, 0x0808, 0x0888, 0x, 0x4924, 0x4A52, 0x54AA, >

Re: [U-Boot] [PATCH v2 05/11] serial: Remove unnecessary delay in serial_s3c24x0

2012-09-14 Thread Marek Vasut
Dear José Miguel Gonçalves, > The loop used to make a delay after baudrate setting is not necessary. > Moreover it is removed by the GCC optimizer (at least with GCC 4.6). > > Signed-off-by: José Miguel Gonçalves Acked-by: Marek Vasut > --- > Changes for v2: >- New patch > --- > drivers/

Re: [U-Boot] [PATCH v2 06/11] rtc: Improve rtc_get() on s3c24x0_rtc

2012-09-14 Thread Marek Vasut
Dear José Miguel Gonçalves, > A better approach to avoid reading the RTC during updates, as sugested in > the S3C2416 User's Manual. > > Signed-off-by: José Miguel Gonçalves > --- > Changes for v2: >- New patch > --- > drivers/rtc/s3c24x0_rtc.c | 10 -- > 1 file changed, 8 inserti

Re: [U-Boot] [PATCH v2 07/11] rtc: Fix rtc_reset() on s3c24x0_rtc

2012-09-14 Thread Marek Vasut
Dear José Miguel Gonçalves, > rtc_reset() must set the RTC date to the UNIX Epoch. Acked-by: Marek Vasut > Signed-off-by: José Miguel Gonçalves > --- > Changes for v2: >- New patch > --- > drivers/rtc/s3c24x0_rtc.c | 15 +++ > 1 file changed, 11 insertions(+), 4 deletions(-)

Re: [U-Boot] [PATCH v2 08/11] rtc: Don't allow setting unsuported years on s3c24x0_rtc

2012-09-14 Thread Marek Vasut
Dear José Miguel Gonçalves, > This RTC only supports a 100 years range so rtc_set() should not allow > setting years bellow 1970 or above 2069. Acked-by: Marek Vasut > Signed-off-by: José Miguel Gonçalves > --- > Changes for v2: >- New patch > --- > drivers/rtc/s3c24x0_rtc.c |5 +

Re: [U-Boot] [PATCH v2 09/11] S3C24XX: Add NAND Flash driver

2012-09-14 Thread Marek Vasut
Dear José Miguel Gonçalves, > NAND Flash driver with HW ECC for the S3C24XX SoCs. > Currently it only supports SLC NAND chips. > > Signed-off-by: José Miguel Gonçalves [...] > +#include > +#include > +#include > +#include > +#include > + > +#define MAX_CHIPS2 > +static int nand_cs[MAX

Re: [U-Boot] [PATCH v2 10/11] Add u-boot-ubl.bin target to the Makefile

2012-09-14 Thread Marek Vasut
Dear José Miguel Gonçalves, > Samsung's S3C24XX SoCs need this in order to generate a binary image > with the SPL and U-Boot concatenated. You aren't adding it, you're modifying it. > Signed-off-by: José Miguel Gonçalves > --- > Changes for v2: >- None > --- > Makefile |7 --- > 1

Re: [U-Boot] [PATCH v2 02/11] S3C24XX: Add core support for Samsung's S3C24XX SoCs

2012-09-14 Thread Marek Vasut
Dear José Miguel Gonçalves, > Hi Marek, > > On 14-09-2012 19:03, Marek Vasut wrote: > > Dear José Miguel Gonçalves, > > > > It's getting better :) > > Hopefully :-) > > > [...] > > > >> + > >> +typedef ulong(*getfreq) (void); > > > > Is this used? > > In the array declaration bellow... Why

Re: [U-Boot] [PATCH 1/7] dm: Add skeleton support for cores and drivers

2012-09-14 Thread Tom Rini
On Tue, Aug 21, 2012 at 06:00:47PM +0200, Marek Vasut wrote: > From: Pavel Herrmann > > Signed-off-by: Pavel Herrmann > Signed-off-by: Marek Vasut More of a commit message please. At least point to the design docs that are now in tree. > +#ifndef _COMMON_DM_TREE_H_ > +#define _COMMON_DM_TRE

Re: [U-Boot] [PATCH] common, hush [BUG]: exit not work in hush shell

2012-09-14 Thread Wolfgang Denk
Dear Heiko Schocher, In message <1347645856-3326-1-git-send-email...@denx.de> you wrote: > running the following script in u-boot: > setenv error 'if true; then > echo ERROR > exit; > fi' I think I once tried to fix this, too. See here: http://article.gmane.org/gmane.co

Re: [U-Boot] [PATCH 0/7] [RFC] Driver model, take 1

2012-09-14 Thread Tom Rini
On Tue, Aug 21, 2012 at 06:00:46PM +0200, Marek Vasut wrote: > I'm submitting hereby the initial code for the driver model. This is a RFC > patch, please give it a spin and scream :-) > > The GPIO api should now use the new approach on the sandbox target. There's > also > "dm" command, that allo

Re: [U-Boot] [PATCH v2 02/11] S3C24XX: Add core support for Samsung's S3C24XX SoCs

2012-09-14 Thread Tom Rini
On Fri, Sep 14, 2012 at 06:28:53PM +0100, Jos?? Miguel Gon??alves wrote: > This patch adds the support for Samsung's S3C24XX SoCs that have an ARM926EJS > core. > Currently it supports S3C2412, S3C2413, S3C2416 and S3C2450. > Tested on an S3C2416 platform. [snip] > +/* > + * Reset the cpu by sett

Re: [U-Boot] [PATCH 10/12] env: acl: Add environment variable access control list

2012-09-14 Thread Wolfgang Denk
Dear Joe Hershberger, In message you wrote: > > I guess you didn't see this the last time I sent it to you off list... I didn't receive any such reply, sorry. Do you have the message ID and/or exact timestanmp of your message? > > - It appears you will store all access related information i

Re: [U-Boot] [PATCH v2 09/11] S3C24XX: Add NAND Flash driver

2012-09-14 Thread José Miguel Gonçalves
On 14-09-2012 19:21, Marek Vasut wrote: Dear José Miguel Gonçalves, NAND Flash driver with HW ECC for the S3C24XX SoCs. Currently it only supports SLC NAND chips. Signed-off-by: José Miguel Gonçalves [...] +#include +#include +#include +#include +#include + +#define MAX_CHIPS 2 +

Re: [U-Boot] [PATCH v2 09/11] S3C24XX: Add NAND Flash driver

2012-09-14 Thread Tom Rini
On Fri, Sep 14, 2012 at 06:29:00PM +0100, Jos?? Miguel Gon??alves wrote: > NAND Flash driver with HW ECC for the S3C24XX SoCs. > Currently it only supports SLC NAND chips. > > Signed-off-by: Jos?? Miguel Gon??alves [snip] > +#ifdef CONFIG_SPL_BUILD > +#define printf(arg...) do {} while (0) > +#e

Re: [U-Boot] [PATCH 1/4 v3] serial: Add Zynq serial driver

2012-09-14 Thread Joe Hershberger
Hi Marek, On Fri, Sep 14, 2012 at 6:00 AM, Marek Vasut wrote: >> > I guess this platform won't make it into .10 release anyway. >> >> Why not? Any reason why these 4 patches should wait till the next release? > > MW is closed (Aug. 18) The first version of this series was sent on Aug 14. http://

  1   2   >