[U-Boot] [PATCH 1/3] mx31: Introduce mx31_set_gpr function

Stefano Babic sbabic at denx.de
Tue Oct 25 10:07:32 CEST 2011


On 10/21/2011 04:01 AM, Fabio Estevam wrote:
> 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 at freescale.com>
> ---
>  arch/arm/cpu/arm1136/mx31/generic.c       |   15 +++++++++++
>  arch/arm/include/asm/arch-mx31/clock.h    |    1 +
>  arch/arm/include/asm/arch-mx31/imx-regs.h |   38 +++++++++++++++++++++++++++++
>  3 files changed, 54 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/arm/cpu/arm1136/mx31/generic.c b/arch/arm/cpu/arm1136/mx31/generic.c
> index 78df7b9..4f27e25 100644

Applied to u-boot-imx, thanks.

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================


More information about the U-Boot mailing list