blob: 83f9f472c9daf53383438ce36e69771376b11754 [file] [log] [blame]
Tom Warren41b68382011-01-27 10:58:05 +00001/*
2 * (C) Copyright 2010,2011
3 * NVIDIA Corporation <www.nvidia.com>
4 *
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02005 * SPDX-License-Identifier: GPL-2.0+
Tom Warren41b68382011-01-27 10:58:05 +00006 */
7
8#ifndef _SYS_PROTO_H_
9#define _SYS_PROTO_H_
10
Tom Warren41b68382011-01-27 10:58:05 +000011void invalidate_dcache(void);
12
Simon Glass69c93c72015-04-14 21:03:25 -060013/**
14 * tegra_board_id() - Get the board iD
15 *
16 * @return a board ID, or -ve on error
17 */
18int tegra_board_id(void);
Tom Warren41b68382011-01-27 10:58:05 +000019
Simon Glass0cf62dd2015-04-14 21:03:27 -060020/**
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 */
26int tegra_lcd_pmic_init(int board_id);
27
Tom Warren41b68382011-01-27 10:58:05 +000028#endif