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

2011-09-19 Thread Albert ARIBAUD
Hi Sandeep, Le 19/09/2011 01:39, s-paul...@ti.com a écrit : > Please pull u-boot-ti/next. > I checked all the patches for checkpatch errors. > Also all OMAP3 and OMAP4 built with no issues. > > Thanks, > Sandeep As this is your 'next' branch, there is an ambiguity: can you please indicate if you

Re: [U-Boot] [PATCH] mx1: add mx1/l support for mxc_i2c

2011-09-19 Thread Stefano Babic
On 09/19/2011 08:57 AM, Marek Vasut wrote: > On Monday, August 22, 2011 10:56:43 PM Eric Jarrige wrote: >> Signed-off-by: Eric Jarrige >> Cc: Stefano Babic >> Cc: Heiko Schocher >> @@ -94,6 +98,8 @@ void i2c_init(int speed, int unused) >> /* start the required I2C clock */ >> writel(re

Re: [U-Boot] [PATCH]: davinci: Replace CONFIG_PRELOADER with CONFIG_SPL_BUILD in board/davinci/common/misc.c

2011-09-19 Thread Sughosh Ganu
On Tue Sep 13, 2011 at 06:12:08PM +0530, Sughosh Ganu wrote: > Make the conditional compilation in misc.c based on > CONFIG_SPL_BUILD, replacing CONFIG_PRELOADER which was removed as part > of commit 401bb30b6d. > > Making this change, we no longer need to compile memsize.c for > hawkboard's nand_

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

2011-09-19 Thread Wolfgang Denk
Dear Albert ARIBAUD, In message <4e76ebfd.9060...@aribaud.net> you wrote: > > As this is your 'next' branch, there is an ambiguity: can you please > indicate if you want me to pull this into my 'next' or 'master' branch? > > If on master, I assume you want me to also send out a pull request to

Re: [U-Boot] [PATCH 5/5 v1] integrator: make flash writeable on boot

2011-09-19 Thread Linus Walleij
On Sun, Sep 18, 2011 at 3:24 PM, Wolfgang Denk wrote: > I think this is a misunderstanding of terms.  When we try to > identify the flash type and geomentry in the CFI driver, we do send > certain commands to the flash, and read the returned data.  This > "sending commands" includes write cycles

Re: [U-Boot] [PATCH 5/5 v1] integrator: make flash writeable on boot

2011-09-19 Thread Linus Walleij
On Sun, Sep 18, 2011 at 10:26 AM, Mike Frysinger wrote: > On Sunday, September 18, 2011 03:52:58 Linus Walleij wrote: >>  board/armltd/integrator/integrator.c |   15 >>  include/arm-ebi.h                    |   62 >> ++ 2 files changed, 77 insertions(+), 0

[U-Boot] [PATCH] net/bootp.c: fix tftp load if autoload environment var isn't set

2011-09-19 Thread Peter Korsgaard
Commit 093498669 (Put common autoload code into auto_load() function) broke handling of autoload environment variable not being set. The bootp/dhcp code will just keep on requesting IP address forever and never start TFTP download. Fix it by moving TftpStart() outside the conditional like it was b

Re: [U-Boot] [PATCH] armv7: only call save_boot_params for OMAP

2011-09-19 Thread Simon Schwarz
Hi Aneesh, I did this Patch because of an error with an SPL build of smdkv310. This board doesn't even build with the normal configuration but the SPL patches add more errors (I did some BUILDALL testing). So the question: Should we care for an already broken board or just leave the matter to

[U-Boot] [PATCH 5/6 v2] integrator: make flash writeable on boot

2011-09-19 Thread Linus Walleij
This reconfigures the EBI (External Bus Interface) on the integrator so that chip select 1, handling the flash memory, is set to writeable. Without this it is not possible for U-Boot to access flash memory and it crashes on startup since CFI won't work properly. Since this is the first time we use

Re: [U-Boot] [PATCH v3] Add USB support for Efika

2011-09-19 Thread Stefano Babic
On 09/18/2011 04:19 AM, Jana Rapava wrote: > From: Marek Vasut > > This commit adds USB support for EfikaMX and EfikaSB. > > Signed-off-by: Marek Vasut > Signed-off-by: Jana Rapava > --- > Changes for v2: > - changed to proper patch > Changes for v3: > - merged other USB patches f

[U-Boot] [PATCH] Devkit8000: Change console from ttyS2 to ttyO2

2011-09-19 Thread Thomas Weber
The omap serial names have changed from ttySx to ttyOx, so the console should be also changed to support this. Signed-off-by: Thomas Weber --- include/configs/devkit8000.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/configs/devkit8000.h b/include/configs/dev

Re: [U-Boot] smc911x not functional on top of tree

2011-09-19 Thread Helmut Raiger
On 09/15/2011 09:39 PM, Fabio Estevam wrote: > Hi, > > When using U-boot from top of tree I am not able to get networking to > work on a mx31pdk: > > uboot> dhcp > smc911x: detected LAN9217 controller > smc911x: phy initialized > smc911x: MAC 00:04:9f:00:8d:6e > BOOTP broadcast 1 > BOOTP broadcast

Re: [U-Boot] [PATCH] MX31: Improve readability for reset cause

2011-09-19 Thread Stefano Babic
On 09/16/2011 04:01 PM, Fabio Estevam wrote: > Currently the reset cause is printed like: > CPU: Freescale i.MX31 rev 2.0 at 531 MHz.Reset cause: POR > > Improve readability by adding a new line like it is done on other i.MX boards. > > Signed-off-by: Fabio Estevam > --- > arch/arm/cpu/arm113

Re: [U-Boot] smc911x not functional on top of tree

2011-09-19 Thread Stefano Babic
On 09/19/2011 11:20 AM, Helmut Raiger wrote: > On 09/15/2011 09:39 PM, Fabio Estevam wrote: >> Hi, >> >> When using U-boot from top of tree I am not able to get networking to >> work on a mx31pdk: >> >> uboot> dhcp >> smc911x: detected LAN9217 controller >> smc911x: phy initialized >> smc911x: MAC

Re: [U-Boot] [PATCH 2/2] mx31pdk: Change the prompt as per other i.MX boards

2011-09-19 Thread Stefano Babic
On 09/16/2011 01:18 AM, Fabio Estevam wrote: > Change the prompt as done in other i.MX boards. > > Signed-off-by: Fabio Estevam > --- Hi Fabio, > include/configs/mx31pdk.h |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/include/configs/mx31pdk.h b/include/config

Re: [U-Boot] [PATCH 3/4] MX5: Clean up the output of "clocks" command

2011-09-19 Thread Stefano Babic
On 09/15/2011 02:09 AM, Marek Vasut wrote: > The new output looks like this: >> clocks > PLL1800 MHz > PLL2665 MHz > PLL3216 MHz > > AHB 133000 kHz > IPG 66500 kHz > IPG PERCLK 665000 kHz > > Signed-off-by: Marek Vasut > --- Thanks cleani

Re: [U-Boot] [PATCH 4/4] I2C: mxc_i2c rework

2011-09-19 Thread Stefano Babic
On 09/15/2011 02:09 AM, Marek Vasut wrote: > Rewrite the mxc_i2c driver. > * This version is much closer to Linux implementation. > * Fixes IPG_PERCLK being incorrectly used as clock source > * Fixes behaviour of the driver on iMX51 > * Clean up coding style a bit ;-) > > Signed-off-by: Marek

