Re: [U-Boot] [PATCH V2 0/4] add mmc support for pantheon platform

2011-10-25 Thread Albert ARIBAUD
Hi Lei Wen, Le 25/10/2011 03:21, Lei Wen a écrit : Hi Albert, On Tue, Oct 25, 2011 at 1:20 AM, Albert ARIBAUD albert.u.b...@aribaud.net wrote: Hi Lei Wen, Le 04/10/2011 08:33, Lei Wen a écrit : This patch seris add the mmc support for the pantheon platform. Also give platform like dkb

Re: [U-Boot] [PATCH V2 0/4] add mmc support for pantheon platform

2011-10-25 Thread Albert ARIBAUD
Le 25/10/2011 08:15, Albert ARIBAUD a écrit : Hi Lei Wen, Le 25/10/2011 03:21, Lei Wen a écrit : Hi Albert, On Tue, Oct 25, 2011 at 1:20 AM, Albert ARIBAUD albert.u.b...@aribaud.net wrote: Hi Lei Wen, Le 04/10/2011 08:33, Lei Wen a écrit : This patch seris add the mmc support for the

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

2011-10-25 Thread Albert ARIBAUD
Hi Simon, Le 25/10/2011 07:02, Simon Glass a écrit : Hi Albert, On Mon, Oct 24, 2011 at 2:21 PM, Albert ARIBAUD albert.u.b...@aribaud.net wrote: Le 24/10/2011 22:14, Simon Glass a écrit : So how about I create a patch to move the cp15_init() code into arch/arm/cpu/armv7/lib/lowlevel.S or

Re: [U-Boot] [PATCH 0/8] Add tftpput command for uploading files over network

2011-10-25 Thread Albert ARIBAUD
Hi Simon, Le 25/10/2011 06:13, Simon Glass a écrit : Many U-Boot environments use 'tftp' as a shorthand to tftpboot. Did you verify that this is not broken by the introduction of 'tftpput'? I forgot to answer this. No this will break 'tftp' as 'tftpserver' does. I vaguely remember a

Re: [U-Boot] [PATCH v2] arm: Correct build error introduced by getenv_ulong() patch

2011-10-25 Thread Albert ARIBAUD
Hi Wolfgang, Le 24/10/2011 21:13, Wolfgang Denk a écrit : Dear Simon Glass, In message1319427875-29965-1-git-send-email-...@chromium.org you wrote: Commit dc8bbea removed a local variable that is used in most ARM boards. Since we want to avoid an 'unused variable' warning with later

[U-Boot] [PATCH v2] FAT: Add FAT write feature

2011-10-25 Thread Donggeun Kim
In some cases, saving data in RAM as a file with FAT format is required. This patch allows the file to be written in FAT formatted partition. The usage is similar with reading a file. First, fat_register_device function is called before file_fat_write function in order to set target partition.

Re: [U-Boot] [PATCH v3 1/6] cache: add ALLOC_CACHE_ALIGN_BUFFER macro

2011-10-25 Thread Wolfgang Denk
Dear Anton Staaf, In message 1318463764-28244-2-git-send-email-robot...@chromium.org you wrote: This macro is used to allocate cache line size aligned stack buffers for use with DMA hardware. Signed-off-by: Anton Staaf robot...@chromium.org Cc: Lukasz Majewski l.majew...@samsung.com Cc:

Re: [U-Boot] [PATCH v3 2/6] tegra: define CONFIG_SYS_CACHELINE_SIZE for tegra

2011-10-25 Thread Wolfgang Denk
Dear Anton Staaf, In message 1318463764-28244-3-git-send-email-robot...@chromium.org you wrote: Signed-off-by: Anton Staaf robot...@chromium.org Cc: Tom Warren twarren.nvi...@gmail.com Cc: Simon Glass s...@chromium.org Cc: Mike Frysinger vap...@gentoo.org Cc: Albert ARIBAUD

Re: [U-Boot] [PATCH v3 3/6] mmc: dcache: allocate cache aligned buffer for scr and switch_status

2011-10-25 Thread Wolfgang Denk
Dear Anton Staaf, In message 1318463764-28244-4-git-send-email-robot...@chromium.org you wrote: Currently the sd_change_freq function allocates two buffers on the stack that it passes down to the MMC device driver. These buffers could be unaligned to the L1 dcache line size. This causes

Re: [U-Boot] [PATCH v3 4/6] ext2: Cache line aligned partial sector bounce buffer

