]> git.ipfire.org Git - people/ms/u-boot.git/blame - arch/arm/include/asm/arch-am33xx/sys_proto.h
arm, am335x: make mpu pll config configurable
[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 *
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
62d7fe7c
CN
23
24u32 get_cpu_rev(void);
25u32 get_sysboot_value(void);
26
27#ifdef CONFIG_DISPLAY_CPUINFO
28int print_cpuinfo(void);
29#endif
30
6995a289 31extern struct ctrl_stat *cstat;
62d7fe7c 32u32 get_device_type(void);
4596dcc1 33void save_omap_boot_params(void);
8a8f084e 34void setup_clocks_for_console(void);
7b9c5d0b 35void mpu_pll_config_val(int mpull_m);
b971dfad 36void ddr_pll_config(unsigned int ddrpll_M);
db7dd810 37
8eb16b7f 38void sdelay(unsigned long);
98f92001
TR
39
40struct gpmc_cs;
8eb16b7f 41void gpmc_init(void);
6b3dcc45
MJ
42void enable_gpmc_cs_config(const u32 *gpmc_config, struct gpmc_cs *cs, u32 base,
43 u32 size);
da634ae3 44void omap_nand_switch_ecc(uint32_t, uint32_t);
49f78365
HS
45
46void rtc32k_enable(void);
62d7fe7c 47#endif