diff options
author | Jonathan Neuschäfer <j.neuschaefer@gmx.net> | 2021-04-24 19:21:27 +0300 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2021-05-13 10:42:21 +0300 |
commit | 22b5059b95e4d3b50bdd3e262182864a5ad7ec12 (patch) | |
tree | 33897fa448d77ef89a1cc2b4ebd3e206a43f449f /drivers/soc/imx | |
parent | 89b759469d525f4d5f9c29cd3b1f490311c67f85 (diff) | |
download | linux-22b5059b95e4d3b50bdd3e262182864a5ad7ec12.tar.xz |
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 'drivers/soc/imx')
-rw-r--r-- | drivers/soc/imx/soc-imx.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/soc/imx/soc-imx.c b/drivers/soc/imx/soc-imx.c index 0738c0f36792..ac6d856ba228 100644 --- a/drivers/soc/imx/soc-imx.c +++ b/drivers/soc/imx/soc-imx.c @@ -70,6 +70,9 @@ static int __init imx_soc_device_init(void) case MXC_CPU_MX35: soc_id = "i.MX35"; break; + case MXC_CPU_MX50: + soc_id = "i.MX50"; + break; case MXC_CPU_MX51: ocotp_compat = "fsl,imx51-iim"; soc_id = "i.MX51"; |