2011-10-25 Thread Wolfgang Denk
Dear Anton Staaf, In message 1318463764-28244-5-git-send-email-robot...@chromium.org you wrote: Currently, if a device read request is done that does not begin or end on a sector boundary a stack allocated bounce buffer is used to perform the read, and then just the part of the sector that is

Re: [U-Boot] [PATCH v3 5/6] mmc: dcache: allocate cache aligned buffers for ext_csd

2011-10-25 Thread Wolfgang Denk
Dear Anton Staaf, In message 1318463764-28244-6-git-send-email-robot...@chromium.org you wrote: Currently the mmc_change_freq and mmc_startup functions allocates buffers on the stack that are passed down to the MMC device driver. These buffers could be unaligned to the L1 dcache line size.

Re: [U-Boot] [PATCH v3 6/6] part_efi: dcache: allocate cacheline aligned buffers

2011-10-25 Thread Wolfgang Denk
Dear Anton Staaf, In message 1318463764-28244-7-git-send-email-robot...@chromium.org you wrote: Currently part_efi.c allocates buffers for the gpt_header, the legacy_mbr, and the pte (partition table entry) that may be incorrectly aligned for DMA operations. This patch uses

Re: [U-Boot] [PATCH v3 0/6] Add cache line alignment support

2011-10-25 Thread Wolfgang Denk
Dear Anton Staaf, In message caf6fioxxxr8tn5os8werm5k+5s1pvd7zvkljqey3solubu_...@mail.gmail.com you wrote: This patch set has now been tested with MAKEALL for ARMv7a and PowerPC. It still applies cleanly to TOT. Should I resend or is it good as is? No need to resend. Best regards,

Re: [U-Boot] [PATCH v2] NS16550: buffer reads

2011-10-25 Thread Wolfgang Denk
Dear Graeme Russ, In message CALButCLNEjjEB=1zvvikrvo5-x9vyyoecu1-zrpxf2myavm...@mail.gmail.com you wrote: Now 1c) makes the bold assumption that any command which calls getc() 'knows what it is doing' and will consume all input characters at a fast enough rate AND will not invoke a delay

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

2011-10-25 Thread Wolfgang Denk
Dear Marek Vasut, In message 201110250211.07058.marek.va...@gmail.com you wrote: I know this very well, I just need to feedback and the patchset is really huge. What you attempt will not work. You may get some feedback on patches posted on the list. I will_never_ send any feedback to any

Re: [U-Boot] [PATCH V2 0/4] add mmc support for pantheon platform

2011-10-25 Thread Wolfgang Denk
Dear Lei Wen, In message calzhosr_jco_ps5dxm8vtpk9excqocpm0fibdrat0urhhw9...@mail.gmail.com you wrote: Actually, I have post another fixing series before this, so if it got be applied before this merged, the warning would be disappeared. Then please squash your patches and submit a new,

Re: [U-Boot] [PATCH 4/5] serial: reduce include platform file for marvell chip

2011-10-25 Thread Wolfgang Denk
Dear Lei Wen, In message calzhosqrkk_mjf8zt3a__sn3raap706nrrysqpe6bu_yot0...@mail.gmail.com you wrote: Lei Wen, please provide a patch for orion5x as you provided for armada, pantheon and kirkwood. I see... My fault for this... I would post another patch to fix it. Instead, please

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

2011-10-25 Thread Arno Steffen
I am feeling to spam the board but found finally the reason for this behaviour. nand_read returns with -EUCLEAN in case of correcting errors, and this will later on reported as BAD NAND, although this error is corrected. Correct me if I am wrong. What I did is chaning env_nand.c: while

[U-Boot] Syncing custodian tree (the new way) - What am I doing wrong?

2011-10-25 Thread Graeme Russ
Wolfgang, I'm trying to figure out what I'm doing wrong trying to sync my local x86 repo as per the 'new' instructions on the wiki. This is what I get: graeme@helios:~/Source/U-Boot/x86$ git rebase ${upstream}/master fatal: Needed a single revision invalid upstream u-boot/master Any idea?

Re: [U-Boot] [PATCH] ARM: orion5x: reduce dependence of including platform file

2011-10-25 Thread Wolfgang Denk
Dear Lei Wen, In message 1319509652-5648-1-git-send-email-lei...@marvell.com you wrote: For files like the drivers/serial/serial.c, it must include the platform file, as the CONFIG_SYS_NS16550_COM1 must reference to the definition in the platform definition files. Include the platform

Re: [U-Boot] [PATCH 1/2] Create a single cmd_call() function to handle command execution

2011-10-25 Thread Wolfgang Denk
Dear Simon Glass, In message 1319514744-18697-1-git-send-email-...@chromium.org you wrote: We should aim for a single point of entry to the commands, whichever parser is used. Signed-off-by: Simon Glass s...@chromium.org --- common/command.c | 10 ++ common/hush.c |9

Re: [U-Boot] [PATCH v2] arm: Correct build error introduced by getenv_ulong() patch

2011-10-25 Thread Wolfgang Denk
Dear Albert ARIBAUD, In message 4ea65cbf.7060...@aribaud.net you wrote: I've just fetched u-boot and I don't see this one. Can you push u-boot/master so that I can rebase u-boot-arm/master on it and launch some tests? Done. Best regards, Wolfgang Denk -- DENX Software Engineering

Re: [U-Boot] Syncing custodian tree (the new way) - What am I doing wrong?

2011-10-25 Thread Wolfgang Denk
Dear Graeme Russ, In message 4ea66869.7000...@gmail.com you wrote: I'm trying to figure out what I'm doing wrong trying to sync my local x86 repo as per the 'new' instructions on the wiki. This is what I get: I did not write (and actually not even read yet) these new instructions, so I

Re: [U-Boot] [PATCH] mx31pdk: Add MC13783 PMIC support

2011-10-25 Thread Stefano Babic
On 10/24/2011 05:32 PM, Fabio Estevam wrote: Add MC13783 PMIC support. Tested by using the 'date' command, which reads the MC13783 RTC registers: MX31PDK U-Boot date Date: 1970-01-01 (Thursday)Time: 2:22:35

Re: [U-Boot] [PATCH 1/2] rtc: Make mc13783-rtc driver generic

2011-10-25 Thread Stefano Babic
On 10/24/2011 06:37 PM, Fabio Estevam wrote: Rename mc13783-rtc so that it can be used for both MC13783 and MC13892 PMICs. efikamx board, for example, does use a MC13892 PMIC, but the RTC selection is currently made as: #define CONFIG_RTC_MC13783 ,which is not very obvious. Let the

Re: [U-Boot] [PATCH 1/2] Create a single cmd_call() function to handle command execution

2011-10-25 Thread Graeme Russ
Hi Wolfgang, On 25/10/11 18:46, Wolfgang Denk wrote: Dear Simon Glass, In message 1319514744-18697-1-git-send-email-...@chromium.org you wrote: We should aim for a single point of entry to the commands, whichever parser is used. Signed-off-by: Simon Glass s...@chromium.org ---

Re: [U-Boot] [PATCH 2/2] mx51evk: Add RTC support

2011-10-25 Thread Stefano Babic
On 10/24/2011 06:37 PM, Fabio Estevam wrote: MX51EVK has a MC13892 PMIC. Add RTC support. Tested via 'date' command that reads the PMIC RTC registers: MX51EVK U-Boot date Date: 1970-01-01 (Thursday)Time: 0:40:35

Re: [U-Boot] [PATCH 1/3] mx31: Introduce mx31_set_gpr function

2011-10-25 Thread Stefano Babic
On 10/21/2011 04:01 AM, Fabio Estevam wrote: Introduce mx31_set_gpr function for setting the GPR (General Purpose Register) on MX31. This function can be useful for setting a group of pins into tied to some specific peripherals. Reuse this function from the linux kernel.

Re: [U-Boot] [PATCH 2/2] RFC: Add XON/XOFF support

2011-10-25 Thread Graeme Russ
Hi Simon, On 25/10/11 14:52, Simon Glass wrote: This is just for testing - please try it out and report back with results. For me it works on Minicom but not ser2net. This needs to be controlled by an environment variable, CONFIG option or both. We may need a way of specifying flow control

Re: [U-Boot] [PATCH 2/3] qong: Use mx31_set_gpr to setup USBH2 pins

2011-10-25 Thread Stefano Babic
On 10/21/2011 04:01 AM, Fabio Estevam wrote: Instead of writing directly to the GPR register, use mx31_set_gpr to setup USBH2 pins. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- board/davedenx/qong/qong.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)

Re: [U-Boot] [PATCH 3/3] nds32: asm/io.h: add __iormb and __iowmb support

