From b5982a46aa88b81ba84a44fb6d6f141b1e286e46 Mon Sep 17 00:00:00 2001 From: Lech Betlej Date: Mon, 14 Oct 2019 15:13:17 +0200 Subject: [PATCH] cnl: Access to HPSRAM power gating status register - macro updated Macro modified for SRAM segments > 0 fixed by register offset update to a proper value. Signed-off-by: Lech Betlej --- src/platform/cannonlake/include/platform/lib/shim.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform/cannonlake/include/platform/lib/shim.h b/src/platform/cannonlake/include/platform/lib/shim.h index ec2ebc87f..e4950853a 100644 --- a/src/platform/cannonlake/include/platform/lib/shim.h +++ b/src/platform/cannonlake/include/platform/lib/shim.h @@ -175,7 +175,7 @@ #define HSPGISTS1 0x71D28 #define SHIM_HSPGCTL(x) (HSPGCTL0 + 0x10 * (x)) -#define SHIM_HSPGISTS(x) (HSPGISTS0 + 0x18 * (x)) +#define SHIM_HSPGISTS(x) (HSPGISTS0 + 0x10 * (x)) #define LSPGCTL 0x71D50 #define LSRMCTL 0x71D54