blob: 4813e9e21d97f9d527c47d074c1d1269b0b974a6 [file] [log] [blame]
Minkyu Kangae6f0c62009-07-20 11:40:01 +09001/*
Steve Sakoman1ad21582010-06-08 13:07:46 -07002 * (C) Copyright 2010
3 * Texas Instruments, <www.ti.com>
Minkyu Kangae6f0c62009-07-20 11:40:01 +09004 *
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 Sakoman1ad21582010-06-08 13:07:46 -070021#ifndef _SYS_PROTO_H_
22#define _SYS_PROTO_H_
23
24#include <asm/arch/omap4.h>
25#include <asm/io.h>
26
27struct omap_sysinfo {
28 char *board_string;
29};
30
Steve Sakoman9b8ea4e2010-07-15 16:19:16 -040031void gpmc_init(void);
Steve Sakoman1ad21582010-06-08 13:07:46 -070032void watchdog_init(void);
33u32 get_device_type(void);
34void invalidate_dcache(u32);
Steve Sakoman9bb65b52010-07-15 13:43:10 -070035void set_muxconf_regs(void);
Steve Sakoman6e09a762010-08-04 09:39:40 -070036void sr32(void *, u32, u32, u32);
37u32 wait_on_value(u32, u32, void *, u32);
38void sdelay(unsigned long);
Steve Sakoman1ad21582010-06-08 13:07:46 -070039
40extern const struct omap_sysinfo sysinfo;
Minkyu Kangae6f0c62009-07-20 11:40:01 +090041
Steve Sakoman1ad21582010-06-08 13:07:46 -070042#endif