[PATCHv3 1/4] ARM: OMAP: AM33xx: Add muxing function for spi0
Teresa Gámez
t.gamez at phytec.de
Wed Jun 19 03:09:42 EDT 2013
Signed-off-by: Teresa Gámez <t.gamez at phytec.de>
---
arch/arm/mach-omap/am33xx_mux.c | 5 +++++
arch/arm/mach-omap/include/mach/am33xx-mux.h | 1 +
2 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-omap/am33xx_mux.c b/arch/arm/mach-omap/am33xx_mux.c
index 424d120..abc8586 100644
--- a/arch/arm/mach-omap/am33xx_mux.c
+++ b/arch/arm/mach-omap/am33xx_mux.c
@@ -314,3 +314,8 @@ void am33xx_enable_mmc0_pin_mux(void)
{
configure_module_pin_mux(mmc0_pin_mux);
}
+
+void am33xx_enable_spi0_pin_mux(void)
+{
+ configure_module_pin_mux(spi0_pin_mux);
+}
diff --git a/arch/arm/mach-omap/include/mach/am33xx-mux.h b/arch/arm/mach-omap/include/mach/am33xx-mux.h
index 44b93bd..d6b19dd 100644
--- a/arch/arm/mach-omap/include/mach/am33xx-mux.h
+++ b/arch/arm/mach-omap/include/mach/am33xx-mux.h
@@ -256,5 +256,6 @@ extern void am33xx_enable_i2c2_pin_mux(void);
extern void am33xx_enable_uart0_pin_mux(void);
extern void am33xx_enable_uart2_pin_mux(void);
extern void am33xx_enable_mmc0_pin_mux(void);
+extern void am33xx_enable_spi0_pin_mux(void);
#endif /*__AM33XX_MUX_H__ */
--
1.7.0.4
More information about the barebox
mailing list