From 2fdd9ae6c7b79b2e667a743eb3d781ea0e7f1da0 Mon Sep 17 00:00:00 2001 From: Varun Wadekar Date: Wed, 26 Apr 2017 08:57:27 -0700 Subject: [PATCH] Tegra194: add macros to read GPU reset status This patch adds macros to check the GPU reset status bit, before resizing the VideoMem region. Change-Id: I4377c1ce1ac6d3bd14c7db83526b99d72bdb41ed Signed-off-by: Varun Wadekar --- plat/nvidia/tegra/include/t194/tegra_def.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plat/nvidia/tegra/include/t194/tegra_def.h b/plat/nvidia/tegra/include/t194/tegra_def.h index a1b70db9f..79d776f55 100644 --- a/plat/nvidia/tegra/include/t194/tegra_def.h +++ b/plat/nvidia/tegra/include/t194/tegra_def.h @@ -232,5 +232,7 @@ * Tegra Clock and Reset Controller constants ******************************************************************************/ #define TEGRA_CAR_RESET_BASE 0x200000000 +#define TEGRA_GPU_RESET_REG_OFFSET 0x18UL +#define GPU_RESET_BIT (1UL << 0) #endif /* __TEGRA_DEF_H__ */ -- GitLab