Re: [U-Boot] [PATCH v3] Add USB support for Efika

2011-09-19 Thread Marek Vasut
On Monday, September 19, 2011 10:43:14 AM Stefano Babic wrote: > On 09/18/2011 04:19 AM, Jana Rapava wrote: > > From: Marek Vasut > > > > This commit adds USB support for EfikaMX and EfikaSB. > > > > Signed-off-by: Marek Vasut > > Signed-off-by: Jana Rapava > > --- [...] > > + > > + > > +#if

Re: [U-Boot] [PATCH 4/4] I2C: mxc_i2c rework

2011-09-19 Thread Marek Vasut
On Monday, September 19, 2011 12:11:55 PM Stefano Babic wrote: > On 09/15/2011 02:09 AM, Marek Vasut wrote: > > Rewrite the mxc_i2c driver. > > > > * This version is much closer to Linux implementation. > > * Fixes IPG_PERCLK being incorrectly used as clock source > > * Fixes behaviour of the d

[U-Boot] [PATCH 0/2] Add EfikaSB support

2011-09-19 Thread Marek Vasut
This patchset extends the EfikaMX port by adding support for Efika Smartbook. Marek Vasut (2): EfikaMX: Add imximage config for Efika SB EfikaSB: Add preliminary EfikaSB support board/efikamx/efikamx.c | 57 ++- board/efikamx/imximage.cfg| 122 ---

[U-Boot] [PATCH 1/2] EfikaMX: Add imximage config for Efika SB

2011-09-19 Thread Marek Vasut
Signed-off-by: Marek Vasut Cc: Stefano Babic --- board/efikamx/imximage.cfg| 122 - board/efikamx/imximage_mx.cfg | 122 + board/efikamx/imximage_sb.cfg | 122 + boards.

[U-Boot] [PATCH 2/2] EfikaSB: Add preliminary EfikaSB support

2011-09-19 Thread Marek Vasut
Signed-off-by: Marek Vasut Cc: Stefano Babic --- board/efikamx/efikamx.c | 57 +++--- 1 files changed, 53 insertions(+), 4 deletions(-) diff --git a/board/efikamx/efikamx.c b/board/efikamx/efikamx.c index 0f84ae0..33fbc86 100644 --- a/board/efikamx/efik

[U-Boot] [PATCH 3/4] Armada100: Add SPI flash support for Marvell gplugD

2011-09-19 Thread Ajay Bhargav
This patch enables Atmel AT45 SPI flash support for Marvell gplugD Enables SF commands. Signed-off-by: Ajay Bhargav --- include/configs/gplugd.h |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/include/configs/gplugd.h b/include/configs/gplugd.h index 527a0c8..260a1dc

[U-Boot] [PATCH 1/4] SPI: Add SPI driver support for Marvell Armada100

2011-09-19 Thread Ajay Bhargav
This patch provides support for SPI emulated over SSP for Marvell Armada100 SOC. Signed-off-by: Ajay Bhargav --- arch/arm/include/asm/arch-armada100/spi.h | 111 drivers/spi/Makefile |1 + drivers/spi/armada100_spi.c | 205 +++

