summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authordanh-arm <dan.handley@arm.com>2016-02-22 10:02:29 +0000
committerdanh-arm <dan.handley@arm.com>2016-02-22 10:02:29 +0000
commit094a935de268a560494f6b36b122a50d7c6967fc (patch)
treea21a26f6cb127880ba6e090e7991ee2dfbc051c0 /docs
parent6f8016b87eb99d64bb75ecd0a443622eb7c6d681 (diff)
parent7dc4b2272f031924cd47c0a8fe36679f1a396a65 (diff)
Merge pull request #518 from hzhuang1/pl061_gpio_v5
Pl061 gpio v5
Diffstat (limited to 'docs')
-rw-r--r--docs/porting-guide.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/porting-guide.md b/docs/porting-guide.md
index 56ddbb1c..004f70d6 100644
--- a/docs/porting-guide.md
+++ b/docs/porting-guide.md
@@ -476,6 +476,18 @@ memory layout implies some image overlaying like in ARM standard platforms.
Defines the maximum address that the TSP's progbits sections can occupy.
+If the platform port uses the PL061 GPIO driver, the following constant may
+optionally be defined:
+
+* **PLAT_PL061_MAX_GPIOS**
+ Maximum number of GPIOs required by the platform. This allows control how
+ much memory is allocated for PL061 GPIO controllers. The default value is
+ 32.
+ [For example, define the build flag in platform.mk]:
+ PLAT_PL061_MAX_GPIOS := 160
+ $(eval $(call add_define,PLAT_PL061_MAX_GPIOS))
+
+
### File : plat_macros.S [mandatory]
Each platform must ensure a file of this name is in the system include path with