public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH 01/24] imx: fix cpu_type helper
@ 2020-04-22 13:52 Peng Fan
  2020-04-22 13:52 ` [PATCH 02/24] imx8mm: Update CPU speed grading Peng Fan
                   ` (22 more replies)
  0 siblings, 23 replies; 30+ messages in thread
From: Peng Fan @ 2020-04-22 13:52 UTC (permalink / raw)
  To: u-boot

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

Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
 arch/arm/include/asm/mach-imx/sys_proto.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/include/asm/mach-imx/sys_proto.h b/arch/arm/include/asm/mach-imx/sys_proto.h
index 35b39b1f86..103dde4d36 100644
--- a/arch/arm/include/asm/mach-imx/sys_proto.h
+++ b/arch/arm/include/asm/mach-imx/sys_proto.h
@@ -16,7 +16,7 @@
 #define is_soc_rev(rev) (soc_rev() == rev)
 
 /* returns MXC_CPU_ value */
-#define cpu_type(rev) (((rev) >> 12) & 0xff)
+#define cpu_type(rev) (((rev) >> 12) & 0x1ff)
 #define soc_type(rev) (((rev) >> 12) & 0xf0)
 /* both macros return/take MXC_CPU_ constants */
 #define get_cpu_type() (cpu_type(get_cpu_rev()))
-- 
2.16.4

^ permalink raw reply related	[flat|nested] 30+ messages in thread

end of thread, other threads:[~2020-04-27  7:57 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-22 13:52 [PATCH 01/24] imx: fix cpu_type helper Peng Fan
2020-04-22 13:52 ` [PATCH 02/24] imx8mm: Update CPU speed grading Peng Fan
2020-04-25 14:23   ` Fabio Estevam
2020-04-22 13:52 ` [PATCH 03/24] imx8mn: Update speed grade Peng Fan
2020-04-22 13:52 ` [PATCH 04/24] imx: cpu: support speed grade for i.MX8MP Peng Fan
2020-04-22 13:52 ` [PATCH 05/24] imx: imx8m: add i.MX8MQ Dual and QuadLite support Peng Fan
2020-04-22 13:52 ` [PATCH 06/24] imx: imx8m: add i.MX8MN variants support Peng Fan
2020-04-22 13:52 ` [PATCH 07/24] imx: update is_imx6ull to include i.MX6ULZ Peng Fan
2020-04-22 20:00   ` Michael Heimpold
2020-04-23  1:33     ` Peng Fan
2020-04-24 20:14       ` Michael Heimpold
2020-04-27  1:25         ` Peng Fan
2020-04-27  7:57           ` Peng Fan
2020-04-22 13:52 ` [PATCH 08/24] imx8: move SIP macro to common header Peng Fan
2020-04-22 13:52 ` [PATCH 09/24] imx8m: acquire ATF commit hash Peng Fan
2020-04-22 13:52 ` [PATCH 10/24] imx8m: update clock root and fix core_sel Peng Fan
2020-04-22 13:52 ` [PATCH 11/24] imx8mq: Enable eMMC HS400 and SD UHS mode on EVK Peng Fan
2020-04-22 13:52 ` [PATCH 12/24] imx8mq: Set ARM core clock directly from ARM PLL Peng Fan
2020-04-22 13:52 ` [PATCH 13/24] imx8m: Dump DRAM PLL rate by clocks command Peng Fan
2020-04-22 13:52 ` [PATCH 14/24] imx8: parser: fix 'end address' parameter of rm_find_memreg Peng Fan
2020-04-22 13:52 ` [PATCH 15/24] imx8: Change to use new SECO API commands Peng Fan
2020-04-22 13:52 ` [PATCH 16/24] imx8: ahab: fix 'end address' parameter of rm_find_memreg Peng Fan
2020-04-22 13:52 ` [PATCH 17/24] imx8: ahab: fix some bad debug message formating Peng Fan
2020-04-22 13:52 ` [PATCH 18/24] imx8: parser: " Peng Fan
2020-04-22 13:52 ` [PATCH 19/24] imx8mm: clock: fix fracpll decode issue Peng Fan
2020-04-22 13:52 ` [PATCH 20/24] imx8m: Enable WDOG_B for timeout Peng Fan
2020-04-22 13:52 ` [PATCH 21/24] doc: ahab: Add encrypted boot documentation for i.MX8/8x devices Peng Fan
2020-04-22 13:52 ` [PATCH 22/24] imx8: scu api: Add support for SECO manufacturing protection APIs Peng Fan
2020-04-22 13:52 ` [PATCH 23/24] imx8: Update SCFW API to version 1.5 Peng Fan
2020-04-22 13:52 ` [PATCH 24/24] imx8: Configure SNVS Peng Fan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox