diff options
author | Peng Fan <peng.fan@nxp.com> | 2023-04-28 12:08:28 +0800 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2023-05-21 16:54:40 +0200 |
commit | 0079893920d8db47a6a1ac94790050867e38ec74 (patch) | |
tree | 718ca07a96f0bb5d4ee87c1ca07a52a24a4a2c0d /arch/arm/include/asm | |
parent | 5f2ecac54868dc0adb778f524a12c428009721ed (diff) | |
download | u-boot-0079893920d8db47a6a1ac94790050867e38ec74.zip u-boot-0079893920d8db47a6a1ac94790050867e38ec74.tar.gz u-boot-0079893920d8db47a6a1ac94790050867e38ec74.tar.bz2 |
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.h | 3 |
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 065fd1f..76d241e 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> |