]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/arm/plat-omap/common.c
OMAP: Initial N810 support
[linux-2.6-omap-h63xx.git] / arch / arm / plat-omap / common.c
index a5a3daf897891754373d7b81ece751a0ae414598..d6041da333717e357fbc3f118f440a070d5aa705 100644 (file)
@@ -38,7 +38,9 @@
 
 #define NO_LENGTH_CHECK 0xffffffff
 
-unsigned char omap_bootloader_tag[512];
+u32 omap2_ctrl_base; /* until we have a better place to put it */
+
+unsigned char omap_bootloader_tag[1024];
 int omap_bootloader_tag_len;
 
 struct omap_board_config_kernel *omap_board_config;
@@ -265,6 +267,7 @@ void __init omap2_set_globals_242x(void)
 {
        omap2_sdrc_base = OMAP2420_SDRC_BASE;
        omap2_sms_base = OMAP2420_SMS_BASE;
+       omap2_ctrl_base = OMAP2420_CTRL_BASE;
 }
 #endif
 
@@ -273,6 +276,7 @@ void __init omap2_set_globals_243x(void)
 {
        omap2_sdrc_base = OMAP243X_SDRC_BASE;
        omap2_sms_base = OMAP243X_SMS_BASE;
+       omap2_ctrl_base = OMAP243X_CTRL_BASE;
 }
 #endif
 
@@ -281,6 +285,7 @@ void __init omap2_set_globals_343x(void)
 {
        omap2_sdrc_base = OMAP343X_SDRC_BASE;
        omap2_sms_base = OMAP343X_SMS_BASE;
+       omap2_ctrl_base = OMAP343X_CTRL_BASE;
 }
 #endif