Re: [U-Boot] [PATCH 3/4] imx: Use a clear identification of an unidentified CPU type

2012-06-23 Thread Wolfgang Denk
Dear Otavio Salvador, In message <1340482108-18468-4-git-send-email-ota...@ossystems.com.br> you wrote: > In case an unidentified CPU type is detected it now returns > i.MX, in a const char. ... > -static char *get_imx_type(u32 imxtype) > +static const char *get_imx_type(u32 imxtype) I agree wit

Re: [U-Boot] [PATCH] arm: enable unaligned access on ARMv7

2012-06-23 Thread Lucas Stach
Hi Albert, Am Samstag, den 23.06.2012, 11:01 +0200 schrieb Albert ARIBAUD: [snip] > > >> But apart from this, we certainly have situations where we have > > >> unaligned accesses that are justified and could not be removed. > > >> [...] > > >> I cannot see how enabling a hardware feature can be se

Re: [U-Boot] [PATCH 04/24] mxc_i2c: clear i2sr before waiting for bit

2012-06-23 Thread Troy Kisky
On 6/22/2012 9:59 AM, Marek Vasut wrote: Dear Troy Kisky, Let's clear the sr register before waiting for bit to be set, instead of clearing it after hardware sets it. No real operational difference here, but allows combining of i2c_imx_trx_complete and i2c_imx_bus_busy in later patches. Signed

Re: [U-Boot] [PATCH 1/4] cmd_bootm: fix compilation warning for assigned but never used variable

2012-06-23 Thread Otavio Salvador
On Sat, Jun 23, 2012 at 7:56 PM, Wolfgang Denk wrote: > Please rebase and update your patches; this specific problem for > example has been fixed long ago: > > commit a075a79f98cc3f5972a2ed80551c0873217aef7d > Author: Anatolij Gustschin > Date:   Sat May 19 05:38:19 2012 + > >    common/cmd_b

Re: [U-Boot] [PATCH 1/4] cmd_bootm: fix compilation warning for assigned but never used variable

2012-06-23 Thread Wolfgang Denk
Dear Otavio Salvador, In message <1340482108-18468-1-git-send-email-ota...@ossystems.com.br> you wrote: > The iflag variable was holding the return of disable_interrupts call > but the value was not used in the method so we drop the assignment. > > Signed-off-by: Otavio Salvador > --- > common

[U-Boot] [PATCH 4/4 v2] mxs: generalize code for print_cpuinfo()

2012-06-23 Thread Otavio Salvador
The information now is gathered from HW_DIGCTL_CHIPID register and includes the revision of the chip on the output. Signed-off-by: Otavio Salvador Cc: Marek Vasut Cc: Stefano Babic Cc: Fabio Estevam --- Changes since v1: * Move mask and product code to regs-digctl.h arch/arm/cpu/arm926ejs/m

[U-Boot] [PATCH 2/4] mx53loco: add a comment about local copy of print_cpuinfo method

2012-06-23 Thread Otavio Salvador
Signed-off-by: Otavio Salvador Cc: Marek Vasut Cc: Stefano Babic Cc: Fabio Estevam --- board/freescale/mx53loco/mx53loco.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/board/freescale/mx53loco/mx53loco.c b/board/freescale/mx53loco/mx53loco.c index 445d022..9fae5e8 100644 --- a/boa

[U-Boot] [PATCH 3/4] imx: Use a clear identification of an unidentified CPU type

2012-06-23 Thread Otavio Salvador
In case an unidentified CPU type is detected it now returns i.MX, in a const char. Signed-off-by: Otavio Salvador Cc: Marek Vasut Cc: Stefano Babic Cc: Fabio Estevam --- arch/arm/cpu/armv7/imx-common/cpu.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/cpu

Re: [U-Boot] [PATCH 2/4] mx53loco: add a comment about local copy of print_cpuinfo method

