sys_proto.h 643 B

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