mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-22 03:03:05 +00:00
1a7ce63c08
Late init function allows passing values like identifiers and perform device specific configurations of pre-boot stage. Tested-by: Andreas Westman Dorcsak <hedmoo@yahoo.com> # ASUS TF T30 Tested-by: Svyatoslav Ryhel <clamor95@gmail.com> # LG P895 T30 Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com> Signed-off-by: Tom <twarren@nvidia.com>
40 lines
775 B
C
40 lines
775 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* (C) Copyright 2010,2011
|
|
* NVIDIA Corporation <www.nvidia.com>
|
|
*/
|
|
|
|
#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);
|
|
|
|
/**
|
|
* nvidia_board_late_init() - perform any board-specific
|
|
* init on late stages
|
|
*/
|
|
void nvidia_board_late_init(void);
|
|
|
|
#endif
|