Re: [U-Boot] [PATCH 2/2] Powerpc/i2c: Force i2c to become bus master out of reset

2011-10-27 Thread Heiko Schocher
Hello Huang Changming-R66093, Huang Changming-R66093 wrote: >>> These tow part codes are doing the different thing due to the >> different reason: >>> 1. Kernel's code: >>> because Sometimes 9th clock pulse isn't generated, that code is to >> generate the 9th clock pulse. >> >> What code are you l

Re: [U-Boot] [PATCH] e1000: fix bugs from recent commits

2011-10-27 Thread Mike Frysinger
On Fri, Oct 28, 2011 at 07:49, Wolfgang Denk wrote: > --- a/drivers/net/e1000.h > +++ b/drivers/net/e1000.h > >  #define E1000_WRITE_FLUSH(a) \ > -       do { uint32_t x = E1000_READ_REG(a, STATUS); } while (0) > +       E1000_READ_REG(a, STATUS) i think we want the do{}while as this is a write co

Re: [U-Boot] [PATCH v6 1/5] tegra2: Use cmd_link_o_target in board Makefiles

2011-10-27 Thread Mike Frysinger
On Fri, Oct 28, 2011 at 07:35, Albert ARIBAUD wrote: > Going up my backlog... for 2/4 and 4/5, as their are touching MMC driver > code, I'd like Andy to ack them as the the MMC custodian, then I can apply > the whole set (pending the MAINTAINER addition). i don't think this particular patch needs

Re: [U-Boot] [PATCH] gpio: Add PCA9698 40-bit I2C I/O port

2011-10-27 Thread Stefan Roese
Hi Dirk, On Wednesday 26 October 2011 08:44:56 Eibach, Dirk wrote: > > is this some v3 of the patch? If so, where is the change > > log? What has been changes? > > As you can see in http://patchwork.ozlabs.org/patch/120771/ message > archive I did a send without v3 tag and changelog by mistake.

[U-Boot] [PATCH] kirkwood: drop empty asm-offsets.s file

2011-10-27 Thread Mike Frysinger
This generated file does not belong in the tree -> punt. Signed-off-by: Mike Frysinger --- 0 files changed, 0 insertions(+), 0 deletions(-) delete mode 100644 arch/arm/cpu/arm926ejs/kirkwood/asm-offsets.s diff --git a/arch/arm/cpu/arm926ejs/kirkwood/asm-offsets.s b/arch/arm/cpu/arm926ejs/kirk

Re: [U-Boot] OMAP3 NAND ECC bug report

2011-10-27 Thread Arno Steffen
I have been used u-boot supportet (or better say not suppported) by TI in their latest PSP/SDK (Juli 2011). Base is 2010.06. But this issue was also inside older versions. - Arno ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/l

Re: [U-Boot] [PATCH 05/10 v3] spl, nand: add 4bit HW ecc oob first nand_read_page function

2011-10-27 Thread Heiko Schocher
Hello Scott, Scott Wood wrote: > On 10/27/2011 12:23 AM, Heiko Schocher wrote: In drivers/mtd/nand/davinci_nand.c CONFIG_SYS_NAND_4BIT_HW_ECC_OOBFIRST is used, and there are 4bit specific functions, so this define is also valid, just we need in drivers/mtd/nand/nand_spl_simple.c a m

[U-Boot] [PATCH] net, davinci_emac: fix compiler error

2011-10-27 Thread Heiko Schocher
This patch fixes following compile error for the davinice_emac driver: $ make -s cam_enc_4xx Configuring for cam_enc_4xx board... Generating include/generated/asm-offsets.h davinci_emac.c: In function 'davinci_emac_initialize': davinci_emac.c:817:3: error: request for member 'name' in something no

[U-Boot] [PATCH] e1000: fix bugs from recent commits

2011-10-27 Thread Wolfgang Denk
Commit 114d7fc0 "e1000: Rewrite EEPROM checksum error to give more information" failed to initialize the checksum variable which should result in random results. Fix that. [I wonder if that code has _ever_ been tested!!] Commit 2326a94d caused a ton of "unused variable 'x'" warnings. Fix these. W

[U-Boot] Confidetial Proposal

2011-10-27 Thread Organo Claude
Hello friend, I am Organo Claude now undergoing medical treatment in Qatar; I worked with the British Oil and gas Corporation in East London for over a decade I was married for fifteen years without a child while we lived in the uk.My wife died after a brief illness that lasted for two week

Re: [U-Boot] [PATCH v6 1/5] tegra2: Use cmd_link_o_target in board Makefiles

2011-10-27 Thread Albert ARIBAUD
Hi Simon, Le 18/10/2011 22:51, Simon Glass a écrit : > On Tue, Oct 18, 2011 at 1:07 PM, Tom Warren wrote: >> s/Hi Tom/Hi Stephen/ > > Sorry! And my question was really directed to Albert. Going up my backlog... for 2/4 and 4/5, as their are touching MMC driver code, I'd like Andy to ack them as

Re: [U-Boot] [PATCH 2/2] Powerpc/i2c: Force i2c to become bus master out of reset

2011-10-27 Thread Huang Changming-R66093
> > > > > These tow part codes are doing the different thing due to the > different reason: > > 1. Kernel's code: > > because Sometimes 9th clock pulse isn't generated, that code is to > generate the 9th clock pulse. > > What code are you looking at? Are you just reading the comment? > Look at htt

Re: [U-Boot] [PATCH v6 5/5] tegra2: Add support for Ventana

2011-10-27 Thread Albert ARIBAUD
Hi Stephen, Le 13/10/2011 01:05, Simon Glass a écrit : > On Wed, Oct 12, 2011 at 3:53 PM, Stephen Warren wrote: >> Ventana is a board which is very similar to Seaboard. Support it by >> re-using board/nvidia/seaboard/seaboard.c with minor run-time conditionals. >> >> v5: Makefile: Use cmd_link_o_

Re: [U-Boot] Pullrequest: u-boot-arm/master

2011-10-27 Thread Albert ARIBAUD
Hi Simon, Le 28/10/2011 03:53, Simon Glass a écrit : > Hi Albert, > You have Tom's MMC patch here but not the series from Stephen. Please > can you see my email below about this: > > On Thu, Oct 20, 2011 at 3:57 PM, Simon Glass wrote: >> Hi Albert, Wolfgang, >> >> I believe this is the current s

