Tom Warren | 41b6838 | 2011-01-27 10:58:05 +0000 | [diff] [blame] | 1 | /* |
| 2 | * (C) Copyright 2010,2011 |
| 3 | * NVIDIA Corporation <www.nvidia.com> |
| 4 | * |
Wolfgang Denk | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 5 | * SPDX-License-Identifier: GPL-2.0+ |
Tom Warren | 41b6838 | 2011-01-27 10:58:05 +0000 | [diff] [blame] | 6 | */ |
| 7 | |
| 8 | #ifndef _SYS_PROTO_H_ |
| 9 | #define _SYS_PROTO_H_ |
| 10 | |
Tom Warren | 41b6838 | 2011-01-27 10:58:05 +0000 | [diff] [blame] | 11 | void invalidate_dcache(void); |
| 12 | |
Simon Glass | 69c93c7 | 2015-04-14 21:03:25 -0600 | [diff] [blame] | 13 | /** |
| 14 | * tegra_board_id() - Get the board iD |
| 15 | * |
| 16 | * @return a board ID, or -ve on error |
| 17 | */ |
| 18 | int tegra_board_id(void); |
Tom Warren | 41b6838 | 2011-01-27 10:58:05 +0000 | [diff] [blame] | 19 | |
Simon Glass | 0cf62dd | 2015-04-14 21:03:27 -0600 | [diff] [blame] | 20 | /** |
| 21 | * tegra_lcd_pmic_init() - Set up the PMIC for a board |
| 22 | * |
| 23 | * @board_id: Board ID which may be used to select LCD type |
| 24 | * @return 0 if OK, -ve on error |
| 25 | */ |
| 26 | int tegra_lcd_pmic_init(int board_id); |
| 27 | |
Simon Glass | 44a6808 | 2015-06-05 14:39:42 -0600 | [diff] [blame] | 28 | /** |
| 29 | * nvidia_board_init() - perform any board-specific init |
| 30 | * |
| 31 | * @return 0 if OK, -ve on error |
| 32 | */ |
| 33 | int nvidia_board_init(void); |
| 34 | |
Tom Warren | 41b6838 | 2011-01-27 10:58:05 +0000 | [diff] [blame] | 35 | #endif |