]> git.openpandora.org Git - pandora-kernel.git/commitdiff
ARM: AM33xx: PRM: add support for prm_init
authorTero Kristo <t-kristo@ti.com>
Thu, 3 Apr 2014 09:03:05 +0000 (12:03 +0300)
committerTero Kristo <t-kristo@ti.com>
Mon, 22 Sep 2014 12:52:27 +0000 (15:52 +0300)
Added support for prm_init for AM33xx SoC. This is needed to register
SoC specific prm_ll_data for these devices.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
Acked-by: Paul Walmsley <paul@pwsan.com>
Tested-by: Nishanth Menon <nm@ti.com>
arch/arm/mach-omap2/io.c
arch/arm/mach-omap2/prm33xx.c
arch/arm/mach-omap2/prm33xx.h

index 26055d97604bd0b7a77d5e9165cd8f5a75440d41..f1db801ddf073a0b98f8ed576e262a5fd2dbfaf0 100644 (file)
@@ -53,6 +53,7 @@
 #include "cminst44xx.h"
 #include "prm2xxx.h"
 #include "prm3xxx.h"
+#include "prm33xx.h"
 #include "prm44xx.h"
 #include "opp2xxx.h"
 
@@ -583,6 +584,7 @@ void __init am33xx_init_early(void)
        omap2_set_globals_cm(AM33XX_L4_WK_IO_ADDRESS(AM33XX_PRCM_BASE), NULL);
        omap3xxx_check_revision();
        am33xx_check_features();
+       am33xx_prm_init();
        am33xx_cm_init();
        am33xx_powerdomains_init();
        am33xx_clockdomains_init();
Simple merge
Simple merge