diff options
| author | Nishanth Menon <[email protected]> | 2015-07-27 16:26:06 -0500 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2015-08-12 20:47:50 -0400 |
| commit | 1bbb556a6a5c0f44d2da32700fce4d279c851e9f (patch) | |
| tree | 14d79050cbb4c40d8f5ef4a285d8decac0cf0c36 | |
| parent | a615d0be6a73fc48a22e5662608260fe9b9149ff (diff) | |
ARM: DRA7/ OMAP5: implement Auxiliary Control Register configuration
Implement logic for ACR(Auxiliary Control Register) configuration using
ROM Code smc service.
Suggested-by: Richard Woodruff <[email protected]>
Suggested-by: Brad Griffis <[email protected]>
Reviewed-by: Brad Griffis <[email protected]>
Signed-off-by: Nishanth Menon <[email protected]>
| -rw-r--r-- | arch/arm/cpu/armv7/omap5/hwinit.c | 6 | ||||
| -rw-r--r-- | arch/arm/include/asm/arch-omap5/sys_proto.h | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv7/omap5/hwinit.c b/arch/arm/cpu/armv7/omap5/hwinit.c index 39f8d0d5e20..bc19aebc6db 100644 --- a/arch/arm/cpu/armv7/omap5/hwinit.c +++ b/arch/arm/cpu/armv7/omap5/hwinit.c @@ -418,3 +418,9 @@ void v7_arch_cp15_set_l2aux_ctrl(u32 l2auxctrl, u32 cpu_midr, { omap_smc1(OMAP5_SERVICE_L2ACTLR_SET, l2auxctrl); } + +void v7_arch_cp15_set_acr(u32 acr, u32 cpu_midr, u32 cpu_rev_comb, + u32 cpu_variant, u32 cpu_rev) +{ + omap_smc1(OMAP5_SERVICE_ACR_SET, acr); +} diff --git a/arch/arm/include/asm/arch-omap5/sys_proto.h b/arch/arm/include/asm/arch-omap5/sys_proto.h index 6da8297c729..7fcb7838940 100644 --- a/arch/arm/include/asm/arch-omap5/sys_proto.h +++ b/arch/arm/include/asm/arch-omap5/sys_proto.h @@ -81,5 +81,6 @@ static inline u32 usec_to_32k(u32 usec) } #define OMAP5_SERVICE_L2ACTLR_SET 0x104 +#define OMAP5_SERVICE_ACR_SET 0x107 #endif |
