sys_proto.h 643 B

12345678910111213141516171819202122232425262728293031323334
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * (C) Copyright 2010,2011
  4. * NVIDIA Corporation <www.nvidia.com>
  5. */
  6. #ifndef _SYS_PROTO_H_
  7. #define _SYS_PROTO_H_
  8. void invalidate_dcache(void);
  9. /**
  10. * tegra_board_id() - Get the board iD
  11. *
  12. * Return: a board ID, or -ve on error
  13. */
  14. int tegra_board_id(void);
  15. /**
  16. * tegra_lcd_pmic_init() - Set up the PMIC for a board
  17. *
  18. * @board_id: Board ID which may be used to select LCD type
  19. * Return: 0 if OK, -ve on error
  20. */
  21. int tegra_lcd_pmic_init(int board_id);
  22. /**
  23. * nvidia_board_init() - perform any board-specific init
  24. *
  25. * Return: 0 if OK, -ve on error
  26. */
  27. int nvidia_board_init(void);
  28. #endif