2011-10-25 Thread 馬克泡
Hi Marek, 2011/10/24 Marek Vasut marek.va...@gmail.com Hi, can you possibly implement those as inline functions ? It'd be also great if you could convert the other macros to inline functions. Thanks! I've found there are some different data type warning occur when I'm translating

Re: [U-Boot] [PATCH 0/5] altera_tse: Several small, but relevant fixes/feature

2011-10-25 Thread Joachim Foerster
Hi all, Did anybody get a chance to review those 5 small patches? I would like to get some feedback and work on it, if needed - to get them upstream. On 10/17/2011 05:24 PM, Joachim Foerster wrote: This patch series comprises small, but relevant fixes, regarding the driver for Altera's TSE ip

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

2011-10-25 Thread Marek Vasut
Dear Marek Vasut, In message 201110250211.07058.marek.va...@gmail.com you wrote: I know this very well, I just need to feedback and the patchset is really huge. What you attempt will not work. You may get some feedback on patches posted on the list. I will_never_ send any feedback

Re: [U-Boot] [PATCH 3/3] nds32: asm/io.h: add __iormb and __iowmb support

2011-10-25 Thread Marek Vasut
Hi Marek, 2011/10/24 Marek Vasut marek.va...@gmail.com Hi, can you possibly implement those as inline functions ? It'd be also great if you could convert the other macros to inline functions. Thanks! I've found there are some different data type warning occur when I'm

Re: [U-Boot] [PATCH v2] NS16550: buffer reads

2011-10-25 Thread Graeme Russ
Hi Wolfgang, On 25/10/11 18:31, Wolfgang Denk wrote: Dear Graeme Russ, In message CALButCLNEjjEB=1zvvikrvo5-x9vyyoecu1-zrpxf2myavm...@mail.gmail.com you wrote: Now 1c) makes the bold assumption that any command which calls getc() 'knows what it is doing' and will consume all input

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

2011-10-25 Thread Graeme Russ
Hi Marek, On 25/10/11 19:27, Marek Vasut wrote: Dear Marek Vasut, In message 201110250211.07058.marek.va...@gmail.com you wrote: I know this very well, I just need to feedback and the patchset is really huge. [snip] I'd rather you split the series in smaller, digestable batches. Well

Re: [U-Boot] [PATCH] ARM: orion5x: reduce dependence of including platform file

2011-10-25 Thread Lei Wen
Hi Wolfgang, On Tue, Oct 25, 2011 at 3:43 PM, Wolfgang Denk w...@denx.de wrote: Dear Lei Wen, In message 1319509652-5648-1-git-send-email-lei...@marvell.com you wrote: For files like the drivers/serial/serial.c, it must include the platform file, as the CONFIG_SYS_NS16550_COM1 must reference

Re: [U-Boot] [PATCH V2 0/4] add mmc support for pantheon platform

2011-10-25 Thread Lei Wen
Hi Wolfgang, On Tue, Oct 25, 2011 at 3:38 PM, Wolfgang Denk w...@denx.de wrote: Dear Lei Wen, In message calzhosr_jco_ps5dxm8vtpk9excqocpm0fibdrat0urhhw9...@mail.gmail.com you wrote: Actually, I have post another fixing series before this, so if it got be applied before this merged,

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

2011-10-25 Thread Marek Vasut
Hi Marek, On 25/10/11 19:27, Marek Vasut wrote: Dear Marek Vasut, In message 201110250211.07058.marek.va...@gmail.com you wrote: I know this very well, I just need to feedback and the patchset is really huge. [snip] I'd rather you split the series in smaller, digestable

Re: [U-Boot] [RFC] [PATCH 00/39] Rework of the debug() macro

2011-10-25 Thread Marek Vasut
This patch series reworks the debug() and debugX() macro in include/common.h to be compatible with GCC 4.6. This series needs further discussion: * Some files suffer size growth with gcc4.2, why ? - Possibility is that the GCC4.2 is incapable to optimize code out so deep * Does this

Re: [U-Boot] [PATCH v2 1/2] rtc: Make mc13783-rtc driver generic

2011-10-25 Thread Stefano Babic
On 10/24/2011 06:44 PM, Fabio Estevam wrote: Rename mc13783-rtc so that it can be used for both MC13783 and MC13892 PMICs. efikamx board, for example, does use a MC13892 PMIC, but the RTC selection is currently made as: #define CONFIG_RTC_MC13783 ,which is not very obvious. Let the

