blob: 566666a9a052bd45a2ae965c63eec393129046d7 [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 *
Heinrich Schuchardt47b4c022022-01-19 18:05:50 +010015 * Return: a board ID, or -ve on error
Simon Glass69c93c72015-04-14 21:03:25 -060016 */
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
Heinrich Schuchardt47b4c022022-01-19 18:05:50 +010023 * Return: 0 if OK, -ve on error
Simon Glass0cf62dd2015-04-14 21:03:27 -060024 */
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 *
Heinrich Schuchardt47b4c022022-01-19 18:05:50 +010030 * Return: 0 if OK, -ve on error
Simon Glass44a68082015-06-05 14:39:42 -060031 */
32int nvidia_board_init(void);
33
Svyatoslav Ryhelb99f3df2023-02-14 19:35:31 +020034/**
35 * nvidia_board_late_init() - perform any board-specific
36 * init on late stages
37 */
38void nvidia_board_late_init(void);
39
Tom Warren41b68382011-01-27 10:58:05 +000040#endif