[U-Boot] [PATCH 4/4] Armada100: Add env storage support for Marvell gplugD

2011-09-19 Thread Ajay Bhargav
This patch adds support for envrionment varaible storage in SPI flash for Marvell gplugD. Signed-off-by: Ajay Bhargav --- include/configs/gplugd.h | 10 -- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/include/configs/gplugd.h b/include/configs/gplugd.h index 260a1dc..

[U-Boot] [PATCH 2/4] Armada100: Add SPI support for Marvell gplugD

2011-09-19 Thread Ajay Bhargav
This patch add SPI driver support for Marvell gplugD. Signed-off-by: Ajay Bhargav --- arch/arm/include/asm/arch-armada100/armada100.h | 19 +++ arch/arm/include/asm/arch-armada100/mfp.h |6 ++ board/Marvell/gplugd/gplugd.c | 12 in

Re: [U-Boot] [PATCH 1/4] SPI: Add SPI driver support for Marvell Armada100

2011-09-19 Thread Marek Vasut
On Monday, September 19, 2011 12:47:07 PM Ajay Bhargav wrote: > This patch provides support for SPI emulated over SSP for Marvell > Armada100 SOC. > > Signed-off-by: Ajay Bhargav > --- > arch/arm/include/asm/arch-armada100/spi.h | 111 > drivers/spi/Makefile

Re: [U-Boot] [PATCH 1/4] SPI: Add SPI driver support for Marvell Armada100

2011-09-19 Thread Ajay Bhargav
- "Marek Vasut" wrote: > On Monday, September 19, 2011 12:47:07 PM Ajay Bhargav wrote: > > This patch provides support for SPI emulated over SSP for Marvell > > Armada100 SOC. > > > > Signed-off-by: Ajay Bhargav > > --- > > arch/arm/include/asm/arch-armada100/spi.h | 111

Re: [U-Boot] [PATCH 1/4] SPI: Add SPI driver support for Marvell Armada100

2011-09-19 Thread Marek Vasut
[..] > Hi Marek, > > I will fix that :) any more comments? Hi, Naw, looks good otherwise. Cheers > > Regards, > Ajay Bhargav ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] smc911x not functional on top of tree

2011-09-19 Thread Helmut Raiger
On 09/19/2011 11:20 AM, Helmut Raiger wrote: > On > I can confirm this issue, same with our i.MX31 board. Interestingly the > tftpboot command works, so its probably a DHCP issue. > > Helmut Bisecting the problem, got me: 093498669e77597635a24f326f11efeab213d394 is the first bad commit commit 093

Re: [U-Boot] [PATCH] Fix incorrect array size of phy settings for 405EX

2011-09-19 Thread Stefan Roese
Hi Bernhard, On Thursday 08 September 2011 18:27:38 Weirich, Bernhard wrote: > Hello, > > I just noticed that on 405EX the bd_t->bi_phy* arrays have just 1 member, > but should have two. So I propose this very simple patch. > > Best regards, > Bernhard Weirich > > Signed-off-by: Bernhard Weiric

Re: [U-Boot] [PATCH] ppc4xx: Flush dcache after DDR2 autocalibration with caches on

2011-09-19 Thread Stefan Roese
On Friday 16 September 2011 12:54:58 Stefan Roese wrote: > Flush the dcache before removing the TLB with caches enabled. > Otherwise this might lead to problems later on, e.g. while booting > Linux (as seen on ICON-440SPe). Applied to u-boot-ppc4xx/master. Best regards, Stefan -- DENX Software E

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

2011-09-19 Thread Stefan Roese
Hi Wolfgang, please pull the following two ppc4xx fixes: The following changes since commit 56fa45d58116f86f343a9c45ce6d1110f50b8d70: DA830: Fix Build Warning (2011-09-13 22:24:24 +0200) are available in the git repository at: git://www.denx.de/git/u-boot-ppc4xx.git master Stefan Roese (1)

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

2011-09-19 Thread Albert ARIBAUD
Hi Wofgang, Le 19/09/2011 09:47, Wolfgang Denk a écrit : > Dear Albert ARIBAUD, > > In message<4e76ebfd.9060...@aribaud.net> you wrote: >> >> As this is your 'next' branch, there is an ambiguity: can you please >> indicate if you want me to pull this into my 'next' or 'master' branch? >> >> If on

[U-Boot] [PATCH] net: fix a regression in bootp.c

2011-09-19 Thread Helmut Raiger
This fixes a bug introduced by 093498669e77597635a24f326f11efeab213d394. TftpStart() was not called unless the 'autoload' environment variable was set. Signed-off-by: Helmut Raiger --- net/bootp.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/net/bootp.c b/net/bootp.

Re: [U-Boot] smc911x not functional on top of tree

2011-09-19 Thread Peter Korsgaard
> "Helmut" == Helmut Raiger writes: Helmut> On 09/19/2011 11:20 AM, Helmut Raiger wrote: >> On >> I can confirm this issue, same with our i.MX31 board. Interestingly the >> tftpboot command works, so its probably a DHCP issue. >> >> Helmut Helmut> Bisecting the problem, got me: Hel

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

2011-09-19 Thread Peter Korsgaard
> "Mike" == Mike Frysinger writes: Mike> Now that we've got boards.cfg and most people have converted over, Mike> start warning people who have yet to so we can phase board configs Mike> completely out of the Makefile. Mike> Signed-off-by: Mike Frysinger Mike> --- Mike> mkconfig |

Re: [U-Boot] [PATCH 1/2] EfikaMX: Add imximage config for Efika SB

2011-09-19 Thread Stefano Babic
On 09/19/2011 12:42 PM, Marek Vasut wrote: > Signed-off-by: Marek Vasut > Cc: Stefano Babic > --- > board/efikamx/imximage.cfg| 122 > - > board/efikamx/imximage_mx.cfg | 122 > + > board/efikamx/imximage_sb.

[U-Boot] [PATCH V5 0/6] SPL Linux boot

2011-09-19 Thread Simon Schwarz
Adds direct Linux boot to SPL. It implements a spl export command to save ATAGS or FDT to NAND flash. The kernel image has to be in place for this! Changes in V5: - Rebased on u-boot-ti - fixed MAKEALL warnings and errors - adapted to general gpio interface based on: - The new SPL layout - OMAP

[U-Boot] [PATCH V5 1/6] removed static from images in cmd_bootm.c

2011-09-19 Thread Simon Schwarz
This removes static modifier from cmd_bootm.c to make it public and usable by savebp Signed-off-by: Simon Schwarz --- common/cmd_bootm.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c index 8909ee7..cec6e7b 100644 --- a/common/cm

[U-Boot] [PATCH V5 3/6] devkit8000/spl: init GPMC for dm9000 in SPL

2011-09-19 Thread Simon Schwarz
Linux crashes if the GPMC isn't configured for the dm9000. Signed-off-by: Simon Schwarz --- V2 changes: nothing V3 changes: nothing --- arch/arm/include/asm/omap_common.h |2 ++ board/timll/devkit8000/devkit8000.c | 31 +++ 2 files changed, 25 insertions(+),

[U-Boot] [PATCH V5 4/6] omap-common/spl: Add linux boot to SPL