Re: [U-Boot] [PATCH v2 2/2] mx51evk: Add RTC support

2011-10-25 Thread Stefano Babic
On 10/24/2011 06:44 PM, Fabio Estevam wrote: MX51EVK has a MC13892 PMIC. Add RTC support. Tested via 'date' command that reads the PMIC RTC registers: MX51EVK U-Boot date Date: 1970-01-01 (Thursday)Time: 0:40:35

[U-Boot] [PATCH 0/9] CLEANUP: Cleanup of arch/powerpc/ directory

2011-10-25 Thread Marek Vasut
This series fixes the warnings generated by new debug() macro implementation, which will be merged after this series. This series fixes the problems before the macro is reworked to avoid smooth transition. Most of the problems fixed by this series are printf() formating related problems. Marek

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

2011-10-25 Thread Marek Vasut
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 marek.va...@gmail.com Cc: Wolfgang Denk w...@denx.de Cc: Simon Glass s...@chromium.org Cc: Mike Frysinger vap...@gentoo.org ---

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

2011-10-25 Thread Marek Vasut
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:320: warning: format '%08lx' expects type 'long unsigned int', but argument 2 has type 'u32'

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

2011-10-25 Thread Marek Vasut
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_frequency': denali_spd_ddr2.c:390: warning: format '%d' expects type 'int', but argument 2 has type 'long

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

2011-10-25 Thread Marek Vasut
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_tr1': 44x_spd_ddr.c:1054: warning: format '%x' expects type 'unsigned int', but argument 2 has type 'long

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

2011-10-25 Thread Marek Vasut
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_autocalib.c:911: warning: format '%08X' expects type 'unsigned int', but argument 2 has type 'ulong'

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

2011-10-25 Thread Marek Vasut
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 Vasut marek.va...@gmail.com Cc: Wolfgang Denk w...@denx.de Cc: Simon Glass s...@chromium.org Cc: Mike Frysinger

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

2011-10-25 Thread Marek Vasut
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' expects type 'unsigned int', but argument 2 has type 'volatile uint *' interrupts.c:72: warning: format '%x'

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

2011-10-25 Thread Marek Vasut
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 marek.va...@gmail.com Cc: Wolfgang Denk w...@denx.de Cc: Simon Glass s...@chromium.org Cc: Mike Frysinger vap...@gentoo.org ---

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

2011-10-25 Thread Marek Vasut
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_params.c: In function 'compute_ranksize': ddr2_dimm_params.c:43: warning: format '%08x' expects type 'unsigned

[U-Boot] [PATCH 00/10] CLEANUP: Cleanup of board/ directory

2011-10-25 Thread Marek Vasut
This series fixes the warnings generated by new debug() macro implementation, which will be merged after this series. This series fixes the problems before the macro is reworked to avoid smooth transition. Most of the problems fixed by this series are printf() formating related problems. Marek

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

2011-10-25 Thread Marek Vasut
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' expects type 'long unsigned int', but argument 2 has type 'int' Signed-off-by: Marek Vasut

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

2011-10-25 Thread Marek Vasut
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' expects type 'long unsigned int', but argument 2 has type 'int' Signed-off-by: Marek Vasut

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

2011-10-25 Thread Marek Vasut
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 marek.va...@gmail.com Cc: Wolfgang Denk w...@denx.de Cc: Simon Glass s...@chromium.org Cc: Mike Frysinger vap...@gentoo.org ---

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

2011-10-25 Thread Marek Vasut
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: warning: format '%08x' expects type 'unsigned int', but argument 2 has type 'long int' tqm834x.c:336: warning: format

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

2011-10-25 Thread Marek Vasut
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 marek.va...@gmail.com Cc: Wolfgang Denk w...@denx.de Cc: Simon Glass s...@chromium.org Cc: Mike Frysinger vap...@gentoo.org

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

2011-10-25 Thread Marek Vasut
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 marek.va...@gmail.com Cc: Wolfgang Denk w...@denx.de Cc: Simon Glass s...@chromium.org Cc: Mike Frysinger vap...@gentoo.org ---

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

2011-10-25 Thread Marek Vasut
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 'long unsigned int', but argument 3 has type 'int' Signed-off-by: Marek Vasut marek.va...@gmail.com Cc:

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

2011-10-25 Thread Marek Vasut
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:282: error: for each function it appears in.) Signed-off-by: Marek Vasut marek.va...@gmail.com Cc:

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

