common.h (c27964b5d2f3c36b0160d6d26f79f2d4730c440b) common.h (bc7235c97f90c9def22ebda620d7eae2b49a7642)
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 *

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

159#ifdef CONFIG_ARCH_OMAP3
160void omap3xxx_restart(enum reboot_mode mode, const char *cmd);
161#else
162static inline void omap3xxx_restart(enum reboot_mode mode, const char *cmd)
163{
164}
165#endif
166
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 *

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

159#ifdef CONFIG_ARCH_OMAP3
160void omap3xxx_restart(enum reboot_mode mode, const char *cmd);
161#else
162static inline void omap3xxx_restart(enum reboot_mode mode, const char *cmd)
163{
164}
165#endif
166
167#ifdef CONFIG_SOC_TI81XX
168void ti81xx_restart(enum reboot_mode mode, const char *cmd);
169#else
170static inline void ti81xx_restart(enum reboot_mode mode, const char *cmd)
171{
172}
173#endif
174
167#if defined(CONFIG_ARCH_OMAP4) || defined(CONFIG_SOC_OMAP5) || \
168 defined(CONFIG_SOC_DRA7XX) || defined(CONFIG_SOC_AM43XX)
169void omap44xx_restart(enum reboot_mode mode, const char *cmd);
170#else
171static inline void omap44xx_restart(enum reboot_mode mode, const char *cmd)
172{
173}
174#endif

--- 136 unchanged lines hidden ---
175#if defined(CONFIG_ARCH_OMAP4) || defined(CONFIG_SOC_OMAP5) || \
176 defined(CONFIG_SOC_DRA7XX) || defined(CONFIG_SOC_AM43XX)
177void omap44xx_restart(enum reboot_mode mode, const char *cmd);
178#else
179static inline void omap44xx_restart(enum reboot_mode mode, const char *cmd)
180{
181}
182#endif

--- 136 unchanged lines hidden ---