summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorPeng Fan <Peng.Fan@freescale.com>2015-12-17 11:09:34 +0800
committerguoyin.chen <guoyin.chen@freescale.com>2016-03-04 15:35:50 +0800
commit45db5424e40c4f64e36ffa679cd03cc4c8f220ac (patch)
tree1ba3e01dbc750448c0acd2883316d715502c14f5 /arch/arm
parentd5f1110c6805dd53ebf54e02397d16961c56f892 (diff)
downloadu-boot-imx-45db5424e40c4f64e36ffa679cd03cc4c8f220ac.zip
u-boot-imx-45db5424e40c4f64e36ffa679cd03cc4c8f220ac.tar.gz
u-boot-imx-45db5424e40c4f64e36ffa679cd03cc4c8f220ac.tar.bz2
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/arm')
-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 ee56426..532b0da 100644
--- a/arch/arm/include/asm/arch-mx7/imx-regs.h
+++ b/arch/arm/include/asm/arch-mx7/imx-regs.h
@@ -216,6 +216,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>