Commit 683e030348389616ba6c0ca6ca7098233ee48798
Committed by
Rajendra Nayak
1 parent
8e84a2b344
Exists in
ti-linux-3.12.y
and in
3 other branches
ARM: OMAP2+: am43xx: Use omap4 prm context ops
Context loss counting relies on several prm function pointers that serve as a "mapping" into the context loss registers and actually allow reading and clearing of the registers. Use the same from omap4 for am43xx as the layout of the prcm is similar. Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
Showing 2 changed files with 3 additions and 1 deletions Side-by-side Diff
arch/arm/mach-omap2/io.c
arch/arm/mach-omap2/prm44xx.c
... | ... | @@ -660,7 +660,8 @@ |
660 | 660 | |
661 | 661 | int __init omap44xx_prm_init(void) |
662 | 662 | { |
663 | - if (!cpu_is_omap44xx() && !soc_is_omap54xx() && !soc_is_dra7xx()) | |
663 | + if (!soc_is_am43xx() && !cpu_is_omap44xx() && | |
664 | + !soc_is_omap54xx() && !soc_is_dra7xx()) | |
664 | 665 | return 0; |
665 | 666 | |
666 | 667 | return prm_register(&omap44xx_prm_ll_data); |