From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Tue, 25 Oct 2011 10:07:32 +0200 Subject: [U-Boot] [PATCH 1/3] mx31: Introduce mx31_set_gpr function In-Reply-To: <1319162491-2293-1-git-send-email-festevam@gmail.com> References: <1319162491-2293-1-git-send-email-festevam@gmail.com> Message-ID: <4EA66E44.1050102@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > --- > 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 =====================================================================