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

2012-10-09 Thread Lukasz Majewski
Hi Tom, > On Tue, Oct 09, 2012 at 01:34:35PM +0200, Stefano Babic wrote: > > On 09/10/2012 12:25, Lukasz Majewski wrote: > [snip] > > >> We use often the "weak" mechanism to avoid that a board > > >> maintainer is constrained to implement an empty function only to > > >> make happy the linker. It

Re: [U-Boot] [PATCH 3/4] EXYNOS: additional Exynos4 SoC series support

2012-10-09 Thread Minkyu Kang
Dear Jeong-Hyeon Kim, On 29 August 2012 12:28, wrote: > From: Jeong-Hyeon Kim > > - Fixed MPLL register address > It's different between Exynos4210 and Exynos4412. > > - Added pinmux functions for Exynos4 > > - Added extended gpios for Exynos4412 > Exynos4412 has more gpios than Exynos4210.

Re: [U-Boot] U-Boot git usage model

2012-10-09 Thread Albert ARIBAUD
Hi Stephen, On Tue, 09 Oct 2012 17:04:06 -0600, Stephen Warren wrote: > On 10/09/2012 04:19 PM, Albert ARIBAUD wrote: > > Apart from this, I'm not sure why forbidding fast-forward is a good > > thing, but if there are benefits, why not. > > It provides documentation in the git history of when

Re: [U-Boot] [PATCH] arm: trats: Power down core 1

2012-10-09 Thread Kyungmin Park
FYI: Piotr and Lukasz are working together for samsung board. Minkyu, can you pick up this patch? Thank you, Kyungmin Park > -Original Message- > From: Albert ARIBAUD [mailto:albert.u.b...@aribaud.net] > Sent: Wednesday, October 10, 2012 2:07 AM > To: Piotr Wilczek > Cc: u-boot@lists.den

Re: [U-Boot] [PATCH V3 17/32] imximage.cfg: run files through C preprocessor

2012-10-09 Thread Troy Kisky
On 10/8/2012 6:38 AM, Stefano Babic wrote: On 04/10/2012 03:47, Troy Kisky wrote: The '#' used as comments in the files cause the preprocessor trouble, so change to /* */. Signed-off-by: Troy Kisky --- Hi Troy, Makefile |3 +- board/esg/ima3-mx53/i

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

2012-10-09 Thread Josh Wu
Hi, Andreas On 10/10/2012 5:51 AM, Andreas Bießmann wrote: Hi Josh, On 09.10.12 12:11, Josh Wu wrote: Hi, Andreas Any feedback of these patches? short answer: no ;) I think they could go into next (no obvious objections), but I would like to do some runtime tests on avr32 before. Beside tha

Re: [U-Boot] [PATCH] h2200: Make use of default_serial_console

