[U-Boot] [PATCH RFC 0/22] i.MX6: Update pad declarations for multiple-arch binaries

Eric Nelson eric.nelson at boundarydevices.com
Sat Aug 31 23:38:28 CEST 2013


This patch series updates the pad declarations in the files
arch/arm/include/asm/arch-mx6/mx6q_pins.h and mx6dl_pins.h to 
have consistent naming when a given pad is used for the same
purpose.

Most of the differences were simply changes in abbreviations between
the two files, and where possible, the form used in the Linux kernel
was used, even when the names are redundant (which is common - search
for ANATOP_ANATOP).

The primary exception to this is in patch number 5 for the pads
setting up the PL301_AXI uses for various pads. The kernel declarations
for those inexplicably have the processor architecture included in 
the pad name.

You can get a picture of how the pads differ by running the following
commands in arch/arm/include/asm/arch-mx6:
	for t in q dl ; do \
		grep MX6_ mx6${t}-pins.h | \
			awk '{print $1}' | \ 
			sort > 6${t}.lst; \
	done \
        diff 6*.lst

Doing a quick 'wc -l' after this patch series shows that around
2/3 of the differences are accounted for, and the majority of 
the remaining differences do reflect differences between the
i.MX6DQ and i.MX6DLS processor variants.

The primary reason this patch set is sent as an RFC is the overall
feeling that there must be a better way and the fact that none of
these pads is actually used by any current code in U-Boot and the
vast majority of these changes will never do so (OBSERVABILITY
pads, for instance).

In-Reply-To: 



More information about the U-Boot mailing list