summaryrefslogtreecommitdiff
path: root/arch/arm/mach-imx/cpu.c
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2019-12-27 10:14:02 +0800
committerStefano Babic <sbabic@denx.de>2020-01-08 13:20:08 +0100
commit625b03d8105044fe6fd9428f4cec464aecfdeb9b (patch)
tree53b10d2cc4d1cb4ed4f4328b9acfb1a0661370e5 /arch/arm/mach-imx/cpu.c
parent392a4e6dd33ae76960c382a13b1e437b58b425b6 (diff)
imx: get cpu id/type of i.MX8MP
Support get i.MX8MP cpu id and cpu type Signed-off-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'arch/arm/mach-imx/cpu.c')
-rw-r--r--arch/arm/mach-imx/cpu.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/cpu.c b/arch/arm/mach-imx/cpu.c
index 51c7c05f04..303f5bb4d6 100644
--- a/arch/arm/mach-imx/cpu.c
+++ b/arch/arm/mach-imx/cpu.c
@@ -92,6 +92,8 @@ static char *get_reset_cause(void)
const char *get_imx_type(u32 imxtype)
{
switch (imxtype) {
+ case MXC_CPU_IMX8MP:
+ return "8MP"; /* Quad-core version of the imx8mp */
case MXC_CPU_IMX8MN:
return "8MNano";/* Quad-core version of the imx8mn */
case MXC_CPU_IMX8MM: