public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [RFC] [PATCH 00/39] Rework of the debug() macro
@ 2011-10-22  0:16 Marek Vasut
  2011-10-22  0:16 ` [U-Boot] [PATCH 01/39] DEBUG: Fix debug macros Marek Vasut
                   ` (40 more replies)
  0 siblings, 41 replies; 73+ messages in thread
From: Marek Vasut @ 2011-10-22  0:16 UTC (permalink / raw)
  To: u-boot

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 change break any platforms? Compile tested on PowerPC.
  - Please run MAKEALL on your platforms to test this.

Marek Vasut (39):
  DEBUG: Fix debug macros
  GCC4.6: Squash warnings in common/usb.c
  GCC4.6: Squash warning in cmd_ide.c
  GCC4.6: Squash warning in cmd_date.c
  GCC4.6: Squash warning in usb_storage.c
  GCC4.6: Squash subsequent warnings in usb_storage.c
  PowerPC: Squash warning in mpc512x serial.c
  GCC4.6: Squash warning in mpc5121ads.c
  GCC4.6: Squash warning in cfb_console.c
  GCC4.6: Squash warning in cfi_flash.c
  GCC4.6: Squash warnings in denali_data_eye.c
  GCC4.6: Squash warnings in denali_spd_ddr2.c
  GCC4.6: Squash warnings in diu.c
  GCC4.6: Squash warnings in mpc8610hpcd.c
  GCC4.6: Squash warnings in tqm834x.c
  GCC4.6: Squash warning in jedec_flash.c
  GCC4.6: Squash warnings in 44x_spd_ddr.c
  GCC4.6: Squash warnings in 4xx_enet.c
  GCC4.6: Squash warnings in 4xx_ibm_ddr2_autocalib.c
  GCC4.6: Squash warnings in 4xx_pcie.c
  GCC4.6: Squash warnings in ahci.c
  GCC4.6: Squash warning in cmd_pmc440.c
  GCC4.6: Use dst instead of l2srbar in cpu_early_init.c
  GCC4.6: Squash warnings in ddr[123]_dimm_params.c
  GCC4.6: Squash warnings in fsl_espi.c
  GCC4.6: Squash warnings in fsl_pci_init.c
  GCC4.6: Squash warnings in pmc405de.c
  GCC4.6: Squash warnings in sata_sil3114.c
  GCC4.6: Squash warnings in tqm8xx_pcmcia.c
  GCC4.6: Squash undefined variable in cmd_mtdparts.c
  GCC4.6: Squash warnings in serial_xuartlite.c
  GCC4.6: Squash warnings in mpc86xx/interrupts.c
  GCC4.6: Squash warnings in r360mpi/flash.c
  GCC4.6: Squash warnings in PPChameleonEVB/flash.c
  GCC4.6: Squash error in pcmcia/i82365.c
  GCC4.6: Squash error in cpc45/pd67290.c
  RFT GCC4.6: Fix muas3001 and IDS8247
  GCC4.6: Squash GTREADREG related errors
  GCC4.6: Add macros to mv_gen_reg.h

 arch/powerpc/cpu/mpc512x/serial.c                |    2 +-
 arch/powerpc/cpu/mpc85xx/cpu_init_early.c        |    4 +-
 arch/powerpc/cpu/mpc86xx/interrupts.c            |   12 +++---
 arch/powerpc/cpu/mpc8xxx/ddr/ddr1_dimm_params.c  |    2 +-
 arch/powerpc/cpu/mpc8xxx/ddr/ddr2_dimm_params.c  |    2 +-
 arch/powerpc/cpu/mpc8xxx/ddr/ddr3_dimm_params.c  |    2 +-
 arch/powerpc/cpu/ppc4xx/44x_spd_ddr.c            |   17 ++++---
 arch/powerpc/cpu/ppc4xx/4xx_ibm_ddr2_autocalib.c |    8 ++--
 arch/powerpc/cpu/ppc4xx/4xx_pcie.c               |    3 +-
 arch/powerpc/cpu/ppc4xx/denali_data_eye.c        |   10 ++--
 arch/powerpc/cpu/ppc4xx/denali_spd_ddr2.c        |   52 +++++++++++-----------
 board/Marvell/include/mv_gen_reg.h               |    8 +++
 board/cpc45/pd67290.c                            |    6 +--
 board/dave/PPChameleonEVB/flash.c                |    3 +-
 board/esd/pmc405de/pmc405de.c                    |    2 +-
 board/esd/pmc440/cmd_pmc440.c                    |    2 +-
 board/freescale/mpc5121ads/mpc5121ads.c          |    4 +-
 board/freescale/mpc8610hpcd/mpc8610hpcd.c        |    4 +-
 board/freescale/p1022ds/diu.c                    |    2 +-
 board/r360mpi/flash.c                            |    4 +-
 board/tqc/tqm834x/tqm834x.c                      |    6 +-
 common/cmd_ide.c                                 |    2 +-
 common/cmd_mtdparts.c                            |    2 -
 common/usb.c                                     |   21 +++------
 common/usb_storage.c                             |   33 +++++++-------
 drivers/block/ahci.c                             |    2 +-
 drivers/block/sata_sil3114.c                     |    2 +-
 drivers/mtd/cfi_flash.c                          |    2 +-
 drivers/mtd/jedec_flash.c                        |    5 +-
 drivers/net/4xx_enet.c                           |    6 +-
 drivers/pci/fsl_pci_init.c                       |    8 ++--
 drivers/pcmcia/i82365.c                          |    6 +--
 drivers/pcmcia/tqm8xx_pcmcia.c                   |   15 +++++-
 drivers/serial/serial_xuartlite.c                |    2 +-
 drivers/spi/fsl_espi.c                           |    6 +-
 drivers/video/cfb_console.c                      |    2 +-
 include/common.h                                 |   20 +++++---
 include/configs/IDS8247.h                        |    4 ++
 include/configs/PCIPPC2.h                        |    4 ++
 include/configs/PCIPPC6.h                        |    4 ++
 include/configs/mpc7448hpc2.h                    |    4 ++
 include/configs/muas3001.h                       |    4 ++
 include/configs/p3mx.h                           |    4 ++
 include/configs/ppmc7xx.h                        |    4 ++
 include/i2c.h                                    |   32 ++++++++++----
 45 files changed, 201 insertions(+), 148 deletions(-)

