mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 08:42:12 +02:00
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>
This commit is contained in:
@@ -197,8 +197,11 @@ u32 get_cpu_rev(void)
|
||||
|
||||
reg &= 0xff;
|
||||
|
||||
/* i.MX8MM */
|
||||
if (major_low == 0x42) {
|
||||
/* iMX8MP */
|
||||
if (major_low == 0x43) {
|
||||
return (MXC_CPU_IMX8MP << 12) | reg;
|
||||
} else if (major_low == 0x42) {
|
||||
/* iMX8MN */
|
||||
return (MXC_CPU_IMX8MN << 12) | reg;
|
||||
} else if (major_low == 0x41) {
|
||||
type = get_cpu_variant_type(MXC_CPU_IMX8MM);
|
||||
|
Reference in New Issue
Block a user