mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-26 06:50:10 +00:00
feat(plat/rcar3): keep RWDT enabled
In case the WDT is enabled by prior stage, keep it enabled. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Change-Id: Ie7c0eaf2f59dd8c30a9ef686a7000424f38d6352
This commit is contained in:
parent
993d809cc1
commit
899108601a
1 changed files with 6 additions and 6 deletions
|
@ -139,7 +139,7 @@ static void bl2_system_cpg_init_h3(void)
|
|||
cpg_write(SMSTPCR1, 0xFFFFFFFFU);
|
||||
cpg_write(SMSTPCR2, 0x040E2FDCU);
|
||||
cpg_write(SMSTPCR3, 0xFFFFFBDFU);
|
||||
cpg_write(SMSTPCR4, 0x80000004U);
|
||||
cpg_write(SMSTPCR4, 0x80000000U | (mmio_read_32(SMSTPCR4) & 0x4));
|
||||
cpg_write(SMSTPCR5, 0xC3FFFFFFU);
|
||||
cpg_write(SMSTPCR6, 0xFFFFFFFFU);
|
||||
cpg_write(SMSTPCR7, 0xFFFFFFFFU);
|
||||
|
@ -175,7 +175,7 @@ static void bl2_system_cpg_init_m3(void)
|
|||
cpg_write(SMSTPCR1, 0xFFFFFFFFU);
|
||||
cpg_write(SMSTPCR2, 0x040E2FDCU);
|
||||
cpg_write(SMSTPCR3, 0xFFFFFBDFU);
|
||||
cpg_write(SMSTPCR4, 0x80000004U);
|
||||
cpg_write(SMSTPCR4, 0x80000000U | (mmio_read_32(SMSTPCR4) & 0x4));
|
||||
cpg_write(SMSTPCR5, 0xC3FFFFFFU);
|
||||
cpg_write(SMSTPCR6, 0xFFFFFFFFU);
|
||||
cpg_write(SMSTPCR7, 0xFFFFFFFFU);
|
||||
|
@ -211,7 +211,7 @@ static void bl2_system_cpg_init_m3n(void)
|
|||
cpg_write(SMSTPCR1, 0xFFFFFFFFU);
|
||||
cpg_write(SMSTPCR2, 0x040E2FDCU);
|
||||
cpg_write(SMSTPCR3, 0xFFFFFBDFU);
|
||||
cpg_write(SMSTPCR4, 0x80000004U);
|
||||
cpg_write(SMSTPCR4, 0x80000000U | (mmio_read_32(SMSTPCR4) & 0x4));
|
||||
cpg_write(SMSTPCR5, 0xC3FFFFFFU);
|
||||
cpg_write(SMSTPCR6, 0xFFFFFFFFU);
|
||||
cpg_write(SMSTPCR7, 0xFFFFFFFFU);
|
||||
|
@ -245,7 +245,7 @@ static void bl2_system_cpg_init_v3m(void)
|
|||
cpg_write(SMSTPCR1, 0xFFFFFFFFU);
|
||||
cpg_write(SMSTPCR2, 0x340E2FDCU);
|
||||
cpg_write(SMSTPCR3, 0xFFFFFBDFU);
|
||||
cpg_write(SMSTPCR4, 0x80000004U);
|
||||
cpg_write(SMSTPCR4, 0x80000000U | (mmio_read_32(SMSTPCR4) & 0x4));
|
||||
cpg_write(SMSTPCR5, 0xC3FFFFFFU);
|
||||
cpg_write(SMSTPCR6, 0xFFFFFFFFU);
|
||||
cpg_write(SMSTPCR7, 0xFFFFFFFFU);
|
||||
|
@ -279,7 +279,7 @@ static void bl2_system_cpg_init_e3(void)
|
|||
cpg_write(SMSTPCR1, 0xFFFFFFFFU);
|
||||
cpg_write(SMSTPCR2, 0x000E2FDCU);
|
||||
cpg_write(SMSTPCR3, 0xFFFFFBDFU);
|
||||
cpg_write(SMSTPCR4, 0x80000004U);
|
||||
cpg_write(SMSTPCR4, 0x80000000U | (mmio_read_32(SMSTPCR4) & 0x4));
|
||||
cpg_write(SMSTPCR5, 0xC3FFFFFFU);
|
||||
cpg_write(SMSTPCR6, 0xFFFFFFFFU);
|
||||
cpg_write(SMSTPCR7, 0xFFFFFFFFU);
|
||||
|
@ -298,7 +298,7 @@ static void bl2_system_cpg_init_d3(void)
|
|||
cpg_write(SMSTPCR1, 0xFFFFFFFFU);
|
||||
cpg_write(SMSTPCR2, 0x00060FDCU);
|
||||
cpg_write(SMSTPCR3, 0xFFFFFBDFU);
|
||||
cpg_write(SMSTPCR4, 0x00000084U);
|
||||
cpg_write(SMSTPCR4, 0x00000080U | (mmio_read_32(SMSTPCR4) & 0x4));
|
||||
cpg_write(SMSTPCR5, 0x83FFFFFFU);
|
||||
cpg_write(SMSTPCR6, 0xFFFFFFFFU);
|
||||
cpg_write(SMSTPCR7, 0xFFFFFFFFU);
|
||||
|
|
Loading…
Add table
Reference in a new issue