blob: b64f9d813b0eb1ba284a390b4a5bd03a92669ff7 [file] [log] [blame]
Tom Warren41b68382011-01-27 10:58:05 +00001/*
2 * (C) Copyright 2010,2011
3 * NVIDIA Corporation <www.nvidia.com>
4 *
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02005 * SPDX-License-Identifier: GPL-2.0+
Tom Warren41b68382011-01-27 10:58:05 +00006 */
7
8#ifndef _SYS_PROTO_H_
9#define _SYS_PROTO_H_
10
Tom Warren41b68382011-01-27 10:58:05 +000011void invalidate_dcache(void);
12
Simon Glass69c93c72015-04-14 21:03:25 -060013/**
14 * tegra_board_id() - Get the board iD
15 *
16 * @return a board ID, or -ve on error
17 */
18int tegra_board_id(void);
Tom Warren41b68382011-01-27 10:58:05 +000019
Simon Glass0cf62dd2015-04-14 21:03:27 -060020/**
21 * tegra_lcd_pmic_init() - Set up the PMIC for a board
22 *
23 * @board_id: Board ID which may be used to select LCD type
24 * @return 0 if OK, -ve on error
25 */
26int tegra_lcd_pmic_init(int board_id);
27
Simon Glass44a68082015-06-05 14:39:42 -060028/**
29 * nvidia_board_init() - perform any board-specific init
30 *
31 * @return 0 if OK, -ve on error
32 */
33int nvidia_board_init(void);
34
Tom Warren41b68382011-01-27 10:58:05 +000035#endif