1150c2493STom Warren /* 2150c2493STom Warren * (C) Copyright 2010,2011 3150c2493STom Warren * NVIDIA Corporation <www.nvidia.com> 4150c2493STom Warren * 51a459660SWolfgang Denk * SPDX-License-Identifier: GPL-2.0+ 6150c2493STom Warren */ 7150c2493STom Warren 8150c2493STom Warren #ifndef _SYS_PROTO_H_ 9150c2493STom Warren #define _SYS_PROTO_H_ 10150c2493STom Warren 11150c2493STom Warren void invalidate_dcache(void); 12150c2493STom Warren 13ec746644SSimon Glass /** 14ec746644SSimon Glass * tegra_board_id() - Get the board iD 15ec746644SSimon Glass * 16ec746644SSimon Glass * @return a board ID, or -ve on error 17ec746644SSimon Glass */ 18ec746644SSimon Glass int tegra_board_id(void); 19150c2493STom Warren 2082776364SSimon Glass /** 2182776364SSimon Glass * tegra_lcd_pmic_init() - Set up the PMIC for a board 2282776364SSimon Glass * 2382776364SSimon Glass * @board_id: Board ID which may be used to select LCD type 2482776364SSimon Glass * @return 0 if OK, -ve on error 2582776364SSimon Glass */ 2682776364SSimon Glass int tegra_lcd_pmic_init(int board_id); 2782776364SSimon Glass 28*c96d709fSSimon Glass /** 29*c96d709fSSimon Glass * nvidia_board_init() - perform any board-specific init 30*c96d709fSSimon Glass * 31*c96d709fSSimon Glass * @return 0 if OK, -ve on error 32*c96d709fSSimon Glass */ 33*c96d709fSSimon Glass int nvidia_board_init(void); 34*c96d709fSSimon Glass 35150c2493STom Warren #endif 36