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>
Showing
- arch/arm/cpu/arm1136/mx31/generic.c 15 additions, 0 deletionsarch/arm/cpu/arm1136/mx31/generic.c
- arch/arm/include/asm/arch-mx31/clock.h 1 addition, 0 deletionsarch/arm/include/asm/arch-mx31/clock.h
- arch/arm/include/asm/arch-mx31/imx-regs.h 38 additions, 0 deletionsarch/arm/include/asm/arch-mx31/imx-regs.h
Loading
Please register or sign in to comment