Re: [U-Boot] [PATCH 3/9] arm: Move CP15 init out of cpu_init_crit()

2011-10-27 Thread Albert ARIBAUD
Le 28/10/2011 03:43, Simon Glass a écrit : > The test was > > mrc p15, 0, r0, c0, c0, 0 @ get ID register > and r0, r0, #0xf@ get architecture > cmp r0, #0xf@ check for> ARMv6 > movne pc, lr @ else skip cache ini

Re: [U-Boot] [PATCH 3/9] arm: Move CP15 init out of cpu_init_crit()

2011-10-27 Thread Albert ARIBAUD
Hi Simon, Le 28/10/2011 00:46, Simon Glass a écrit : > Hi Albert, >> Yes I'm tempted to go with this even if the ARM ARM is silent on the >> matter. I will try it out today. > > Silly me of course it doesn't work - since if the CP15 doesn't have > those features then you get u

Re: [U-Boot] [Nios] New Nios Custodian

2011-10-27 Thread 馬克泡
Hi Scott and Thomas, 2011/10/28 Scott McNutt : > Dear u-boot Nios Developers, > > Please welcome Thomas Chou as our new Nios custodian. > > Over the past several months, my personal work load has > increased significantly. While this is great for me > both professionally and personally, it interfe

Re: [U-Boot] [PATCH 2/3] nds32: cache: define ARCH_DMA_MINALIGN for DMA buffer alignment

2011-10-27 Thread 馬克泡
Hi Wolfgang, 2011/10/25 Anton Staaf : > On Mon, Oct 24, 2011 at 2:46 AM, Macpaul Lin wrote: >> Add ARCH_DMA_MINALIGN definition to asm/cache.h >> >> Signed-off-by: Macpaul Lin > > Acked-by: Anton Staaf > Since the NDS32 has been come into mainline. Could I pick up this kind of simple changes o

[U-Boot] [PATCH v2] QorIQ: fix network frame manager TBI PHY address settings

2011-10-27 Thread Roy Zang
TBI PHY address (TBIPA) register has been set in general frame manager phy init funciton dtsec_init_phy() in drivers/net/fm/eth.c So remove the duplicate code on QorIQ frame manager Ethernet related platforms, which include Hydra board, P4080DS board and P2041rdb board. Signed-off-by: Roy Zang C

Re: [U-Boot] [PATCH 0/5] HWW-1U-1A: e1000 driver cleanups and new features

2011-10-27 Thread Wolfgang Denk
Dear Kyle Moffett, In message <1318971929-1160-1-git-send-email-kyle.d.moff...@boeing.com> you wrote: > This is a reposted patch series from several months that enhances the > e1000 driver in U-Boot to support the Intel 82571EB and provides > several new features for the board manufacturing proce

[U-Boot] [PATCH v2] Phy/Marvell: Rewrite the MV88E1111 phy config function based on kernel code

2011-10-27 Thread Roy Zang
The original m88es_config() does not do the SGMII mode initialization and is buggy. Rewrite the function according to 3.0.6 kernel function m88e_config_init() in drivers/net/phy/marvell.c Signed-off-by: Roy Zang Acked-by: Andy Fleming Cc: Kumar Gala --- v2: Use timeout instead of infini

[U-Boot] new e1000 compiler warnings

2011-10-27 Thread Kumar Gala
e1000.c: In function 'e1000_raise_ee_clk': e1000.c:155:2: warning: unused variable 'x' e1000.c: In function 'e1000_lower_ee_clk': e1000.c:172:2: warning: unused variable 'x' e1000.c: In function 'e1000_shift_out_ee_bits': e1000.c:208:3: warning: unused variable 'x' e1000.c: In function 'e1000_stan

Re: [U-Boot] Pullrequest: u-boot-arm/master

