summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/arch-tegra/sys_proto.h
blob: b64f9d813b0eb1ba284a390b4a5bd03a92669ff7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/*
 * (C) Copyright 2010,2011
 * NVIDIA Corporation <www.nvidia.com>
 *
 * SPDX-License-Identifier:	GPL-2.0+
 */

#ifndef _SYS_PROTO_H_
#define _SYS_PROTO_H_

void invalidate_dcache(void);

/**
 * tegra_board_id() - Get the board iD
 *
 * @return a board ID, or -ve on error
 */
int tegra_board_id(void);

/**
 * tegra_lcd_pmic_init() - Set up the PMIC for a board
 *
 * @board_id: Board ID which may be used to select LCD type
 * @return 0 if OK, -ve on error
 */
int tegra_lcd_pmic_init(int board_id);

/**
 * nvidia_board_init() - perform any board-specific init
 *
 * @return 0 if OK, -ve on error
 */
int nvidia_board_init(void);

#endif