2018-05-06 21:58:06 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0+ */
|
2011-01-27 10:58:05 +00:00
|
|
|
/*
|
|
|
|
* (C) Copyright 2010,2011
|
|
|
|
* NVIDIA Corporation <www.nvidia.com>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _SYS_PROTO_H_
|
|
|
|
#define _SYS_PROTO_H_
|
|
|
|
|
|
|
|
void invalidate_dcache(void);
|
|
|
|
|
2015-04-15 03:03:25 +00:00
|
|
|
/**
|
|
|
|
* tegra_board_id() - Get the board iD
|
|
|
|
*
|
2022-01-19 17:05:50 +00:00
|
|
|
* Return: a board ID, or -ve on error
|
2015-04-15 03:03:25 +00:00
|
|
|
*/
|
|
|
|
int tegra_board_id(void);
|
2011-01-27 10:58:05 +00:00
|
|
|
|
2015-04-15 03:03:27 +00:00
|
|
|
/**
|
|
|
|
* tegra_lcd_pmic_init() - Set up the PMIC for a board
|
|
|
|
*
|
|
|
|
* @board_id: Board ID which may be used to select LCD type
|
2022-01-19 17:05:50 +00:00
|
|
|
* Return: 0 if OK, -ve on error
|
2015-04-15 03:03:27 +00:00
|
|
|
*/
|
|
|
|
int tegra_lcd_pmic_init(int board_id);
|
|
|
|
|
2015-06-05 20:39:42 +00:00
|
|
|
/**
|
|
|
|
* nvidia_board_init() - perform any board-specific init
|
|
|
|
*
|
2022-01-19 17:05:50 +00:00
|
|
|
* Return: 0 if OK, -ve on error
|
2015-06-05 20:39:42 +00:00
|
|
|
*/
|
|
|
|
int nvidia_board_init(void);
|
|
|
|
|
2023-02-14 17:35:31 +00:00
|
|
|
/**
|
|
|
|
* nvidia_board_late_init() - perform any board-specific
|
|
|
|
* init on late stages
|
|
|
|
*/
|
|
|
|
void nvidia_board_late_init(void);
|
|
|
|
|
2011-01-27 10:58:05 +00:00
|
|
|
#endif
|