commit | 5c2218a8ddee7066926367d0d42d8f45c34f14aa | [log] [tgz] |
---|---|---|
author | Peng Fan <peng.fan@nxp.com> | Sat Aug 07 16:00:31 2021 +0800 |
committer | Stefano Babic <sbabic@denx.de> | Mon Aug 09 14:46:50 2021 +0200 |
tree | 763b9a739966b751af1200e05f8647f56b559843 | |
parent | 570dc4f26e1cd9ec7cd7453a87b845094bf25ef0 [diff] [blame] |
arm: imx: add i.MX8ULP cpu type and helper Add i.MX8ULP cpu type and helpers. Signed-off-by: Peng Fan <peng.fan@nxp.com>
diff --git a/arch/arm/mach-imx/imx8ulp/soc.c b/arch/arm/mach-imx/imx8ulp/soc.c new file mode 100644 index 0000000..b3679ae --- /dev/null +++ b/arch/arm/mach-imx/imx8ulp/soc.c
@@ -0,0 +1,11 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright 2021 NXP + */ + +#include <asm/arch/sys_proto.h> + +u32 get_cpu_rev(void) +{ + return (MXC_CPU_IMX8ULP << 12) | CHIP_REV_1_0; +}