u-boot/drivers
Wolfgang Denk f49620665d drivers/net/at91_emac.c: Fix GCC 4.6 build warnings
Fix:
at91_emac.c: In function 'at91emac_phy_init':
at91_emac.c:244:20: warning: variable 'duplex' set but not used
[-Wunused-but-set-variable]
at91_emac.c:244:13: warning: variable 'speed' set but not used
[-Wunused-but-set-variable]

Use new debug_cond() to fix these warnings.  In the result, anumber of
inconsistent printf() formats are detected:

at91_emac.c: In function 'at91emac_read':
at91_emac.c:147:2: warning: format '%x' expects argument of type
'unsigned int', but argument 2 has type 'struct at91_emac_t *'
[-Wformat]
at91_emac.c: In function 'at91emac_write':
at91_emac.c:157:2: warning: format '%x' expects argument of type
'unsigned int', but argument 2 has type 'struct at91_emac_t *'
[-Wformat]
at91_emac.c:157:2: warning: format '%x' expects argument of type
'unsigned int', but argument 4 has type 'short unsigned int *'
[-Wformat]
at91_emac.c: In function 'at91emac_recv':
at91_emac.c:451:3: warning: format '%d' expects argument of type
'int', but argument 2 has type 'long unsigned int' [-Wformat]
at91_emac.c:451:3: warning: format '%x' expects argument of type
'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat]

Fix these, too.

Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Jens Scharsig <js_at_ng@scharsoft.de>
Cc: Andreas Bießmann <andreas.devel@gmail.com>
Cc: Reinhard Meyer <u-boot@emk-elektronik.de>
2011-12-10 23:08:02 +01:00
..
bios_emulator drivers/bios_emulator/x86emu/ops2.c: Fix GCC 4.6 build warning 2011-11-27 15:45:47 +01:00
block mvsata: fix ide_preinit for missing disks 2011-12-06 23:59:30 +01:00
dma MXS: Add static annotations to dma driver 2011-12-06 23:59:40 +01:00
fpga FPGA: drivers/fpga/ivm_core.c: GCC4.6 fix build warnings 2011-11-16 20:49:40 +01:00
gpio i.mx: mxc_gpio: add the i.mx6q support 2011-12-09 17:30:10 +01:00
hwmon hwmon: do not init sensors on startup 2011-08-04 23:30:38 +02:00
i2c drivers/i2c/davinci_i2c.c: Fix GCC 4.6 warning 2011-11-23 21:22:39 +01:00
input x86: Fix some bugs in the i8402 driver when no controller is present 2011-11-29 21:31:35 +11:00
misc misc: pmic: fix regression in pmic_fsl.c (SPI) 2011-11-03 22:56:18 +01:00
mmc tegra2: Modify MMC driver to handle power and cd GPIOs 2011-12-09 17:30:08 +01:00
mtd drivers/mtd/nand/nand_spl_load.c: Fix GCC 4.6 warning 2011-12-07 16:02:07 -06:00
net drivers/net/at91_emac.c: Fix GCC 4.6 build warnings 2011-12-10 23:08:02 +01:00
pci pci_ftpci100: Implementation FTPCI100 PCI driver 2011-12-05 23:13:48 +01:00
pcmcia drivers/pcmcia/mpc8xx_pcmcia.c: Fix GCC 4.6 build warning 2011-11-07 22:11:46 +01:00
power omap: TWL4030 Bump VMMC1 interface voltage from 3V to 3.15V 2011-12-09 17:28:28 +01:00
qe powerpc/85xx: clean up and document the QE/FMAN microcode macros 2011-11-29 08:48:06 -06:00
rtc arm, davinci: move davinci_rtc struct to hardware.h 2011-12-06 23:59:37 +01:00
serial tegra2: Remove unused low-level Tegra2 UART code 2011-12-09 17:30:09 +01:00
spi drivers/spi/atmel_spi.c: Fix GCC 4.6 warning 2011-11-16 21:28:25 +01:00
tpm Introduce generic TPM support in u-boot 2011-12-07 08:45:51 +01:00
twserial Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
usb drivers/usb/gadget/ep0.c: Fix GCC 4.6 warning 2011-12-09 10:37:09 +01:00
video video: cfb_console: fix build warnings 2011-12-07 21:32:19 +01:00
watchdog AT91: fix at91sam_wdt.c to reworked header files 2011-05-18 07:56:51 +02:00