aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/soc/imx/cpu.h
diff options
context:
space:
mode:
authorJonathan Neuschäfer <j.neuschaefer@gmx.net>2021-04-24 18:21:27 +0200
committerShawn Guo <shawnguo@kernel.org>2021-05-13 15:42:21 +0800
commit22b5059b95e4d3b50bdd3e262182864a5ad7ec12 (patch)
tree33897fa448d77ef89a1cc2b4ebd3e206a43f449f /include/soc/imx/cpu.h
parentARM: imx: pm-imx5: Fix references to imx5_cpu_suspend_info (diff)
downloadwireguard-linux-22b5059b95e4d3b50bdd3e262182864a5ad7ec12.tar.xz
wireguard-linux-22b5059b95e4d3b50bdd3e262182864a5ad7ec12.zip
ARM: imx: Initialize SoC ID on i.MX50
As on i.MX51 and i.MX53, initialize the SoC ID based on the SoC compatible string of the board. Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net> Reviewed-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'include/soc/imx/cpu.h')
-rw-r--r--include/soc/imx/cpu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/soc/imx/cpu.h b/include/soc/imx/cpu.h
index 42d6aeb951fa..0bf610acafd0 100644
--- a/include/soc/imx/cpu.h
+++ b/include/soc/imx/cpu.h
@@ -9,6 +9,7 @@
#define MXC_CPU_MX27 27
#define MXC_CPU_MX31 31
#define MXC_CPU_MX35 35
+#define MXC_CPU_MX50 50
#define MXC_CPU_MX51 51
#define MXC_CPU_MX53 53
#define MXC_CPU_IMX6SL 0x60