2012-06-23 Thread Marek Vasut
Dear Otavio Salvador, > Signed-off-by: Otavio Salvador > Cc: Marek Vasut > Cc: Stefano Babic > Cc: Fabio Estevam > --- > board/freescale/mx53loco/mx53loco.c |2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/board/freescale/mx53loco/mx53loco.c > b/board/freescale/mx53loco/mx53loco

Re: [U-Boot] [PATCH 4/4] mxs: generalize code for print_cpuinfo()

2012-06-23 Thread Marek Vasut
Dear Otavio Salvador, > The information now is gathered from HW_DIGCTL_CHIPID register and > includes the revision of the chip on the output. > > Signed-off-by: Otavio Salvador > Cc: Marek Vasut > Cc: Stefano Babic > Cc: Fabio Estevam > --- > arch/arm/cpu/arm926ejs/mx28/mx28.c | 58 > +

Re: [U-Boot] [PATCH 2/4] mx53loco: add a comment about local copy of print_cpuinfo method

2012-06-23 Thread Otavio Salvador
Ignore this; this has a new version sent to mailing list and this good in the middle. On Sat, Jun 23, 2012 at 5:08 PM, Otavio Salvador wrote: > Signed-off-by: Otavio Salvador > Cc: Marek Vasut > Cc: Stefano Babic > Cc: Fabio Estevam > --- >  board/freescale/mx53loco/mx53loco.c |    2 ++ >  1

[U-Boot] [PATCH 4/4] mxs: generalize code for print_cpuinfo()

2012-06-23 Thread Otavio Salvador
The information now is gathered from HW_DIGCTL_CHIPID register and includes the revision of the chip on the output. Signed-off-by: Otavio Salvador Cc: Marek Vasut Cc: Stefano Babic Cc: Fabio Estevam --- arch/arm/cpu/arm926ejs/mx28/mx28.c | 58 ++-- 1 file cha

[U-Boot] [PATCH 2/4] mx53loco: Add a comment about local print_cpuinfo method in board file

2012-06-23 Thread Otavio Salvador
Signed-off-by: Otavio Salvador Cc: Marek Vasut Cc: Stefano Babic Cc: Fabio Estevam --- board/freescale/mx53loco/mx53loco.c |5 + 1 file changed, 5 insertions(+) diff --git a/board/freescale/mx53loco/mx53loco.c b/board/freescale/mx53loco/mx53loco.c index 445d022..5df1b18 100644 --- a/

[U-Boot] [PATCH 1/4] cmd_bootm: fix compilation warning for assigned but never used variable

2012-06-23 Thread Otavio Salvador
The iflag variable was holding the return of disable_interrupts call but the value was not used in the method so we drop the assignment. Signed-off-by: Otavio Salvador --- common/cmd_bootm.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/common/cmd_bootm.c b/common/cmd_

Re: [U-Boot] [PATCH] arm: enable unaligned access on ARMv7

2012-06-23 Thread Måns Rullgård
Albert ARIBAUD writes: >> >> I cannot see how enabling a hardware feature can be seen as >> >> allowing of lax behaviour. As some of the USB structs are used to >> >> access hardware registers, we can not align every struct there. > > If the access is in true RAM, then we can always realign the d

Re: [U-Boot] [PATCH] mx53loco: use print_cpuinfo() defined in imx-common

2012-06-23 Thread Ashok
On 23-06-2012 21:05, Fabio Estevam wrote: Hi Ashok, On Fri, Jun 22, 2012 at 11:21 PM, Ashok wrote: use print_cpuinfo() defined in imx-common/cpu.c, instead of duplicating function. The reason for duplicating this function is that we cannot print the CPU info right in the beginning, because i

Re: [U-Boot] [PATCH] arm: enable unaligned access on ARMv7

2012-06-23 Thread V, Aneesh
Hi Albert, On Sat, Jun 23, 2012 at 2:01 AM, Albert ARIBAUD wrote: > Hi Aneesh, > > On Fri, 22 Jun 2012 15:13:39 -0700, Aneesh V wrote: >> On 06/22/2012 03:11 PM, Aneesh V wrote: >> > +Tom >> > >> > Hi Lucas, >> > >> > On 06/22/2012 04:47 AM, Lucas Stach wrote: >> >> Hi Albert, >> >> >> >> Am Fre

