imx: fix cpu_type helper
authorPeng Fan <peng.fan@nxp.com>
Wed, 5 Feb 2020 09:44:28 +0000 (17:44 +0800)
committerStefano Babic <sbabic@denx.de>
Fri, 1 May 2020 11:46:21 +0000 (13:46 +0200)
commit499c94975e6a5723a428e4c0f8b146cb412081c0
tree0a4f9d06260ccf2096db981489ef6ae4321266bf
parent126dcc925d11bab93ad7c367e14a74f10d53061b
imx: fix cpu_type helper

i.MX8MP use 0x182 as its ID, so 0xff is not valid to get the cpu type,
extend it to 0x1ff.

Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
arch/arm/include/asm/mach-imx/sys_proto.h