diff options
author | Eric Nelson <eric.nelson@boundarydevices.com> | 2013-02-19 10:07:01 +0000 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2013-03-07 16:43:46 +0100 |
commit | cfb8b9d3351ebb519f9c27e0aeba814e7c81ee85 (patch) | |
tree | 6db9b537857fd2a7d454329c3f50be1957ec4d16 /arch/arm/include/asm/arch-mx6/mx6-pins.h | |
parent | 74cf809972658eae18c33e078c05a7cc9c9460c9 (diff) | |
download | u-boot-cfb8b9d3351ebb519f9c27e0aeba814e7c81ee85.tar.gz u-boot-cfb8b9d3351ebb519f9c27e0aeba814e7c81ee85.tar.xz u-boot-cfb8b9d3351ebb519f9c27e0aeba814e7c81ee85.zip |
i.MX6: consolidate pad names for multi-CPU boards
Rename all i.MX6 pad declarations to MX6_PAD_x, so a board
may support either i.MX6Quad/Dual (MX6Q) or i.MX6Dual-Lite/Solo
(MX6DL) by including the proper header.
Boards mx6qarm2, mx6qsabreauto, mx6qsabrelite, and mx6qsabresd
only support MX6Q, so they include mx6q_pins.h.
Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
Diffstat (limited to 'arch/arm/include/asm/arch-mx6/mx6-pins.h')
-rw-r--r-- | arch/arm/include/asm/arch-mx6/mx6-pins.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-mx6/mx6-pins.h b/arch/arm/include/asm/arch-mx6/mx6-pins.h new file mode 100644 index 0000000000..63f485666a --- /dev/null +++ b/arch/arm/include/asm/arch-mx6/mx6-pins.h @@ -0,0 +1,31 @@ +/* + * Copyright (C) 2013 Boundary Devices Inc. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ +#ifndef __ASM_ARCH_MX6_PINS_H__ +#define __ASM_ARCH_MX6_PINS_H__ + +#ifdef CONFIG_MX6Q +#include "mx6q_pins.h" +#else +#if defined(CONFIG_MX6DL) || defined(CONFIG_MX6S) +#include "mx6dl_pins.h" +#else +#error "Please select cpu" +#endif /* CONFIG_MX6DL or CONFIG_MX6S */ +#endif /* CONFIG_MX6Q */ + +#endif /*__ASM_ARCH_MX6_PINS_H__ */ |