2011-10-25 Thread Marek Vasut
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 marek.va...@gmail.com --- board/dave/PPChameleonEVB/flash.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)

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

2011-10-25 Thread Marek Vasut
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 identifier is reported only once interrupts.c:40: error: for each function it appears in.) interrupts.c:40:

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

2011-10-25 Thread Marek Vasut
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: warning: variable ‘portchange’ set but not used [-Wunused-but-set-variable] usb.c: In function

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

2011-10-25 Thread Marek Vasut
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: Marek Vasut marek.va...@gmail.com Cc: Wolfgang Denk w...@denx.de Cc: Simon Glass s...@chromium.org Cc: Mike

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

2011-10-25 Thread Marek Vasut
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 marek.va...@gmail.com Cc: Wolfgang Denk w...@denx.de Cc: Simon Glass s...@chromium.org Cc: Mike Frysinger vap...@gentoo.org ---

[U-Boot] [PATCH 0/5] CLEANUP: Cleanup of common/ directory

2011-10-25 Thread Marek Vasut
This series fixes the warnings generated by new debug() macro implementation, which will be merged after this series. This series fixes the problems before the macro is reworked to avoid smooth transition. Most of the problems fixed by this series are printf() formating related problems. Marek

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

2011-10-25 Thread Marek Vasut
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_storage.c:389:6: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned

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

2011-10-25 Thread Marek Vasut
Signed-off-by: Marek Vasut marek.va...@gmail.com Cc: Wolfgang Denk w...@denx.de Cc: Simon Glass s...@chromium.org Cc: Mike Frysinger vap...@gentoo.org --- common/cmd_mtdparts.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/common/cmd_mtdparts.c b/common/cmd_mtdparts.c

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

2011-10-25 Thread Marek Vasut
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: format '%d' expects type 'int', but argument 3 has type 'long unsigned int' Signed-off-by: Marek Vasut

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

2011-10-25 Thread Marek Vasut
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' expects type 'unsigned int', but argument 3 has type 'long unsigned int' Signed-off-by: Marek Vasut

[U-Boot] [PATCH 00/18] CLEANUP: Cleanup of drivers/ directory

2011-10-25 Thread Marek Vasut
This series fixes the warnings generated by new debug() macro implementation, which will be merged after this series. This series fixes the problems before the macro is reworked to avoid smooth transition. Most of the problems fixed by this series are printf() formating related problems. Marek

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

2011-10-25 Thread Marek Vasut
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 type 'unsigned int', but argument 3 has type 'ulong' jedec_flash.c:402: warning: format '%d' expects type

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

2011-10-25 Thread Marek Vasut
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: format '%08x' expects type 'unsigned int', but argument 3 has type 'volatile struct mal_desc_t *'

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

2011-10-25 Thread Marek Vasut
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_espi.c:237: warning: format '%08x' expects type 'unsigned int', but argument 5 has type 'const void *'

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

2011-10-25 Thread Marek Vasut
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 marek.va...@gmail.com Cc: Wolfgang Denk w...@denx.de Cc: Simon Glass s...@chromium.org Cc: Mike Frysinger

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

2011-10-25 Thread Marek Vasut
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: format '%x' expects type 'unsigned int', but argument 2 has type 'volatile u32 *' fsl_pci_init.c: In

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

2011-10-25 Thread Marek Vasut
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 marek.va...@gmail.com Cc: Wolfgang Denk w...@denx.de Cc: Simon Glass s...@chromium.org Cc: Mike Frysinger

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

2011-10-25 Thread Marek Vasut
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': tqm8xx_pcmcia.c:52: warning: passing argument 1 of 'out_be32' makes pointer from integer without a cast

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

2011-10-25 Thread Marek Vasut
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: error: for each function it appears in.) Signed-off-by: Marek Vasut marek.va...@gmail.com Cc: Wolfgang

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

2011-10-25 Thread Marek Vasut
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 marek.va...@gmail.com Cc: Wolfgang Denk w...@denx.de Cc: Simon Glass s...@chromium.org Cc: Mike Frysinger vap...@gentoo.org ---

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

2011-10-25 Thread Marek Vasut
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:110:2: warning: format '%d' expects type 'int', but argument 4 has type 'ulong' pxa_mmc.c: In function

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

