From e5af91bbf430815b993c98f207d9f119165b1846 Mon Sep 17 00:00:00 2001 From: Anson Huang Date: Fri, 15 Sep 2017 15:26:30 +0800 Subject: imx8qm/imx8qxp: enable standby suspend As suspend with last CPU power down needs SCFW support, and it is NOT ready now, in order to enable kernel suspend function earlier for modules to start debugging suspend resume function, this patch adds standby suspend for now. Will add last CPU power down suspend function when SCFW is ready. Signed-off-by: Anson Huang --- plat/freescale/imx8qm/include/platform_def.h | 2 ++ plat/freescale/imx8qxp/include/platform_def.h | 2 ++ 2 files changed, 4 insertions(+) (limited to 'plat') diff --git a/plat/freescale/imx8qm/include/platform_def.h b/plat/freescale/imx8qm/include/platform_def.h index ab3c9e27..0f3aad8f 100644 --- a/plat/freescale/imx8qm/include/platform_def.h +++ b/plat/freescale/imx8qm/include/platform_def.h @@ -83,6 +83,8 @@ #define COUNTER_FREQUENCY 8000000 /* 8MHz */ +#define SYSTEM_SUSPEND_USE_STANDBY 1 + #define DEBUG_CONSOLE 0 #define DEBUG_CONSOLE_A53 0 #define PLAT_IMX8QM 1 diff --git a/plat/freescale/imx8qxp/include/platform_def.h b/plat/freescale/imx8qxp/include/platform_def.h index 50f77b16..717f693d 100644 --- a/plat/freescale/imx8qxp/include/platform_def.h +++ b/plat/freescale/imx8qxp/include/platform_def.h @@ -75,6 +75,8 @@ #define COUNTER_FREQUENCY 8000000 /* 8MHz */ +#define SYSTEM_SUSPEND_USE_STANDBY 1 + #define DEBUG_CONSOLE 0 #define DEBUG_CONSOLE_A35 0 #define PLAT_IMX8QXP 1 -- cgit v1.2.3