]> git.ipfire.org Git - people/ms/u-boot.git/blame - arch/arm/include/asm/arch-am33xx/sys_proto.h
Add GPL-2.0+ SPDX-License-Identifier to source files
[people/ms/u-boot.git] / arch / arm / include / asm / arch-am33xx / sys_proto.h
CommitLineData
62d7fe7c
CN
1/*
2 * sys_proto.h
3 *
4 * System information header
5 *
6 * Copyright (C) 2011, Texas Instruments, Incorporated - http://www.ti.com/
7 *
1a459660 8 * SPDX-License-Identifier: GPL-2.0+
62d7fe7c
CN
9 */
10
11#ifndef _SYS_PROTO_H_
12#define _SYS_PROTO_H_
13
14#define BOARD_REV_ID 0x0
62d7fe7c
CN
15
16u32 get_cpu_rev(void);
17u32 get_sysboot_value(void);
18
19#ifdef CONFIG_DISPLAY_CPUINFO
20int print_cpuinfo(void);
21#endif
22
6995a289 23extern struct ctrl_stat *cstat;
62d7fe7c 24u32 get_device_type(void);
4596dcc1 25void save_omap_boot_params(void);
8a8f084e 26void setup_clocks_for_console(void);
7b9c5d0b 27void mpu_pll_config_val(int mpull_m);
b971dfad 28void ddr_pll_config(unsigned int ddrpll_M);
db7dd810 29
8eb16b7f 30void sdelay(unsigned long);
98f92001
TR
31
32struct gpmc_cs;
8eb16b7f 33void gpmc_init(void);
6b3dcc45
MJ
34void enable_gpmc_cs_config(const u32 *gpmc_config, struct gpmc_cs *cs, u32 base,
35 u32 size);
da634ae3 36void omap_nand_switch_ecc(uint32_t, uint32_t);
49f78365
HS
37
38void rtc32k_enable(void);
7ea7f689 39void uart_soft_reset(void);
62d7fe7c 40#endif