2011-10-27 Thread Simon Glass
Hi Albert, On Thu, Oct 27, 2011 at 3:32 PM, Wolfgang Denk wrote: > Dear Albert ARIBAUD, > > In message <4ea9bb69.8050...@aribaud.net> you wrote: >> Hi Wolfgang, >> >> The following changes since commit c30a15e590c7e5bfd27e4704c81648071f11d51f: >> >>    FAT: Add FAT write feature (2011-10-26 21:40

Re: [U-Boot] [PATCH 3/9] arm: Move CP15 init out of cpu_init_crit()

2011-10-27 Thread Simon Glass
Hi Albert, On Thu, Oct 27, 2011 at 3:46 PM, Simon Glass wrote: > Hi Albert, > > On Thu, Oct 27, 2011 at 3:39 PM, Albert ARIBAUD > wrote: >> Le 27/10/2011 22:17, Simon Glass a écrit : >>> >>> Hi Albert, >>> >>> On Thu, Oct 27, 2011 at 1:05 PM, Albert ARIBAUD >>>  wrote: Hi Simon,

[U-Boot] [Nios] New Nios Custodian

2011-10-27 Thread Scott McNutt
Dear u-boot Nios Developers, Please welcome Thomas Chou as our new Nios custodian. Over the past several months, my personal work load has increased significantly. While this is great for me both professionally and personally, it interferes with my open source activity. In the best interest of th

Re: [U-Boot] [PATCH 2/2] OMAP3: Add SPL support to Beagleboard

2011-10-27 Thread Igor Grinberg
On 10/28/2011 01:19 AM, Scott Wood wrote: > On 10/27/2011 06:02 PM, Igor Grinberg wrote: >> On 10/27/2011 11:27 PM, Wolfgang Denk wrote: >>> Dear Igor Grinberg, >>> >>> In message <4ea9ca9d.6010...@compulab.co.il> you wrote: On 10/26/2011 11:13 PM, Tom Rini wrote: > This introduces 200MHz

Re: [U-Boot] [PATCH 2/2] OMAP3: Add SPL support to Beagleboard

2011-10-27 Thread Tom Rini
On 10/27/2011 04:22 PM, Scott Wood wrote: > On 10/27/2011 06:13 PM, Tom Rini wrote: >> On 10/27/2011 04:10 PM, Igor Grinberg wrote: >>> On 10/27/2011 11:29 PM, Tom Rini wrote: On 10/27/2011 02:18 PM, Igor Grinberg wrote: > On 10/26/2011 11:13 PM, Tom Rini wrote: >> [snip] >> +/* nand_c

Re: [U-Boot] [PATCH v2 6/6] net: Export auto_load, use it in rarp

2011-10-27 Thread Mike Frysinger
On Fri, Oct 28, 2011 at 01:09, Scott Wood wrote: > On 10/27/2011 05:40 PM, Mike Frysinger wrote: >> On Fri, Oct 28, 2011 at 00:24, Simon Glass wrote: >>> On Thu, Oct 27, 2011 at 2:12 PM, Mike Frysinger wrote: On Thu, Oct 27, 2011 at 18:24, Simon Glass wrote: > This also fixes an incorrect

Re: [U-Boot] [PATCH 2/2] OMAP3: Add SPL support to Beagleboard

2011-10-27 Thread Scott Wood
On 10/27/2011 06:13 PM, Tom Rini wrote: > On 10/27/2011 04:10 PM, Igor Grinberg wrote: >> On 10/27/2011 11:29 PM, Tom Rini wrote: >>> On 10/27/2011 02:18 PM, Igor Grinberg wrote: On 10/26/2011 11:13 PM, Tom Rini wrote: > [snip] > +/* nand_command: Send a flash command to the flash chip */

Re: [U-Boot] [PATCH 2/2] OMAP3: Add SPL support to Beagleboard

2011-10-27 Thread Scott Wood
On 10/27/2011 06:02 PM, Igor Grinberg wrote: > On 10/27/2011 11:27 PM, Wolfgang Denk wrote: >> Dear Igor Grinberg, >> >> In message <4ea9ca9d.6010...@compulab.co.il> you wrote: >>> On 10/26/2011 11:13 PM, Tom Rini wrote: This introduces 200MHz Micron parts timing information based on x-loader

Re: [U-Boot] [PATCH 2/2] OMAP3: Add SPL support to Beagleboard

2011-10-27 Thread Tom Rini
On 10/27/2011 04:10 PM, Igor Grinberg wrote: > On 10/27/2011 11:29 PM, Tom Rini wrote: >> On 10/27/2011 02:18 PM, Igor Grinberg wrote: >>> On 10/26/2011 11:13 PM, Tom Rini wrote: [snip] +/* nand_command: Send a flash command to the flash chip */ +static void nand_command(unsigned char com

Re: [U-Boot] [PATCH 2/2] OMAP3: Add SPL support to Beagleboard

2011-10-27 Thread Igor Grinberg
On 10/27/2011 11:29 PM, Tom Rini wrote: > On 10/27/2011 02:18 PM, Igor Grinberg wrote: >> On 10/26/2011 11:13 PM, Tom Rini wrote: >>> This introduces 200MHz Micron parts timing information based on x-loader >>> and re-organizes the file slightly for grouping. The memory init logic >>> is also base

Re: [U-Boot] [PATCH v2 6/6] net: Export auto_load, use it in rarp

2011-10-27 Thread Scott Wood
On 10/27/2011 05:40 PM, Mike Frysinger wrote: > On Fri, Oct 28, 2011 at 00:24, Simon Glass wrote: >> On Thu, Oct 27, 2011 at 2:12 PM, Mike Frysinger wrote: >>> On Thu, Oct 27, 2011 at 18:24, Simon Glass wrote: This also fixes an incorrect call to TftpStart() which was never seen since app

Re: [U-Boot] [PATCH 2/2] OMAP3: Add SPL support to Beagleboard

2011-10-27 Thread Igor Grinberg
On 10/27/2011 11:27 PM, Wolfgang Denk wrote: > Dear Igor Grinberg, > > In message <4ea9ca9d.6010...@compulab.co.il> you wrote: >> On 10/26/2011 11:13 PM, Tom Rini wrote: >>> This introduces 200MHz Micron parts timing information based on x-loader >>> and re-organizes the file slightly for grouping.

Re: [U-Boot] [PATCH 3/9] arm: Move CP15 init out of cpu_init_crit()

2011-10-27 Thread Simon Glass
Hi Albert, On Thu, Oct 27, 2011 at 3:39 PM, Albert ARIBAUD wrote: > Le 27/10/2011 22:17, Simon Glass a écrit : >> >> Hi Albert, >> >> On Thu, Oct 27, 2011 at 1:05 PM, Albert ARIBAUD >>  wrote: >>> >>> Hi Simon, >>> >>> Le 25/10/2011 23:16, Simon Glass a écrit : >>> > But please think about w

Re: [U-Boot] [PATCH v2 6/6] net: Export auto_load, use it in rarp

2011-10-27 Thread Mike Frysinger
On Fri, Oct 28, 2011 at 00:24, Simon Glass wrote: > On Thu, Oct 27, 2011 at 2:12 PM, Mike Frysinger wrote: >> On Thu, Oct 27, 2011 at 18:24, Simon Glass wrote: >>> This also fixes an incorrect call to TftpStart() which was never seen >>> since apparently no boards enable rarp. >> >> i wonder if we

Re: [U-Boot] [PATCH 3/9] arm: Move CP15 init out of cpu_init_crit()

2011-10-27 Thread Albert ARIBAUD
Le 27/10/2011 22:17, Simon Glass a écrit : > Hi Albert, > > On Thu, Oct 27, 2011 at 1:05 PM, Albert ARIBAUD > wrote: >> Hi Simon, >> >> Le 25/10/2011 23:16, Simon Glass a écrit : >> But please think about what you actually want in start.S. Do you really want an #ifdef TEGRA2 with a chec

Re: [U-Boot] [PATCH 5/5] e1000: Allow direct access to the E1000 SPI EEPROM device

2011-10-27 Thread Wolfgang Denk
Dear Kyle Moffett, In message <1318971929-1160-6-git-send-email-kyle.d.moff...@boeing.com> you wrote: > As a part of the manufacturing process for some of our custom hardware, > we are programming the EEPROMs attached to our Intel 82571EB controllers > from software using U-Boot and Linux. > > T

Re: [U-Boot] [PATCH 4/5] e1000: Export core EEPROM access functions for SPI support

2011-10-27 Thread Wolfgang Denk
Dear Kyle Moffett, In message <1318971929-1160-5-git-send-email-kyle.d.moff...@boeing.com> you wrote: > A followup patch will be adding a configurable feature to enable > programming of E1000 EEPROMs from the command line or via the generic > U-Boot SPI interface. > > In order for it to work it

Re: [U-Boot] [PATCH 3/5] e1000: Rewrite EEPROM checksum error to give more information

2011-10-27 Thread Wolfgang Denk
Dear Kyle Moffett, In message <1318971929-1160-4-git-send-email-kyle.d.moff...@boeing.com> you wrote: > As an aide to debugging, we should print out the expected value of the > EEPROM checksum in addition to just saying that it is wrong. > > Signed-off-by: Kyle Moffett > Cc: Ben Warren > --- >

Re: [U-Boot] [PATCH 2/5] e1000: Restructure and streamline PCI device probing

2011-10-27 Thread Wolfgang Denk
Dear Kyle Moffett, In message <1318971929-1160-3-git-send-email-kyle.d.moff...@boeing.com> you wrote: > By allocating the e1000 device structures much earlier, we can easily > generate better error messages and siginficantly clean things up. > > The only user-visable change (aside from reworded

Re: [U-Boot] [PATCH 1/5] e1000: Clean up handling of dual-port NICs and support 82571

2011-10-27 Thread Wolfgang Denk
Dear Kyle Moffett, In message <1318971929-1160-2-git-send-email-kyle.d.moff...@boeing.com> you wrote: > Consolidate the test for a dual-port NIC to one location for easy > modification, then fix support for the dual-port 82571. > > Signed-off-by: Kyle Moffett > Cc: Ben Warren > --- > drivers/

Re: [U-Boot] [PATCH] zlib: Fix integer cast of pointer

2011-10-27 Thread Wolfgang Denk
Dear Simon Glass, In message <1318892105-5317-1-git-send-email-...@chromium.org> you wrote: > Fix to cast an integer to a pointer using uintptr_t. > > Signed-off-by: Simon Glass > --- > lib/zlib/inffast.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) Applied, thanks. Best rega

Re: [U-Boot] Pullrequest: u-boot-arm/master

2011-10-27 Thread Wolfgang Denk
Dear Albert ARIBAUD, In message <4ea9bb69.8050...@aribaud.net> you wrote: > Hi Wolfgang, > > The following changes since commit c30a15e590c7e5bfd27e4704c81648071f11d51f: > >FAT: Add FAT write feature (2011-10-26 21:40:44 +0200) > > are available in the git repository at: >git://git.denx

Re: [U-Boot] [PATCH v2 6/6] net: Export auto_load, use it in rarp

2011-10-27 Thread Simon Glass
Hi Mike, On Thu, Oct 27, 2011 at 2:12 PM, Mike Frysinger wrote: > On Thu, Oct 27, 2011 at 18:24, Simon Glass wrote: >> The rarp code includes another instance of the auto_load logic, so call >> what is now net_auto_load() instead. > > Acked-by: Mike Frysinger > >> This also fixes an incorrect ca

Re: [U-Boot] Pull request - microblaze

2011-10-27 Thread Wolfgang Denk
Dear Michal Simek, In message <4ea4ff1a.2020...@monstr.eu> you wrote: > Dear Wolfgang Denk, > > please pull these two patches to your tree. > > Thanks, > Michal > > > The following changes since commit 4962e38e9a4a053792722918bb11c5408549aebd: >Stefano Babic (1): > mkimage: adding

Re: [U-Boot] [PATCH 7/7] DEBUG: Fix debug macros

2011-10-27 Thread Wolfgang Denk
Dear Marek Vasut, In message <1319535702-20929-8-git-send-email-marek.va...@gmail.com> you wrote: > The current implementation of debug doesn't play well with GCC4.6. > This implementation also fixes GCC4.6 complaints about unused variables > while maintaining code size. > > Also, drop the debugX

Re: [U-Boot] [PATCH 6/7] GCC4.6: Remove debugX() usage from spc1920 hpi

2011-10-27 Thread Wolfgang Denk
Dear Marek Vasut, In message <1319535702-20929-7-git-send-email-marek.va...@gmail.com> you wrote: > Signed-off-by: Marek Vasut > Cc: Wolfgang Denk > Cc: Simon Glass > Cc: Mike Frysinger > --- > board/spc1920/hpi.c | 68 +- > 1 files changed, 3

Re: [U-Boot] [PATCH 5/7] GCC4.6: Squash warnings in omap4 clocks.c

2011-10-27 Thread Wolfgang Denk
Dear Marek Vasut, In message <1319535702-20929-6-git-send-email-marek.va...@gmail.com> you wrote: > clocks.c:606:2: warning: format '%08x' expects type 'unsigned int', but > argument > 2 has type 'u32 * const' > clocks.c:633:2: warning: format '%08x' expects type 'unsigned int', but > argument >

Re: [U-Boot] [PATCH 4/7] GCC4.6: Squash warning in tegra2 board.c

2011-10-27 Thread Wolfgang Denk
Dear Marek Vasut, In message <1319535702-20929-5-git-send-email-marek.va...@gmail.com> you wrote: > board.c:43:2: warning: format '%08lX' expects type 'long unsigned int', but > argument 2 has type 'u32' > > Signed-off-by: Marek Vasut > Cc: Wolfgang Denk > Cc: Simon Glass > Cc: Mike Frysinger

Re: [U-Boot] [PATCH 3/7] GCC4.6: Squash warnings in yaffs_guts.c

2011-10-27 Thread Wolfgang Denk
Dear Marek Vasut, In message <1319535702-20929-4-git-send-email-marek.va...@gmail.com> you wrote: > yaffs_guts.c: In function 'yaffs_ReadDataFromFile': > yaffs_guts.c:4461:8: warning: 'chunk' may be used uninitialized in this > function > yaffs_guts.c:4462:8: warning: 'start' may be used uninitia

Re: [U-Boot] [PATCH 1/7] GCC4.6: Squash warnings in LzmaTools.c

2011-10-27 Thread Wolfgang Denk
Dear Marek Vasut, In message <1319535702-20929-2-git-send-email-marek.va...@gmail.com> you wrote: > LzmaTools.c: In function 'lzmaBuffToBuffDecompress': > LzmaTools.c:70:5: warning: format '%lx' expects type 'long unsigned int', but > argument 2 has type 'unsigned char *' > LzmaTools.c:71:5: warni

Re: [U-Boot] [PATCH 2/7] GCC4.6: Drop dead code from yaffs_guts.c

2011-10-27 Thread Wolfgang Denk
Dear Marek Vasut, In message <1319535702-20929-3-git-send-email-marek.va...@gmail.com> you wrote: > Drop yaffs_DeleteWorker(): > yaffs_guts.c:1556:12: warning: 'yaffs_DeleteWorker' defined but not used > > Drop yaffs_VerifyTnodeWorker(): > yaffs_guts.c:600:12: warning: 'yaffs_VerifyTnodeWorker' d

Re: [U-Boot] [PATCH 4/4] GCC4.6: Squash warning in lcd.c

2011-10-27 Thread Wolfgang Denk
Dear Marek Vasut, In message <1319535660-20881-5-git-send-email-marek.va...@gmail.com> you wrote: > lcd.c: In function 'lcd_setmem': > lcd.c:446:2: warning: format '%d' expects type 'int', but argument 2 has type > 'u_long' > lcd.c:446:2: warning: format '%d' expects type 'int', but argument 3 has

Re: [U-Boot] [PATCH 3/4] GCC4.6: Squash GTREADREG related errors

2011-10-27 Thread Wolfgang Denk
Dear Marek Vasut, In message <1319535660-20881-4-git-send-email-marek.va...@gmail.com> you wrote: > interrupts.c: In function 'interrupt_init_cpu': > interrupts.c:37: warning: implicit declaration of function 'GTREGREAD' > interrupts.c:37: error: 'LOW_INTERRUPT_CAUSE_REGISTER' undeclared (first us

Re: [U-Boot] [PATCH 2/4] RFT GCC4.6: Fix muas3001 and IDS8247

2011-10-27 Thread Wolfgang Denk
Dear Marek Vasut, In message <1319535660-20881-3-git-send-email-marek.va...@gmail.com> you wrote: > The boards suffer from the following error due to undefined configuration > variables: > > Configuring for IDS8247 board... > ether_fcc.c:75: error: 'CONFIG_SYS_CMXFCR_MASK1' undeclared here (not i

Re: [U-Boot] [PATCH 1/4] GCC4.6: Squash warning in cmd_date.c

2011-10-27 Thread Wolfgang Denk
Dear Marek Vasut, In message <1319535660-20881-2-git-send-email-marek.va...@gmail.com> you wrote: > cmd_date.c: In function ‘do_date’: > cmd_date.c:50:6: warning: variable ‘old_bus’ set but not used > [-Wunused-but-set-variable] > > Signed-off-by: Marek Vasut > Cc: Wolfgang Denk > Cc: Simon Gla

Re: [U-Boot] [PATCH 18/18] GCC4.6: Use debug() instead of debugX() in s3c24xx_nand.c

2011-10-27 Thread Wolfgang Denk
Dear Marek Vasut, In message <1319535604-20831-19-git-send-email-marek.va...@gmail.com> you wrote: > The debugX() macro was always used with debug level 1. There is no point to > use > it here instead of debug(). > > Signed-off-by: Marek Vasut > Cc: Wolfgang Denk > Cc: Simon Glass > Cc: Mike

Re: [U-Boot] [PATCH 17/18] GCC4.6: Squash warnings in fec_mxc.c

2011-10-27 Thread Wolfgang Denk
Dear Marek Vasut, In message <1319535604-20831-18-git-send-email-marek.va...@gmail.com> you wrote: > fec_mxc.c: In function 'fec_mii_setspeed': > fec_mxc.c:112:2: warning: format '%#lx' expects type 'long unsigned int', but > argument 2 has type 'u32' > fec_mxc.c: In function 'fec_recv': > fec_mxc

Re: [U-Boot] [PATCH 16/18] GCC4.6: Squash warning in bus_vcxk.c

2011-10-27 Thread Wolfgang Denk
Dear Marek Vasut, In message <1319535604-20831-17-git-send-email-marek.va...@gmail.com> you wrote: > bus_vcxk.c:167:2: warning: format '%d' expects type 'int', but argument 2 has > type 'u_long' > bus_vcxk.c:167:2: warning: format '%d' expects type 'int', but argument 3 has > type 'u_long' > > Si

Re: [U-Boot] [PATCH 15/18] GCC4.6: Squash warnings in ks8695eth.c

2011-10-27 Thread Wolfgang Denk
Dear Marek Vasut, In message <1319535604-20831-16-git-send-email-marek.va...@gmail.com> you wrote: > ks8695eth.c:199:2: warning: format '%x' expects type 'unsigned int', but > argument 4 has type 'volatile void *' > > Signed-off-by: Marek Vasut > Cc: Wolfgang Denk > Cc: Simon Glass > Cc: Mike

Re: [U-Boot] [PATCH 14/18] GCC4.6: Squash warnings in lattice.c

2011-10-27 Thread Wolfgang Denk
Dear Marek Vasut, In message <1319535604-20831-15-git-send-email-marek.va...@gmail.com> you wrote: > lattice.c:319:4: warning: format '%x' expects type 'unsigned int', but > argument > 3 has type 'const char *' > lattice.c:319:4: warning: format '%x' expects type 'unsigned int', but > argument >

Re: [U-Boot] [PATCH 13/18] GCC4.6: Squash warnings in kirkwood_spi.c

2011-10-27 Thread Wolfgang Denk
Dear Marek Vasut, In message <1319535604-20831-14-git-send-email-marek.va...@gmail.com> you wrote: > kirkwood_spi.c:125:2: warning: format '%08X' expects type 'unsigned int', but > argument 4 has type 'const void *' > kirkwood_spi.c:125:2: warning: format '%08X' expects type 'unsigned int', but >

Re: [U-Boot] [PATCH 12/18] GCC4.6: Squash warnings in smsc95xx.c

2011-10-27 Thread Wolfgang Denk
Dear Marek Vasut, In message <1319535604-20831-13-git-send-email-marek.va...@gmail.com> you wrote: > smsc95xx.c: In function 'smsc95xx_write_hwaddr': > smsc95xx.c:380:2: warning: dereferencing type-punned pointer will break > strict-aliasing rules > > Signed-off-by: Marek Vasut > Cc: Wolfgang De

Re: [U-Boot] [PATCH 11/18] GCC4.6: Fix warnings in pxa_mmc.c

2011-10-27 Thread Wolfgang Denk
Dear Marek Vasut, In message <1319535604-20831-12-git-send-email-marek.va...@gmail.com> you wrote: > pxa_mmc.c: In function 'mmc_cmd': > pxa_mmc.c:77:2: warning: format '%08x' expects type 'unsigned int', but > argument > 2 has type 'ulong' > pxa_mmc.c: In function 'mmc_block_read': > pxa_mmc.c:1

Re: [U-Boot] [PATCH 07/18] GCC4.6: Squash warnings in fsl_pci_init.c

2011-10-27 Thread Wolfgang Denk
Dear Marek Vasut, In message <1319535604-20831-8-git-send-email-marek.va...@gmail.com> you wrote: > fsl_pci_init.c: In function 'fsl_pci_init': > fsl_pci_init.c:308: warning: format '%08x' expects type 'unsigned int', but > argument 6 has type 'long unsigned int' > fsl_pci_init.c:347: warning: for

Re: [U-Boot] [PATCH 10/18] GCC4.6: Squash error in pcmcia/i82365.c

2011-10-27 Thread Wolfgang Denk
Dear Marek Vasut, In message <1319535604-20831-11-git-send-email-marek.va...@gmail.com> you wrote: > i82365.c: In function 'cirrus_set_opts': > i82365.c:329: error: 'buf' undeclared (first use in this function) > i82365.c:329: error: (Each undeclared identifier is reported only once > i82365.c:329

Re: [U-Boot] [PATCH 08/18] GCC4.6: Squash warnings in sata_sil3114.c

2011-10-27 Thread Wolfgang Denk
Dear Marek Vasut, In message <1319535604-20831-9-git-send-email-marek.va...@gmail.com> you wrote: > sata_sil3114.c: In function 'sata_identify': > sata_sil3114.c:174: warning: format '%x' expects type 'unsigned int', but > argument 2 has type 'lbaint_t' > > Signed-off-by: Marek Vasut > Cc: Wolfg

Re: [U-Boot] [PATCH 06/18] GCC4.6: Squash warnings in fsl_espi.c

2011-10-27 Thread Wolfgang Denk
Dear Marek Vasut, In message <1319535604-20831-7-git-send-email-marek.va...@gmail.com> you wrote: > fsl_espi.c: In function 'spi_setup_slave': > fsl_espi.c:100: warning: format '%d' expects type 'int', but argument 3 has > type > 'long unsigned int' > fsl_espi.c: In function 'spi_xfer': > fsl_esp

Re: [U-Boot] [PATCH 05/18] GCC4.6: Squash warnings in ahci.c

2011-10-27 Thread Wolfgang Denk
Dear Marek Vasut, In message <1319535604-20831-6-git-send-email-marek.va...@gmail.com> you wrote: > ahci.c: In function 'ahci_port_start': > ahci.c:401: warning: format '%x' expects type 'unsigned int', but argument 2 > has > type 'struct ahci_cmd_hdr *' > > Signed-off-by: Marek Vasut > Cc: Wol

Re: [U-Boot] [PATCH 09/18] GCC4.6: Squash warnings in tqm8xx_pcmcia.c

2011-10-27 Thread Wolfgang Denk
Dear Marek Vasut, In message <1319535604-20831-10-git-send-email-marek.va...@gmail.com> you wrote: > tqm8xx_pcmcia.c: In function 'power_off': > tqm8xx_pcmcia.c:46: warning: passing argument 1 of 'out_be32' makes pointer > from > integer without a cast > tqm8xx_pcmcia.c: In function 'power_on_5_0

Re: [U-Boot] [PATCH 04/18] GCC4.6: Squash warnings in 4xx_enet.c

2011-10-27 Thread Wolfgang Denk
Dear Marek Vasut, In message <1319535604-20831-5-git-send-email-marek.va...@gmail.com> you wrote: > 4xx_enet.c: In function 'ppc_4xx_eth_init': > 4xx_enet.c:1352: warning: format '%08x' expects type 'unsigned int', but > argument 2 has type 'volatile struct mal_desc_t *' > 4xx_enet.c:1352: warning

Re: [U-Boot] [PATCH 03/18] GCC4.6: Squash warning in jedec_flash.c

2011-10-27 Thread Wolfgang Denk
Dear Marek Vasut, In message <1319535604-20831-4-git-send-email-marek.va...@gmail.com> you wrote: > jedec_flash.c: In function 'fill_info': > jedec_flash.c:393: warning: format '%x' expects type 'unsigned int', but > argument 2 has type 'ulong' > jedec_flash.c:393: warning: format '%x' expects typ

Re: [U-Boot] [PATCH 02/18] GCC4.6: Squash warning in cfi_flash.c

2011-10-27 Thread Wolfgang Denk
Dear Marek Vasut, In message <1319535604-20831-3-git-send-email-marek.va...@gmail.com> you wrote: > cfi_flash.c: In function 'flash_protect_default': > cfi_flash.c:2152: warning: format '%08x' expects type 'unsigned int', but > argument 2 has type 'ulong' > cfi_flash.c:2152: warning: format '%08x'

Re: [U-Boot] [PATCH 01/18] GCC4.6: Squash warning in cfb_console.c

2011-10-27 Thread Wolfgang Denk
Dear Marek Vasut, In message <1319535604-20831-2-git-send-email-marek.va...@gmail.com> you wrote: > cfb_console.c: In function 'video_display_bitmap': > cfb_console.c:1148: warning: format '%d' expects type 'int', but argument 2 > has > type 'long unsigned int' > cfb_console.c:1148: warning: form

Re: [U-Boot] [PATCH 1/5] GCC4.6: Squash warnings in common/usb.c

2011-10-27 Thread Wolfgang Denk
Dear Marek Vasut, In message <1319535558-20782-2-git-send-email-marek.va...@gmail.com> you wrote: > usb.c: In function ‘usb_parse_config’: > usb.c:331:17: warning: variable ‘ch’ set but not used > [-Wunused-but-set-variable] > usb.c: In function ‘usb_hub_port_connect_change’: > usb.c:1123:29: warn

Re: [U-Boot] [PATCH 5/5] GCC4.6: Squash undefined variable in cmd_mtdparts.c

2011-10-27 Thread Wolfgang Denk
Dear Marek Vasut, In message <1319535558-20782-6-git-send-email-marek.va...@gmail.com> you wrote: > Signed-off-by: Marek Vasut > Cc: Wolfgang Denk > Cc: Simon Glass > Cc: Mike Frysinger > --- > common/cmd_mtdparts.c |2 -- > 1 files changed, 0 insertions(+), 2 deletions(-) Applied, thank

Re: [U-Boot] [PATCH 4/5] GCC4.6: Squash subsequent warnings in usb_storage.c

2011-10-27 Thread Wolfgang Denk
Dear Marek Vasut, In message <1319535558-20782-5-git-send-email-marek.va...@gmail.com> you wrote: > usb_storage.c: In function ‘us_one_transfer’: > usb_storage.c:377:7: warning: format ‘%X’ expects argument of type ‘unsigned > int’, but argument 2 has type ‘long unsigned int’ [-Wformat] > usb_stor

Re: [U-Boot] [PATCH 2/5] GCC4.6: Squash warning in cmd_ide.c

2011-10-27 Thread Wolfgang Denk
Dear Marek Vasut, In message <1319535558-20782-3-git-send-email-marek.va...@gmail.com> you wrote: > cmd_ide.c: In function ‘ide_read’: > cmd_ide.c:1227:2: warning: format ‘%LX’ expects argument of type ‘long long > unsigned int’, but argument 3 has type ‘lbaint_t’ [-Wformat] > > Signed-off-by: Ma

Re: [U-Boot] [PATCH 3/5] GCC4.6: Squash warning in usb_storage.c

2011-10-27 Thread Wolfgang Denk
Dear Marek Vasut, In message <1319535558-20782-4-git-send-email-marek.va...@gmail.com> you wrote: > usb_storage.c: In function ‘usb_stor_CB_reset’: > usb_storage.c:466:6: warning: variable ‘result’ set but not used > [-Wunused-but-set-variable] > > Signed-off-by: Marek Vasut > Cc: Wolfgang Denk

Re: [U-Boot] [PATCH 10/10] GCC4.6: Add macros to mv_gen_reg.h

2011-10-27 Thread Wolfgang Denk
Dear Marek Vasut, In message <1319535510-20737-11-git-send-email-marek.va...@gmail.com> you wrote: > interrupts.c: In function 'interrupt_init_cpu': > interrupts.c:40: error: 'ETHERNET0_INTERRUPT_CAUSE_REGISTER' undeclared (first > use in this function) > interrupts.c:40: error: (Each undeclared i

Re: [U-Boot] [PATCH 09/10] GCC4.6: Squash error in cpc45/pd67290.c

2011-10-27 Thread Wolfgang Denk
Dear Marek Vasut, In message <1319535510-20737-10-git-send-email-marek.va...@gmail.com> you wrote: > pd67290.c: In function 'cirrus_set_opts': > pd67290.c:282: error: 'buf' undeclared (first use in this function) > pd67290.c:282: error: (Each undeclared identifier is reported only once > pd67290.c

Re: [U-Boot] [PATCH 08/10] GCC4.6: Squash warnings in PPChameleonEVB/flash.c

2011-10-27 Thread Wolfgang Denk
Dear Marek Vasut, In message <1319535510-20737-9-git-send-email-marek.va...@gmail.com> you wrote: > flash.c: In function 'flash_init': > flash.c:54: warning: format '%08X' expects type 'unsigned int', but argument 4 > has type 'struct flash_info_t *' > > Signed-off-by: Marek Vasut > --- > board

Re: [U-Boot] [PATCH 06/10] GCC4.6: Squash warnings in pmc405de.c

2011-10-27 Thread Wolfgang Denk
Dear Marek Vasut, In message <1319535510-20737-7-git-send-email-marek.va...@gmail.com> you wrote: > pmc405de.c: In function 'do_painit': > pmc405de.c:444: warning: format '%08x' expects type 'unsigned int', but > argument > 2 has type 'phys_size_t' > > Signed-off-by: Marek Vasut > Cc: Wolfgang

Re: [U-Boot] [PATCH 07/10] GCC4.6: Squash warnings in r360mpi/flash.c

2011-10-27 Thread Wolfgang Denk
Dear Marek Vasut, In message <1319535510-20737-8-git-send-email-marek.va...@gmail.com> you wrote: > flash.c: In function 'flash_get_size': > flash.c:222: warning: format '%08lx' expects type 'long unsigned int', but > argument 3 has type 'int' > flash.c:238: warning: format '%08lx' expects type 'l

Re: [U-Boot] [PATCH 05/10] GCC4.6: Squash warning in cmd_pmc440.c

2011-10-27 Thread Wolfgang Denk
Dear Marek Vasut, In message <1319535510-20737-6-git-send-email-marek.va...@gmail.com> you wrote: > cmd_pmc440.c: In function 'do_painit': > cmd_pmc440.c:371: warning: format '%08x' expects type 'unsigned int', but > argument 2 has type 'phys_size_t' > > Signed-off-by: Marek Vasut > Cc: Wolfgang

Re: [U-Boot] [PATCH 04/10] GCC4.6: Squash warnings in tqm834x.c

2011-10-27 Thread Wolfgang Denk
Dear Marek Vasut, In message <1319535510-20737-5-git-send-email-marek.va...@gmail.com> you wrote: > tqm834x.c: In function 'initdram': > tqm834x.c:126: warning: format '%d' expects type 'int', but argument 3 has > type > 'long int' > tqm834x.c: In function 'set_cs_bounds': > tqm834x.c:336: warnin

Re: [U-Boot] [PATCH 03/10] GCC4.6: Squash warnings in mpc8610hpcd.c

2011-10-27 Thread Wolfgang Denk
Dear Marek Vasut, In message <1319535510-20737-4-git-send-email-marek.va...@gmail.com> you wrote: > mpc8610hpcd.c: In function 'misc_init_r': > mpc8610hpcd.c:79: warning: format '%02lx' expects type 'long unsigned int', > but > argument 2 has type 'int' > mpc8610hpcd.c:86: warning: format '%02lx'

Re: [U-Boot] [PATCH 02/10] GCC4.6: Squash warnings in diu.c

2011-10-27 Thread Wolfgang Denk
Dear Marek Vasut, In message <1319535510-20737-3-git-send-email-marek.va...@gmail.com> you wrote: > diu.c: In function 'diu_set_pixel_clock': > diu.c:77: warning: format '%lu' expects type 'long unsigned int', but > argument 2 > has type 'u32' > > Signed-off-by: Marek Vasut > Cc: Wolfgang Denk

Re: [U-Boot] [PATCH 01/10] GCC4.6: Squash warning in mpc5121ads.c

2011-10-27 Thread Wolfgang Denk
Dear Marek Vasut, In message <1319535510-20737-2-git-send-email-marek.va...@gmail.com> you wrote: > mpc5121ads.c: In function 'misc_init_r': > mpc5121ads.c:256: warning: format '%02lx' expects type 'long unsigned int', > but > argument 2 has type 'int' > mpc5121ads.c:263: warning: format '%02lx'

Re: [U-Boot] [PATCH 9/9] GCC4.6: Squash warnings in mpc86xx/interrupts.c

2011-10-27 Thread Wolfgang Denk
Dear Marek Vasut, In message <1319535462-20693-10-git-send-email-marek.va...@gmail.com> you wrote: > interrupts.c: In function 'interrupt_init_cpu': > interrupts.c:62: warning: format '%d' expects type 'int', but argument 2 has > type 'long unsigned int' > interrupts.c:69: warning: format '%x' exp

Re: [U-Boot] [PATCH 8/9] GCC4.6: Squash warnings in ddr[123]_dimm_params.c

2011-10-27 Thread Wolfgang Denk
Dear Marek Vasut, In message <1319535462-20693-9-git-send-email-marek.va...@gmail.com> you wrote: > ddr1_dimm_params.c: In function 'compute_ranksize': > ddr1_dimm_params.c:44: warning: format '%08x' expects type 'unsigned int', but > argument 2 has type 'long long unsigned int' > > ddr2_dimm_par

Re: [U-Boot] [PATCH 7/9] GCC4.6: Use dst instead of l2srbar in cpu_early_init.c

2011-10-27 Thread Wolfgang Denk
Dear Marek Vasut, In message <1319535462-20693-8-git-send-email-marek.va...@gmail.com> you wrote: > cpu_init_early.c: In function 'cpu_init_early_f': > cpu_init_early.c:74: warning: 'l2srbar' may be used uninitialized in this > function > > Signed-off-by: Marek Vasut > Cc: Wolfgang Denk > Cc: S

Re: [U-Boot] [PATCH 6/9] GCC4.6: Squash warnings in 4xx_pcie.c

2011-10-27 Thread Wolfgang Denk
Dear Marek Vasut, In message <1319535462-20693-7-git-send-email-marek.va...@gmail.com> you wrote: > 4xx_pcie.c: In function 'pcie_read_config': > 4xx_pcie.c:268: warning: format '%08x' expects type 'unsigned int', but > argument > 3 has type 'volatile unsigned char *' > > Signed-off-by: Marek Va

Re: [U-Boot] [PATCH 4/9] GCC4.6: Squash warnings in 44x_spd_ddr.c

2011-10-27 Thread Wolfgang Denk
Dear Marek Vasut, In message <1319535462-20693-5-git-send-email-marek.va...@gmail.com> you wrote: > 44x_spd_ddr.c: In function 'program_tr0': > 44x_spd_ddr.c:823: warning: format '%x' expects type 'unsigned int', but > argument 2 has type 'long unsigned int' > 44x_spd_ddr.c: In function 'program_t

Re: [U-Boot] [PATCH 5/9] GCC4.6: Squash warnings in 4xx_ibm_ddr2_autocalib.c

2011-10-27 Thread Wolfgang Denk
Dear Marek Vasut, In message <1319535462-20693-6-git-send-email-marek.va...@gmail.com> you wrote: > 4xx_ibm_ddr2_autocalib.c: In function 'DQS_calibration_methodB': > 4xx_ibm_ddr2_autocalib.c:910: warning: format '%08X' expects type 'unsigned > int', but argument 2 has type 'ulong' > 4xx_ibm_ddr2_

Re: [U-Boot] [PATCH 3/9] GCC4.6: Squash warnings in denali_spd_ddr2.c

2011-10-27 Thread Wolfgang Denk
Dear Marek Vasut, In message <1319535462-20693-4-git-send-email-marek.va...@gmail.com> you wrote: > denali_spd_ddr2.c: In function 'get_spd_info': > denali_spd_ddr2.c:363: warning: format '%d' expects type 'int', but argument 2 > has type 'long unsigned int' > denali_spd_ddr2.c: In function 'check

Re: [U-Boot] [PATCH 2/9] GCC4.6: Squash warnings in denali_data_eye.c

2011-10-27 Thread Wolfgang Denk
Dear Marek Vasut, In message <1319535462-20693-3-git-send-email-marek.va...@gmail.com> you wrote: > denali_data_eye.c: In function > 'denali_core_search_data_eye':denali_spd_ddr2.c:646: warning: format '%d' > expects type 'int', but argument 2 has type 'long unsigned int' > > denali_data_eye.c:32

Re: [U-Boot] [PATCH 1/9] PowerPC: Squash warning in mpc512x serial.c

2011-10-27 Thread Wolfgang Denk
Dear Marek Vasut, In message <1319535462-20693-2-git-send-email-marek.va...@gmail.com> you wrote: > serial.c: In function 'serial_setbrg_dev': > serial.c:143: warning: format '%d' expects type 'int', but argument 4 has type > 'long unsigned int' > > Signed-off-by: Marek Vasut > Cc: Wolfgang Denk

Re: [U-Boot] [PATCH V2] cosmetic: s/BOARD_LATE_INIT/CONFIG_BOARD_LATE_INIT

2011-10-27 Thread Wolfgang Denk
Dear Helmut Raiger, In message <1319120387-21584-1-git-send-email-helmut.rai...@hale.at> you wrote: > This renames BOARD_LATE_INIT to CONFIG_BOARD_LATE_INIT. > Along the way it removes some leftover > > #define BOARD_LATE_INIT 1 > > and adds some basic documentation for board speci

  1   2   3   >