2011-09-19 Thread Simon Schwarz
This adds Linux booting to the SPL This depends on CONFIG_MACH_TYPE patch by Igor Grinberg (http://article.gmane.org/gmane.comp.boot-loaders.u-boot/105809) Related CONFIGs: CONFIG_SPL_OS_BOOT Activates/Deactivates the OS booting feature CONFIG_SPL_OS_BOOT_KEY defines the IO-pin nu

[U-Boot] [PATCH V5 5/6] omap-common: Add NAND SPL linux booting

2011-09-19 Thread Simon Schwarz
This implements booting of Linux from NAND in SPL Related config parameters: CONFIG_SYS_NAND_SPL_KERNEL_OFFS Offset in NAND of direct boot kernel image to use in SPL CONFIG_SYS_SPL_ARGS_ADDR Address where the kernel boot arguments are expected - this is normally RAM-start +

[U-Boot] [PATCH V5 2/6] Add cmd_spl command

2011-09-19 Thread Simon Schwarz
This adds a spl command to the u-boot. Related config: CONFIG_CMD_CPL activate/deactivate the command CONFIG_CMD_SPL_NAND_OFS Offset in NAND to use Signed-off-by: Simon Schwarz --- V2 changes: CHG corrected bootm call. Now bootm is called with five parameters including A

[U-Boot] [PATCH V5 6/6] omap-common: fixes BSS overwriting problem

2011-09-19 Thread Simon Schwarz
spl_nand overwrote BSS section because it reads a whole block everytime. Now loads the block to spare area and just copy the needed junk to destination. Whole block read is necessary for ecc check! Signed-off-by: Simon Schwarz --- V2 changes: nothing V3 changes: nothing --- arch/arm/cpu/armv7/

[U-Boot] [PATCH V3] arm: Add Prep subcommand support to bootm

2011-09-19 Thread Simon Schwarz
Adds prep subcommand to bootm implementation of ARM. When bootm is called with the subcommand prep the function stops right after ATAGS creation and before announce_and_cleanup. This is used in command "cmd_spl export" Signed-off-by: Simon Schwarz --- V2 changes: nothing V3 changes: nothing c

Re: [U-Boot] [PATCH] net/bootp.c: fix tftp load if autoload environment var isn't set

2011-09-19 Thread Fabio Estevam
On Mon, Sep 19, 2011 at 4:54 AM, Peter Korsgaard wrote: > Commit 093498669 (Put common autoload code into auto_load() function) > broke handling of autoload environment variable not being set. > The bootp/dhcp code will just keep on requesting IP address forever > and never start TFTP download. >

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

2011-09-19 Thread Mike Frysinger
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 Frysinger --- v2 - fix typo in warning msg mkconfig |9 + 1 files changed, 9 insertions(+

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

2011-09-19 Thread Wolfgang Denk
Dear Mike Frysinger, In message <1316441157-24823-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 Frys

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

2011-09-19 Thread Paulraj, Sandeep
> > Hi Wofgang, > > Le 19/09/2011 09:47, Wolfgang Denk a écrit : > > Dear Albert ARIBAUD, > > > > In message<4e76ebfd.9060...@aribaud.net> you wrote: > >> > >> As this is your 'next' branch, there is an ambiguity: can you please > >> indicate if you want me to pull this into my 'next' or 'mast

Re: [U-Boot] [PATCH 1/4] SPI: Add SPI driver support for Marvell Armada100

2011-09-19 Thread Mike Frysinger
On Monday, September 19, 2011 06:47:07 Ajay Bhargav wrote: > --- /dev/null > +++ b/arch/arm/include/asm/arch-armada100/spi.h > > +struct armd_spi_slave { > + struct spi_slave slave; > + struct ssp_reg *spi_reg; > + u32 cr0, cr1; > + u32 int_cr1; > + u32 clear_sr; > + const v

Re: [U-Boot] [PATCH] punt unused clean/distclean targets

2011-09-19 Thread Mike Frysinger
On Monday, September 19, 2011 02:54:35 Wolfgang Denk wrote: > Mike Frysinger wrote: > > if it wasn't clear in my last e-mail, i want to move in the direction of > > .mk files that the top level would include them and thus all the > > specific cruft would be kept there > > Why should we do that? >

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

2011-09-19 Thread Mike Frysinger
On Monday, September 19, 2011 10:14:46 Wolfgang Denk wrote: > Mike Frysinger 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 Frysinge

Re: [U-Boot] [PATCH] net/bootp.c: fix tftp load if autoload environment var isn't set

2011-09-19 Thread Simon Glass
Hi Peter, On Mon, Sep 19, 2011 at 6:47 AM, Fabio Estevam wrote: > On Mon, Sep 19, 2011 at 4:54 AM, Peter Korsgaard wrote: >> Commit 093498669 (Put common autoload code into auto_load() function) >> broke handling of autoload environment variable not being set. >> The bootp/dhcp code will just ke

Re: [U-Boot] [PATCH 1/2] mx31pdk: Disable watchdog

2011-09-19 Thread Fabio Estevam
Hi Stefano, On Fri, Sep 16, 2011 at 4:46 AM, Stefano Babic wrote: > On 09/16/2011 01:18 AM, Fabio Estevam wrote: > > Hi Fabio, > >> When booting a mainline kernel on a mx31pdk the system gets getting resets >> from the watchdog. >> >> As the kernel has watchdog support, disable it from U-boot. >

[U-Boot] [RFC 0/2] Generic PMIC driver

2011-09-19 Thread Lukasz Majewski
Dear all, I'd like to propose a new approach for PMIC generic driver. In my opinion following issues needs discussion: 1. In proposed int pmic_reg_read(struct pmic *p, u32 *val) the val is returned by pointer. Now at fsl_pmic.c read value is returned by return clause. I think, that passing poi

[U-Boot] [RFC 1/2] misc:pmic New generic pmic driver

2011-09-19 Thread Lukasz Majewski
This commit adds new PMIC core driver PMIC IC devices connected via I2C or SPI can be used. Signed-off-by: Lukasz Majewski --- arch/arm/lib/board.c |5 + drivers/misc/Makefile|1 + drivers/misc/pmic_core.c | 236 ++ include/pmic.h

[U-Boot] [RFC 2/2] misc:pmic:max8998: Support for max8998 pmic

2011-09-19 Thread Lukasz Majewski
This commit enables the max8998 PMIC to run with pmic_core.c generic driver. Signed-off-by: Lukasz Majewski --- board/samsung/goni/goni.c | 18 + include/configs/s5p_goni.h |3 ++ include/max8998_pmic.h | 84 3 files changed, 105

Re: [U-Boot] [PATCH] net/bootp.c: fix tftp load if autoload environment var isn't set

2011-09-19 Thread Peter Korsgaard
> "Simon" == Simon Glass writes: Hi, Simon> I think we just had this discussion at the end of August. It Simon> would be good to get to the bottom of why this commit is Simon> considered a change of behaviour - it is something subtle that I Simon> cannot see. Because with that commit it

Re: [U-Boot] [PATCH] net/bootp.c: fix tftp load if autoload environment var isn't set

2011-09-19 Thread Simon Glass
Hi Peter, On Mon, Sep 19, 2011 at 8:29 AM, Peter Korsgaard wrote: >> "Simon" == Simon Glass writes: > > Hi, > >  Simon> I think we just had this discussion at the end of August. It >  Simon> would be good to get to the bottom of why this commit is >  Simon> considered a change of behaviour -

Re: [U-Boot] [PATCH 1/2] mx31pdk: Disable watchdog

2011-09-19 Thread Stefano Babic
On 09/19/2011 05:04 PM, Fabio Estevam wrote: > Hi Stefano, > > On Fri, Sep 16, 2011 at 4:46 AM, Stefano Babic wrote: >> On 09/16/2011 01:18 AM, Fabio Estevam wrote: >> >> Hi Fabio, >> >>> When booting a mainline kernel on a mx31pdk the system gets getting resets >>> from the watchdog. >>> >>> As

Re: [U-Boot] [PATCH 1/2] mx31pdk: Disable watchdog

2011-09-19 Thread Fabio Estevam
On Mon, Sep 19, 2011 at 1:24 PM, Stefano Babic wrote: ... > It works, the board does not get reset (of course, it is required to > trigger at least once the watchdog under the kernel). I send my > Tested-by to linux-arm. Yes, looks like on my mx31pdk the kernel never services the watchdog. Will

Re: [U-Boot] [PATCH 1/2] mx31pdk: Disable watchdog

2011-09-19 Thread Fabio Estevam
Hi Stefano, On Mon, Sep 19, 2011 at 1:57 PM, Fabio Estevam wrote: > On Mon, Sep 19, 2011 at 1:24 PM, Stefano Babic wrote: > ... >> It works, the board does not get reset (of course, it is required to >> trigger at least once the watchdog under the kernel). I send my >> Tested-by to linux-arm. I

[U-Boot] [PATCH] MX31: Disable watchdog during low-power modes

2011-09-19 Thread Fabio Estevam
Turn on the watchdog WDZST bit so that watchdog timer does not count during low power modes. Prior to applying this patch mx31pdk board got watchdog resets because when it booted in the Linux prompt and there was no activity, the system entered into idle mode while watchdog timer was still acti

Re: [U-Boot] [PATCH 27/31] M28: Save environment in NAND

2011-09-19 Thread Scott Wood
On 09/17/2011 03:20 AM, Marek Vasut wrote: > On Friday, September 16, 2011 09:15:12 PM Scott Wood wrote: >> Consider using CONFIG_ENV_RANGE to allow for bad blocks. > > How does this actually play with CONFIG_MTDPARTS ? I don't think there's any direct interaction between the environment code and

Re: [U-Boot] [PATCH 2/2 RESEND] SPL: Allow user to disable CPU support library

2011-09-19 Thread Scott Wood
On 09/16/2011 05:48 PM, Marek Vasut wrote: > On Saturday, September 17, 2011 12:07:52 AM Scott Wood wrote: >> You have no idea why I'd like to be extremely selective with what I >> include in a 4K binary? > > That I do understand -- but that kind of selection is there. >> >> It's not about avoidin

Re: [U-Boot] [PATCH] punt unused clean/distclean targets

2011-09-19 Thread Scott Wood
On 09/19/2011 01:54 AM, Wolfgang Denk wrote: > Dear Mike Frysinger, > > In message <201109190059.55664.vap...@gentoo.org> you wrote: >> >> if it wasn't clear in my last e-mail, i want to move in the direction of .mk >> files that the top level would include them and thus all the specific cruft >

[U-Boot] start.S

2011-09-19 Thread maheen butt
Hi I'm newbie in the boot loader world. I'm trying to learning the  source code for porting purpose. U-boot  start execution from start.S.I want to know that which part  of start.S jump to c code? and what is first function comes  after start.S? Thanks   ___

Re: [U-Boot] start.S

2011-09-19 Thread Christopher Harvey
On 09/19/11 14:28, maheen butt wrote: > Hi > I'm newbie in the boot loader world. I'm trying to learning the > source code for porting purpose. U-boot > start execution from start.S.I want to know that which part > of start.S jump to c code? and what is first function comes > after start.S? > > Tha

Re: [U-Boot] [STATUS] [ARM] Status for last 13 unclean-building ARM boards

2011-09-19 Thread Michael Schwingen
Am 09/17/2011 10:12 AM, schrieb Albert ARIBAUD: > (board maintainers in CC:) > > Hi all, > > There remains 13 boards listed as having warnings or errors at this > point in a ./MAKEALL arm: > > - SUMMARY > Boards compiled: 242 > Boards with warnings o

[U-Boot] [PATCH 1/2 V2] EfikaMX: Add imximage config for Efika SB

2011-09-19 Thread Marek Vasut
Signed-off-by: Marek Vasut Cc: Stefano Babic --- MAINTAINERS |1 + board/efikamx/imximage.cfg| 122 - board/efikamx/imximage_mx.cfg | 122 + board/efikamx/imximage_sb.cfg | 122 ++

[U-Boot] [PATCH] Add support for IDS8313 boards

2011-09-19 Thread Sergej.Stepanov
This patch adds support for IDS8313 boards based on MPC8313 It contains the following components: - both of TSEC's, NOR- and NAND flash, I2C, SPI Signed-off-by: Sergej Stepanov Signed-off-by: Rolf Riehle -- board/ids/ids8313/Makefile | 52 board/ids/ids8313/ids8313.c | 179

[U-Boot] serial ifdef mess

2011-09-19 Thread Mike Frysinger
On Sunday, September 18, 2011 09:08:35 Graeme Russ wrote: > I mean, it irks me to no end that /common/serial.c, /drivers/serial.c and > /include/serial.h are such an ugly mess of #ifdef's - I'm working on a new > SoC at the moment, and it just plain weird that I have to touch these :( well, there'

Re: [U-Boot] [PATCH] mx1: add mx1/l support for mxc_i2c

2011-09-19 Thread stefano babic
Am 19/09/2011 22:34, schrieb Eric Jarrige: > Hi Stefano, > > On 19 sept. 2011, at 09:26, Stefano Babic wrote: > Hi Eric, >> On 09/19/2011 08:57 AM, Marek Vasut wrote: >>> On Monday, August 22, 2011 10:56:43 PM Eric Jarrige wrote: Signed-off-by: Eric Jarrige Cc: Stefano Babic Cc: H

Re: [U-Boot] [PATCH] Add support for IDS8313 boards

2011-09-19 Thread Wolfgang Denk
Dear sergej.stepa...@ids.de, In message <4206182445660643B9AEB8D4E55BBD0A15399F40A4@HERMES2> you wrote: > This patch adds support for IDS8313 boards based on MPC8313 > It contains the following components: > - both of TSEC's, NOR- and NAND flash, I2C, SPI > > Signed-off-by: Sergej Stepanov > Sig

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

2011-09-19 Thread Wolfgang Denk
Dear Stefan Roese, In message <201109191401.44473...@denx.de> you wrote: > Hi Wolfgang, > > please pull the following two ppc4xx fixes: > > The following changes since commit 56fa45d58116f86f343a9c45ce6d1110f50b8d70: > > DA830: Fix Build Warning (2011-09-13 22:24:24 +0200) > > are available

Re: [U-Boot] [PATCH] net/bootp.c: fix tftp load if autoload environment var isn't set

2011-09-19 Thread Wolfgang Denk
Dear Peter Korsgaard, In message <1316418886-13495-1-git-send-email-jac...@sunsite.dk> you wrote: > Commit 093498669 (Put common autoload code into auto_load() function) > broke handling of autoload environment variable not being set. > The bootp/dhcp code will just keep on requesting IP address f

Re: [U-Boot] [PATCH 2/2 RESEND] SPL: Allow user to disable CPU support library

2011-09-19 Thread Marek Vasut
On Monday, September 19, 2011 08:13:45 PM Scott Wood wrote: > On 09/16/2011 05:48 PM, Marek Vasut wrote: > > On Saturday, September 17, 2011 12:07:52 AM Scott Wood wrote: > >> You have no idea why I'd like to be extremely selective with what I > >> include in a 4K binary? > > > > That I do underst

Re: [U-Boot] [PATCH] mx1: add mx1/l support for mxc_i2c

2011-09-19 Thread Eric Jarrige
Hi Stefano, On 19 sept. 2011, at 09:26, Stefano Babic wrote: > On 09/19/2011 08:57 AM, Marek Vasut wrote: >> On Monday, August 22, 2011 10:56:43 PM Eric Jarrige wrote: >>> Signed-off-by: Eric Jarrige >>> Cc: Stefano Babic >>> Cc: Heiko Schocher >>> @@ -94,6 +98,8 @@ void i2c_init(int speed, in

Re: [U-Boot] serial ifdef mess

2011-09-19 Thread Graeme Russ
Hi Mike, On Tue, Sep 20, 2011 at 6:57 AM, Mike Frysinger wrote: > On Sunday, September 18, 2011 09:08:35 Graeme Russ wrote: >> I mean, it irks me to no end that /common/serial.c, /drivers/serial.c and >> /include/serial.h are such an ugly mess of #ifdef's - I'm working on a new >> SoC at the mome

Re: [U-Boot] serial ifdef mess

2011-09-19 Thread Mike Frysinger
On Monday, September 19, 2011 20:41:20 Graeme Russ wrote: > Hi Mike, > > On Tue, Sep 20, 2011 at 6:57 AM, Mike Frysinger wrote: > > On Sunday, September 18, 2011 09:08:35 Graeme Russ wrote: > >> I mean, it irks me to no end that /common/serial.c, /drivers/serial.c > >> and /include/serial.h are s

Re: [U-Boot] serial ifdef mess

2011-09-19 Thread Graeme Russ
Hi Mike, On Tue, Sep 20, 2011 at 10:52 AM, Mike Frysinger wrote: > On Monday, September 19, 2011 20:41:20 Graeme Russ wrote: >> Hi Mike, >> >> On Tue, Sep 20, 2011 at 6:57 AM, Mike Frysinger wrote: >> > On Sunday, September 18, 2011 09:08:35 Graeme Russ wrote: >> >> I mean, it irks me to no end

[U-Boot] Job Opportunities

2011-09-19 Thread Chevron
Dear Applicant, This is to inform you that we have many Employment Opportunities openings in CHEVRON OIL COMPANY LIMITED UK, CLUK , UNITED KINGDOM the management has decided to fill up all the positions with foreign international reputable and experienced. These are the benefits: 1. Five Bedroo

[U-Boot] [PATCH 13/15 V3] iMX28: Add support for DENX M28EVK board

2011-09-19 Thread Marek Vasut
This contains support for the following components: - DUART - MMC - Both FEC interfaces - NAND - I2C (RTC, EEPROM) - SPI (FLASH) Signed-off-by: Marek Vasut Cc: Stefano Babic Cc: Wolfgang Denk Cc: Detlev Zundel Cc: Scott Wood --- MAINTAINERS|1 + board/denx/m28evk/Makefile

[U-Boot] [PATCH 4/4 V3] I2C: mxc_i2c rework

2011-09-19 Thread Marek Vasut
Rewrite the mxc_i2c driver. * This version is much closer to Linux implementation. * Fixes IPG_PERCLK being incorrectly used as clock source * Fixes behaviour of the driver on iMX51 * Clean up coding style a bit ;-) Signed-off-by: Marek Vasut --- drivers/i2c/mxc_i2c.c | 422

[U-Boot] [PATCH 4/4 V4] I2C: mxc_i2c rework

2011-09-19 Thread Marek Vasut
Rewrite the mxc_i2c driver. * This version is much closer to Linux implementation. * Fixes IPG_PERCLK being incorrectly used as clock source * Fixes behaviour of the driver on iMX51 * Clean up coding style a bit ;-) Signed-off-by: Marek Vasut Cc: Stefano Babic Cc: Heiko Schocher Cc: Jason H

Re: [U-Boot] [PATCH] MX31: Disable watchdog during low-power modes

2011-09-19 Thread Marek Vasut
On Monday, September 19, 2011 07:51:10 PM Fabio Estevam wrote: > Turn on the watchdog WDZST bit so that watchdog timer does not count during > low power modes. > > Prior to applying this patch mx31pdk board got watchdog resets because when > it booted in the Linux prompt and there was no activity,

Re: [U-Boot] serial ifdef mess

2011-09-19 Thread Simon Glass
Hi Graeme & Mike, On Mon, Sep 19, 2011 at 6:07 PM, Graeme Russ wrote: > Hi Mike, > > On Tue, Sep 20, 2011 at 10:52 AM, Mike Frysinger wrote: >> On Monday, September 19, 2011 20:41:20 Graeme Russ wrote: >>> Hi Mike, >>> >>> On Tue, Sep 20, 2011 at 6:57 AM, Mike Frysinger wrote: >>> > On Sunday,

Re: [U-Boot] serial ifdef mess

2011-09-19 Thread Mike Frysinger
On Monday, September 19, 2011 21:07:48 Graeme Russ wrote: > a) Use a particular serial driver directly - perfect if you have only one >serial port (or don't care about the others) yes. this is what we have today with !SERIAL_MULTI. every serial driver implements serial_{init,puts,putc,tstc,

Re: [U-Boot] serial ifdef mess

2011-09-19 Thread Mike Frysinger
On Tuesday, September 20, 2011 00:28:30 Simon Glass wrote: > On Mon, Sep 19, 2011 at 6:07 PM, Graeme Russ wrote: > > a) Use a particular serial driver directly - perfect if you have only one > > serial port (or don't care about the others) > > Do we really want this? Is the code overhead of SERI

Re: [U-Boot] start.S

2011-09-19 Thread maheen butt
my target board is mips so which part of start.S jump to c code? and what is first function comes after start.S? what is it in case of ARM? From: Christopher Harvey To: u-boot@lists.denx.de Sent: Monday, September 19, 2011 11:54 PM Subject: Re: [U-Boot] start.S

Re: [U-Boot] serial ifdef mess

2011-09-19 Thread Graeme Russ
Hi Simon, On Tue, Sep 20, 2011 at 2:28 PM, Simon Glass wrote: > Hi Graeme & Mike, > > On Mon, Sep 19, 2011 at 6:07 PM, Graeme Russ wrote: >> Hi Mike, >> >> On Tue, Sep 20, 2011 at 10:52 AM, Mike Frysinger wrote: >>> On Monday, September 19, 2011 20:41:20 Graeme Russ wrote: Hi Mike, >>

Re: [U-Boot] start.S

2011-09-19 Thread Marek Vasut
On Tuesday, September 20, 2011 07:02:15 AM maheen butt wrote: > my target board is mips so > which part > of start.S jump to c code? and what is first function comes after start.S? 1) Please stop top-posting ... 2) board_init_f seems like it. > > what is it in case of ARM? board_init_f as well.

