From: Frank Li Date: Tue, 8 Oct 2019 15:18:20 +0000 (-0500) Subject: MLK-22711-1 show RevC instead of Rev? at boot log X-Git-Tag: rel_imx_4.19.35_1.1.0~39 X-Git-Url: https://git.somdevices.com/?a=commitdiff_plain;h=e5df956bb27ed011dc45854e0fc88bf86bad6fd6;p=u-boot.git MLK-22711-1 show RevC instead of Rev? at boot log Add REVC informaiton. Signed-off-by: Frank Li (cherry picked from commit c7231f2c7a5c1dc754b5fb9bf05941141877a0ec) (cherry picked from commit 9a33170a4f4ff2ad2ab0d87e74e722a0e833abaa) --- diff --git a/arch/arm/include/asm/arch-imx/cpu.h b/arch/arm/include/asm/arch-imx/cpu.h index 8030474750..b4959af64b 100644 --- a/arch/arm/include/asm/arch-imx/cpu.h +++ b/arch/arm/include/asm/arch-imx/cpu.h @@ -66,6 +66,7 @@ #define CHIP_REV_A 0x0 #define CHIP_REV_B 0x1 +#define CHIP_REV_C 0x2 #define BOARD_REV_1_0 0x0 #define BOARD_REV_2_0 0x1 diff --git a/arch/arm/mach-imx/imx8/cpu.c b/arch/arm/mach-imx/imx8/cpu.c index 97503d711f..b497e2ae04 100644 --- a/arch/arm/mach-imx/imx8/cpu.c +++ b/arch/arm/mach-imx/imx8/cpu.c @@ -1660,6 +1660,8 @@ const char *get_imx8_rev(u32 rev) return "A"; case CHIP_REV_B: return "B"; + case CHIP_REV_C: + return "C"; default: return "?"; }