uboot/arch/arm/include/asm/arch-omap4/sys_proto.h
<<
>>
Prefs
   1/*
   2 * (C) Copyright 2010
   3 * Texas Instruments, <www.ti.com>
   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
  21#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
  31void gpmc_init(void);
  32void watchdog_init(void);
  33u32 get_device_type(void);
  34void invalidate_dcache(u32);
  35void set_muxconf_regs(void);
  36void sr32(void *, u32, u32, u32);
  37u32 wait_on_value(u32, u32, void *, u32);
  38void sdelay(unsigned long);
  39
  40extern const struct omap_sysinfo sysinfo;
  41
  42#endif
  43