From 8c72a7ab20355b48070caa834211ef3474f899a2 Mon Sep 17 00:00:00 2001 From: Jacky Bai Date: Tue, 11 Aug 2020 15:56:29 +0800 Subject: [PATCH] plat: imx8m: Fix the macro define error the 'always_on' member should be initialized from 'on'. Signed-off-by: Jacky Bai Change-Id: I5746ff40075b4fcda2ac7d04a8d7f1269af17e91 --- plat/imx/imx8m/include/gpc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plat/imx/imx8m/include/gpc.h b/plat/imx/imx8m/include/gpc.h index 075da91b1..29b8ecf93 100644 --- a/plat/imx/imx8m/include/gpc.h +++ b/plat/imx/imx8m/include/gpc.h @@ -32,7 +32,7 @@ .pwr_req = name##_PWR_REQ, \ .pgc_offset = name##_PGC, \ .need_sync = false, \ - .always_on = true, \ + .always_on = (on), \ } #define IMX_MIX_DOMAIN(name, on) \ @@ -42,7 +42,7 @@ .adb400_sync = name##_ADB400_SYNC, \ .adb400_ack = name##_ADB400_ACK, \ .need_sync = true, \ - .always_on = true, \ + .always_on = (on), \ } struct imx_pwr_domain { -- GitLab