Re: [U-Boot] [PATCH 0/7 V4] EXYNOS5: Enable SPI support

2012-08-13 Thread Rajeshwari Birje
Hi Mike, I verified the SF branch and found that only patch 2 "Winbond part details for WQ5232" is added. Other patches of the same patch set are not yet merged. Please do let me know which tree would merge the remaining patches if not SF branch. Regards, Rajeshwari Shinde On Thu, Aug 2, 2012

Re: [U-Boot] [PATCH] mtest: Disable dcache during test

2012-08-13 Thread Albert ARIBAUD
Hi Mike, On Sat, 11 Aug 2012 16:15:16 -0400, Mike Frysinger wrote: > On Saturday 11 August 2012 16:05:36 Benoît Thébaudeau wrote: > > On 08/11/2012 21:47, Andrew Dyer wrote: > > > I agree with Mike, use the current dcache settings. U-boot has > > > always assumed the user knew what they were doin

Re: [U-Boot] Strange / Unreadable console output

2012-08-13 Thread Andreas Bießmann
Dear Markus Hubig, On 27.07.12 11:16, Markus Hubig wrote: > Hi @all, > > one minor Problem I often read about in this list is some crappy / unreadable > console output at beginning of the U-Boot start procedure. Now I have the same > "visual" Problem. > > | H�NAND: 128 MiB > | *** Warning - bad

[U-Boot] [PATCH 8/9] EXYNOS: Add clock for I2S

2012-08-13 Thread Rajeshwari Shinde
This patch adds clock support for I2S Signed-off-by: R. Chandrasekar Signed-off-by: Rajeshwari Shinde --- arch/arm/cpu/armv7/exynos/clock.c| 119 ++ arch/arm/include/asm/arch-exynos/clk.h |3 + arch/arm/include/asm/arch-exynos/clock.h | 29 +++ 3

[U-Boot] [PATCH 9/9] EXYNOS5: Enable Sound

2012-08-13 Thread Rajeshwari Shinde
This patch enables sound support for EXYNOS5 Signed-off-by: Rajeshwari Shinde --- include/configs/smdk5250.h |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/include/configs/smdk5250.h b/include/configs/smdk5250.h index 4b9093c..fae1c0c 100644 --- a/include/configs

[U-Boot] [PATCH 7/9] EXYNOS: Add I2S base address

2012-08-13 Thread Rajeshwari Shinde
This patch adds base address for I2S Signed-off-by: Rajeshwari Shinde --- arch/arm/include/asm/arch-exynos/cpu.h |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/arch/arm/include/asm/arch-exynos/cpu.h b/arch/arm/include/asm/arch-exynos/cpu.h index 89c2dd3..f7fda7f 1006

[U-Boot] [PATCH 6/9] EXYNOS: Add pinmux for I2S

2012-08-13 Thread Rajeshwari Shinde
This patch adds pinmux support for I2S1 Signed-off-by: Rajeshwari Shinde --- arch/arm/cpu/armv7/exynos/pinmux.c| 12 arch/arm/include/asm/arch-exynos/periph.h |1 + 2 files changed, 13 insertions(+), 0 deletions(-) diff --git a/arch/arm/cpu/armv7/exynos/pinmux.c b/ar

[U-Boot] [PATCH 5/9] EXYNOS: Add parameters required by I2S

2012-08-13 Thread Rajeshwari Shinde
This patch adds the audio parameters required by the I2S to play the predefined audio data. Signed-off-by: Rajeshwari Shinde --- arch/arm/include/asm/arch-exynos/sound.h | 44 ++ 1 files changed, 44 insertions(+), 0 deletions(-) create mode 100644 arch/arm/include/

[U-Boot] [PATCH 3/9] Sound: Add command for audio playback

2012-08-13 Thread Rajeshwari Shinde
This patch adds command to test audio playback. sound init - Initialises the audio subsystem (i2s and wm8994 codec) sound play - Plays predefined the audio data. Signed-off-by: Rajeshwari Shinde --- common/Makefile|1 + common/cmd_sound.c | 90 ++

[U-Boot] [PATCH 4/9] EXYNOS: Add I2S registers

2012-08-13 Thread Rajeshwari Shinde
This patch add I2S registers Signed-off-by: R. Chandrasekar Signed-off-by: Rajeshwari Shinde --- arch/arm/include/asm/arch-exynos/i2s-regs.h | 66 +++ 1 files changed, 66 insertions(+), 0 deletions(-) create mode 100644 arch/arm/include/asm/arch-exynos/i2s-regs.h dif

[U-Boot] [PATCH 2/9] SOUND: Add WM8994 codec

2012-08-13 Thread Rajeshwari Shinde
This pastc adds driver for audio codec WM8994 Signed-off-by: R. Chandrasekar Signed-off-by: Rajeshwari Shinde --- drivers/sound/Makefile |1 + drivers/sound/wm8994.c | 781 ++ drivers/sound/wm8994.h | 87 + drivers/sou

[U-Boot] [PATCH 1/9] SOUND: Add I2S driver

2012-08-13 Thread Rajeshwari Shinde
This patch adds driver for I2S interface Signed-off-by: R. Chandrasekar Signed-off-by: Rajeshwari Shinde --- Makefile |1 + drivers/sound/Makefile | 47 +++ drivers/sound/i2s.c| 358 drivers/sound/sound.c | 220

[U-Boot] [PATCH 0/9] EXYNOS5: Add Audio support

2012-08-13 Thread Rajeshwari Shinde
This patchset adds the audio support for EXYNOS5. This patchset plays a predefined beep sound. Rajeshwari Shinde (9): SOUND: Add I2S driver SOUND: Add WM8994 codec Sound: Add command for audio playback EXYNOS: Add I2S registers EXYNOS: Add parameters required by I2S EXYNOS: Add pinmux

Re: [U-Boot] [PATCH v2 1/1] USB: EHCI: Initialize multiple USB controllers at once

