~pmdj/ubuntu/trusty/qemu/2.9+applesmc+fadtv3

« back to all changes in this revision

Viewing changes to roms/u-boot/arch/arm/include/asm/arch-am33xx/sys_proto.h

  • Committer: Phil Dennis-Jordan
  • Date: 2017-07-21 08:03:43 UTC
  • mfrom: (1.1.1)
  • Revision ID: phil@philjordan.eu-20170721080343-2yr2vdj7713czahv
New upstream release 2.9.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
#include <linux/mtd/omap_gpmc.h>
 
14
#include <asm/arch/cpu.h>
 
15
 
 
16
#define BOARD_REV_ID    0x0
 
17
 
 
18
u32 get_cpu_rev(void);
 
19
u32 get_sysboot_value(void);
 
20
 
 
21
extern struct ctrl_stat *cstat;
 
22
u32 get_device_type(void);
 
23
void save_omap_boot_params(void);
 
24
void setup_clocks_for_console(void);
 
25
void mpu_pll_config_val(int mpull_m);
 
26
void ddr_pll_config(unsigned int ddrpll_M);
 
27
 
 
28
void sdelay(unsigned long);
 
29
 
 
30
struct gpmc_cs;
 
31
void gpmc_init(void);
 
32
void enable_gpmc_cs_config(const u32 *gpmc_config, struct gpmc_cs *cs, u32 base,
 
33
                        u32 size);
 
34
void omap_nand_switch_ecc(uint32_t, uint32_t);
 
35
 
 
36
void set_uart_mux_conf(void);
 
37
void set_mux_conf_regs(void);
 
38
void sdram_init(void);
 
39
u32 wait_on_value(u32, u32, void *, u32);
 
40
#ifdef CONFIG_NOR_BOOT
 
41
void enable_norboot_pin_mux(void);
 
42
#endif
 
43
void am33xx_spl_board_init(void);
 
44
int am335x_get_efuse_mpu_max_freq(struct ctrl_dev *cdev);
 
45
int am335x_get_tps65910_mpu_vdd(int sil_rev, int frequency);
 
46
#endif