common.c (e8cdfb0509f48d44d95d68d4f42d8d71a9ba4acd) | common.c (59b479e0985f0b795d68331d6443a7f89c47768d) |
---|---|
1/* 2 * linux/arch/arm/mach-omap2/common.c 3 * 4 * Code common to all OMAP2+ machines. 5 * 6 * Copyright (C) 2009 Texas Instruments 7 * Copyright (C) 2010 Nokia Corporation 8 * Tony Lindgren <tony@atomide.com> --- 26 unchanged lines hidden (view full) --- 35 omap2_set_globals_tap(omap2_globals); 36 omap2_set_globals_sdrc(omap2_globals); 37 omap2_set_globals_control(omap2_globals); 38 omap2_set_globals_prcm(omap2_globals); 39} 40 41#endif 42 | 1/* 2 * linux/arch/arm/mach-omap2/common.c 3 * 4 * Code common to all OMAP2+ machines. 5 * 6 * Copyright (C) 2009 Texas Instruments 7 * Copyright (C) 2010 Nokia Corporation 8 * Tony Lindgren <tony@atomide.com> --- 26 unchanged lines hidden (view full) --- 35 omap2_set_globals_tap(omap2_globals); 36 omap2_set_globals_sdrc(omap2_globals); 37 omap2_set_globals_control(omap2_globals); 38 omap2_set_globals_prcm(omap2_globals); 39} 40 41#endif 42 |
43#if defined(CONFIG_ARCH_OMAP2420) | 43#if defined(CONFIG_SOC_OMAP2420) |
44 45static struct omap_globals omap242x_globals = { 46 .class = OMAP242X_CLASS, 47 .tap = OMAP2_L4_IO_ADDRESS(0x48014000), 48 .sdrc = OMAP2420_SDRC_BASE, 49 .sms = OMAP2420_SMS_BASE, 50 .ctrl = OMAP242X_CTRL_BASE, 51 .prm = OMAP2420_PRM_BASE, --- 4 unchanged lines hidden (view full) --- 56}; 57 58void __init omap2_set_globals_242x(void) 59{ 60 __omap2_set_globals(&omap242x_globals); 61} 62#endif 63 | 44 45static struct omap_globals omap242x_globals = { 46 .class = OMAP242X_CLASS, 47 .tap = OMAP2_L4_IO_ADDRESS(0x48014000), 48 .sdrc = OMAP2420_SDRC_BASE, 49 .sms = OMAP2420_SMS_BASE, 50 .ctrl = OMAP242X_CTRL_BASE, 51 .prm = OMAP2420_PRM_BASE, --- 4 unchanged lines hidden (view full) --- 56}; 57 58void __init omap2_set_globals_242x(void) 59{ 60 __omap2_set_globals(&omap242x_globals); 61} 62#endif 63 |
64#if defined(CONFIG_ARCH_OMAP2430) | 64#if defined(CONFIG_SOC_OMAP2430) |
65 66static struct omap_globals omap243x_globals = { 67 .class = OMAP243X_CLASS, 68 .tap = OMAP2_L4_IO_ADDRESS(0x4900a000), 69 .sdrc = OMAP243X_SDRC_BASE, 70 .sms = OMAP243X_SMS_BASE, 71 .ctrl = OMAP243X_CTRL_BASE, 72 .prm = OMAP2430_PRM_BASE, --- 63 unchanged lines hidden --- | 65 66static struct omap_globals omap243x_globals = { 67 .class = OMAP243X_CLASS, 68 .tap = OMAP2_L4_IO_ADDRESS(0x4900a000), 69 .sdrc = OMAP243X_SDRC_BASE, 70 .sms = OMAP243X_SMS_BASE, 71 .ctrl = OMAP243X_CTRL_BASE, 72 .prm = OMAP2430_PRM_BASE, --- 63 unchanged lines hidden --- |