diff options
author | Prabhakar Kushwaha <prabhakar at freescale.com> | 2015-05-28 14:54:04 +0530 |
---|---|---|
committer | York Sun <yorksun@freescale.com> | 2015-07-20 11:44:34 -0700 |
commit | 27df54b16390416190cb799de389955d9e0d7b12 (patch) | |
tree | 470b02ab8ede412b0c219bc6b03210e925676b9c /board | |
parent | b8baf460ee978f9f704a658b31f9b074f546d6e1 (diff) | |
download | u-boot-imx-27df54b16390416190cb799de389955d9e0d7b12.zip u-boot-imx-27df54b16390416190cb799de389955d9e0d7b12.tar.gz u-boot-imx-27df54b16390416190cb799de389955d9e0d7b12.tar.bz2 |
armv8/ls2085RDB: Update board version print logic
As per updated board document, no need to substract 1 from arch[BRD]
bit field. Default value + 'A' represents the board revision.
So update board version print logic to reflect the same.
Signed-off-by: Prabhakar Kushwaha <prabhakar at freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'board')
-rw-r--r-- | board/freescale/ls2085ardb/ls2085ardb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/freescale/ls2085ardb/ls2085ardb.c b/board/freescale/ls2085ardb/ls2085ardb.c index e0a8a41..ff4b6a0 100644 --- a/board/freescale/ls2085ardb/ls2085ardb.c +++ b/board/freescale/ls2085ardb/ls2085ardb.c @@ -56,7 +56,7 @@ int checkboard(void) sw = QIXIS_READ(arch); printf("Board: %s, ", CONFIG_IDENT_STRING); printf("Board Arch: V%d, ", sw >> 4); - printf("Board version: %c, boot from ", (sw & 0xf) + 'A' - 1); + printf("Board version: %c, boot from ", (sw & 0xf) + 'A'); sw = QIXIS_READ(brdcfg[0]); sw = (sw & QIXIS_LBMAP_MASK) >> QIXIS_LBMAP_SHIFT; |