Skip to content

Commit

Permalink
ARM: imx: imx7ulp: Add a comment explaining the B2 silicon version
Browse files Browse the repository at this point in the history
To help the users to understand the meaning of bits 31-28 of the
JTAG_ID_REG register, add a comment explaining the value that is
expected from a i.MX7ULP rev B2.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
  • Loading branch information
Fabio Estevam authored and Shawn Guo committed Nov 10, 2020
1 parent 2f4ac2d commit 7544bfc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm/mach-imx/mach-imx7ulp.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ static void __init imx7ulp_set_revision(void)
* bit[31:28] of JTAG_ID register defines revision as below from B0:
* 0001 B0
* 0010 B1
* 0011 B2
*/
switch (revision >> 28) {
case 1:
Expand Down

0 comments on commit 7544bfc

Please sign in to comment.