summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2023-04-28 07:08:28 +0300
committerStefano Babic <sbabic@denx.de>2023-05-21 17:54:40 +0300
commit0079893920d8db47a6a1ac94790050867e38ec74 (patch)
tree718ca07a96f0bb5d4ee87c1ca07a52a24a4a2c0d /arch/arm/include/asm
parent5f2ecac54868dc0adb778f524a12c428009721ed (diff)
downloadu-boot-0079893920d8db47a6a1ac94790050867e38ec74.tar.xz
imx9: Get market segment and speed grading
Get the chip's market segment and speed grading from fuse and print them in boot log as other i.MX series. Signed-off-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'arch/arm/include/asm')
-rw-r--r--arch/arm/include/asm/arch-imx9/imx-regs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-imx9/imx-regs.h b/arch/arm/include/asm/arch-imx9/imx-regs.h
index 065fd1f96d..76d241eab0 100644
--- a/arch/arm/include/asm/arch-imx9/imx-regs.h
+++ b/arch/arm/include/asm/arch-imx9/imx-regs.h
@@ -48,6 +48,9 @@
#define BCTRL_GPR_ENET_QOS_INTF_SEL_RGMII (0x1 << 1)
#define BCTRL_GPR_ENET_QOS_CLK_GEN_EN (0x1 << 0)
+#define MARKETING_GRADING_MASK GENMASK(5, 4)
+#define SPEED_GRADING_MASK GENMASK(11, 6)
+
#if !(defined(__KERNEL_STRICT_NAMES) || defined(__ASSEMBLY__))
#include <asm/types.h>
#include <stdbool.h>