Commit 84081bd2 authored by Lennert Buytenhek's avatar Lennert Buytenhek Committed by Russell King

[ARM] 4881/1: print unrecognised processor ID as part of failure message

If we fail to boot due to an unsupported processor ID, print the
processor ID as part of the failure message.
Signed-off-by: default avatarLennert Buytenhek <buytenh@marvell.com>
Acked-by: default avatarNicolas Pitre <nico@marvell.com>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 0f980146
...@@ -75,8 +75,13 @@ __error_p: ...@@ -75,8 +75,13 @@ __error_p:
#ifdef CONFIG_DEBUG_LL #ifdef CONFIG_DEBUG_LL
adr r0, str_p1 adr r0, str_p1
bl printascii bl printascii
mov r0, r9
bl printhex8
adr r0, str_p2
bl printascii
b __error b __error
str_p1: .asciz "\nError: unrecognized/unsupported processor variant.\n" str_p1: .asciz "\nError: unrecognized/unsupported processor variant (0x"
str_p2: .asciz ").\n"
.align .align
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment