Merge tag 'u-boot-stm32-20190606' of https://github.com/pchotard/u-boot
[platform/kernel/u-boot.git] / include / imx_thermal.h
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  *
4  * (C) Copyright 2014 Freescale Semiconductor, Inc
5  */
6
7 #ifndef _IMX_THERMAL_H_
8 #define _IMX_THERMAL_H_
9
10 /* CPU Temperature Grades */
11 #define TEMP_COMMERCIAL         0
12 #define TEMP_EXTCOMMERCIAL      1
13 #define TEMP_INDUSTRIAL         2
14 #define TEMP_AUTOMOTIVE         3
15
16 struct imx_thermal_plat {
17         void *regs;
18         int fuse_bank;
19         int fuse_word;
20 };
21
22 #endif  /* _IMX_THERMAL_H_ */