[U-Boot] [RFC PATCH 0/3] i.MX6 (DQ/DLS): consolidate mux and pad names

Eric Nelson eric.nelson at boundarydevices.com
Mon Sep 16 23:26:42 CEST 2013


This patch set begins the process of consolidating mux and pad
declarations for the i.MX6 Dual/Quad and Dual-Lite/Solo processor
variants.

Patch 1 replaces the mux/pad names with their equivalents from
	the Linux kernel (from linux-next). This 
Patch 2 removes a set of completely useless pad declarations
Patch 3 adds a number of registers that are defined in the Linux
	kernel and in the DLS variant, but not in the DQ.

After this patch, there are still more than 400 pad differences
between the two variants. These represent mux/pad declarations
that are not present in the Linux kernel. A combined list of these
is available at:
	http://linode.boundarydevices.com/u-boot-pads.lst

The majority of these are diagnostic settings and a large number
of these appear unlikely to ever be used. The primary reason this
is being sent as an RFC is to get feedback about what should be
done with them:
	1. Delete them all
	2. Walk through them and delete some and add others
	3. Add them all and consolidate the names.

The file above has the names grouped somewhat by mux/pad functions
to provide a sense of the various functions.

Note to reviewers: Because the majority of the changes in this
patch set are simple name changes, using the '--word-diff' git
parameter makes review much easier:

	~/u-boot$ git diff HEAD^^^ --word-diff

Eric Nelson (3):
  i.MX6DQ/DLS: replace pad names with their Linux kernel equivalents
  i.MX6DQ/DLS: remove useless mux/pad declarations
  i.MX6DQ: Add Pinmux settings that are present in Linux and
    Dual-Lite/Solo

 arch/arm/include/asm/arch-mx6/mx6dl_pins.h    | 1904 ++++++++++++-------------
 arch/arm/include/asm/arch-mx6/mx6q_pins.h     | 1803 ++++++++++++-----------
 board/boundary/nitrogen6x/nitrogen6x.c        |  164 +--
 board/congatec/cgtqmx6eval/cgtqmx6eval.c      |   40 +-
 board/freescale/mx6qarm2/mx6qarm2.c           |   66 +-
 board/freescale/mx6qsabreauto/mx6qsabreauto.c |   60 +-
 board/freescale/mx6sabresd/mx6sabresd.c       |   90 +-
 board/freescale/titanium/titanium.c           |  106 +-
 board/wandboard/wandboard.c                   |   54 +-
 9 files changed, 2076 insertions(+), 2211 deletions(-)

-- 
1.8.1.2



More information about the U-Boot mailing list