1 /*
2  * sys_proto.h
3  *
4  * System information header
5  *
6  * Copyright (C) 2011, Texas Instruments, Incorporated - http://www.ti.com/
7  *
8  * SPDX-License-Identifier:	GPL-2.0+
9  */
10 
11 #ifndef _SYS_PROTO_H_
12 #define _SYS_PROTO_H_
13 
14 #define BOARD_REV_ID	0x0
15 
16 u32 get_cpu_rev(void);
17 u32 get_sysboot_value(void);
18 
19 #ifdef CONFIG_DISPLAY_CPUINFO
20 int print_cpuinfo(void);
21 #endif
22 
23 extern struct ctrl_stat *cstat;
24 u32 get_device_type(void);
25 void save_omap_boot_params(void);
26 void setup_clocks_for_console(void);
27 void mpu_pll_config_val(int mpull_m);
28 void ddr_pll_config(unsigned int ddrpll_M);
29 
30 void sdelay(unsigned long);
31 
32 struct gpmc_cs;
33 void gpmc_init(void);
34 void enable_gpmc_cs_config(const u32 *gpmc_config, struct gpmc_cs *cs, u32 base,
35 			u32 size);
36 void omap_nand_switch_ecc(uint32_t, uint32_t);
37 
38 void set_uart_mux_conf(void);
39 void set_mux_conf_regs(void);
40 void sdram_init(void);
41 u32 wait_on_value(u32, u32, void *, u32);
42 #ifdef CONFIG_NOR_BOOT
43 void enable_norboot_pin_mux(void);
44 #endif
45 #endif
46