2012-08-13 Thread Jim Lin
>-Original Message- >From: Marek Vasut [mailto:ma...@denx.de] >Sent: Sunday, August 12, 2012 7:47 AM >To: Jim Lin >Cc: u-boot@lists.denx.de; Wolfgang Denk; Tom Warren >Subject: Re: [U-Boot] [PATCH v2 1/1] USB: EHCI: Initialize multiple USB >controllers at once > >Dear Jim Lin, > >> Add su

[U-Boot] [PATCH] mpc85xx: use LCRR_DBYP define instead of raw constant

2012-08-13 Thread Paul Gortmaker
Using the raw value of 0x8000 directly in the code can lead to "count the zeros" bugs like that fixed in commit 718e9d13b98 ("MPC85xxCDS: Fix missing LCRR_DBYP bits for 66-133MHz LBC") Change all existing raw values to use the symbolic value of LCRR_DBYP instead. Cc: Kumar Gala Cc: Scott Woo

Re: [U-Boot] [PATCH v2 4/9] arm: add _thumb1_case_uqi to libgcc

2012-08-13 Thread V, Aneesh
On Mon, Aug 13, 2012 at 5:36 PM, Allen Martin wrote: > On Mon, Aug 13, 2012 at 04:44:05PM -0700, Stephen Warren wrote: >> On 08/01/2012 02:32 PM, Allen Martin wrote: >> > Add function required by some thumb switch statements >> >> > diff --git a/arch/arm/lib/_thumb1_case_uqi.S >> > b/arch/arm/lib

Re: [U-Boot] Help : Keyboard Enabling at U-boot

2012-08-13 Thread Simon Glass
Hi, [Please do send to the U-Boot mailing list also] On Fri, Aug 10, 2012 at 2:55 AM, LIVIN SUNNY wrote: > Hi sir, > > I have an issue regarding u-boot. I'm using Beagle-board Rev B as well > as omap3_evm. i would like to enable keyboard at the u-boot level,i.e the > keyboard is connected t

Re: [U-Boot] [PATCH 0/4] EXYNOS5: Add GPIO numbering feature

2012-08-13 Thread Simon Glass
Hi, On Fri, Aug 10, 2012 at 5:05 AM, Minkyu Kang wrote: > Dear Rajeshwari Birje, > > On 10 August 2012 14:22, Rajeshwari Birje wrote: >> Hi All, >> >> Do let me know if you have comments on these patch set. >> >> Regards, >> Rajeshwari Shinde >> >> On Mon, Aug 6, 2012 at 6:35 PM, Rajeshwari Shin

Re: [U-Boot] Please pull u-boot-staging/tr...@ti.com

2012-08-13 Thread U-Boot
Hi Albert, On Tue, 14 Aug 2012 02:04:15 +0200, Albert ARIBAUD (U-Boot) wrote: > Hi Tom, > > On Fri, 10 Aug 2012 22:06:59 +0200, Wolfgang Denk wrote: > > > Dear Tom, > > > > In message <20120810161021.GG3306@bill-the-cat> you wrote: > > > > > > To try and ease the backlog of ARM changes, I'v

[U-Boot] [PATCH] Makefile: fix HAVE_VENDOR_COMMON_LIB

2012-08-13 Thread Scott Wood
Commit 8b5a02640adf77301f943e8754992c50df004e8a ("Makefile: cosmetic: optimize usage of LIBS-y") broke the build of boards that have a board vendor "common" directory, by introducing a space between "LIBS-" and "y". Signed-off-by: Scott Wood --- Makefile |2 +- 1 file changed, 1 insertion(+)

[U-Boot] [PATCH] Credits for MCF5249 initialization code

2012-08-13 Thread Jeremy Andrus
diff --git a/CREDITS b/CREDITS index 933104c..fa9a14e 100644 --- a/CREDITS +++ b/CREDITS @@ -428,6 +428,11 @@ E: a...@videon-central.com D: Support for NetSilicon NS7520 D: Support for ColdFire MCF5275 +N: Jeremy C. Andrus +E: jer...@jeremya.com +D: ColdFire MCF5249 initialization code +W: jere

Re: [U-Boot] [PATCH v2 4/9] arm: add _thumb1_case_uqi to libgcc

2012-08-13 Thread Allen Martin
On Mon, Aug 13, 2012 at 04:44:05PM -0700, Stephen Warren wrote: > On 08/01/2012 02:32 PM, Allen Martin wrote: > > Add function required by some thumb switch statements > > > diff --git a/arch/arm/lib/_thumb1_case_uqi.S > > b/arch/arm/lib/_thumb1_case_uqi.S > > > + .force_thumb > > I believe t

Re: [U-Boot] Strange / Unreadable console output

2012-08-13 Thread Jerry Van Baren
On 08/13/2012 07:17 AM, Markus Hubig wrote: > On Sat, Aug 11, 2012 at 08:15:43AM -0400, Jerry Van Baren wrote: >> On 07/27/2012 05:16 AM, Markus Hubig wrote: >>> one minor Problem I often read about in this list is some crappy / >>> unreadable >>> console output at beginning of the U-Boot start pr

[U-Boot] Commit 8b5a02640adf77301f943e8754992c50df004e8a breaks about 20 ARM builds

2012-08-13 Thread U-Boot
Hi all, I have encountered an issue when rebasing the ARM tree above u-boot/master, with this commit : 8b5a02640adf77301f943e8754992c50df004e8a It seems to break about 20 ARM builds, for instance spear600, on my stock Ubuntu 12.04 ARM gcc: uboot@lilith:~/src/u-boot-arm$ git checkout 8b5a02640ad

Re: [U-Boot] Please pull u-boot-staging/tr...@ti.com

2012-08-13 Thread U-Boot
Hi Tom, On Fri, 10 Aug 2012 22:06:59 +0200, Wolfgang Denk wrote: > Dear Tom, > > In message <20120810161021.GG3306@bill-the-cat> you wrote: > > > > To try and ease the backlog of ARM changes, I've taken the liberty > > of grabbing the Snowball and Raspberry Pi model B board support > > patches

