summaryrefslogtreecommitdiff
path: root/board/freescale/ls2085ardb/ls2085ardb.c
diff options
context:
space:
mode:
authorPrabhakar Kushwaha <prabhakar at freescale.com>2015-05-28 14:54:07 +0530
committerYork Sun <yorksun@freescale.com>2015-07-20 11:44:35 -0700
commitff1b8e3f556ca8e339e9b85c31575592e3100e02 (patch)
treedd3a35b219ccb89b26c35bcc190d3df462b9541e /board/freescale/ls2085ardb/ls2085ardb.c
parent226296656c6efe4eb2b26dbbebc417455bdfd99d (diff)
armv8/ls2085a: Avoid hard-coding for board name print
LS2085A supports 6 personalities i.e. LS2045AE, LS2045A, LS2080AE, LS2080A, LS2085AE and LS2085A personlities. Instead of hard-coding, board name should change as per selected personality. Signed-off-by: Prabhakar Kushwaha <prabhakar at freescale.com> Reviewed-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'board/freescale/ls2085ardb/ls2085ardb.c')
-rw-r--r--board/freescale/ls2085ardb/ls2085ardb.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/board/freescale/ls2085ardb/ls2085ardb.c b/board/freescale/ls2085ardb/ls2085ardb.c
index ff4b6a0401..5f25328021 100644
--- a/board/freescale/ls2085ardb/ls2085ardb.c
+++ b/board/freescale/ls2085ardb/ls2085ardb.c
@@ -52,9 +52,12 @@ unsigned long long get_qixis_addr(void)
int checkboard(void)
{
u8 sw;
+ char buf[15];
+
+ cpu_name(buf);
+ printf("Board: %s-RDB, ", buf);
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');