common.c (404c3bc30cb1361e1b3533643326ab472d24a618) common.c (1c213ba16ed8f48fc12dfec8a588d608ffef0904)
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>

--- 120 unchanged lines hidden (view full) ---

129{
130 __omap2_set_globals(&ti81xx_globals);
131}
132
133void __init ti81xx_map_io(void)
134{
135 omapti81xx_map_common_io();
136}
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>

--- 120 unchanged lines hidden (view full) ---

129{
130 __omap2_set_globals(&ti81xx_globals);
131}
132
133void __init ti81xx_map_io(void)
134{
135 omapti81xx_map_common_io();
136}
137#endif
137
138
139#if defined(CONFIG_SOC_AM33XX)
138#define AM33XX_TAP_BASE (AM33XX_CTRL_BASE + \
139 TI81XX_CONTROL_DEVICE_ID - 0x204)
140
141static struct omap_globals am33xx_globals = {
142 .class = AM335X_CLASS,
143 .tap = AM33XX_L4_WK_IO_ADDRESS(AM33XX_TAP_BASE),
144 .ctrl = AM33XX_L4_WK_IO_ADDRESS(AM33XX_CTRL_BASE),
145 .prm = AM33XX_L4_WK_IO_ADDRESS(AM33XX_PRCM_BASE),

--- 39 unchanged lines hidden ---
140#define AM33XX_TAP_BASE (AM33XX_CTRL_BASE + \
141 TI81XX_CONTROL_DEVICE_ID - 0x204)
142
143static struct omap_globals am33xx_globals = {
144 .class = AM335X_CLASS,
145 .tap = AM33XX_L4_WK_IO_ADDRESS(AM33XX_TAP_BASE),
146 .ctrl = AM33XX_L4_WK_IO_ADDRESS(AM33XX_CTRL_BASE),
147 .prm = AM33XX_L4_WK_IO_ADDRESS(AM33XX_PRCM_BASE),

--- 39 unchanged lines hidden ---