Commit c85a15fc authored by Jimmy Huang's avatar Jimmy Huang Committed by Yidi Lin
Browse files

Add ret to return from console_uninit() function



The 'ret' was missing in console_uninit() implementation, so the
program doesn't return from console_uninit(). Instead, it keeps
executing the following instructions which is not expected.

Change-Id: I810684f37f61c41c6f95a3bb36914d0765da8571
Signed-off-by: default avatarJimmy Huang <jimmy.huang@mediatek.com>
parent d0c104e1
...@@ -79,6 +79,7 @@ func console_uninit ...@@ -79,6 +79,7 @@ func console_uninit
mov x0, #0 mov x0, #0
adrp x3, console_base adrp x3, console_base
str x0, [x3, :lo12:console_base] str x0, [x3, :lo12:console_base]
ret
endfunc console_uninit endfunc console_uninit
/* --------------------------------------------- /* ---------------------------------------------
......
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