tegra_platform.h 703 Bytes
Newer Older
1
/*
2
 * Copyright (c) 2017-2018, ARM Limited and Contributors. All rights reserved.
3
 *
dp-arm's avatar
dp-arm committed
4
 * SPDX-License-Identifier: BSD-3-Clause
5
6
7
8
9
 */

#ifndef __TEGRA_PLATFORM_H__
#define __TEGRA_PLATFORM_H__

10
#include <cdefs.h>
11

12
13
14
15
16
17
/*
 * Tegra chip major/minor version
 */
uint32_t tegra_get_chipid_major(void);
uint32_t tegra_get_chipid_minor(void);

18
19
20
/*
 * Tegra chip identifiers
 */
21
22
23
24
uint8_t tegra_chipid_is_t132(void);
uint8_t tegra_chipid_is_t210(void);
uint8_t tegra_chipid_is_t186(void);

25
26
27
28
29
30
31
32
33
34

/*
 * Tegra platform identifiers
 */
uint8_t tegra_platform_is_silicon(void);
uint8_t tegra_platform_is_qt(void);
uint8_t tegra_platform_is_emulation(void);
uint8_t tegra_platform_is_fpga(void);

#endif /* __TEGRA_PLATFORM_H__ */