aboutsummaryrefslogtreecommitdiff
path: root/plat/rockchip/rk3399/include/platform_def.h
diff options
context:
space:
mode:
authorCaesar Wang <wxt@rock-chips.com>2016-05-25 19:21:43 +0800
committerCaesar Wang <wxt@rock-chips.com>2016-05-27 09:39:56 +0800
commit9901dcf6bb14813bf9ace57ffb51d62f37a1d2fb (patch)
treecaa4523356468cdfc1a22ea3f5d4a133b97f9c09 /plat/rockchip/rk3399/include/platform_def.h
parent195889829e3f3fc4eabb3297b3d686daf14af7f5 (diff)
downloadtrusted-firmware-a-9901dcf6bb14813bf9ace57ffb51d62f37a1d2fb.tar.gz
rockchip: support rk3399 gpio driver
There are 5 groups of GPIO (GPIO0~GPIO4), totally have 122 GPIOs on rk3399 platform. The pull direction(pullup or pulldown) for all of GPIOs are software-programmable. At the moment, we add the gpio basic driver since reset or power off the devices from gpio configuration for BL31.
Diffstat (limited to 'plat/rockchip/rk3399/include/platform_def.h')
-rw-r--r--plat/rockchip/rk3399/include/platform_def.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/plat/rockchip/rk3399/include/platform_def.h b/plat/rockchip/rk3399/include/platform_def.h
index f7da0e7041..5f04db9227 100644
--- a/plat/rockchip/rk3399/include/platform_def.h
+++ b/plat/rockchip/rk3399/include/platform_def.h
@@ -109,7 +109,7 @@
******************************************************************************/
#define ADDR_SPACE_SIZE (1ull << 32)
#define MAX_XLAT_TABLES 20
-#define MAX_MMAP_REGIONS 16
+#define MAX_MMAP_REGIONS 20
/*******************************************************************************
* Declarations and constants to access the mailboxes safely. Each mailbox is