]>
git.ipfire.org Git - people/ms/u-boot.git/blob - arch/arm/mach-omap2/am33xx/mux.c
4 * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License as
8 * published by the Free Software Foundation version 2.
10 * This program is distributed "as is" WITHOUT ANY WARRANTY of any
11 * kind, whether express or implied; without even the implied warranty
12 * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
17 #include <asm/arch/mux.h>
18 #include <asm/arch/hardware.h>
22 * Configure the pin mux for the module
24 void configure_module_pin_mux(struct module_pin_mux
*mod_pin_mux
)
31 for (i
= 0; mod_pin_mux
[i
].reg_offset
!= -1; i
++)
32 MUX_CFG(mod_pin_mux
[i
].val
, mod_pin_mux
[i
].reg_offset
);