[U-Boot] [PATCH 00/56] [PPC] Fix GCC 4.6 build warnings

Wolfgang Denk wd at denx.de
Sat Nov 5 02:55:04 CET 2011


The following set of patches is a first batch of fixes of new build
warnings raised by recent compiler versions (GCC 4.6.x).

To be continued...

...all help with that would be highly welcome!

Wolfgang Denk (56):
  board/mpl/common/flash.c: fix GCC 4.6 build warning
  arch/powerpc/cpu/mpc5xxx/i2c.c: fix GC 4.6 build warnings
  arch/powerpc/lib/board.c: make (mostly) checkpatch-clean
  arch/powerpc/lib/board.c: fix build warning
  board/tqc/tqm5200/cmd_stk52xx.c: fix GC 4.6 build warnings
  arch/powerpc/cpu/mpc5xxx/usb_ohci.c: fix GCC 4.6 build warnings
  board/mcc200/auto_update.c: fixx GCC 4.6 build warnings
  drivers/rtc/ds3231.c: fix GCC 4.6 build warnings
  drivers/rtc/rv3029.c: fix GCC 4.6 build warnings
  drivers/video/videomodes.c: fix GCC 4.6 build warning
  fs/fat/fat.c: Fix GCC 4.6 build warning
  PM520: add missing enable_interrupts()
  board/esd/cpci5200/strataflash.c: Fix GCC 4.6 build warning
  board/esd/pf5200/pf5200.c: Fix GCC 4.6 build warning
  board/tqc/tqm5200/cam5200_flash.c: Fix GCC 4.6 build warning
  drivers/video/cfb_console.c:Fix GCC 4.6 build warning
  mpc8xx/fec.c: Fix GCC 4.6 build warnings
  drivers/pcmcia/mpc8xx_pcmcia.c: Fix GCC 4.6 build warning
  board/c2mon/pcmcia.c: Fix GCC 4.6 build warning
  board/icu862/pcmcia.c: Fix GCC 4.6 build warning
  board/kup/common/pcmcia.c: Fix GCC 4.6 compiler warnings
  board/lwmon/pcmcia.c: Fix GCC 4.6 build warnings
  board/manroland/uc100/pcmcia.c: Fix GCC 4.6 build warnings
  board/mbx8xx/pcmcia.c: Fix GCC 4.6 build warnings
  board/netta/codec.c: Fix GCC 4.6 build warnings
  board/netta/pcmcia.c: Fix GCC 4.6 build warnings
  board/r360mpi/pcmcia.c: Fix GCC 4.6 build warnings
  mpc8xx/cpu.c: Fix GCC 4.6 build warnings
  ICU862: Fix incorrect flash handling
  board/kup/kup4k/kup4k.c: Fix GCC 4.6 build warning
  board/eltec/mhpc/flash.c: Fix GCC 4.6 build warning
  mpc8xx/i2c.c: CodungStyle cleanup
  mpc8xx/i2c.c: replace PRINTD() by debug()
  board/etx094/flash.c: CodingStyle cleanup
  board/etx094/flash.c: Fix flash initialization
  board/genietv/flash.c: CodingStyle cleanup
  board/genietv/flash.c: Fix flash initialization
  net/net.c: Fix GCC 4.6 build warning
  mpc8xx/spi.c: Fix GCC 4.6 build warnings
  board/mbx8xx/mbx8xx.c: Fix GCC 4.6 build warnings
  board/fads/fads.c: Fix GCC 4.6 build warning
  board/rbc823/flash.c: CodingStyle cleanup
  board/rbc823/flash.c: Fix flash initalization
  board/svm_sc8xx/svm_sc8xx.c: Fix GCC 4.6 build warning
  board/svm_sc8xx/flash.c: CodingStyle cleanup
  board/svm_sc8xx/flash.c: Fix GCC 4.6 build warning
  TQM850M: Add missing CONFIG_BOOTDELAY
  mpc8260/speed.c: Fix GCC 4.6 build warnings
  board/tqc/tqm8272/tqm8272.c: Fix GCC 4.6 build warning:
  common/cmd_i2c.c: Fix GCC 4.6 build warning
  mpc8220/fec.c: Fix GCC 4.6 build warning
  mpc8260/i2c.c: CodingStyle cleanup
  mpc8260/i2c.c: replace PRINTD() by debug()
  mpc8220/i2c.c: Fix GCC 4.6 build warning
  arch/powerpc/lib/bat_rw.c: Fix GCC 4.6 build warning
  board/alaska/flash.c: Fix GCC 4.6 build warnings

 arch/powerpc/cpu/mpc5xxx/i2c.c      |    5 +-
 arch/powerpc/cpu/mpc5xxx/usb_ohci.c |    3 +-
 arch/powerpc/cpu/mpc8220/fec.c      |    6 +-
 arch/powerpc/cpu/mpc8220/i2c.c      |    6 +-
 arch/powerpc/cpu/mpc8260/i2c.c      |  573 ++++++++++++-------------
 arch/powerpc/cpu/mpc8260/speed.c    |   11 +-
 arch/powerpc/cpu/mpc8xx/cpu.c       |    3 +-
 arch/powerpc/cpu/mpc8xx/fec.c       |   47 +-
 arch/powerpc/cpu/mpc8xx/i2c.c       |  373 ++++++++--------
 arch/powerpc/cpu/mpc8xx/spi.c       |    4 -
 arch/powerpc/lib/bat_rw.c           |    3 +-
 arch/powerpc/lib/board.c            |  458 ++++++++++----------
 board/alaska/flash.c                |   37 +-
 board/c2mon/pcmcia.c                |    8 +-
 board/eltec/mhpc/flash.c            |    7 +-
 board/esd/cpci5200/strataflash.c    |    4 +-
 board/esd/pf5200/pf5200.c           |   10 +-
 board/etx094/flash.c                |  393 +++++++----------
 board/fads/fads.c                   |    4 +-
 board/genietv/flash.c               |  366 ++++++++--------
 board/icu862/flash.c                |   32 +--
 board/icu862/pcmcia.c               |   14 +-
 board/kup/common/pcmcia.c           |   42 +-
 board/kup/kup4k/kup4k.c             |    3 +-
 board/lwmon/pcmcia.c                |    6 -
 board/manroland/uc100/pcmcia.c      |   50 +--
 board/mbx8xx/mbx8xx.c               |   17 +-
 board/mbx8xx/pcmcia.c               |    6 -
 board/mcc200/auto_update.c          |    7 +-
 board/mpl/common/flash.c            |   15 +-
 board/netta/codec.c                 |    9 +-
 board/netta/pcmcia.c                |   76 ++---
 board/pm520/flash.c                 |   17 +-
 board/r360mpi/pcmcia.c              |    4 -
 board/rbc823/flash.c                |  370 ++++++++--------
 board/svm_sc8xx/flash.c             |  825 +++++++++++++++--------------------
 board/svm_sc8xx/svm_sc8xx.c         |    5 +-
 board/tqc/tqm5200/cam5200_flash.c   |   10 +-
 board/tqc/tqm5200/cmd_stk52xx.c     |   23 +-
 board/tqc/tqm8272/tqm8272.c         |    3 +-
 common/cmd_i2c.c                    |    4 +-
 drivers/pcmcia/mpc8xx_pcmcia.c      |    3 +-
 drivers/rtc/ds3231.c                |   16 +-
 drivers/rtc/rv3029.c                |   27 +-
 drivers/video/cfb_console.c         |    4 +-
 drivers/video/videomodes.c          |   16 +-
 fs/fat/fat.c                        |   35 +-
 include/configs/TQM850M.h           |    2 +
 net/net.c                           |    4 +-
 49 files changed, 1833 insertions(+), 2133 deletions(-)

-- 
1.7.6.4



More information about the U-Boot mailing list