summaryrefslogtreecommitdiff
path: root/plat/imx/imx8mq/include/platform_def.h
diff options
context:
space:
mode:
authorAnson Huang <Anson.Huang@nxp.com>2018-09-03 14:15:27 +0800
committerAnson Huang <Anson.Huang@nxp.com>2018-09-03 14:15:27 +0800
commit701e7961dfe568d724343c4e2897907cb34cc276 (patch)
tree19c2fc5fccc31b07feaed3834cfed6b6d90f644e /plat/imx/imx8mq/include/platform_def.h
parent7b62aea017c0366b5132dedfe9711cd094cd5cc3 (diff)
imx8mq: update chip revision method for B1
i.MX8MQ B1's chip revision is identified by reading OCOTP offset 0x40, the magic number 0xff0055aa is for B1. Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Diffstat (limited to 'plat/imx/imx8mq/include/platform_def.h')
-rw-r--r--plat/imx/imx8mq/include/platform_def.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/plat/imx/imx8mq/include/platform_def.h b/plat/imx/imx8mq/include/platform_def.h
index 7f3a2c82..f2c3d112 100644
--- a/plat/imx/imx8mq/include/platform_def.h
+++ b/plat/imx/imx8mq/include/platform_def.h
@@ -53,6 +53,7 @@
#define IMX_AIPS1_BASE 0x30200000
#define IMX_AIPS3_ARB_BASE 0x30800000
#define IMX_ANAMIX_BASE 0x30360000
+#define IMX_OCOTP_BASE 0x30350000
#define IMX_CCM_BASE 0x30380000
#define IMX_SRC_BASE 0x30390000
#define IMX_GPC_BASE 0x303a0000