summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/arch-imx/cpu.h
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2018-10-18 14:28:16 +0200
committerStefano Babic <sbabic@denx.de>2018-10-22 12:59:01 +0200
commit5710a48afc0fbc5a90727404f1da1df52af99c46 (patch)
tree0f8ac4228a01c304ac616c775a268f5063e0de2c /arch/arm/include/asm/arch-imx/cpu.h
parent0468be6e7c51296e8f3dcc4ba0bad84a204cc91a (diff)
downloadu-boot-5710a48afc0fbc5a90727404f1da1df52af99c46.tar.gz
imx: add i.MX8 cpu type
Add i.MX8 cpu type and is_imx8/is_imx8qxp help macros. Signed-off-by: Peng Fan <peng.fan@nxp.com> Cc: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'arch/arm/include/asm/arch-imx/cpu.h')
-rw-r--r--arch/arm/include/asm/arch-imx/cpu.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-imx/cpu.h b/arch/arm/include/asm/arch-imx/cpu.h
index 62df1b9ad2..cf6303c3f5 100644
--- a/arch/arm/include/asm/arch-imx/cpu.h
+++ b/arch/arm/include/asm/arch-imx/cpu.h
@@ -25,12 +25,14 @@
#define MXC_CPU_MX7S 0x71 /* dummy ID */
#define MXC_CPU_MX7D 0x72
#define MXC_CPU_MX8MQ 0x82
+#define MXC_CPU_IMX8QXP 0x92 /* dummy ID */
#define MXC_CPU_MX7ULP 0xE1 /* Temporally hard code */
#define MXC_CPU_VF610 0xF6 /* dummy ID */
#define MXC_SOC_MX6 0x60
#define MXC_SOC_MX7 0x70
#define MXC_SOC_MX8M 0x80
+#define MXC_SOC_IMX8 0x90 /* dummy */
#define MXC_SOC_MX7ULP 0xE0 /* dummy */
#define CHIP_REV_1_0 0x10
@@ -41,6 +43,9 @@
#define CHIP_REV_2_5 0x25
#define CHIP_REV_3_0 0x30
+#define CHIP_REV_A 0x0
+#define CHIP_REV_B 0x1
+
#define BOARD_REV_1_0 0x0
#define BOARD_REV_2_0 0x1
#define BOARD_VER_OFFSET 0x8