diff options
author | Nitin Garg <nitin.garg@freescale.com> | 2014-05-27 12:11:43 -0500 |
---|---|---|
committer | Nitin Garg <nitin.garg@freescale.com> | 2014-05-27 22:17:02 -0500 |
commit | d0912be964679ada052bcd07a03d4689e84dce2e (patch) | |
tree | 65c87cd94547001c93d6d2a591b9eb6b7437d828 /arch/arm/include/asm/imx-common | |
parent | 748eac71fde78aa0c2e8cb3a3bab94bd994c06f5 (diff) | |
download | u-boot-imx-d0912be964679ada052bcd07a03d4689e84dce2e.zip u-boot-imx-d0912be964679ada052bcd07a03d4689e84dce2e.tar.gz u-boot-imx-d0912be964679ada052bcd07a03d4689e84dce2e.tar.bz2 |
ENGR00315499-6 ARM:imx6: Add USB gadget driver imx_udc to support Android fastboot
Android fastboot leans on the USB gadget driver to communicate with host. Porting
the imx_udc driver from v2009.08 with two changes: adding resource/memory release
APIs and replacing the uncached memory with cache flush&invalidate operations.
Pins and Clocks initialization are added to support boards:
mx6qdlsabresd, mx6qdlsabreauto, mx6slevk
Signed-off-by: Ye.Li <B37916@freescale.com>
Signed-off-by: Nitin Garg <nitin.garg@freescale.com>
Diffstat (limited to 'arch/arm/include/asm/imx-common')
-rw-r--r-- | arch/arm/include/asm/imx-common/iomux-v3.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/include/asm/imx-common/iomux-v3.h b/arch/arm/include/asm/imx-common/iomux-v3.h index dec11a1..156fb55 100644 --- a/arch/arm/include/asm/imx-common/iomux-v3.h +++ b/arch/arm/include/asm/imx-common/iomux-v3.h @@ -169,5 +169,10 @@ typedef u64 iomux_v3_cfg_t; void imx_iomux_v3_setup_pad(iomux_v3_cfg_t pad); void imx_iomux_v3_setup_multiple_pads(iomux_v3_cfg_t const *pad_list, unsigned count); +/* +* Set bits for general purpose registers +*/ +void mxc_iomux_set_gpr_register(int group, int start_bit, + int num_bits, int value); #endif /* __MACH_IOMUX_V3_H__*/ |