Minkyu Kang | ae6f0c6 | 2009-07-20 11:40:01 +0900 | [diff] [blame] | 1 | /* |
Steve Sakoman | 1ad2158 | 2010-06-08 13:07:46 -0700 | [diff] [blame] | 2 | * (C) Copyright 2010 |
| 3 | * Texas Instruments, <www.ti.com> |
Minkyu Kang | ae6f0c6 | 2009-07-20 11:40:01 +0900 | [diff] [blame] | 4 | * |
| 5 | * This program is free software; you can redistribute it and/or |
| 6 | * modify it under the terms of the GNU General Public License as |
| 7 | * published by the Free Software Foundation; either version 2 of |
| 8 | * the License, or (at your option) any later version. |
| 9 | * |
| 10 | * This program is distributed in the hope that it will be useful, |
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | * GNU General Public License for more details. |
| 14 | * |
| 15 | * You should have received a copy of the GNU General Public License |
| 16 | * along with this program; if not, write to the Free Software |
| 17 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, |
| 18 | * MA 02111-1307 USA |
| 19 | */ |
| 20 | |
Steve Sakoman | 1ad2158 | 2010-06-08 13:07:46 -0700 | [diff] [blame] | 21 | #ifndef _SYS_PROTO_H_ |
| 22 | #define _SYS_PROTO_H_ |
| 23 | |
| 24 | #include <asm/arch/omap4.h> |
| 25 | #include <asm/io.h> |
| 26 | |
| 27 | struct omap_sysinfo { |
| 28 | char *board_string; |
| 29 | }; |
| 30 | |
Steve Sakoman | 9b8ea4e | 2010-07-15 16:19:16 -0400 | [diff] [blame] | 31 | void gpmc_init(void); |
Steve Sakoman | 1ad2158 | 2010-06-08 13:07:46 -0700 | [diff] [blame] | 32 | void watchdog_init(void); |
| 33 | u32 get_device_type(void); |
| 34 | void invalidate_dcache(u32); |
Steve Sakoman | 9bb65b5 | 2010-07-15 13:43:10 -0700 | [diff] [blame] | 35 | void set_muxconf_regs(void); |
Steve Sakoman | 6e09a76 | 2010-08-04 09:39:40 -0700 | [diff] [blame] | 36 | void sr32(void *, u32, u32, u32); |
| 37 | u32 wait_on_value(u32, u32, void *, u32); |
| 38 | void sdelay(unsigned long); |
Steve Sakoman | 1ad2158 | 2010-06-08 13:07:46 -0700 | [diff] [blame] | 39 | |
| 40 | extern const struct omap_sysinfo sysinfo; |
Minkyu Kang | ae6f0c6 | 2009-07-20 11:40:01 +0900 | [diff] [blame] | 41 | |
Steve Sakoman | 1ad2158 | 2010-06-08 13:07:46 -0700 | [diff] [blame] | 42 | #endif |