blob: 6c58f1b30fd6fac7e57e50f8b052fcd01d6375bd [file] [log] [blame]
Chandan Nath98b036e2011-10-14 02:58:24 +00001/*
2 * sys_proto.h
3 *
4 * System information header
5 *
6 * Copyright (C) 2011, Texas Instruments, Incorporated - http://www.ti.com/
7 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License as
10 * published by the Free Software Foundation; either version 2 of
11 * the License, or (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR /PURPOSE. See the
16 * GNU General Public License for more details.
17 */
18
19#ifndef _SYS_PROTO_H_
20#define _SYS_PROTO_H_
21
22#define BOARD_REV_ID 0x0
Chandan Nath98b036e2011-10-14 02:58:24 +000023
24u32 get_cpu_rev(void);
25u32 get_sysboot_value(void);
26
27#ifdef CONFIG_DISPLAY_CPUINFO
28int print_cpuinfo(void);
29#endif
30
31u32 get_device_type(void);
Chandan Nath77a73fe2012-01-09 20:38:59 +000032void setup_clocks_for_console(void);
Chandan Nath98b036e2011-10-14 02:58:24 +000033#endif