]> git.baikalelectronics.ru Git - arm-tf.git/commitdiff
plat: renesas: common: Include ulcb_cpld.h conditionally
authorBiju Das <biju.das.jz@bp.renesas.com>
Wed, 16 Dec 2020 11:37:27 +0000 (11:37 +0000)
committerBiju Das <biju.das.jz@bp.renesas.com>
Wed, 13 Jan 2021 13:03:49 +0000 (13:03 +0000)
Include header ulcb_cpld.h in plat_pm.c only if RCAR_GEN3_ULCB
is enabled.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Change-Id: Ie89223097c608265c50e32778e8df28feed82480

plat/renesas/common/plat_pm.c

index 7ec78cce32784baef3045237fffd26fe8996e0c2..6a9ad450d587e0aca5e97e3f48f459aad142de63 100644 (file)
@@ -21,7 +21,9 @@
 #include "pwrc.h"
 #include "rcar_def.h"
 #include "rcar_private.h"
+#if RCAR_GEN3_ULCB
 #include "ulcb_cpld.h"
+#endif /* RCAR_GEN3_ULCB */
 
 #define DVFS_SET_VID_0V                (0x00)
 #define P_ALL_OFF              (0x80)