summaryrefslogtreecommitdiff
path: root/drivers/renesas/rcar/iic_dvfs/iic_dvfs.c
diff options
context:
space:
mode:
authorPaul Beesley <paul.beesley@arm.com>2019-08-20 14:14:03 +0000
committerTrustedFirmware Code Review <review@review.trustedfirmware.org>2019-08-20 14:14:03 +0000
commit7cc287dea60238747ac944bbc0b53371d4048b82 (patch)
tree336d40a84e58d2bcacb20a62bdb74f613add67d2 /drivers/renesas/rcar/iic_dvfs/iic_dvfs.c
parent44f4bb24ffe9536ba64768c34496c057d77d37c2 (diff)
parentdf51d8fe7e26405db64be686c58da9292e1d4f4c (diff)
Merge "rcar_gen3: plat: Rename RCAR_PRODUCT_* to PRR_PRODUCT_*" into integration
Diffstat (limited to 'drivers/renesas/rcar/iic_dvfs/iic_dvfs.c')
-rw-r--r--drivers/renesas/rcar/iic_dvfs/iic_dvfs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/renesas/rcar/iic_dvfs/iic_dvfs.c b/drivers/renesas/rcar/iic_dvfs/iic_dvfs.c
index 39b9bb4e..28b56c10 100644
--- a/drivers/renesas/rcar/iic_dvfs/iic_dvfs.c
+++ b/drivers/renesas/rcar/iic_dvfs/iic_dvfs.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2015-2018, Renesas Electronics Corporation. All rights reserved.
+ * Copyright (c) 2015-2019, Renesas Electronics Corporation. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
@@ -189,8 +189,8 @@ IIC_DVFS_FUNC(start, DVFS_STATE_T * state)
mode = mmio_read_8(IIC_DVFS_REG_ICCR) | IIC_DVFS_BIT_ICCR_ENABLE;
mmio_write_8(IIC_DVFS_REG_ICCR, mode);
- lsi_product = mmio_read_32(RCAR_PRR) & RCAR_PRODUCT_MASK;
- if (lsi_product == RCAR_PRODUCT_E3)
+ lsi_product = mmio_read_32(RCAR_PRR) & PRR_PRODUCT_MASK;
+ if (lsi_product == PRR_PRODUCT_E3)
goto start;
reg = mmio_read_32(RCAR_MODEMR) & CHECK_MD13_MD14;