summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/arch-mxs/sys_proto.h
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2013-01-11 03:19:05 +0000
committerStefano Babic <sbabic@denx.de>2013-01-21 12:05:20 +0100
commit180f47a8dfeca09dd810475fe890d433fb8bd211 (patch)
treee508aa888c7119e9536e667e569325a6541e2704 /arch/arm/include/asm/arch-mxs/sys_proto.h
parent3fd7f365e152b151291a460b6d2082a9cc608cd1 (diff)
downloadu-boot-imx-180f47a8dfeca09dd810475fe890d433fb8bd211.zip
u-boot-imx-180f47a8dfeca09dd810475fe890d433fb8bd211.tar.gz
u-boot-imx-180f47a8dfeca09dd810475fe890d433fb8bd211.tar.bz2
mx23: Add iomux-mx23.h
This has been copied from Linux source at revision 786f02b719f. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Cc: Fabio Estevam <fabio.estevam@freescale.com> Cc: Marek Vasut <marex@denx.de> Cc: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'arch/arm/include/asm/arch-mxs/sys_proto.h')
-rw-r--r--arch/arm/include/asm/arch-mxs/sys_proto.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-mxs/sys_proto.h b/arch/arm/include/asm/arch-mxs/sys_proto.h
index 9bddc12..a4290d8 100644
--- a/arch/arm/include/asm/arch-mxs/sys_proto.h
+++ b/arch/arm/include/asm/arch-mxs/sys_proto.h
@@ -34,7 +34,13 @@ int mxs_wait_mask_clr(struct mxs_register_32 *reg,
int mxsmmc_initialize(bd_t *bis, int id, int (*wp)(int));
#ifdef CONFIG_SPL_BUILD
+
+#if defined(CONFIG_MX23)
+#include <asm/arch/iomux-mx23.h>
+#elif defined(CONFIG_MX28)
#include <asm/arch/iomux-mx28.h>
+#endif
+
void mxs_common_spl_init(const iomux_cfg_t *iomux_setup,
const unsigned int iomux_size);
#endif