]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
i.MX6 (DQ/DLS): use macros for mux and pad declarations
authorEric Nelson <eric.nelson@boundarydevices.com>
Wed, 13 Nov 2013 23:36:19 +0000 (16:36 -0700)
committerStefano Babic <sbabic@denx.de>
Tue, 17 Dec 2013 16:12:34 +0000 (17:12 +0100)
commitb47abc36aaa4695ed50226ca1f3bd8f0b58bdaa6
tree0648fcddcea3a3f23b5b32fb9546997e558e1466
parent570aa2fac3322e2e8c9dc5b4c1ac4ac95c22f9f6
i.MX6 (DQ/DLS): use macros for mux and pad declarations

This allows the use of either or both declarations from
the files mx6q_pins.h and mx6dl_pins.h.

All board files should include <asm/arch/mx6-pins.h>
with one of the following defined in boards.cfg
    MX6Q   - for boards targeting i.MX6Q or i.MX6D
    MX6DL  - for boards targeting i.MX6DL
    MX6S   - for boards targeting i.MX6S
    MX6QDL - for boards that support any of the above with
             run-time detection

Pad declarations will be MX6_PAD_x for single-variant boards
and MX6Q_PAD_x and MX6DL_PAD_x for boards supporting both
processor classes.

Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
Acked-by: Stefano Babic <sbabic@denx.de>
arch/arm/include/asm/arch-mx6/mx6-pins.h
arch/arm/include/asm/arch-mx6/mx6dl_pins.h
arch/arm/include/asm/arch-mx6/mx6q_pins.h
board/barco/titanium/titanium.c
board/freescale/mx6qarm2/mx6qarm2.c
board/freescale/mx6qsabreauto/mx6qsabreauto.c