aboutsummaryrefslogtreecommitdiff
path: root/drivers/renesas/rcar/console/rcar_printf.c
diff options
context:
space:
mode:
authorToshiyuki Ogasahara <toshiyuki.ogasahara.bo@hitachi.com>2019-03-22 16:14:00 +0900
committerMarek Vasut <marek.vasut+renesas@gmail.com>2019-04-11 12:57:03 +0200
commit7704ff9132a88435a4c3cd9906effebd12bbd4c5 (patch)
tree69cad60945b68627d6c72ad672ca5b81912a5567 /drivers/renesas/rcar/console/rcar_printf.c
parent4983f8b63c9df1e1cb3c472688ab91379d114949 (diff)
downloadtrusted-firmware-a-7704ff9132a88435a4c3cd9906effebd12bbd4c5.tar.gz
rcar_gen3: drivers: Change to restore timer counter value at resume
Changed to save and restore cntpct_el0 using memory mapped register for generic timer when System Suspend and Resume. Reported by: Volodymyr Babchuk <volodymyr_babchuk@epam.com> Signed-off-by: Toshiyuki Ogasahara <toshiyuki.ogasahara.bo@hitachi.com> Signed-off-by: Yoshifumi Hosoya <yoshifumi.hosoya.wj@renesas.com> Change-Id: I40fd9f5434c4d52b320cd1d20322b9b8e4e67155
Diffstat (limited to 'drivers/renesas/rcar/console/rcar_printf.c')
-rw-r--r--drivers/renesas/rcar/console/rcar_printf.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/renesas/rcar/console/rcar_printf.c b/drivers/renesas/rcar/console/rcar_printf.c
index 2a6e2c0032..e75b9f4541 100644
--- a/drivers/renesas/rcar/console/rcar_printf.c
+++ b/drivers/renesas/rcar/console/rcar_printf.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2015-2017, Renesas Electronics Corporation. All rights reserved.
+ * Copyright (c) 2015-2019, Renesas Electronics Corporation. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
@@ -94,9 +94,6 @@ int32_t rcar_log_init(void)
sizeof(t_log->header.head));
t_log->header.index = 0U;
t_log->header.size = 0U;
-#ifndef IMAGE_BL2
- rcar_stack_generic_timer[INDEX_TIMER_COUNT] = 0U;
-#endif
}
rcar_lock_init();