From ca803a791056da5a2acdf7118bbacf0f119e6433 Mon Sep 17 00:00:00 2001 From: Bai Ping Date: Tue, 10 Apr 2018 16:50:04 +0800 Subject: plat: imx: add gic save/restore for imx8qm/qxp In order to save power when AP side is suspend, the DBLOG need to be put into low power mode. GIC need to be power off to save power. before GIC power off, we need to save the GIC setting, then after resume, we need to restore the gic setting. irqsteer need to be used to wakeup the AP side when wakeup interrupt is pending for AP side. Signed-off-by: Bai Ping --- plat/imx/imx8qm/include/platform_def.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'plat/imx/imx8qm/include/platform_def.h') diff --git a/plat/imx/imx8qm/include/platform_def.h b/plat/imx/imx8qm/include/platform_def.h index 21a27b1f..54fe5394 100644 --- a/plat/imx/imx8qm/include/platform_def.h +++ b/plat/imx/imx8qm/include/platform_def.h @@ -72,8 +72,9 @@ #define PLAT_PHY_ADDR_SPACE_SIZE (1ull << 32) #define MAX_XLAT_TABLES 8 -#define MAX_MMAP_REGIONS 8 +#define MAX_MMAP_REGIONS 12 +#define IMX_WUP_IRQSTR 0x51090000 #define IMX_BOOT_UART_BASE 0x5a060000 #define IMX_BOOT_UART_BAUDRATE 115200 #define IMX_BOOT_UART_CLK_IN_HZ 24000000 -- cgit v1.2.3