Skip to content

i.mx28: Elimintated magic numbers for scratch register addresses

Marek Vasut u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2i.mx28: Added register definitions for DIGCTL registers+0 -01 reply
2/2i.mx28: Replaced magic numbers for scratch register addresses with register definitions+0 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [U-Boot] [PATCH 0/2] i.mx28: Elimintated magic numbers for scratch register addresses
Quoted 4 lines

Marek, Stefano,

what kept you from accepting these patches? There was no objection on these.

The regs-digctl.h file being incomplete, it didn't contain all the bit definitions even though I shared the tool to convert file provided by FSL to uboot format.

M

Quoted 28 lines

Matthias

Quoted 24 lines · robert at delien.nl

From: Robert Delien <[email protected]>

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

_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot