aboutsummaryrefslogtreecommitdiff
path: root/plat/rockchip/rk3399/include/platform_def.h
diff options
context:
space:
mode:
authorTony Xie <tony.xie@rock-chips.com>2016-07-16 11:16:51 +0800
committerCaesar Wang <wxt@rock-chips.com>2016-07-18 19:58:06 +0800
commit9ec78bdfc6a8058771920aec51f82513a0e4d4f0 (patch)
tree394a561bc7a68fe387c027d982fae262d65976dd /plat/rockchip/rk3399/include/platform_def.h
parentf9455cea8c38f36f12c524226ccfae2ed2dabf87 (diff)
downloadtrusted-firmware-a-9ec78bdfc6a8058771920aec51f82513a0e4d4f0.tar.gz
rockchip: support the suspend/resume for rk3399
1.Fixes the suspend/resume some bugs. 2.Add the power domain for saving power consumption. 3.Add cpu clusters suspend for rk3399 SoCs Change-Id: Id602779016b41d6281f4ba40a20229d909b28e46
Diffstat (limited to 'plat/rockchip/rk3399/include/platform_def.h')
-rw-r--r--plat/rockchip/rk3399/include/platform_def.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/plat/rockchip/rk3399/include/platform_def.h b/plat/rockchip/rk3399/include/platform_def.h
index 5f04db9227..b494824997 100644
--- a/plat/rockchip/rk3399/include/platform_def.h
+++ b/plat/rockchip/rk3399/include/platform_def.h
@@ -73,7 +73,7 @@
#define PLATFORM_NUM_AFFS (PLATFORM_SYSTEM_COUNT + \
PLATFORM_CLUSTER_COUNT + \
PLATFORM_CORE_COUNT)
-
+#define PLAT_RK_CLST_TO_CPUID_SHIFT 6
#define PLAT_MAX_PWR_LVL MPIDR_AFFLVL2
/*
@@ -109,7 +109,7 @@
******************************************************************************/
#define ADDR_SPACE_SIZE (1ull << 32)
#define MAX_XLAT_TABLES 20
-#define MAX_MMAP_REGIONS 20
+#define MAX_MMAP_REGIONS 25
/*******************************************************************************
* Declarations and constants to access the mailboxes safely. Each mailbox is
@@ -146,6 +146,4 @@
#define PLAT_RK_PRIMARY_CPU 0x0
-#define RK_PLAT_AARCH_CFG RK_PLAT_CFG1
-
#endif /* __PLATFORM_DEF_H__ */