summaryrefslogtreecommitdiff
path: root/drivers/renesas
diff options
context:
space:
mode:
authorToshiyuki Ogasahara <toshiyuki.ogasahara.bo@hitachi.com>2021-07-12 18:58:23 +0900
committerMarek Vasut <marek.vasut+renesas@gmail.com>2021-09-12 01:13:48 +0200
commitbb273e3be1c4f1cddeac9ceaac95fb56e41e6b98 (patch)
tree6290ddb885964df91ed2e97bee8f80524fedf971 /drivers/renesas
parent02950791622f1109aa633baf5977f954f76427c3 (diff)
downloadarm-trusted-firmware-bb273e3be1c4f1cddeac9ceaac95fb56e41e6b98.tar.gz
fix(drivers/rcar3): console: fix a return value of console_rcar_init
This commit fixes a return value of console_rcar_init because it is expected to return 1 on success but the function always returns 0. Signed-off-by: Toshiyuki Ogasahara <toshiyuki.ogasahara.bo@hitachi.com> Signed-off-by: Yoshifumi Hosoya <yoshifumi.hosoya.wj@renesas.com> Change-Id: I97a6800578e3c517c0c1e3c00dc75f0ef75e8778
Diffstat (limited to 'drivers/renesas')
-rw-r--r--drivers/renesas/common/console/rcar_console.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/renesas/common/console/rcar_console.S b/drivers/renesas/common/console/rcar_console.S
index 29baa67a4..b683d7bfb 100644
--- a/drivers/renesas/common/console/rcar_console.S
+++ b/drivers/renesas/common/console/rcar_console.S
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2018-2019, Renesas Electronics Corporation. All rights reserved.
+ * Copyright (c) 2018-2021, Renesas Electronics Corporation. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
@@ -63,7 +63,7 @@ endfunc console_rcar_register
* ---------------------------------------------
*/
func console_rcar_init
- mov w0, #0
+ mov w0, #1
ret
endfunc console_rcar_init