common.h (f746929ffdc8a83c0e6092343d4475f6485e13d3) common.h (3fa609755c11fbe8770ede4d895ebb86fb7b9f1e)
1/*
2 * Header for code common to all OMAP2+ machines.
3 *
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms of the GNU General Public License as published by the
6 * Free Software Foundation; either version 2 of the License, or (at your
7 * option) any later version.
8 *

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

184 defined(CONFIG_SOC_DRA7XX) || defined(CONFIG_SOC_AM43XX)
185void omap44xx_restart(enum reboot_mode mode, const char *cmd);
186#else
187static inline void omap44xx_restart(enum reboot_mode mode, const char *cmd)
188{
189}
190#endif
191
1/*
2 * Header for code common to all OMAP2+ machines.
3 *
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms of the GNU General Public License as published by the
6 * Free Software Foundation; either version 2 of the License, or (at your
7 * option) any later version.
8 *

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

184 defined(CONFIG_SOC_DRA7XX) || defined(CONFIG_SOC_AM43XX)
185void omap44xx_restart(enum reboot_mode mode, const char *cmd);
186#else
187static inline void omap44xx_restart(enum reboot_mode mode, const char *cmd)
188{
189}
190#endif
191
192#ifdef CONFIG_OMAP_INTERCONNECT_BARRIER
193void omap_barrier_reserve_memblock(void);
194void omap_barriers_init(void);
195#else
196static inline void omap_barrier_reserve_memblock(void)
197{
198}
199#endif
200
192/* This gets called from mach-omap2/io.c, do not call this */
193void __init omap2_set_globals_tap(u32 class, void __iomem *tap);
194
195void __init omap242x_map_io(void);
196void __init omap243x_map_io(void);
197void __init omap3_map_io(void);
198void __init am33xx_map_io(void);
199void __init omap4_map_io(void);
200void __init omap5_map_io(void);
201void __init ti81xx_map_io(void);
202
201/* This gets called from mach-omap2/io.c, do not call this */
202void __init omap2_set_globals_tap(u32 class, void __iomem *tap);
203
204void __init omap242x_map_io(void);
205void __init omap243x_map_io(void);
206void __init omap3_map_io(void);
207void __init am33xx_map_io(void);
208void __init omap4_map_io(void);
209void __init omap5_map_io(void);
210void __init ti81xx_map_io(void);
211
203/* omap_barriers_init() is OMAP4 only */
204void omap_barriers_init(void);
205
206/**
207 * omap_test_timeout - busy-loop, testing a condition
208 * @cond: condition to test until it evaluates to true
209 * @timeout: maximum number of microseconds in the timeout
210 * @index: loop index (integer)
211 *
212 * Loop waiting for @cond to become true or until at least @timeout
213 * microseconds have passed. To use, define some integer @index in the

--- 115 unchanged lines hidden ---
212/**
213 * omap_test_timeout - busy-loop, testing a condition
214 * @cond: condition to test until it evaluates to true
215 * @timeout: maximum number of microseconds in the timeout
216 * @index: loop index (integer)
217 *
218 * Loop waiting for @cond to become true or until at least @timeout
219 * microseconds have passed. To use, define some integer @index in the

--- 115 unchanged lines hidden ---