Re: [U-Boot] [PATCH v2 4/9] arm: add _thumb1_case_uqi to libgcc

2012-08-13 Thread Stephen Warren
On 08/01/2012 02:32 PM, Allen Martin wrote: > Add function required by some thumb switch statements > diff --git a/arch/arm/lib/_thumb1_case_uqi.S b/arch/arm/lib/_thumb1_case_uqi.S > + .force_thumb I believe that line should be removed. The issue here is that when gcc emits Thumb code to ca

Re: [U-Boot] [PATCH 6/6] nand_spl: change out_be32 to raw_writel and depend on subsequent sync

2012-08-13 Thread McClintock Matthew-B29882
On Mon, Aug 13, 2012 at 6:34 PM, Scott Wood wrote: > On 08/13/2012 06:31 PM, McClintock Matthew-B29882 wrote: >> On Mon, Aug 13, 2012 at 6:23 PM, Scott Wood wrote: >>> On 08/13/2012 01:10 PM, Matthew McClintock wrote: This change reduces the SPL size by removing the redundant syncs produced

Re: [U-Boot] [PATCH 4/6] nand_spl: update udelay for Freescale boards

2012-08-13 Thread Scott Wood
On 08/13/2012 06:28 PM, McClintock Matthew-B29882 wrote: > On Mon, Aug 13, 2012 at 6:22 PM, Scott Wood wrote: >> On 08/13/2012 06:14 PM, McClintock Matthew-B29882 wrote: >>> On Mon, Aug 13, 2012 at 5:56 PM, Scott Wood wrote: On 08/13/2012 01:10 PM, Matthew McClintock wrote: > Let's use t

Re: [U-Boot] [PATCH 6/6] nand_spl: change out_be32 to raw_writel and depend on subsequent sync

2012-08-13 Thread Scott Wood
On 08/13/2012 06:31 PM, McClintock Matthew-B29882 wrote: > On Mon, Aug 13, 2012 at 6:23 PM, Scott Wood wrote: >> On 08/13/2012 01:10 PM, Matthew McClintock wrote: >>> This change reduces the SPL size by removing the redundant syncs produced >>> by out_be32 and just replies on one final sync >>> >>

Re: [U-Boot] [PATCH 6/6] nand_spl: change out_be32 to raw_writel and depend on subsequent sync

2012-08-13 Thread McClintock Matthew-B29882
On Mon, Aug 13, 2012 at 6:23 PM, Scott Wood wrote: > On 08/13/2012 01:10 PM, Matthew McClintock wrote: >> This change reduces the SPL size by removing the redundant syncs produced >> by out_be32 and just replies on one final sync >> >> Done with: >> >> sed -r '/in_be32/b; s/(out_be32)\(([^,]*),\s+

Re: [U-Boot] [PATCH 25/37] arm: rmobile: Add support TMU base timer function

2012-08-13 Thread Kim Phillips
patch 25/37 showing up in an otherwise unnumbered patchseries of 6, and with the cover letter set to 'v3' where all 6 patches are at v2 makes for a highly confusing patchset. On Fri, 10 Aug 2012 16:16:12 +0900 Nobuhiro Iwamatsu wrote: > Some rmobile SoC has TMU base timer function. This supports

Re: [U-Boot] [PATCH 4/6] nand_spl: update udelay for Freescale boards

2012-08-13 Thread McClintock Matthew-B29882
On Mon, Aug 13, 2012 at 6:22 PM, Scott Wood wrote: > On 08/13/2012 06:14 PM, McClintock Matthew-B29882 wrote: >> On Mon, Aug 13, 2012 at 5:56 PM, Scott Wood wrote: >>> On 08/13/2012 01:10 PM, Matthew McClintock wrote: Let's use the more appropriate udelay for the nand_spl. While we can'

Re: [U-Boot] [PATCH 6/6] nand_spl: change out_be32 to raw_writel and depend on subsequent sync