Re: [U-Boot] [PATCH] mx53loco: use print_cpuinfo() defined in imx-common

2012-06-23 Thread Fabio Estevam
Hi Ashok, On Fri, Jun 22, 2012 at 11:21 PM, Ashok wrote: > use print_cpuinfo() defined in imx-common/cpu.c, > instead of duplicating function. The reason for duplicating this function is that we cannot print the CPU info right in the beginning, because if we do so the frequency of 800MHz would b

Re: [U-Boot] [PATCH v2 0/4] Add support new arch: c6x

2012-06-23 Thread Wolfgang Denk
Dear Dmitry Bondar, In message <1340449870-26456-1-git-send-email-b...@inmys.ru> you wrote: > C6X (C6000) is family of fixed and floating-point DSPs manufactured by Texas > Instruments. > > Signed-off-by: Dmitry Bondar > Cc: Tom Rini > > --- > Changes for v2: > - davinci SOC reset_c.c r

[U-Boot] [PATCH v2 3/4] c6x: Add suport build davinci SOC with c674x CPUs

2012-06-23 Thread Dmitry Bondar
C674x CPUs has same peripherals(uart,emac,nand contoller) like sitara processors (am1705/am1707/omapl137/omapl138). In u-boot this peripheral known as davinci SOC, and placed in arch/arm/cpu/arm926ejs/davinci This patch allow compile davinci SOC code whith c674x CPU. Reset code rewritten in C fo

[U-Boot] [PATCH v2 4/4] c6x: Add support c6745-som board

2012-06-23 Thread Dmitry Bondar
Add support board c6745-som (http://inmys.ru/?_=/products/som_c6745) with C6745 cpu. Signed-off-by: Dmitry Bondar Cc: Tom Rini --- MAINTAINERS |3 + board/inmys/c6745-som/Makefile| 27 board/inmys/c6745-som/c6745-som.c | 247 +++

[U-Boot] [PATCH v2 2/4] c6x: Add support c674x CPUs

2012-06-23 Thread Dmitry Bondar
C6X has subfamilys: C62x C64x C66x C67x C645x C674x. This patch add support of subfamily C674x (C6745/C6746/C6747 CPUs). Signed-off-by: Dmitry Bondar Cc: Tom Rini --- arch/c6x/cpu/c674x/Makefile | 30 arch/c6x/cpu/c674x/cache.c | 17 + arch/c6x/cpu/c674x/config.m

[U-Boot] [PATCH v2 0/4] Add support new arch: c6x

2012-06-23 Thread Dmitry Bondar
C6X (C6000) is family of fixed and floating-point DSPs manufactured by Texas Instruments. Signed-off-by: Dmitry Bondar Cc: Tom Rini --- Changes for v2: - davinci SOC reset_c.c rewritten with readl/writel. - Tom Rini added to cc Dmitry Bondar (4): Add support new arch: c6x

Re: [U-Boot] [PATCH] arm: enable unaligned access on ARMv7

2012-06-23 Thread Albert ARIBAUD
Hi Aneesh, On Fri, 22 Jun 2012 15:13:39 -0700, Aneesh V wrote: > On 06/22/2012 03:11 PM, Aneesh V wrote: > > +Tom > > > > Hi Lucas, > > > > On 06/22/2012 04:47 AM, Lucas Stach wrote: > >> Hi Albert, > >> > >> Am Freitag, den 22.06.2012, 13:16 +0200 schrieb Albert ARIBAUD: > >>> I am not too happ

Re: [U-Boot] please pull u-boot-samsung/master

2012-06-23 Thread Albert ARIBAUD
Hi Minkyu, On Mon, 18 Jun 2012 17:50:08 +0900, Minkyu Kang wrote: > Dear Albert, > > The following changes since commit > 255c36587acbc269fd299b0bc258ce9c030de69d: > > cm-t35: print PCB revision information (2012-06-10 10:36:08 +0200) > > are available in the git repository at: > > git://