2011-10-25 Thread Marek Vasut
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 argument 5 has type 'void *' kirkwood_spi.c:160:5: warning: format '%08x' expects type 'unsigned int', but

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

2011-10-25 Thread Marek Vasut
ks8695eth.c:199:2: warning: format '%x' expects type 'unsigned int', but argument 4 has type 'volatile void *' Signed-off-by: Marek Vasut marek.va...@gmail.com Cc: Wolfgang Denk w...@denx.de Cc: Simon Glass s...@chromium.org Cc: Mike Frysinger vap...@gentoo.org --- drivers/net/ks8695eth.c |2

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

2011-10-25 Thread Marek Vasut
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' Signed-off-by: Marek Vasut marek.va...@gmail.com Cc: Wolfgang Denk w...@denx.de Cc: Simon Glass s...@chromium.org

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

2011-10-25 Thread Marek Vasut
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 marek.va...@gmail.com Cc: Wolfgang Denk w...@denx.de Cc: Simon Glass s...@chromium.org Cc: Mike Frysinger vap...@gentoo.org --- drivers/mtd/nand/s3c2410_nand.c |

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

2011-10-25 Thread Marek Vasut
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 4 has type 'long unsigned int' Signed-off-by: Marek Vasut marek.va...@gmail.com Cc: Wolfgang Denk w...@denx.de

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

2011-10-25 Thread Marek Vasut
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.c:632:2: warning: format '%x' expects type 'unsigned int', but argument 2 has type 'long unsigned int'

[U-Boot] [PATCH 0/4] CLEANUP: Cleanup of include/ directory

2011-10-25 Thread Marek Vasut
This series fixes the warnings generated by new debug() macro implementation, which will be merged after this series. This series fixes the problems before the macro is reworked to avoid smooth transition. Most of the problems fixed by this series are printf() formating related problems. Marek

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

2011-10-25 Thread Marek Vasut
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 marek.va...@gmail.com Cc: Wolfgang Denk w...@denx.de Cc: Simon Glass s...@chromium.org Cc: Mike Frysinger vap...@gentoo.org --- include/i2c.h |

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

2011-10-25 Thread Marek Vasut
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 in a function) ether_fcc.c:76: error: 'CONFIG_SYS_CMXFCR_VALUE1' undeclared here (not in a function)

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

2011-10-25 Thread Marek Vasut
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 use in this function) interrupts.c:37: error: (Each undeclared identifier is reported only once

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

2011-10-25 Thread Marek Vasut
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 type 'u_long' Signed-off-by: Marek Vasut marek.va...@gmail.com Cc: Wolfgang Denk w...@denx.de Cc: Simon

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

2011-10-25 Thread Marek Vasut
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: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'unsigned char *'

[U-Boot] [PATCH 0/7] CLEANUP: Cleanup of misc remaining things found

2011-10-25 Thread Marek Vasut
This series fixes the warnings generated by new debug() macro implementation, which will be merged after this series. This series fixes the problems before the macro is reworked to avoid smooth transition. Most of the problems fixed by this series are printf() formating related problems. Marek

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

2011-10-25 Thread Marek Vasut
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 uninitialized in this function yaffs_guts.c: In function 'yaffs_WriteDataToFile': yaffs_guts.c:4581:8: warning:

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

2011-10-25 Thread Marek Vasut
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' defined but not used Signed-off-by: Marek Vasut marek.va...@gmail.com Cc: Wolfgang Denk w...@denx.de Cc:

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

2011-10-25 Thread Marek Vasut
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() as that's not used anywhere anymore. Signed-off-by: Mike Frysinger vap...@gentoo.org Signed-off-by:

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

2011-10-25 Thread Marek Vasut
board.c:43:2: warning: format '%08lX' expects type 'long unsigned int', but argument 2 has type 'u32' Signed-off-by: Marek Vasut marek.va...@gmail.com Cc: Wolfgang Denk w...@denx.de Cc: Simon Glass s...@chromium.org Cc: Mike Frysinger vap...@gentoo.org --- arch/arm/cpu/armv7/tegra2/board.c |

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

2011-10-25 Thread Marek Vasut
Signed-off-by: Marek Vasut marek.va...@gmail.com Cc: Wolfgang Denk w...@denx.de Cc: Simon Glass s...@chromium.org Cc: Mike Frysinger vap...@gentoo.org --- board/spc1920/hpi.c | 68 +- 1 files changed, 34 insertions(+), 34 deletions(-) diff --git

  1   2   3   >