2012-08-13 Thread Scott Wood
On 08/13/2012 01:10 PM, Matthew McClintock wrote: > This change reduces the SPL size by removing the redundant syncs produced > by out_be32 and just replies on one final sync > > Done with: > > sed -r '/in_be32/b; s/(out_be32)\(([^,]*),\s+(.*)\)/__raw_writel(\3, \2)/g' > -i `git grep --name-only

Re: [U-Boot] [PATCH 4/6] nand_spl: update udelay for Freescale boards

2012-08-13 Thread Scott Wood
On 08/13/2012 06:14 PM, McClintock Matthew-B29882 wrote: > On Mon, Aug 13, 2012 at 5:56 PM, Scott Wood wrote: >> On 08/13/2012 01:10 PM, Matthew McClintock wrote: >>> Let's use the more appropriate udelay for the nand_spl. While we >>> can't make use of u-boot's full udelay we can atl east use a f

[U-Boot] [PATCH v3 4/6] nand_spl: update udelay for Freescale boards

2012-08-13 Thread Matthew McClintock
Let's use the more appropriate udelay for the nand_spl. While we can't make use of u-boot's full udelay we can atl east use a for loop that won't get optimized away .Since we have the bus clock we can use the timebase to calculate wall time. Looked at reusing the u-boot udelay functions but it pul

Re: [U-Boot] [PATCH 4/6] nand_spl: update udelay for Freescale boards

2012-08-13 Thread McClintock Matthew-B29882
On Mon, Aug 13, 2012 at 5:56 PM, Scott Wood wrote: > On 08/13/2012 01:10 PM, Matthew McClintock wrote: >> Let's use the more appropriate udelay for the nand_spl. While we >> can't make use of u-boot's full udelay we can atl east use a for >> loop that won't get optimized away .Since we have the bu

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

2012-08-13 Thread U-Boot
Hi Tom, On Tue, 7 Aug 2012 10:08:39 -0700, Tom Rini wrote: > Hello, > > The following changes since commit > 8abcd8ab962cd5fb2a4c025e7c7b62a9faf4aa08: > > DaVinci DA8xx: fix set_cpu_clk_info() (2012-08-05 22:02:40 +0200) > > are available in the git repository at: > > git://git.denx.de/u

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

2012-08-13 Thread U-Boot
Hi Andreas, On Wed, 8 Aug 2012 00:29:12 +0200, Andreas Bießmann wrote: > The following changes since commit > 8abcd8ab962cd5fb2a4c025e7c7b62a9faf4aa08: > > DaVinci DA8xx: fix set_cpu_clk_info() (2012-08-05 22:02:40 +0200) > > are available in the git repository at: > > git://git.denx.de/

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

2012-08-13 Thread U-Boot
Hi Andreas, On Wed, 8 Aug 2012 00:29:12 +0200, Andreas Bießmann wrote: > The following changes since commit > 8abcd8ab962cd5fb2a4c025e7c7b62a9faf4aa08: > > DaVinci DA8xx: fix set_cpu_clk_info() (2012-08-05 22:02:40 +0200) > > are available in the git repository at: > > git://git.denx.de/

Re: [U-Boot] [GIT PULL] [Update] Pull request: u-boot-imx

2012-08-13 Thread U-Boot
Hi Stefano, On Fri, 10 Aug 2012 08:54:06 +0200, Stefano Babic wrote: > Hi Albert, > > an update pull request, please pull from u-boot-imx, thanks. > > The following changes since commit > 8abcd8ab962cd5fb2a4c025e7c7b62a9faf4aa08: > > DaVinci DA8xx: fix set_cpu_clk_info() (2012-08-05 22:02:4

Re: [U-Boot] [PATCH 4/6] nand_spl: update udelay for Freescale boards

2012-08-13 Thread Scott Wood
On 08/13/2012 01:10 PM, Matthew McClintock wrote: > Let's use the more appropriate udelay for the nand_spl. While we > can't make use of u-boot's full udelay we can atl east use a for > loop that won't get optimized away .Since we have the bus clock > we can use the timebase to calculate wall time.

[U-Boot] [PATCH] sf: winbond: fix page_size

2012-08-13 Thread Stephen Warren
From: Stephen Warren Commit a4ed3b6 "sf: inline data constants" modified winbond.c's page_size from 256 to 4096. This prevents either/both of "sf write" writing the correct data, or "sf read" from reading the correct data back. This allows U-Boot running on Compulab Tegra to upgrade itself. Sig

Re: [U-Boot] u-boot preventing access to NAND chip on imx28evk board

2012-08-13 Thread Fabio Estevam
On Mon, Aug 13, 2012 at 5:18 PM, Bill wrote: > All, > > I'm needing to access the NAND chip on the imx28evk board with the Linux > (Freescale Kernel - FSL). I've compiled a recent version of the mainstream > u-boot with the NAND switches and U-boot works fine. The U-boot also allows > me acc

Re: [U-Boot] [u-boot-release] [PATCH 3/6] powerpc/85xx: introduce function serdes_device_from_fm_port()

2012-08-13 Thread Timur Tabi
Kim Phillips wrote: > it's ~30% less lines of code, and the maps lie on the same line, > which helps when grepping. OK. -- Timur Tabi Linux kernel developer at Freescale ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinf

Re: [U-Boot] [u-boot-release] [PATCH 3/6] powerpc/85xx: introduce function serdes_device_from_fm_port()

2012-08-13 Thread Kim Phillips
On Mon, 13 Aug 2012 16:22:01 -0500 Timur Tabi wrote: > Kim Phillips wrote: > > shouldn't this be a static const array lookup? > > The compiler should convert it into an array lookup automatically, but I > can change it if you insist. Since I don't like writing code that depends > on the values

Re: [U-Boot] [u-boot-release] [PATCH 3/6] powerpc/85xx: introduce function serdes_device_from_fm_port()

2012-08-13 Thread Kim Phillips
please don't post patches upstream with '[u-boot-release]' in the subject. On Fri, 10 Aug 2012 17:01:33 -0500 Timur Tabi wrote: > +enum srds_prtcl serdes_device_from_fm_port(enum fm_port port) > +{ > + switch (port) { > + case FM1_DTSEC1: > + return SGMII_FM1_DTSEC1; > +

Re: [U-Boot] [u-boot-release] [PATCH 3/6] powerpc/85xx: introduce function serdes_device_from_fm_port()

2012-08-13 Thread Timur Tabi
Kim Phillips wrote: > please don't post patches upstream with '[u-boot-release]' in the > subject. I didn't. http://lists.denx.de/pipermail/u-boot/2012-August/130618.html Your mailer is confused. I bcc the u-boot-release mailing list, and I presume your mailer (or our mail server) sent you that

Re: [U-Boot] [PATCH v2 0/9] enable thumb for tegra20

2012-08-13 Thread Stephen Warren
On 08/01/2012 02:32 PM, Allen Martin wrote: > Add changes necessary to enable thumb compilation for tegra20. This > series includes two patches to work around a bug in gas that > incorrectly optimizes short jumps in thumb mode that were posted > separately. They can be dropped from this series wh

Re: [U-Boot] [PATCH 13/13] mxc nand: Add support for i.MX5

2012-08-13 Thread Troy Kisky
On 8/13/2012 2:04 PM, Troy Kisky wrote: On 8/13/2012 1:51 PM, Benoît Thébaudeau wrote: Signed-off-by: Benoît Thébaudeau Cc: Scott Wood Cc: Stefano Babic --- .../arch/arm/include/asm/arch-mx5/imx-regs.h |9 + .../drivers/mtd/nand/mxc_nand.c| 217 +

Re: [U-Boot] [PATCH 13/13] mxc nand: Add support for i.MX5

2012-08-13 Thread Troy Kisky
On 8/13/2012 1:51 PM, Benoît Thébaudeau wrote: Signed-off-by: Benoît Thébaudeau Cc: Scott Wood Cc: Stefano Babic --- .../arch/arm/include/asm/arch-mx5/imx-regs.h |9 + .../drivers/mtd/nand/mxc_nand.c| 217 +++- .../include/fsl_nfc.h

[U-Boot] [PATCH 13/13] mxc nand: Add support for i.MX5

2012-08-13 Thread Benoît Thébaudeau
Signed-off-by: Benoît Thébaudeau Cc: Scott Wood Cc: Stefano Babic --- .../arch/arm/include/asm/arch-mx5/imx-regs.h |9 + .../drivers/mtd/nand/mxc_nand.c| 217 +++- .../include/fsl_nfc.h | 149 +- .../nand_s

[U-Boot] [PATCH 12/13] mxc nand: Homogenize IP revisions with Linux

2012-08-13 Thread Benoît Thébaudeau
Use the same IP revisions as in Linux in order to make the comparison more clear. Signed-off-by: Benoît Thébaudeau Cc: Scott Wood Cc: Stefano Babic --- .../drivers/mtd/nand/mxc_nand.c| 16 .../include/fsl_nfc.h | 16

[U-Boot] [PATCH 11/13] mxc nand: Let driver detect IP revision

2012-08-13 Thread Benoît Thébaudeau
There is no reason to have board configs to select the NFC IP revision. Just let the driver detect it. BTW, remove broken NFC IP revision configs from board config files. Signed-off-by: Benoît Thébaudeau Cc: Scott Wood Cc: Stefano Babic --- .../include/configs/flea3.h|

[U-Boot] [PATCH 10/13] mtd mxc nand: Merge init functions

2012-08-13 Thread Benoît Thébaudeau
Merge mxc_setup_config1() into board_nand_init() in order to ease the addition of i.MX5 support in the following patches. Signed-off-by: Benoît Thébaudeau Cc: Scott Wood Cc: Stefano Babic --- .../drivers/mtd/nand/mxc_nand.c| 53 +--- 1 file changed, 23 ins

[U-Boot] [PATCH 09/13] mtd mxc nand: Fix ECC state after read_page_raw_syndrome()

2012-08-13 Thread Benoît Thébaudeau
mxc_nand_read_page_raw_syndrome() should reenable ECC upon exit. This fixes ECC errors left uncorrected after a call to this function. Signed-off-by: Benoît Thébaudeau Cc: Scott Wood Cc: Stefano Babic --- .../drivers/mtd/nand/mxc_nand.c|2 +- 1 file changed, 1 insertion

[U-Boot] [PATCH 08/13] mtd mxc nand: Use _mxc_nand_enable_hwecc()

2012-08-13 Thread Benoît Thébaudeau
Use _mxc_nand_enable_hwecc() instead of duplicating its code. Signed-off-by: Benoît Thébaudeau Cc: Scott Wood Cc: Stefano Babic --- .../drivers/mtd/nand/mxc_nand.c| 28 +--- 1 file changed, 12 insertions(+), 16 deletions(-) diff --git u-boot-4d3c95f.orig/

[U-Boot] [PATCH 07/13] spl mxc nand: Fix broken boot for correctable ECC errors

2012-08-13 Thread Benoît Thébaudeau
Do not stop boot as soon as an ECC error is detected. Only stop boot for uncorrectable ECC errors. This fixes boards no longer booting after some time because a NAND Flash bit has flipped. Signed-off-by: Benoît Thébaudeau Cc: Scott Wood Cc: Stefano Babic --- .../nand_spl/nand_boot_fsl_nfc.c

[U-Boot] [PATCH 06/13] mxc nand: Access all ecc_status_result fields

2012-08-13 Thread Benoît Thébaudeau
On the NFC IP 1.1, the 32-bit ecc_status_result value comes from 2 consecutive 16-bit registers. This patch reads all the fields of this value, which makes a difference for 4-kiB NF pages. Signed-off-by: Benoît Thébaudeau Cc: Scott Wood Cc: Stefano Babic --- .../drivers/mtd/nand/mxc_nand.c

[U-Boot] [PATCH 05/13] spl mxc nand: Set symmetric mode

2012-08-13 Thread Benoît Thébaudeau
Set the spl mxc nand driver for IP 1.1 in symmetric mode, like the mtd driver. In this way, for both drivers, one input clock period of the NFC IP will produce one R/W cycle. Signed-off-by: Benoît Thébaudeau Cc: Scott Wood Cc: Stefano Babic --- .../nand_spl/nand_boot_fsl_nfc.c

[U-Boot] [PATCH 04/13] spl mxc nand: Remove duplicated code

2012-08-13 Thread Benoît Thébaudeau
The ECC_EN and INT_MSK bits of CONFIG1 are not volatile, so it is sufficient to set them once in nfc_nand_init(). Signed-off-by: Benoît Thébaudeau Cc: Scott Wood Cc: Stefano Babic --- .../nand_spl/nand_boot_fsl_nfc.c | 10 ++ 1 file changed, 2 insertions(+), 8 delet

[U-Boot] [PATCH 03/13] spl mxc nand: Merge duplicated code

2012-08-13 Thread Benoît Thébaudeau
Merge duplicated code into functions, which is better for SPL size too. Signed-off-by: Benoît Thébaudeau Cc: Scott Wood Cc: Stefano Babic --- .../nand_spl/nand_boot_fsl_nfc.c | 50 +--- 1 file changed, 23 insertions(+), 27 deletions(-) diff --git u-boot-4d3

[U-Boot] [PATCH 02/13] mxc nand: cosmectic: Light cleanup

2012-08-13 Thread Benoît Thébaudeau
Signed-off-by: Benoît Thébaudeau Cc: Scott Wood Cc: Stefano Babic --- .../drivers/mtd/nand/mxc_nand.c|9 +++-- .../include/fsl_nfc.h |1 + .../nand_spl/nand_boot_fsl_nfc.c | 14 +++--- 3 files changed, 11 i

[U-Boot] [PATCH 01/13] mxc nand: Merge mtd and spl register definitions

2012-08-13 Thread Benoît Thébaudeau
This patches fixes the TODO to use same register definitions in mtd mxc_nand and nand_spl fsl nfc drivers. Signed-off-by: Benoît Thébaudeau Cc: Scott Wood Cc: Stefano Babic --- .../drivers/mtd/nand/mxc_nand.c| 247 .../include/fsl_nfc.h

[U-Boot] [PATCH 00/13] mxc nand: Add support for i.MX5

2012-08-13 Thread Benoît Thébaudeau
Hi all, This series aims at adding support for i.MX5 to the mxc nand mtd and spl drivers. It also fixes several issues and cleans up the code a little bit. Best regards, Benoît ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/li

Re: [U-Boot] [PATCH V5 1/2] ext4fs ls load support

2012-08-13 Thread Rob Herring
On 08/13/2012 02:17 PM, Wolfgang Denk wrote: > Dear Rob Herring, > > In message <50294743.5010...@gmail.com> you wrote: >> >> I do an ubuntu install to a single ext4 fs and then ext2ls gives this: > ... >> The problem is in the directories with sizes of 0. It does seem to be > > What exactly is t

[U-Boot] u-boot preventing access to NAND chip on imx28evk board

2012-08-13 Thread Bill
All, I'm needing to access the NAND chip on the imx28evk board with the Linux (Freescale Kernel - FSL). I've compiled a recent version of the mainstream u-boot with the NAND switches and U-boot works fine. The U-boot also allows me access to the NAND chip and also boots the FSL kernel j

[U-Boot] [PATCH] patman: Allow for changelog use in first version of a series

2012-08-13 Thread Otavio Salvador
When a patchset had a RFC series, a v1 might have a changelog of changes done since the RFC. The patch changes the range checked for changelog and allow it to start for version 1. Signed-off-by: Otavio Salvador --- tools/patman/series.py |7 --- 1 file changed, 4 insertions(+), 3 deletio

Re: [U-Boot] [PATCH v2 1/4] mxs: Remove not required explicit iomux-mx28.h include

2012-08-13 Thread Marek Vasut
Dear Otavio Salvador, > The iomux header is included on sys_proto.h so to avoid SoC specific > header inclusion. > > Signed-off-by: Otavio Salvador Acked-by: Marek Vasut Stefano, can you please apply? Best regards, Marek Vasut ___ U-Boot mailing li

[U-Boot] [PATCH v2 4/6] nand_spl: update udelay for Freescale boards

2012-08-13 Thread Matthew McClintock
Let's use the more appropriate udelay for the nand_spl. While we can't make use of u-boot's full udelay we can atl east use a for loop that won't get optimized away .Since we have the bus clock we can use the timebase to calculate wall time. Looked at reusing the u-boot udelay functions but it pul

[U-Boot] [PATCH v2 5/6] nand_spl: p1023rds: wait before enabling DDR controller

2012-08-13 Thread Matthew McClintock
We have a requirement to wait a period of time before enabling the DDR controller Signed-off-by: Matthew McClintock --- v2: change global bus_clk to use gd->bus_clk nand_spl/board/freescale/p1023rds/Makefile|6 +- nand_spl/board/freescale/p1023rds/nand_boot.c | 19 +++-

[U-Boot] [PATCH v2 4/4] mxs: Convert sys_proto.h prefixes to 'mxs'

2012-08-13 Thread Otavio Salvador
The sys_proto.h functions (except the boot modes) are compatible with i.MX233 and i.MX28 so we use 'mxs' prefix for its methods. Signed-off-by: Otavio Salvador --- Changes in v2: - no changes arch/arm/cpu/arm926ejs/mxs/mxs.c | 32 ++--- arch/arm/cpu/arm926ejs/

[U-Boot] [PATCH v2 3/4] mxs: rename regs-clkctrl.h to regs-clkctrl-mx28.h

2012-08-13 Thread Otavio Salvador
The CLKCTRL registers are SoC specific so we ought to have it clear on filename. Signed-off-by: Otavio Salvador --- Changes in v2: - no changes arch/arm/include/asm/arch-mxs/imx-regs.h |2 +- .../arm/include/asm/arch-mxs/{regs-clkctrl.h => regs-clkctrl-mx28.h} |

[U-Boot] [PATCH v2 2/4] mxs: Remove not required include of iomux-mx28.h

2012-08-13 Thread Otavio Salvador
The iomux-mx28.h include is not required on spl_mem_init.c so it has been droped. Signed-off-by: Otavio Salvador --- Changes in v2: - change short description to clearly describe what has been done arch/arm/cpu/arm926ejs/mxs/spl_mem_init.c |1 - 1 file changed, 1 deletion(-) diff --git a/a

[U-Boot] [PATCH v2 1/4] mxs: Remove not required explicit iomux-mx28.h include

2012-08-13 Thread Otavio Salvador
The iomux header is included on sys_proto.h so to avoid SoC specific header inclusion. Signed-off-by: Otavio Salvador --- Changes in v2: - no changes arch/arm/cpu/arm926ejs/mxs/spl_boot.c |1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/cpu/arm926ejs/mxs/spl_boot.c b/arch/arm/cpu

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

2012-08-13 Thread Wolfgang Denk
Dear Stefan Roese, In message <5028f978.3040...@roese.nl> you wrote: > Hi Wolfgang, > > please pull the following patches: > > The following changes since commit b4f106be2d8a4eb34ce41c5306d5a4fcc37e60e3: > > dts/Makefile: Turn off some predefined macros (2012-08-10 23:54:16 +0200) > > are av

Re: [U-Boot] [PATCH V5 1/2] ext4fs ls load support

2012-08-13 Thread Wolfgang Denk
Dear Rob Herring, In message <50294743.5010...@gmail.com> you wrote: > > I do an ubuntu install to a single ext4 fs and then ext2ls gives this: ... > The problem is in the directories with sizes of 0. It does seem to be What exactly is the problem? The listing appears pretty normal to me? It se

Re: [U-Boot] [PATCH v1 3/3] mxs: Convert sys_proto.h prefixes to 'mxs'

2012-08-13 Thread Otavio Salvador
On Mon, Aug 13, 2012 at 3:59 PM, Marek Vasut wrote: >> >> - for (i = 0; i < ARRAY_SIZE(mx28_boot_modes); i++) { >> >> - masked = bootmode & mx28_boot_modes[i].boot_mask; >> >> - if (masked == mx28_boot_modes[i].boot_pads) >> >> + for (i = 0; i < ARRAY_SIZE(mxs_boot_

Re: [U-Boot] [PATCH v1 3/3] mxs: Convert sys_proto.h prefixes to 'mxs'

2012-08-13 Thread Marek Vasut
Dear Otavio Salvador, > On Mon, Aug 13, 2012 at 3:11 PM, Marek Vasut wrote: > > Dear Otavio Salvador, > > > > [...] > > > >> diff --git a/arch/arm/cpu/arm926ejs/mxs/spl_boot.c > >> b/arch/arm/cpu/arm926ejs/mxs/spl_boot.c index 84d4a17..ddafddb 100644 > >> --- a/arch/arm/cpu/arm926ejs/mxs/spl_bo

Re: [U-Boot] [PATCH v1 3/3] mxs: Convert sys_proto.h prefixes to 'mxs'

2012-08-13 Thread Otavio Salvador
On Mon, Aug 13, 2012 at 3:11 PM, Marek Vasut wrote: > Dear Otavio Salvador, > > [...] > >> diff --git a/arch/arm/cpu/arm926ejs/mxs/spl_boot.c >> b/arch/arm/cpu/arm926ejs/mxs/spl_boot.c index 84d4a17..ddafddb 100644 >> --- a/arch/arm/cpu/arm926ejs/mxs/spl_boot.c >> +++ b/arch/arm/cpu/arm926ejs/mxs/

Re: [U-Boot] [PATCH 5/6] nand_spl: p1023rds: wait before enabling DDR controller

2012-08-13 Thread McClintock Matthew-B29882
On Mon, Aug 13, 2012 at 1:18 PM, Scott Wood wrote: > On 08/13/2012 01:10 PM, Matthew McClintock wrote: >> We have a requirement to wait a period of time before enabling the >> DDR controller >> >> Signed-off-by: Matthew McClintock >> --- >> nand_spl/board/freescale/p1023rds/Makefile|6 ++

Re: [U-Boot] [PATCH V5 1/2] ext4fs ls load support

2012-08-13 Thread Rob Herring
On 08/13/2012 06:52 AM, Wolfgang Denk wrote: > Dear Rob Herring, > > In message <50244d5a.3080...@gmail.com> you wrote: >> >> I reported already that the prior version that ext4 has issues with >> sub-directories. I don't think that has been addressed in V5. Some >> directories show up fine and so

[U-Boot] [PATCH 4/6] nand_spl: update udelay for Freescale boards

2012-08-13 Thread Matthew McClintock
Let's use the more appropriate udelay for the nand_spl. While we can't make use of u-boot's full udelay we can atl east use a for loop that won't get optimized away .Since we have the bus clock we can use the timebase to calculate wall time. Looked at reusing the u-boot udelay functions but it pul

[U-Boot] [PATCH 2/6] p1010rdb: fix ddr values for p1014rdb (setting bus width to 16bit)

2012-08-13 Thread Matthew McClintock
There was an extra 0 in front of the value we were using to mask, remove it to improve the code. Also fix the value written to ddr_sdram_cfg to set the bus width properly to 16 bits Signed-off-by: Matthew McClintock --- board/freescale/p1010rdb/ddr.c |7 --- 1 file changed, 4 insertions

[U-Boot] [PATCH 6/6] nand_spl: change out_be32 to raw_writel and depend on subsequent sync

2012-08-13 Thread Matthew McClintock
This change reduces the SPL size by removing the redundant syncs produced by out_be32 and just replies on one final sync Done with: sed -r '/in_be32/b; s/(out_be32)\(([^,]*),\s+(.*)\)/__raw_writel(\3, \2)/g' -i `git grep --name-only sdram_init nand_spl/` Signed-off-by: Matthew McClintock ---

[U-Boot] [PATCH 3/6] powerpc/p1010rdb: nandboot: compare SVR properly

2012-08-13 Thread Matthew McClintock
We were not comparing the SVRs properly previously. This comparison will properly shift the SVR and mask off the E bit This fixes the boot output to show the correct DDR bus width: 512 MiB (DDR3, 16-bit, CL=5, ECC off) instead of 512 MiB (DDR3, 32-bit, CL=5, ECC off) Signed-off-by: Matthew McC

[U-Boot] [PATCH 1/6] p1014rdb: set ddr bus width properly depending on SVR

2012-08-13 Thread Matthew McClintock
Currently, for NAND boot for the P1010/4RDB we hard code the DDR configuration. We can still dynamically set the DDR bus width in the nand spl so the P1010/4RDB boards can boot from the same u-boot image Signed-off-by: Matthew McClintock --- arch/powerpc/include/asm/fsl_ddr_sdram.h |1 +

Re: [U-Boot] [PATCH 5/6] nand_spl: p1023rds: wait before enabling DDR controller

2012-08-13 Thread Scott Wood
On 08/13/2012 01:10 PM, Matthew McClintock wrote: > We have a requirement to wait a period of time before enabling the > DDR controller > > Signed-off-by: Matthew McClintock > --- > nand_spl/board/freescale/p1023rds/Makefile|6 +- > nand_spl/board/freescale/p1023rds/nand_boot.c | 1

Re: [U-Boot] [PATCH v1 3/3] mxs: Convert sys_proto.h prefixes to 'mxs'

2012-08-13 Thread Marek Vasut
Dear Otavio Salvador, [...] > diff --git a/arch/arm/cpu/arm926ejs/mxs/spl_boot.c > b/arch/arm/cpu/arm926ejs/mxs/spl_boot.c index 84d4a17..ddafddb 100644 > --- a/arch/arm/cpu/arm926ejs/mxs/spl_boot.c > +++ b/arch/arm/cpu/arm926ejs/mxs/spl_boot.c > @@ -82,9 +82,9 @@ uint8_t mxs_get_bootmode_index(v

[U-Boot] [PATCH 5/6] nand_spl: p1023rds: wait before enabling DDR controller

2012-08-13 Thread Matthew McClintock
We have a requirement to wait a period of time before enabling the DDR controller Signed-off-by: Matthew McClintock --- nand_spl/board/freescale/p1023rds/Makefile|6 +- nand_spl/board/freescale/p1023rds/nand_boot.c | 14 -- 2 files changed, 17 insertions(+), 3 deletions

Re: [U-Boot] [PATCH v1 2/3] mxs: rename regs-clkctrl.h to regs-clkctrl-mx28.h

2012-08-13 Thread Marek Vasut
Dear Otavio Salvador, > The CLKCTRL registers are SoC specific so we ought to have it clear on > filename. Acked-by: Marek Vasut > Signed-off-by: Otavio Salvador > --- > arch/arm/include/asm/arch-mxs/imx-regs.h | > 2 +- .../arm/include/asm/arch-mxs/{regs-clkctrl

Re: [U-Boot] [PATCH v1 1/3] mxs: Remove unused iomux-mx28.h

2012-08-13 Thread Marek Vasut
Dear Otavio Salvador, Fix the subject, you're not removing the file ... otherwise Acked. > The iomux-mx28.h include is not required on spl_mem_init.c so it has > been droped. > > Signed-off-by: Otavio Salvador > --- > arch/arm/cpu/arm926ejs/mxs/spl_mem_init.c |1 - > 1 file changed, 1 dele

Re: [U-Boot] [PATCH v4] Consolidate bootcount code into drivers/bootcount

2012-08-13 Thread Mike Frysinger
On Monday 13 August 2012 07:56:03 Stefan Roese wrote: > rename arch/blackfin/cpu/bootcount.c => > drivers/bootcount/bootcount_blackfin.c (100%) create mode 100644 hmm, file was moved, but forgot to update arch/blackfin/cpu/Makefile to no longer refer to bootcount.c, so it fails. once that's fi

[U-Boot] [PATCH v3 2/2] fsl_esdhc: Remove cache snooping for i.MX

2012-08-13 Thread Benoît Thébaudeau
The cache snooping feature of Freescale's eSDHC IP is not available on i.MX, so disable it globally for this architecture. This avoids setting no_snoop for all i.MX boards, and it prevents setting a reserved bit of a reserved register if fsl_esdhc_mmc_init() is used on i.MX, like in arch/arm/cpu/ar

[U-Boot] [PATCH v3 1/2] mxc: Define architecture identifier

2012-08-13 Thread Benoît Thébaudeau
Define ARCH_MXC for i.MX devices. This is useful to identify features or behaviors common to all i.MX SoCs. The i.MX28 is omitted because its architecture is a bit different (like imx/mxc vs. mxs in Linux). Signed-off-by: Benoît Thébaudeau Cc: Stefano Babic Cc: Andy Fleming Cc: Kim Phillips -

Re: [U-Boot] [PATCH 1/2] imx: Define architecture identifier

2012-08-13 Thread Otavio Salvador
On Mon, Aug 13, 2012 at 11:18 AM, Benoît Thébaudeau wrote: > Define ARCH_IMX for i.MX devices. This is useful to identify features or > behaviors common to all i.MX SoCs. > > The i.MX28 is omitted because its architecture is a bit different (like > imx/mxc > vs. mxs in Linux). > > Signed-off-by:

Re: [U-Boot] [PATCH] tegra: enable NAND on Harmony

2012-08-13 Thread Stephen Warren
On 08/10/2012 05:32 PM, Scott Wood wrote: > On 07/30/2012 12:37 PM, Stephen Warren wrote: >> diff --git a/board/nvidia/dts/tegra20-harmony.dts >> b/board/nvidia/dts/tegra20-harmony.dts >> +nand-controller@70008000 { ... >> +nand@0 { >> +reg = <0>; >> +

Re: [U-Boot] [PATCH] dlmalloc: remove manual reloc alias warning

2012-08-13 Thread Andreas Bießmann
On 13.08.2012 17:14, Andreas Bießmann wrote: > Dear Mike Frysinger, > > On 13.08.2012 16:54, Mike Frysinger wrote: >> On Monday 13 August 2012 05:02:03 Andreas Bießmann wrote: >>> From: Andreas Bießmann >>> >>> The avr32 architecture (and some others) require manual relocation. Due to >>> the pre

Re: [U-Boot] [PATCH v3] Consolidate bootcount code into drivers/bootcount

2012-08-13 Thread Christian Riesch
Hi Stefan, On Monday, August 13, 2012, Stefan Roese wrote: > This patch moves all bootcount implementations into a common > directory: drivers/bootcount. The generic bootcount driver > is now usable not only by powerpc platforms, but others as well. > > Signed-off-by: Stefan Roese > > Cc: Heiko S

[U-Boot] [PATCH v2 2/2] fsl_esdhc: Remove cache snooping for i.MX

2012-08-13 Thread Benoît Thébaudeau
The cache snooping feature of Freescale's eSDHC IP is not available on i.MX, so disable it globally for this architecture. This avoids setting no_snoop for all i.MX boards, and it prevents setting a reserved bit of a reserved register if fsl_esdhc_mmc_init() is used on i.MX, like in arch/arm/cpu/ar

Re: [U-Boot] [PATCH 2/9] Fix strict-aliasing warning in dlmalloc

2012-08-13 Thread Andreas Bießmann
Dear Simon Glass, On 06.01.2012 04:54, Simon Glass wrote: > This fixes the following warnings in dlmalloc seen with my gcc 4.6. > > dlmalloc.c: In function 'malloc_bin_reloc': > dlmalloc.c:1493: warning: dereferencing pointer 'p' does break > strict-aliasing rules > dlmalloc.c:1493: warning: der

  1   2   >