public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 0/2] i.mx28: Elimintated magic numbers for scratch register addresses
@ 2012-02-07 14:08 robert at delien.nl
  2012-02-07 14:08 ` [U-Boot] [PATCH 1/2] i.mx28: Added register definitions for DIGCTL registers robert at delien.nl
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: robert at delien.nl @ 2012-02-07 14:08 UTC (permalink / raw)
  To: u-boot

From: Robert Delien <robert@delien.nl>

This patch eliminates the use of magic numbers for the scratch register
addresses. The registers in the DIGCTL sections are now defined and
used to access the scratch registers.

Robert Delien (2):
  Added register definitions for DIGCTL registers
  Replaced magic numbers for scratch register addresses with register
    definitions

 arch/arm/cpu/arm926ejs/mx28/mx28.c           |    8 +-
 arch/arm/cpu/arm926ejs/mx28/spl_mem_init.c   |    8 +-
 arch/arm/include/asm/arch-mx28/imx-regs.h    |    1 +
 arch/arm/include/asm/arch-mx28/regs-digctl.h |  155 ++++++++++++++++++++++++++
 4 files changed, 164 insertions(+), 8 deletions(-)
 create mode 100644 arch/arm/include/asm/arch-mx28/regs-digctl.h

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

end of thread, other threads:[~2012-02-20  9:25 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-07 14:08 [U-Boot] [PATCH 0/2] i.mx28: Elimintated magic numbers for scratch register addresses robert at delien.nl
2012-02-07 14:08 ` [U-Boot] [PATCH 1/2] i.mx28: Added register definitions for DIGCTL registers robert at delien.nl
2012-02-07 16:51   ` Marek Vasut
2012-02-07 17:01     ` Robert Deliën
2012-02-20  9:24   ` Stefano Babic
2012-02-07 14:08 ` [U-Boot] [PATCH 2/2] i.mx28: Replaced magic numbers for scratch register addresses with register definitions robert at delien.nl
2012-02-07 16:51   ` Marek Vasut
2012-02-20  9:25   ` Stefano Babic
2012-02-20  7:53 ` [U-Boot] [PATCH 0/2] i.mx28: Elimintated magic numbers for scratch register addresses Matthias Fuchs
2012-02-20  8:32   ` Marek Vasut
2012-02-20  8:56     ` Matthias Fuchs
2012-02-20  9:18     ` Stefano Babic

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