Cc: Wolfgang Denk <wd@denx.de>
Cc: Simon Glass <sjg@chromium.org>
Cc: Mike Frysinger <vapier@gentoo.org>

-- 
1.7.6.3

^ permalink raw reply	[flat|nested] 73+ messages in thread

end of thread, other threads:[~2011-10-30 19:59 UTC | newest]

Thread overview: 73+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-22  0:16 [U-Boot] [RFC] [PATCH 00/39] Rework of the debug() macro Marek Vasut
2011-10-22  0:16 ` [U-Boot] [PATCH 01/39] DEBUG: Fix debug macros Marek Vasut
2011-10-23  5:37   ` Mike Frysinger
2011-10-23 17:12     ` Wolfgang Denk
2011-10-25 20:10       ` Joe Hershberger
2011-10-25 20:40         ` 馬克泡
2011-10-25 21:59           ` Wolfgang Denk
2011-10-25 22:08             ` Joe Hershberger
2011-10-24  4:31   ` Simon Glass
2011-10-24  8:21     ` Marek Vasut
2011-10-24 19:21       ` Wolfgang Denk
2011-10-25  0:11         ` Marek Vasut
2011-10-25  7:37           ` Wolfgang Denk
2011-10-25  8:27             ` Marek Vasut
2011-10-25  8:49               ` Graeme Russ
2011-10-25  9:03                 ` Marek Vasut
2011-10-25 18:34               ` Wolfgang Denk
2011-10-22  0:16 ` [U-Boot] [PATCH 02/39] GCC4.6: Squash warnings in common/usb.c Marek Vasut
2011-10-24 12:15   ` Stefano Babic
2011-10-24 12:22     ` Marek Vasut
2011-10-24 19:37       ` Wolfgang Denk
2011-10-25  0:09         ` Marek Vasut
2011-10-22  0:16 ` [U-Boot] [PATCH 03/39] GCC4.6: Squash warning in cmd_ide.c Marek Vasut
2011-10-22  0:16 ` [U-Boot] [PATCH 04/39] GCC4.6: Squash warning in cmd_date.c Marek Vasut
2011-10-30 19:59   ` Mike Frysinger
2011-10-22  0:17 ` [U-Boot] [PATCH 05/39] GCC4.6: Squash warning in usb_storage.c Marek Vasut
2011-10-23  5:39   ` Mike Frysinger
2011-10-22  0:17 ` [U-Boot] [PATCH 06/39] GCC4.6: Squash subsequent warnings " Marek Vasut
2011-10-22  0:17 ` [U-Boot] [PATCH 07/39] PowerPC: Squash warning in mpc512x serial.c Marek Vasut
2011-10-22  0:17 ` [U-Boot] [PATCH 08/39] GCC4.6: Squash warning in mpc5121ads.c Marek Vasut
2011-10-22  0:17 ` [U-Boot] [PATCH 09/39] GCC4.6: Squash warning in cfb_console.c Marek Vasut
2011-10-22  0:17 ` [U-Boot] [PATCH 10/39] GCC4.6: Squash warning in cfi_flash.c Marek Vasut
2011-10-22  0:17 ` [U-Boot] [PATCH 11/39] GCC4.6: Squash warnings in denali_data_eye.c Marek Vasut
2011-10-22  0:17 ` [U-Boot] [PATCH 12/39] GCC4.6: Squash warnings in denali_spd_ddr2.c Marek Vasut
2011-10-22  0:17 ` [U-Boot] [PATCH 13/39] GCC4.6: Squash warnings in diu.c Marek Vasut
2011-10-22  0:17 ` [U-Boot] [PATCH 14/39] GCC4.6: Squash warnings in mpc8610hpcd.c Marek Vasut
2011-10-22  0:17 ` [U-Boot] [PATCH 15/39] GCC4.6: Squash warnings in tqm834x.c Marek Vasut
2011-10-22  0:17 ` [U-Boot] [PATCH 16/39] GCC4.6: Squash warning in jedec_flash.c Marek Vasut
2011-10-22  0:17 ` [U-Boot] [PATCH 17/39] GCC4.6: Squash warnings in 44x_spd_ddr.c Marek Vasut
2011-10-22  0:17 ` [U-Boot] [PATCH 18/39] GCC4.6: Squash warnings in 4xx_enet.c Marek Vasut
2011-10-22  0:17 ` [U-Boot] [PATCH 19/39] GCC4.6: Squash warnings in 4xx_ibm_ddr2_autocalib.c Marek Vasut
2011-10-22  0:17 ` [U-Boot] [PATCH 20/39] GCC4.6: Squash warnings in 4xx_pcie.c Marek Vasut
2011-10-22  0:17 ` [U-Boot] [PATCH 21/39] GCC4.6: Squash warnings in ahci.c Marek Vasut
2011-10-22  0:17 ` [U-Boot] [PATCH 22/39] GCC4.6: Squash warning in cmd_pmc440.c Marek Vasut
2011-10-22  0:17 ` [U-Boot] [PATCH 23/39] GCC4.6: Use dst instead of l2srbar in cpu_early_init.c Marek Vasut
2011-10-22  0:17 ` [U-Boot] [PATCH 24/39] GCC4.6: Squash warnings in ddr[123]_dimm_params.c Marek Vasut
2011-10-22  0:17 ` [U-Boot] [PATCH 25/39] GCC4.6: Squash warnings in fsl_espi.c Marek Vasut
2011-10-22  0:17 ` [U-Boot] [PATCH 26/39] GCC4.6: Squash warnings in fsl_pci_init.c Marek Vasut
2011-10-22  0:17 ` [U-Boot] [PATCH 27/39] GCC4.6: Squash warnings in pmc405de.c Marek Vasut
2011-10-22  0:17 ` [U-Boot] [PATCH 28/39] GCC4.6: Squash warnings in sata_sil3114.c Marek Vasut
2011-10-22  0:17 ` [U-Boot] [PATCH 29/39] GCC4.6: Squash warnings in tqm8xx_pcmcia.c Marek Vasut
2011-10-22  0:17 ` [U-Boot] [PATCH 30/39] GCC4.6: Squash undefined variable in cmd_mtdparts.c Marek Vasut
2011-10-22  0:17 ` [U-Boot] [PATCH 31/39] GCC4.6: Squash warnings in serial_xuartlite.c Marek Vasut
2011-10-22  0:17 ` [U-Boot] [PATCH 32/39] GCC4.6: Squash warnings in mpc86xx/interrupts.c Marek Vasut
2011-10-22  0:17 ` [U-Boot] [PATCH 33/39] GCC4.6: Squash warnings in r360mpi/flash.c Marek Vasut
2011-10-22  0:17 ` [U-Boot] [PATCH 34/39] GCC4.6: Squash warnings in PPChameleonEVB/flash.c Marek Vasut
2011-10-22  0:17 ` [U-Boot] [PATCH 35/39] GCC4.6: Squash error in pcmcia/i82365.c Marek Vasut
2011-10-22  0:17 ` [U-Boot] [PATCH 36/39] GCC4.6: Squash error in cpc45/pd67290.c Marek Vasut
2011-10-22  0:17 ` [U-Boot] [PATCH 37/39] RFT GCC4.6: Fix muas3001 and IDS8247 Marek Vasut
2011-10-22  0:17 ` [U-Boot] [PATCH 38/39] GCC4.6: Squash GTREADREG related errors Marek Vasut
2011-10-22  0:17 ` [U-Boot] [PATCH 39/39] GCC4.6: Add macros to mv_gen_reg.h Marek Vasut
2011-10-22  0:35 ` [U-Boot] [RFC] [PATCH 00/39] Rework of the debug() macro Albert ARIBAUD
2011-10-22  1:18   ` Marek Vasut
2011-10-22  9:48     ` Albert ARIBAUD
2011-10-22 14:19       ` Marek Vasut
2011-10-22 15:23         ` Albert ARIBAUD
2011-10-22 22:17           ` Marek Vasut
2011-10-24 10:10             ` Detlev Zundel
2011-10-24 10:16               ` Marek Vasut
2011-10-24 11:52                 ` Detlev Zundel
2011-10-24 12:33                   ` Marek Vasut
2011-10-23  5:33       ` Mike Frysinger
2011-10-25  9:04 ` Marek Vasut

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox