• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (c) 2017, ARM Limited and Contributors. All rights reserved.
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  */
6 
7 #ifndef __TEGRA_PLATFORM_H__
8 #define __TEGRA_PLATFORM_H__
9 
10 #include <sys/cdefs.h>
11 
12 /*
13  * Tegra chip major/minor version
14  */
15 uint32_t tegra_get_chipid_major(void);
16 uint32_t tegra_get_chipid_minor(void);
17 
18 /*
19  * Tegra chip identifiers
20  */
21 uint8_t tegra_chipid_is_t132(void);
22 uint8_t tegra_chipid_is_t210(void);
23 uint8_t tegra_chipid_is_t186(void);
24 
25 
26 /*
27  * Tegra platform identifiers
28  */
29 uint8_t tegra_platform_is_silicon(void);
30 uint8_t tegra_platform_is_qt(void);
31 uint8_t tegra_platform_is_emulation(void);
32 uint8_t tegra_platform_is_fpga(void);
33 
34 #endif /* __TEGRA_PLATFORM_H__ */
35