Re: [U-Boot] start.S

2011-09-19 Thread Manoj Kumar
hi, i am working on an arm board (smdk6410) the first function called in C code is "start_armboot" in file board.c(lib_arm) On Tue, Sep 20, 2011 at 1:02 PM, maheen butt wrote: > my target board is mips so > which part > of start.S jump to c code? and what is first function comes after start.S? >

Re: [U-Boot] [PATCH] armv7: only call save_boot_params for OMAP

2011-09-19 Thread Aneesh V
Hi Simon, On Monday 19 September 2011 01:32 PM, Simon Schwarz wrote: > Hi Aneesh, > > I did this Patch because of an error with an SPL build of smdkv310. > > This board doesn't even build with the normal configuration but the SPL > patches add more errors (I did some BUILDALL testing). > > So t

Re: [U-Boot] start.S

2011-09-19 Thread maheen butt
From: Marek Vasut To: u-boot@lists.denx.de; maheen butt Cc: Christopher Harvey Sent: Tuesday, September 20, 2011 10:45 AM Subject: Re: [U-Boot] start.S On Tuesday, September 20, 2011 07:02:15 AM maheen butt wrote: > my target board is mips so > which part >

[U-Boot] SMDK6400 regression (was: Please pull u-boot-ti/next)

2011-09-19 Thread Albert ARIBAUD
Le 19/09/2011 16:21, Paulraj, Sandeep a écrit : > > >> >> Hi Wofgang, >> >> Le 19/09/2011 09:47, Wolfgang Denk a écrit : >>> Dear Albert ARIBAUD, >>> >>> In message<4e76ebfd.9060...@aribaud.net> you wrote: As this is your 'next' branch, there is an ambiguity: can you please indicat

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

2011-09-19 Thread Albert ARIBAUD
Le 19/09/2011 01:39, s-paul...@ti.com a écrit : > Please pull u-boot-ti/next. > I checked all the patches for checkpatch errors. > Also all OMAP3 and OMAP4 built with no issues. > > Thanks, > Sandeep > > The following changes since commit 3522ad62864669b335b85f5abcd136a84bbb7519: >Ajay Bhargav