Hi Oleksandr,
Thanks for the update!
Reviewed-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
--
Two cosmetic comments below. I'll leave it to Simon to ignore them for
applying ;-)
@@ -62,6 +63,21 @@ void __init rcar_gen2_timer_init(void)Some people like reverse Xmas tree declaration order...
{
void __iomem *base;
u32 freq;
+ bool need_update = true;
+#ifdef CONFIG_ARM_PSCI_FW ?
+ /*
+ * If PSCI is available then most likely we are running on PSCI-enabled
+ * U-Boot which, we assume, has already taken care of resetting CNTVOFF
+ * and updating counter module before switching to non-secure mode
+ * and we don't need to.
+ */
+#if defined(CONFIG_ARM_PSCI_FW)
Gr{oetje,eeting}s,
Geert