Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Tom Warren | 41b6838 | 2011-01-27 10:58:05 +0000 | [diff] [blame] | 2 | /* |
| 3 | * (C) Copyright 2010,2011 |
| 4 | * NVIDIA Corporation <www.nvidia.com> |
Tom Warren | 41b6838 | 2011-01-27 10:58:05 +0000 | [diff] [blame] | 5 | */ |
| 6 | |
| 7 | #ifndef _SYS_PROTO_H_ |
| 8 | #define _SYS_PROTO_H_ |
| 9 | |
Tom Warren | 41b6838 | 2011-01-27 10:58:05 +0000 | [diff] [blame] | 10 | void invalidate_dcache(void); |
| 11 | |
Simon Glass | 69c93c7 | 2015-04-14 21:03:25 -0600 | [diff] [blame] | 12 | /** |
| 13 | * tegra_board_id() - Get the board iD |
| 14 | * |
| 15 | * @return a board ID, or -ve on error |
| 16 | */ |
| 17 | int tegra_board_id(void); |
Tom Warren | 41b6838 | 2011-01-27 10:58:05 +0000 | [diff] [blame] | 18 | |
Simon Glass | 0cf62dd | 2015-04-14 21:03:27 -0600 | [diff] [blame] | 19 | /** |
| 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 | */ |
| 25 | int tegra_lcd_pmic_init(int board_id); |
| 26 | |
Simon Glass | 44a6808 | 2015-06-05 14:39:42 -0600 | [diff] [blame] | 27 | /** |
| 28 | * nvidia_board_init() - perform any board-specific init |
| 29 | * |
| 30 | * @return 0 if OK, -ve on error |
| 31 | */ |
| 32 | int nvidia_board_init(void); |
| 33 | |
Tom Warren | 41b6838 | 2011-01-27 10:58:05 +0000 | [diff] [blame] | 34 | #endif |