diff options
| author | Peng Fan <[email protected]> | 2026-06-05 17:51:07 +0800 |
|---|---|---|
| committer | Fabio Estevam <[email protected]> | 2026-06-05 12:57:02 -0300 |
| commit | 3782bf8a0ad1abee3a2a537b9180b63d7ed22d40 (patch) | |
| tree | d79f8ea096a48d0a014adacc7f98b7d4f1fb7380 /configs/O2MNT_O2M112_defconfig | |
| parent | d0a62df75337cd5e44275c51b77383df9db9a339 (diff) | |
cpu: imx8_cpu: fix the mpidr check
The mpidr's type is u32, however dev_read_addr returns a value with type
fdt_addr_t(phys_addr_t) which is 64bit long. So the check never fail.
This patch we still keep mpidr as u32 type, because i.MX8 only has max
two cluster, the higher 32bit will always be 0. Use a variable addr
to do the check, if check pass, assign the lower 32 bit to plat->mpidr.
Signed-off-by: Peng Fan <[email protected]>
Signed-off-by: Ye Li <[email protected]>
Diffstat (limited to 'configs/O2MNT_O2M112_defconfig')
0 files changed, 0 insertions, 0 deletions