2012-10-09 Thread Marek Vasut
Dear Lukasz Dalek, > Define CONFIG_CONS_INDEX to use ffuart as default console and fix > compilation error related to undefined CONFIG_CONS_INDEX. > > Signed-off-by: Lukasz Dalek Acked-by: Marek Vasut > --- > include/configs/h2200.h |1 + > 1 files changed, 1 insertions(+), 0 deletions(-

Re: [U-Boot] U-Boot git usage model

2012-10-09 Thread Scott Wood
On 10/09/2012 06:25:47 PM, Stephen Warren wrote: On 10/09/2012 05:00 PM, Scott Wood wrote: > On 10/09/2012 05:14:23 PM, Stephen Warren wrote: >> I don't quite follow that; linux-next is also purely merge-based. Are >> you referring to the fact that it's re-created every day, and the >> source

[U-Boot] [PATCH] h2200: Make use of default_serial_console

2012-10-09 Thread Lukasz Dalek
Define CONFIG_CONS_INDEX to use ffuart as default console and fix compilation error related to undefined CONFIG_CONS_INDEX. Signed-off-by: Lukasz Dalek --- include/configs/h2200.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/configs/h2200.h b/include/configs/h

Re: [U-Boot] h2200 fails to build on current u-boot/next

2012-10-09 Thread Łukasz Dałek
On 10.10.2012 00:27, Albert ARIBAUD wrote: Hi Łukasz, On Tue, 9 Oct 2012 14:45:33 -0700, Tom Rini wrote: On Tue, Oct 09, 2012 at 05:34:13PM +0200, Albert ARIBAUD wrote: Hi Tom, The following changes since commit 661c21dd46e857b74682b0610d83cfea7f3ac3c2: usb.h: Add udc_disconnect protot

Re: [U-Boot] [PATCH V2 3/3] FAT: implement fat_set_blk_dev(), convert cmd_fat.c

2012-10-09 Thread Stephen Warren
On 10/09/2012 05:06 PM, Benoît Thébaudeau wrote: > Hi Stephen, > > See my comments inlined below. > > On Tuesday, October 9, 2012 10:41:41 PM, Stephen Warren wrote: >> This makes the FAT filesystem API more consistent with other >> block-based >> filesystems. If in the future standard multi-files

Re: [U-Boot] KernelDoc

2012-10-09 Thread Marek Vasut
Dear Tom Rini, > On Mon, Oct 01, 2012 at 12:37:26PM +0200, Marek Vasut wrote: > > Dear Wolfgang Denk, > > > > > Dear Marek Vasut, > > > > > > In message <201210011107.45164.ma...@denx.de> you wrote: > > > > Agreed, not the whole file. But, can you check the rules I tried to > > > > outline? > >

Re: [U-Boot] U-Boot git usage model

2012-10-09 Thread Stephen Warren
On 10/09/2012 05:00 PM, Scott Wood wrote: > On 10/09/2012 05:14:23 PM, Stephen Warren wrote: >> On 10/09/2012 03:32 PM, Tom Rini wrote: >> > On Tue, Oct 09, 2012 at 03:03:28PM -0600, Stephen Warren wrote: >> >> On 10/09/2012 08:23 AM, Tom Rini wrote: >> >>> On Sun, Oct 07, 2012 at 08:49:00PM +0200,

Re: [U-Boot] [PATCH 3/9] x86: Allow excluding reset handling code from u-boot.

2012-10-09 Thread Graeme Russ
Hi Simon, On Wed, Oct 10, 2012 at 10:11 AM, Simon Glass wrote: > > Looks good - yes I will prepare a new series to send likely on Thursday. > > Not that it matters for now, but who will define INCLUDE_X86_RESET_VECTOR? It's calculated in the Makefile as an inversion of CONFIG_X86_NO_RESET_VECT

Re: [U-Boot] U-Boot git usage model

2012-10-09 Thread Graeme Russ
Hi Tom, On Wed, Oct 10, 2012 at 9:59 AM, Tom Rini wrote: > On Tue, Oct 09, 2012 at 04:14:23PM -0600, Stephen Warren wrote: >> On 10/09/2012 03:32 PM, Tom Rini wrote: >> > On Tue, Oct 09, 2012 at 03:03:28PM -0600, Stephen Warren wrote: >> >> On 10/09/2012 08:23 AM, Tom Rini wrote: >> >>> On Sun, O

Re: [U-Boot] [PATCH 3/9] x86: Allow excluding reset handling code from u-boot.

2012-10-09 Thread Simon Glass
Hi Graeme, On Tue, Oct 9, 2012 at 3:58 PM, Graeme Russ wrote: > Hi Simon, > > On Wed, Oct 10, 2012 at 8:15 AM, Simon Glass wrote: > diff --git a/arch/x86/cpu/resetvec.S b/arch/x86/cpu/resetvec.S index 44aee5f..5b359ff 100644 --- a/arch/x86/cpu/resetvec.S +++ b/arch/x86/cpu/re

Re: [U-Boot] U-Boot git usage model

2012-10-09 Thread Stephen Warren
On 10/09/2012 04:59 PM, Tom Rini wrote: > On Tue, Oct 09, 2012 at 04:14:23PM -0600, Stephen Warren wrote: >> On 10/09/2012 03:32 PM, Tom Rini wrote: >>> On Tue, Oct 09, 2012 at 03:03:28PM -0600, Stephen Warren >>> wrote: On 10/09/2012 08:23 AM, Tom Rini wrote: > On Sun, Oct 07, 2012 at 08:

Re: [U-Boot] U-Boot git usage model

2012-10-09 Thread Stephen Warren
On 10/09/2012 04:19 PM, Albert ARIBAUD wrote: > Hi Tom, > > On Tue, 9 Oct 2012 14:32:08 -0700, Tom Rini wrote: > >> On Tue, Oct 09, 2012 at 03:03:28PM -0600, Stephen Warren wrote: >>> On 10/09/2012 08:23 AM, Tom Rini wrote: On Sun, Oct 07, 2012 at 08:49:00PM +0200, Marek Vasut wrote: >

Re: [U-Boot] U-Boot git usage model

2012-10-09 Thread Graeme Russ
Hi Albert, On Wed, Oct 10, 2012 at 9:43 AM, Albert ARIBAUD wrote: > Hi Stephen, > > On Tue, 09 Oct 2012 16:14:23 -0600, Stephen Warren > wrote: > >> This actually turns out to be less work for custodians if there aren't >> any dependencies between patch series, since whenever you send a pull >>

Re: [U-Boot] [PATCH V2 3/3] FAT: implement fat_set_blk_dev(), convert cmd_fat.c

2012-10-09 Thread Benoît Thébaudeau
Hi Stephen, See my comments inlined below. On Tuesday, October 9, 2012 10:41:41 PM, Stephen Warren wrote: > This makes the FAT filesystem API more consistent with other > block-based > filesystems. If in the future standard multi-filesystem commands such > as > "ls" or "load" are implemented, hav

Re: [U-Boot] U-Boot git usage model

2012-10-09 Thread Scott Wood
On 10/09/2012 05:14:23 PM, Stephen Warren wrote: On 10/09/2012 03:32 PM, Tom Rini wrote: > On Tue, Oct 09, 2012 at 03:03:28PM -0600, Stephen Warren wrote: >> On 10/09/2012 08:23 AM, Tom Rini wrote: >>> On Sun, Oct 07, 2012 at 08:49:00PM +0200, Marek Vasut wrote: >>> NOTE: I get a few more si

Re: [U-Boot] U-Boot git usage model

2012-10-09 Thread Tom Rini
On Tue, Oct 09, 2012 at 04:14:23PM -0600, Stephen Warren wrote: > On 10/09/2012 03:32 PM, Tom Rini wrote: > > On Tue, Oct 09, 2012 at 03:03:28PM -0600, Stephen Warren wrote: > >> On 10/09/2012 08:23 AM, Tom Rini wrote: > >>> On Sun, Oct 07, 2012 at 08:49:00PM +0200, Marek Vasut wrote: > >>> >

Re: [U-Boot] [PATCH 3/9] x86: Allow excluding reset handling code from u-boot.

2012-10-09 Thread Graeme Russ
Hi Simon, On Wed, Oct 10, 2012 at 8:15 AM, Simon Glass wrote: >>> diff --git a/arch/x86/cpu/resetvec.S b/arch/x86/cpu/resetvec.S >>> index 44aee5f..5b359ff 100644 >>> --- a/arch/x86/cpu/resetvec.S >>> +++ b/arch/x86/cpu/resetvec.S >>> @@ -25,6 +25,10 @@ >>> >>> /* Reset vector, jumps to start16

Re: [U-Boot] [PATCH 0/4 V2] Implant kernel-doc from Linux kernel

2012-10-09 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/09/12 15:37, Marek Vasut wrote: > Dear Tom Rini, > >> On Sun, Sep 30, 2012 at 02:21:31AM +0200, Marek Vasut wrote: >>> This patch series implants slightly modified kernel-doc >>> documentation generator from Linux kernel into U-Boot. First >>>

Re: [U-Boot] KernelDoc

2012-10-09 Thread Tom Rini
On Mon, Oct 01, 2012 at 12:37:26PM +0200, Marek Vasut wrote: > Dear Wolfgang Denk, > > > Dear Marek Vasut, > > > > In message <201210011107.45164.ma...@denx.de> you wrote: > > > Agreed, not the whole file. But, can you check the rules I tried to > > > outline? > > > > Is there a summary somewher

[U-Boot] [PATCH] ARM926: Add mb to the cache invalidate/flush

2012-10-09 Thread Marek Vasut
Add memory barrier to cache invalidate and flush calls. Signed-off-by: Marek Vasut CC: Albert Aribaud Cc: Fabio Estevam Cc: Otavio Salvador Cc: Stefano Babic --- arch/arm/cpu/arm926ejs/cache.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/arch/arm/cpu/arm92

Re: [U-Boot] U-Boot git usage model

2012-10-09 Thread Albert ARIBAUD
Hi Stephen, On Tue, 09 Oct 2012 16:14:23 -0600, Stephen Warren wrote: > This actually turns out to be less work for custodians if there aren't > any dependencies between patch series, since whenever you send a pull > request right now, you do: > > a) Fetch latest upstream. > b) Rebase onto it.

[U-Boot] [PATCH] FEC: Rework RX buffer init

2012-10-09 Thread Marek Vasut
Rework the RX buffer init so that it's easier to understand. Firstly, allocate the whole RX buffer as one large continuous piece of memory. Also, drop all these writel() accessors used on the FEC RX DMA descriptor, since it's all flat bogus. Finally, this makes recoverable stalls of the FEC on i.M

Re: [U-Boot] [PATCH 0/4 V2] Implant kernel-doc from Linux kernel

2012-10-09 Thread Marek Vasut
Dear Tom Rini, > On Sun, Sep 30, 2012 at 02:21:31AM +0200, Marek Vasut wrote: > > This patch series implants slightly modified kernel-doc documentation > > generator from Linux kernel into U-Boot. First patch pulls in all the > > necessary components with minor modifications made to them to work w

Re: [U-Boot] [PATCH 0/4 V2] Implant kernel-doc from Linux kernel

2012-10-09 Thread Tom Rini
On Sun, Sep 30, 2012 at 02:21:31AM +0200, Marek Vasut wrote: > This patch series implants slightly modified kernel-doc documentation > generator from Linux kernel into U-Boot. First patch pulls in all the > necessary components with minor modifications made to them to work with > the layout of U-B

[U-Boot] h2200 fails to build on current u-boot/next (was: Pull request: u-boot-arm/next into u-boot/next)

2012-10-09 Thread Albert ARIBAUD
Hi Łukasz, On Tue, 9 Oct 2012 14:45:33 -0700, Tom Rini wrote: > On Tue, Oct 09, 2012 at 05:34:13PM +0200, Albert ARIBAUD wrote: > > > Hi Tom, > > > > The following changes since commit 661c21dd46e857b74682b0610d83cfea7f3ac3c2: > > > > usb.h: Add udc_disconnect prototype to usb.h (2012-10-08

Re: [U-Boot] Pull request: u-boot-arm/next into u-boot/next

2012-10-09 Thread Tom Rini
On Tue, Oct 09, 2012 at 05:34:13PM +0200, Albert ARIBAUD wrote: > Hi Tom, > > The following changes since commit 661c21dd46e857b74682b0610d83cfea7f3ac3c2: > > usb.h: Add udc_disconnect prototype to usb.h (2012-10-08 18:01:17 -0700) > > are available in the git repository at: > > git://git.

Re: [U-Boot] [PATCH 67/72] serial: Unconditionally enable CONFIG_SERIAL_MULTI

2012-10-09 Thread Allen Martin
On Tue, Oct 09, 2012 at 03:15:40PM -0700, Stephen Warren wrote: > On 10/09/2012 04:13 PM, Tom Rini wrote: > > On 10/09/12 15:09, Stephen Warren wrote: > >> On 10/09/2012 03:38 PM, Tom Rini wrote: > >>> On Tue, Oct 09, 2012 at 02:33:51PM -0600, Stephen Warren wrote: > On 09/29/2012 03:53 PM, Ma

Re: [U-Boot] U-Boot git usage model (was: Re: [PULL] u-boot-usb/next)

2012-10-09 Thread Albert ARIBAUD
Hi Tom, On Tue, 9 Oct 2012 14:32:08 -0700, Tom Rini wrote: > On Tue, Oct 09, 2012 at 03:03:28PM -0600, Stephen Warren wrote: > > On 10/09/2012 08:23 AM, Tom Rini wrote: > > > On Sun, Oct 07, 2012 at 08:49:00PM +0200, Marek Vasut wrote: > > > > > >> NOTE: I get a few more size issues with ELDK 4

Re: [U-Boot] [PATCH 67/72] serial: Unconditionally enable CONFIG_SERIAL_MULTI

2012-10-09 Thread Stephen Warren
On 10/09/2012 04:13 PM, Tom Rini wrote: > On 10/09/12 15:09, Stephen Warren wrote: >> On 10/09/2012 03:38 PM, Tom Rini wrote: >>> On Tue, Oct 09, 2012 at 02:33:51PM -0600, Stephen Warren wrote: On 09/29/2012 03:53 PM, Marek Vasut wrote: > Enable CONFIG_SERIAL_MULTI for all builds of U-Boot

Re: [U-Boot] [PATCH 67/72] serial: Unconditionally enable CONFIG_SERIAL_MULTI

2012-10-09 Thread Stephen Warren
On 10/09/2012 03:38 PM, Tom Rini wrote: > On Tue, Oct 09, 2012 at 02:33:51PM -0600, Stephen Warren wrote: >> On 09/29/2012 03:53 PM, Marek Vasut wrote: >>> Enable CONFIG_SERIAL_MULTI for all builds of U-Boot. That >>> includes both SPL builds and non-SPL builds, everything. To >>> avoid poluting th

Re: [U-Boot] U-Boot git usage model

2012-10-09 Thread Stephen Warren
On 10/09/2012 03:32 PM, Tom Rini wrote: > On Tue, Oct 09, 2012 at 03:03:28PM -0600, Stephen Warren wrote: >> On 10/09/2012 08:23 AM, Tom Rini wrote: >>> On Sun, Oct 07, 2012 at 08:49:00PM +0200, Marek Vasut wrote: >>> NOTE: I get a few more size issues with ELDK 4.2 on IXP (that big-endi

Re: [U-Boot] [PATCH 67/72] serial: Unconditionally enable CONFIG_SERIAL_MULTI

2012-10-09 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/09/12 15:09, Stephen Warren wrote: > On 10/09/2012 03:38 PM, Tom Rini wrote: >> On Tue, Oct 09, 2012 at 02:33:51PM -0600, Stephen Warren wrote: >>> On 09/29/2012 03:53 PM, Marek Vasut wrote: Enable CONFIG_SERIAL_MULTI for all builds of U-Boo

Re: [U-Boot] [PATCH] yaffs2: Fix GCC 4.6 compile warnings

2012-10-09 Thread Tom Rini
On Tue, Oct 09, 2012 at 02:08:13PM -0500, Scott Wood wrote: > On 10/09/2012 01:51:14 PM, Tom Rini wrote: > >On Tue, Oct 09, 2012 at 01:09:22PM -0500, Scott Wood wrote: > >> On 10/06/2012 11:59:17 AM, Albert ARIBAUD wrote: > >> >Hi Anatolij, > >> > > >> >On Sat, 6 Oct 2012 11:31:03 +0200, Anatolij

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

2012-10-09 Thread Andreas Bießmann
Hi Josh, On 09.10.12 12:11, Josh Wu wrote: > Hi, Andreas > > Any feedback of these patches? short answer: no ;) I think they could go into next (no obvious objections), but I would like to do some runtime tests on avr32 before. Beside that, if you do not insist on applying them ASAP to next I w

Re: [U-Boot] Pull request: u-boot-arm/next into u-boot/next

2012-10-09 Thread Tom Rini
On Tue, Oct 09, 2012 at 05:34:13PM +0200, Albert ARIBAUD wrote: > Hi Tom, > > The following changes since commit 661c21dd46e857b74682b0610d83cfea7f3ac3c2: > > usb.h: Add udc_disconnect prototype to usb.h (2012-10-08 18:01:17 -0700) > > are available in the git repository at: > > git://git.

Re: [U-Boot] [PATCH 67/72] serial: Unconditionally enable CONFIG_SERIAL_MULTI

2012-10-09 Thread Tom Rini
On Tue, Oct 09, 2012 at 02:33:51PM -0600, Stephen Warren wrote: > On 09/29/2012 03:53 PM, Marek Vasut wrote: > > Enable CONFIG_SERIAL_MULTI for all builds of U-Boot. That includes > > both SPL builds and non-SPL builds, everything. To avoid poluting > > this patch with removal of ifdef-endif constr

Re: [U-Boot] U-Boot git usage model (was: Re: [PULL] u-boot-usb/next)

2012-10-09 Thread Tom Rini
On Tue, Oct 09, 2012 at 03:03:28PM -0600, Stephen Warren wrote: > On 10/09/2012 08:23 AM, Tom Rini wrote: > > On Sun, Oct 07, 2012 at 08:49:00PM +0200, Marek Vasut wrote: > > > >> NOTE: I get a few more size issues with ELDK 4.2 on IXP (that > >> big-endian ARM) after this patchset is applied. I w

Re: [U-Boot] [PATCH v3] add nand spl boot for qi_lb60 board

2012-10-09 Thread Daniel Schwierzeck
2012/10/9 Tom Rini : > On Tue, Oct 09, 2012 at 04:28:05PM +0800, xian...@openmobilefree.net wrote: > >> From: Xiangfu Liu >> >> * After create u-boot-spl.bin. it needs those 4 commands create final image >> for jz4740 cpu. >> >> dd if=spl/u-boot-spl.bin of=u-boot-nand.bin conv=sync bs=8

Re: [U-Boot] [PATCH 3/9] x86: Allow excluding reset handling code from u-boot.

2012-10-09 Thread Simon Glass
Hi Graeme, On Wed, Oct 3, 2012 at 6:01 PM, Graeme Russ wrote: > Hi Simon, > > At first I thought this patch dealt with the 'board reset' code but > then realised it deals with the 'reset vector' - Can you fix the patch > subject please Will do. > > On Thu, Oct 4, 2012 at 10:39 AM, Simon Glass

[U-Boot] U-Boot git usage model (was: Re: [PULL] u-boot-usb/next)

2012-10-09 Thread Stephen Warren
On 10/09/2012 08:23 AM, Tom Rini wrote: > On Sun, Oct 07, 2012 at 08:49:00PM +0200, Marek Vasut wrote: > >> NOTE: I get a few more size issues with ELDK 4.2 on IXP (that >> big-endian ARM) after this patchset is applied. I wonder if we >> shouldn't just throw these away, since they're dead code mo

[U-Boot] [PATCH V2 3/3] FAT: implement fat_set_blk_dev(), convert cmd_fat.c

2012-10-09 Thread Stephen Warren
From: Stephen Warren This makes the FAT filesystem API more consistent with other block-based filesystems. If in the future standard multi-filesystem commands such as "ls" or "load" are implemented, having FAT work the same way as other filesystems will be necessary. Convert cmd_fat.c to the new

[U-Boot] [PATCH V2 2/3] FAT: make use of disk_partition_t.part

2012-10-09 Thread Stephen Warren
From: Stephen Warren This removes the standalone cur_part_nr variable, opening the way to replacing fat_register_device() with fat_set_blk_dev(). Note that when get_partition_info() fails and we use the entire disk, the correct partition number is 0 (whole disk) not 1 (first partition), so that

[U-Boot] [PATCH V2 1/3] part: add partition number to disk_partition_t

2012-10-09 Thread Stephen Warren
From: Stephen Warren The FAT filesystem code knows which partition ID it is operating on. Currently, this is passed to fat_register_device() as a parameter. In order to convert FAT to the more standardized fat_set_blk_dev(), the information needs to come from somewhere else, and the partition def

Re: [U-Boot] [PATCH 67/72] serial: Unconditionally enable CONFIG_SERIAL_MULTI

2012-10-09 Thread Stephen Warren
On 09/29/2012 03:53 PM, Marek Vasut wrote: > Enable CONFIG_SERIAL_MULTI for all builds of U-Boot. That includes > both SPL builds and non-SPL builds, everything. To avoid poluting > this patch with removal of ifdef-endif constructions containing > CONFIG_SERIAL_MULTI, the CONFIG_SERIAL_MULTI is tem

Re: [U-Boot] [PATCH] ARM: prevent misaligned array inits -- PLEASE DISREGARD.

2012-10-09 Thread Albert ARIBAUD
This patch has been sent without a proper Vx indication. Resending. Amicalement, -- Albert. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH V6] [RESEND] ARM: prevent misaligned array inits

2012-10-09 Thread Albert ARIBAUD
Under option -munaligned-access, gcc can perform local char or 16-bit array initializations using misaligned native accesses which will throw a data abort exception. Fix files where these array initializations were unneeded, and for files known to contain such initializations, enforce gcc option -m

[U-Boot] [PATCH] ARM: prevent misaligned array inits

2012-10-09 Thread Albert ARIBAUD
Under option -munaligned-access, gcc can perform local char or 16-bit array initializations using misaligned native accesses which will throw a data abort exception. Fix files where these array initializations were unneeded, and for files known to contain such initializations, enforce gcc option -m

[U-Boot] [PATCH V5] ARM: prevent misaligned array inits

2012-10-09 Thread Albert ARIBAUD
Under option -munaligned-access, gcc can perform local char or 16-bit array initializations using misaligned native accesses which will throw a data abort exception. Fix files where these array initializations were unneeded, and for files known to contain such initializations, enforce gcc option -m

Re: [U-Boot] [PATCH] yaffs2: Fix GCC 4.6 compile warnings

2012-10-09 Thread Scott Wood
On 10/09/2012 01:51:14 PM, Tom Rini wrote: On Tue, Oct 09, 2012 at 01:09:22PM -0500, Scott Wood wrote: > On 10/06/2012 11:59:17 AM, Albert ARIBAUD wrote: > >Hi Anatolij, > > > >On Sat, 6 Oct 2012 11:31:03 +0200, Anatolij Gustschin > >wrote: > > > >> Fix: > >> yaffs_guts.c: In function 'yaffs

Re: [U-Boot] [PATCH V4] ARM: prevent misaligned array inits

2012-10-09 Thread Tom Rini
On Tue, Oct 09, 2012 at 08:42:26PM +0200, Albert ARIBAUD wrote: > Hi Tom, > > On Tue, 9 Oct 2012 11:34:11 -0700, Tom Rini wrote: > > > On Mon, Oct 08, 2012 at 09:50:18PM +0200, Albert ARIBAUD wrote: > > > > > Under option -munaligned-access, gcc can perform local char > > > or 16-bit array init

Re: [U-Boot] [PATCH] yaffs2: Fix GCC 4.6 compile warnings

2012-10-09 Thread Tom Rini
On Tue, Oct 09, 2012 at 01:09:22PM -0500, Scott Wood wrote: > On 10/06/2012 11:59:17 AM, Albert ARIBAUD wrote: > >Hi Anatolij, > > > >On Sat, 6 Oct 2012 11:31:03 +0200, Anatolij Gustschin > >wrote: > > > >> Fix: > >> yaffs_guts.c: In function 'yaffs_check_chunk_erased': > >> yaffs_guts.c:324:6: w

Re: [U-Boot] [PATCH V4] ARM: prevent misaligned array inits

2012-10-09 Thread Albert ARIBAUD
Hi Tom, On Tue, 9 Oct 2012 11:34:11 -0700, Tom Rini wrote: > On Mon, Oct 08, 2012 at 09:50:18PM +0200, Albert ARIBAUD wrote: > > > Under option -munaligned-access, gcc can perform local char > > or 16-bit array initializations using misaligned native > > accesses which will throw a data abort e

Re: [U-Boot] [PATCH V4] ARM: prevent misaligned array inits

2012-10-09 Thread Tom Rini
On Mon, Oct 08, 2012 at 09:50:18PM +0200, Albert ARIBAUD wrote: > Under option -munaligned-access, gcc can perform local char > or 16-bit array initializations using misaligned native > accesses which will throw a data abort exception. Fix files > where these array initializations were unneeded, a

Re: [U-Boot] [PATCH] yaffs2: Fix GCC 4.6 compile warnings

2012-10-09 Thread Scott Wood
On 10/06/2012 11:59:17 AM, Albert ARIBAUD wrote: Hi Anatolij, On Sat, 6 Oct 2012 11:31:03 +0200, Anatolij Gustschin wrote: > Fix: > yaffs_guts.c: In function 'yaffs_check_chunk_erased': > yaffs_guts.c:324:6: warning: variable 'result' set but not used > [-Wunused-but-set-variable] [snip] Te

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

2012-10-09 Thread Tom Rini
On Tue, Oct 09, 2012 at 01:34:35PM +0200, Stefano Babic wrote: > On 09/10/2012 12:25, Lukasz Majewski wrote: [snip] > >> We use often the "weak" mechanism to avoid that a board maintainer is > >> constrained to implement an empty function only to make happy the > >> linker. It is better to declare

[U-Boot] [PATCH V2] fs: fat: Fix mkcksum() function parameters

2012-10-09 Thread Marek Vasut
The mkcksum() function now takes one parameter, the pointer to 11-byte wide character array, which it then operates on. Currently, the function is wrongly passed (dir_entry)->name, which is only 8-byte wide character array. Though by further inspecting the dir_entry structure, it can be noticed th

Re: [U-Boot] common: cmd_bdinfo: fix type of value in print_lnum

2012-10-09 Thread Tom Rini
On Wed, Oct 03, 2012 at 08:36:11AM -, Daniel Schwierzeck wrote: > From: Daniel Schwierzeck > > This fixes a warning when compiling with ELDK-5.2.1 for MIPS64: > > cmd_bdinfo.c: In function 'print_lnum': > cmd_bdinfo.c:56:2: warning: format '%llX' expects argument of type 'long long > unsig

Re: [U-Boot] [U-Boot,v2] tools: Add cleanpatch

2012-10-09 Thread Tom Rini
On Fri, Sep 28, 2012 at 03:36:14AM -, Fabio Estevam wrote: > There are some errors reported by checkpatch.pl that can be easily cleaned up > by > using the cleanpatch tool. > > Import the cleanpatch script from linux kernel 3.5.4 stable version as from > the > following commit: > > commi

Re: [U-Boot] MAKEALL: add a -C/--check option to enable build checking

2012-10-09 Thread Tom Rini
On Thu, Sep 27, 2012 at 02:57:34PM -, Kim Phillips wrote: > thanks to Tom Rini for the good idea. > > Signed-off-by: Kim Phillips Applied to u-boot/next, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boo

Re: [U-Boot] add check infrastructure, default sparse

2012-10-09 Thread Tom Rini
On Fri, Sep 21, 2012 at 12:28:17PM -, Kim Phillips wrote: > Add support for running source code checkers on u-boot source, e.g., > using sparse to aid with typechecking. This comes in especially > handy as SoC vendors mix and match cores and devices with different > endianness, thus here we a

Re: [U-Boot] patman: Handle checkpatch.pl not providing file/line info

2012-10-09 Thread Tom Rini
On Thu, Sep 27, 2012 at 03:33:46PM -, Simon Glass wrote: > Sometimes we don't get a valid filename or line number from checkpatch.pl, > for example if the patch is in a bad format. Deal with this by using a > default value, rather than a stack trace. > > Signed-off-by: Simon Glass Applied t

Re: [U-Boot] patman: Support Series-name tag to name a series

2012-10-09 Thread Tom Rini
On Thu, Sep 27, 2012 at 03:06:02PM -, Simon Glass wrote: > Sometimes it is possible to forget the name of the branch you used to > generate an upstream series. To assist with this, add an optional > patman does not use this. > > Signed-off-by: Simon Glass Applied to u-boot/next, thanks! --

Re: [U-Boot] [PATCH v1 0/9] block: Fix some inconsistencies in block_{read, write} implementors

2012-10-09 Thread Tom Rini
On Sat, Sep 29, 2012 at 01:51:47PM -0700, Tom Rini wrote: > Hey all, > > I ran into this problem while testing Pavel Herrmann's patch to move > externs to . To fix these problems I've taken over the patch. > Pavel's patch makes all of the sata drivers include , and this > exposed a number of bui

Re: [U-Boot] [PATCH 05/10] split CPC45 board-specific IDE functions from cmd_ide.c

2012-10-09 Thread Marek Vasut
Dear Pavel Herrmann, > On Sunday 07 of October 2012 20:20:08 Marek Vasut wrote: > > Dear Pavel Herrmann, > > > > > Move input_data() and friends to board/cpc45/ide.c, as overrides for > > > weak aliases in cmd_ide.c > > > > > > note: checkpatch emits warnings about using volatile > > > > > > Si

Re: [U-Boot] [PATCH 0/4] Keyboard input improvements

2012-10-09 Thread Tom Rini
On Thu, Sep 27, 2012 at 06:18:39PM -0700, Simon Glass wrote: > This is a small series of patches to improve keyboard input for matrix > keyboards: > > - Fix an fdt decoding bug which breaks seaboard > - Permit key repeat/delay to be altered after init > - Allow key ghosting filter to be enabled/d

Re: [U-Boot] [PATCH v2 0/5] Cleanup fw_*env and a few common env

2012-10-09 Thread Tom Rini
On Wed, Oct 03, 2012 at 02:38:45PM -0500, Joe Hershberger wrote: > This is a gutted version of my previous env series in an effort to reduce the > risk to the release that is approaching shortly. > > Changes in v2: > - Further simplified based Mike's comments > > Joe Hershberger (5): > tools/e

Re: [U-Boot] [PATCH 04/10] change all versions of input_data() and output_data() to global weak aliases

2012-10-09 Thread Marek Vasut
Dear Pavel Herrmann, > On Sunday 07 of October 2012 20:14:23 Marek Vasut wrote: > > Dear Pavel Herrmann, > > > > > This changes input_data() and friends from static function to global > > > symbols under weak alias, to enable board specific overrides (and > > > therefore get rid of board-specific

[U-Boot] [PATCH v2 08/10] split AU1X00 specific code from cmd_ide.c

2012-10-09 Thread Pavel Herrmann
move special case of ide_swap_read() for AU1X00 SoC into SoC-specific directory. Signed-off-by: Pavel Herrmann --- Changes for v2: rebase on top of next include missing to fix compilation arch/mips/cpu/mips32/au1x00/Makefile | 2 +- arch/mips/cpu/mips32/au1x00/au1x00_ide.c | 32

Re: [U-Boot] [PATCH] arm: trats: Power down core 1

2012-10-09 Thread Albert ARIBAUD
Hi Piotr, On Tue, 09 Oct 2012 08:45:42 +0200, Piotr Wilczek wrote: > This patch turns power down for unused core 1 > > Signed-off-by: Piotr Wilczek > Signed-off-by: Kyungmin Park > CC: Minkyu Kang > --- > board/samsung/trats/trats.c |4 > 1 files changed, 4 insertions(+), 0 deletio

[U-Boot] [PATCH v2 07/10] move CPC45 ide_led to the same file as other IDE hooks

2012-10-09 Thread Pavel Herrmann
Keep all IDE-related hooks and overrides in a single file, to avoid confusion Signed-off-by: Pavel Herrmann --- Changes for v2: style fixes board/cpc45/cpc45.c | 15 --- board/cpc45/ide.c | 15 +++ 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/board

[U-Boot] [PATCH v2 04/10] change all versions of input_data() and output_data() to global weak aliases

2012-10-09 Thread Pavel Herrmann
This changes input_data() and friends from static function to global symbols under weak alias, to enable board specific overrides (and therefore get rid of board-specific code in cmd_ide.c) Also declare ide_bus_offset in the header file, so other files can use ATA_CURR_BASE as well. Signed-off-by:

[U-Boot] [PATCH v2 02/10] split mpc8xx hooks from cmd_ide.c

2012-10-09 Thread Pavel Herrmann
move most of mpc8xx hooks from cmd_ide.c into ide_preinit() and newly created ide_init_postreset() (invoked after calling ide_reset after ide_preinit), some cleanup to make checkpatch happy, enable IDE init hooks in configs of affected boards. confusingly, these hooks are used by more than just mpc

Re: [U-Boot] ELDK4.2 build failures for highbank, omap4_panda and omap4_sdp4430

2012-10-09 Thread Albert ARIBAUD
Hi R, On Tue, 9 Oct 2012 11:16:06 +0530, R Sricharan wrote: > On Monday 08 October 2012 10:05 PM, Tom Rini wrote: > > On Sat, Oct 6, 2012 at 4:34 AM, Albert ARIBAUD > > wrote: > >> Hi, > >> > >> On Sat, 6 Oct 2012 13:02:49 +0200, Albert ARIBAUD > >> wrote: > >> > >>> Hi All, > >>> > >>> With

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

2012-10-09 Thread Albert ARIBAUD
Hi Stefano, On Mon, 08 Oct 2012 11:56:23 +0200, Stefano Babic wrote: > Hi Albert, > > these changes are in my -next branch, so please pull them into arm/next. > > The following changes since commit 4668a086bb0a769b741e3a4ffab85f1c41c7cdb8: > > sandbox: Add asm/errno.h (2012-09-29 10:00:29 -

Re: [U-Boot] [PATCH] fs: fat: Fix mkcksum() function parameters

2012-10-09 Thread Tom Rini
On Sun, Sep 30, 2012 at 02:49:09AM +0200, Marek Vasut wrote: > The mkcksum() function now takes one parameter, the pointer to > 11-byte wide character array, which it then operates on. > > Currently, the function is wrongly passed (dir_entry)->name, which > is only 8-byte wide character array. Th

Re: [U-Boot] [PATCH v3] add nand spl boot for qi_lb60 board

2012-10-09 Thread Tom Rini
On Tue, Oct 09, 2012 at 04:28:05PM +0800, xian...@openmobilefree.net wrote: > From: Xiangfu Liu > > * After create u-boot-spl.bin. it needs those 4 commands create final image > for jz4740 cpu. > > dd if=spl/u-boot-spl.bin of=u-boot-nand.bin conv=sync bs=8192 count=1 > dd if=spl/u-b

Re: [U-Boot] sram overflowed

2012-10-09 Thread Tom Rini
On Mon, Oct 08, 2012 at 11:23:20PM -0700, Grant wrote: > >> >> git clone git://arago-project.org/git/projects/u-boot-am33x.git > >> > > >> > This is definitely NOT what you want to use when somebody mentions > >> > "latest version". This term always refers to top of tree in mainline > >> > U-Boot,

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

2012-10-09 Thread Albert ARIBAUD
Hi Tom, The following changes since commit 661c21dd46e857b74682b0610d83cfea7f3ac3c2: usb.h: Add udc_disconnect prototype to usb.h (2012-10-08 18:01:17 -0700) are available in the git repository at: git://git.denx.de/u-boot-arm next for you to fetch changes up to 0d6b8f29a3c59306d6cd8f2baa9

Re: [U-Boot] [PULL] u-boot-usb/next

2012-10-09 Thread Tom Rini
On Sun, Oct 07, 2012 at 08:49:00PM +0200, Marek Vasut wrote: > NOTE: I get a few more size issues with ELDK 4.2 on IXP (that big-endian ARM) > after this patchset is applied. I wonder if we shouldn't just throw these > away, > since they're dead code mostly. > > The following changes since com

[U-Boot] I2C clock frequency on P1022/P1013

2012-10-09 Thread BRUNMAYR Peter
Is it possible that a further differentiation is required for setting the I2C clock frequency in arch/powerpc/cpu/mpc85xx/speed.c? For P1022 and P1013 devices the default ratio CCB/2 is taken. However, on those devices the I2C clock frequency is equal to CCB. If I'm not mistaken, P1022 and P101

Re: [U-Boot] [PATCH 04/10] change all versions of input_data() and output_data() to global weak aliases

2012-10-09 Thread Pavel Herrmann
On Sunday 07 of October 2012 20:14:23 Marek Vasut wrote: > Dear Pavel Herrmann, > > > This changes input_data() and friends from static function to global > > symbols under weak alias, to enable board specific overrides (and > > therefore get rid of board-specific code in cmd_ide.c) > > Also decla

Re: [U-Boot] [PATCH 05/10] split CPC45 board-specific IDE functions from cmd_ide.c

2012-10-09 Thread Pavel Herrmann
On Sunday 07 of October 2012 20:20:08 Marek Vasut wrote: > Dear Pavel Herrmann, > > > Move input_data() and friends to board/cpc45/ide.c, as overrides for weak > > aliases in cmd_ide.c > > > > note: checkpatch emits warnings about using volatile > > > > Signed-off-by: Pavel Herrmann > > --- > >

Re: [U-Boot] [PATCH 08/10] split AU1X00 specific code from cmd_ide.c

2012-10-09 Thread Pavel Herrmann
On Monday 08 of October 2012 16:38:46 Tom Rini wrote: > On Sun, Oct 07, 2012 at 05:56:12PM +0200, Pavel Herrmann wrote: > > Move special case of ide_swap_read() for AU1X00 SoC into SoC-specific > > directory. > > > > Signed-off-by: Pavel Herrmann > > Two problems: > > diff --git a/arch/mips/cpu/

Re: [U-Boot] [PATCH 2/2] cm-t35: increase the MAXARGS

2012-10-09 Thread Igor Grinberg
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/08/12 17:39, Tom Rini wrote: > On 10/07/12 04:17, Igor Grinberg wrote: >> Increase the MAXARGS to support more than 16 arguments. > >> Signed-off-by: Igor Grinberg --- >> include/configs/cm_t35.h |2 +- 1 files changed, 1 >> insertions(+),

Re: [U-Boot] [PATCH 5/7] lcd: Fix fb offset calculation for bpix == 16 in BMP display

2012-10-09 Thread Simon Glass
Hi Nikita, On Thu, Oct 4, 2012 at 1:48 AM, Nikita Kiryanov wrote: > Hi Simon, > > > On 09/29/2012 03:11 AM, Simon Glass wrote: >> >> From: Tom Wai-Hong Tam >> >> For bpix == 16, each pixel is 2-byte. fb offset should shift more x bytes. >> >> Signed-off-by: Tom Wai-Hong Tam >> Signed-off-by: Si

Re: [U-Boot] [PATCH] Sandbox: Add spi driver to sandbox

2012-10-09 Thread Simon Glass
Hi, On Thu, Oct 4, 2012 at 3:14 AM, wrote: > From: Viktor Krivak > > Signed-off-by: Viktor Krivak > --- > Simple spi driver which only cache input data and send them back > on next call. Usefull for high level testing in sandbox. > > drivers/spi/Makefile |1 + > drivers/spi/sandbox

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

2012-10-09 Thread Lukasz Majewski
Hi Stefano, > On 09/10/2012 12:30, Lukasz Majewski wrote: > > >> This enforces my comment in previous patch. We have two CONFIG_ > >> options, both must be turned on. So at least one is redundant.IMHO > >> you can drop both of them if power_board_init() is declared weak. > > > > I can define pow

Re: [U-Boot] go command is not working for smdkv310 board

2012-10-09 Thread Wolfgang Denk
Dear VISWANADHULA BALAJI, In message you wrote: > > I am using a u-boot-2010-12 version for the smdkv310 board. I used This is very old code. Please update. > dnw tool for loading a u-boot on to the RAM with C0008000 as a load adress. > *Go* command is not working and gets hang when i

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

2012-10-09 Thread Stefano Babic
On 09/10/2012 12:30, Lukasz Majewski wrote: >> This enforces my comment in previous patch. We have two CONFIG_ >> options, both must be turned on. So at least one is redundant.IMHO >> you can drop both of them if power_board_init() is declared weak. > > I can define power_board_init() as __weak i

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

2012-10-09 Thread Stefano Babic
On 09/10/2012 12:25, Lukasz Majewski wrote: >> Now you want to add a new one. This means we have cases where the PMIC >> must be initialized before flash, right ? > > The case is that PMIC (and other devices) needs to be setup after > malloc init and before MMC (in our case). > The board_init() i

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

2012-10-09 Thread Stefano Babic
On 09/10/2012 11:52, Lukasz Majewski wrote: > Hi Stefano, > >> On 05/10/2012 10:16, Lukasz Majewski wrote: >>> 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 >

Re: [U-Boot] [PATCH v2] mxc: Fix SDHC multi-instance clock

2012-10-09 Thread Stefano Babic
On 09/10/2012 12:35, Benoît Thébaudeau wrote: > Hi Stefano, > > On Monday, October 1, 2012 8:36:25 PM, Benoît Thébaudeau wrote: >> On mxc, each SDHC instance has a dedicated clock, so gd->sdhc_clk is >> not >> suitable for the multi-instance use case (initialization made >> directly with >> fsl_es

Re: [U-Boot] go command is not working for smdkv310 board

2012-10-09 Thread Chander Kashyap
Hi Balaji, On 9 October 2012 16:00, VISWANADHULA BALAJI wrote: > Hi, > > I am using a u-boot-2010-12 version for the smdkv310 board. I used > dnw tool for loading a u-boot on to the RAM with C0008000 as a load adress. > *Go* command is not working and gets hang when i type the following c

Re: [U-Boot] [PATCH v2 08/21] pmic: Move pmic related code to ./drivers/power directory

2012-10-09 Thread Lukasz Majewski
Hi Stefano, > On 05/10/2012 10:16, Lukasz Majewski wrote: > > The PMIC framework has been moved to its more natural place > > ./drivers/power from ./drivers/misc directory. > > > > Signed-off-by: Lukasz Majewski > > Signed-off-by: Kyungmin Park > > --- > > Changes for v2: > > - New patch for v2

  1   2   >