aboutsummaryrefslogtreecommitdiff
path: root/drivers/renesas/rcar
diff options
context:
space:
mode:
authorldts <jorge.ramirez.ortiz@gmail.com>2018-11-06 10:17:12 +0100
committerldts <jorge.ramirez.ortiz@gmail.com>2018-11-06 11:13:03 +0100
commit04d1f8dd4997a9a54b3982f280ca7b6b6cc75e12 (patch)
treeb6400b46484ef922a53748d062947e4bc51ffb86 /drivers/renesas/rcar
parentd65895f4a82f9de9b1317c4ef949291337d157b1 (diff)
downloadtrusted-firmware-a-04d1f8dd4997a9a54b3982f280ca7b6b6cc75e12.tar.gz
rcar_gen3: E3 target: fix compilation issues
Target builds but has not been tested. Signed-off-by: ldts <jorge.ramirez.ortiz@gmail.com>
Diffstat (limited to 'drivers/renesas/rcar')
-rw-r--r--drivers/renesas/rcar/watchdog/swdt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/renesas/rcar/watchdog/swdt.c b/drivers/renesas/rcar/watchdog/swdt.c
index 6df47b9b68..f9dbf86fe4 100644
--- a/drivers/renesas/rcar/watchdog/swdt.c
+++ b/drivers/renesas/rcar/watchdog/swdt.c
@@ -72,9 +72,9 @@ static void swdt_disable(void)
void rcar_swdt_init(void)
{
- uint32_t rmsk, val, sr;
+ uint32_t rmsk, sr;
#if (RCAR_LSI != RCAR_E3)
- uint32_t reg, product_cut, chk_data;
+ uint32_t reg, val, product_cut, chk_data;
reg = mmio_read_32(RCAR_PRR);
product_cut = reg & (RCAR_PRODUCT_MASK | RCAR_CUT_MASK);