[U-Boot] [PATCH 0/7] ColdFire: Clean up checkpatch warnings about volatile for ColdFire platform

Alison Wang b18965 at freescale.com
Tue Mar 27 09:49:01 CEST 2012


From: Alison Wang <b18965 at freescale.com>

This patch cleans up checkpatch warnings about "Use of volatile is usually wrong"
for ColdFire platform.

The first patch adds clear and set bits macros for ColdFire platform. These
macros can be used to clear and set multiple bits in a register using a
single call. These macros can also be used to set a multiple-bit bit
pattern using a mask, by specifying the mask in the 'clear' parameter
and the new bit pattern in the 'set' parameter.

The second patch cleans up checkpatch warnings about "Use of volatile is usually wrong"
for MCF5227x.

The third patch cleans up checkpatch warnings about "Use of volatile is usually wrong"
for MCF52x2, including m5208evbe, m5253demo, m5253evbe, m5272c3 and m5275evb.

The fourth patch cleans up checkpatch warnings about "Use of volatile is usually wrong"
for MCF532x/MCF537x/MCF5301x.

The fifth patch cleans up checkpatch warnings about "Use of volatile is usually wrong"
for MCF523x.

The sixth patch cleans up checkpatch warnings about "Use of volatile is usually wrong"
for MCF547x and MCF548x.

The seventh patch cleans up checkpatch warnings about "Use of volatile is usually wrong"
for MCF54451 and MCF54455.

Alison Wang (7):
	ColdFire: Add clear and set bits macros for ColdFire platform
	ColdFire: Clean up checkpatch warnings for MCF5227x
	ColdFire: Clean up checkpatch warnings for MCF52x2
	ColdFire: Clean up checkpatch warnings for MCF532x/MCF537x/MCF5301x
	ColdFire: Clean up checkpatch warnings for MCF523x
	ColdFire: Clean up checkpatch warnings for MCF547x and MCF548x
	ColdFire: Clean up checkpatch warnings for MCF54451 and MCF54455

arch/m68k/cpu/mcf5227x/cpu.c          |   13 +-
arch/m68k/cpu/mcf5227x/cpu_init.c     |  140 ++++++++--------
arch/m68k/cpu/mcf5227x/interrupts.c   |   15 +-
arch/m68k/cpu/mcf5227x/speed.c        |   40 +++--
arch/m68k/cpu/mcf523x/cpu.c           |   33 ++--
arch/m68k/cpu/mcf523x/cpu_init.c      |  122 +++++++-------
arch/m68k/cpu/mcf523x/interrupts.c    |   15 +-
arch/m68k/cpu/mcf523x/speed.c         |   10 +-
arch/m68k/cpu/mcf52x2/cpu.c           |  115 ++++++++-----
arch/m68k/cpu/mcf52x2/cpu_init.c      |  252 ++++++++++++++-------------
arch/m68k/cpu/mcf52x2/interrupts.c    |   40 +++--
arch/m68k/cpu/mcf52x2/speed.c         |   19 +-
arch/m68k/cpu/mcf532x/cpu.c           |   33 ++--
arch/m68k/cpu/mcf532x/cpu_init.c      |  304 +++++++++++++++++----------------
arch/m68k/cpu/mcf532x/interrupts.c    |   15 +-
arch/m68k/cpu/mcf532x/speed.c         |   77 +++++----
arch/m68k/cpu/mcf5445x/cpu.c          |   13 +-
arch/m68k/cpu/mcf5445x/cpu_init.c     |  215 ++++++++++++-----------
arch/m68k/cpu/mcf5445x/interrupts.c   |   15 +-
arch/m68k/cpu/mcf5445x/pci.c          |   74 +++++----
arch/m68k/cpu/mcf5445x/speed.c        |   71 ++++----
arch/m68k/cpu/mcf547x_8x/cpu.c        |   38 ++--
arch/m68k/cpu/mcf547x_8x/cpu_init.c   |   84 +++++-----
arch/m68k/cpu/mcf547x_8x/interrupts.c |   15 +-
arch/m68k/cpu/mcf547x_8x/pci.c        |   59 ++++---
arch/m68k/cpu/mcf547x_8x/slicetimer.c |   38 +++--
arch/m68k/include/asm/io.h            |   38 ++++-
board/freescale/m5208evbe/m5208evbe.c |   28 ++--
board/freescale/m52277evb/m52277evb.c |   30 ++--
board/freescale/m5235evb/m5235evb.c   |   43 +++--
board/freescale/m5253demo/m5253demo.c |   29 ++--
board/freescale/m5253evbe/m5253evbe.c |   30 ++--
board/freescale/m5272c3/m5272c3.c     |    9 +-
board/freescale/m5275evb/m5275evb.c   |   50 +++---
board/freescale/m53017evb/m53017evb.c |   28 ++--
board/freescale/m5329evb/m5329evb.c   |   28 ++--
board/freescale/m5329evb/nand.c       |   14 +-
board/freescale/m5373evb/m5373evb.c   |   28 ++--
board/freescale/m5373evb/nand.c       |   18 +-
board/freescale/m54451evb/m54451evb.c |   32 ++--
board/freescale/m54455evb/m54455evb.c |   90 ++++++-----
board/freescale/m547xevb/m547xevb.c   |   34 ++--
board/freescale/m548xevb/m548xevb.c   |   34 ++--
43 files changed, 1302 insertions(+), 1126 deletions(-)




More information about the U-Boot mailing list