mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-17 22:49:02 +00:00
cpu: imx8: show RevC instead of Rev? at boot log
Add REVC informaiton. Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Frank Li <Frank.Li@nxp.com> Signed-off-by: Peng Fan <peng.fan@nxp.com>
This commit is contained in:
parent
3ee6ea443e
commit
8142a97d54
2 changed files with 3 additions and 0 deletions
|
@ -64,6 +64,7 @@
|
||||||
|
|
||||||
#define CHIP_REV_A 0x0
|
#define CHIP_REV_A 0x0
|
||||||
#define CHIP_REV_B 0x1
|
#define CHIP_REV_B 0x1
|
||||||
|
#define CHIP_REV_C 0x2
|
||||||
|
|
||||||
#define BOARD_REV_1_0 0x0
|
#define BOARD_REV_1_0 0x0
|
||||||
#define BOARD_REV_2_0 0x1
|
#define BOARD_REV_2_0 0x1
|
||||||
|
|
|
@ -43,6 +43,8 @@ const char *get_imx8_rev(u32 rev)
|
||||||
return "A";
|
return "A";
|
||||||
case CHIP_REV_B:
|
case CHIP_REV_B:
|
||||||
return "B";
|
return "B";
|
||||||
|
case CHIP_REV_C:
|
||||||
|
return "C";
|
||||||
default:
|
default:
|
||||||
return "?";
|
return "?";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue