From c85a15fcbec0c6aa6234bf70f7bba7b9e39dca00 Mon Sep 17 00:00:00 2001 From: Jimmy Huang Date: Thu, 31 Dec 2015 16:52:35 +0800 Subject: [PATCH] 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: Jimmy Huang --- drivers/console/console.S | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/console/console.S b/drivers/console/console.S index 40a6db9f4..b7723638e 100644 --- a/drivers/console/console.S +++ b/drivers/console/console.S @@ -79,6 +79,7 @@ func console_uninit mov x0, #0 adrp x3, console_base str x0, [x3, :lo12:console_base] + ret endfunc console_uninit /* ---------------------------------------------