]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - glsdk/glsdk-u-boot.git/blobdiff - arch/arm/cpu/armv7/omap4/hw_data.c
ARM: OMAP4+: Make control module register structure generic
[glsdk/glsdk-u-boot.git] / arch / arm / cpu / armv7 / omap4 / hw_data.c
index 18efa6c828a3395b5ecbe6f7a860378f7f0bf2aa..892d0162cc4c951579fd81158db9ea0ceb3a50ec 100644 (file)
@@ -39,6 +39,8 @@ struct dplls const **dplls_data =
                        (struct dplls const **) OMAP_SRAM_SCRATCH_DPLLS_PTR;
 struct vcores_data const **omap_vcores =
                (struct vcores_data const **) OMAP_SRAM_SCRATCH_VCORES_PTR;
+struct omap_sys_ctrl_regs const **ctrl =
+       (struct omap_sys_ctrl_regs const **)OMAP4_SRAM_SCRATCH_SYS_CTRL;
 
 /*
  * The M & N values in the following tables are created using the
@@ -470,4 +472,5 @@ void hw_data_init(void)
                printf("\n INVALID OMAP REVISION ");
        }
 
+       *ctrl = &omap4_ctrl;
 }