blob: 62e1c7bcd132367df6d9c7273d2a50f0efd97f5e [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Tom Warren41b68382011-01-27 10:58:05 +00002/*
3 * (C) Copyright 2010,2011
4 * NVIDIA Corporation <www.nvidia.com>
Tom Warren41b68382011-01-27 10:58:05 +00005 */
6
7#ifndef _SYS_PROTO_H_
8#define _SYS_PROTO_H_
9
Tom Warren41b68382011-01-27 10:58:05 +000010void invalidate_dcache(void);
11
Simon Glass69c93c72015-04-14 21:03:25 -060012/**
13 * tegra_board_id() - Get the board iD
14 *
15 * @return a board ID, or -ve on error
16 */
17int tegra_board_id(void);
Tom Warren41b68382011-01-27 10:58:05 +000018
Simon Glass0cf62dd2015-04-14 21:03:27 -060019/**
20 * tegra_lcd_pmic_init() - Set up the PMIC for a board
21 *
22 * @board_id: Board ID which may be used to select LCD type
23 * @return 0 if OK, -ve on error
24 */
25int tegra_lcd_pmic_init(int board_id);
26
Simon Glass44a68082015-06-05 14:39:42 -060027/**
28 * nvidia_board_init() - perform any board-specific init
29 *
30 * @return 0 if OK, -ve on error
31 */
32int nvidia_board_init(void);
33
Tom Warren41b68382011-01-27 10:58:05 +000034#endif