]> git.sur5r.net Git - u-boot/commit
mx31: Introduce mx31_set_gpr function
authorFabio Estevam <festevam@gmail.com>
Thu, 20 Oct 2011 16:01:29 +0000 (16:01 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Thu, 3 Nov 2011 21:56:18 +0000 (22:56 +0100)
commit6d0fb3dbcc4b1ce8437b1e9458ad406636321ef6
tree8cb192312571038360dbc4b9e6083868e501803e
parent1f83d009e4fb086c3ee210f78b2ca601fd2cd0dc
mx31: Introduce mx31_set_gpr function

Introduce mx31_set_gpr function for setting the GPR (General Purpose Register) on MX31.

This function can be useful for setting a group of pins into tied to some specific peripherals.

Reuse this function from the linux kernel.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
arch/arm/cpu/arm1136/mx31/generic.c
arch/arm/include/asm/arch-mx31/clock.h
arch/arm/include/asm/arch-mx31/imx-regs.h