summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorPeng Fan <Peng.Fan@freescale.com>2015-12-17 11:09:34 +0800
committerMax Krummenacher <max.krummenacher@toradex.com>2016-06-22 14:36:38 +0200
commit57d1a7d2466ae898afd902b0f53cb6e2d351b3c6 (patch)
treed6141df3f5352448ffa52677b20e169066825e44 /arch
parent4d4cb0919148918e298e1ffcd027de2fd09e609b (diff)
MLK-12030: imx: mx7d: fix the temperature checking for TO1.1
We can rely on finish bit for temperature reading for TO1.1. Also introduce CHIP_REV_xx macros for 7D. Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/include/asm/arch-mx7/imx-regs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-mx7/imx-regs.h b/arch/arm/include/asm/arch-mx7/imx-regs.h
index 9f800ae8c7..917e6f1fe2 100644
--- a/arch/arm/include/asm/arch-mx7/imx-regs.h
+++ b/arch/arm/include/asm/arch-mx7/imx-regs.h
@@ -212,6 +212,8 @@
#define FEC_QUIRK_ENET_MAC
#define SNVS_LPGPR 0x68
+#define CHIP_REV_1_0 0x10
+#define CHIP_REV_1_1 0x11
#if !(defined(__KERNEL_STRICT_NAMES) || defined(__ASSEMBLY__))
#include <asm/types.h>