summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorPaul Beesley <paul.beesley@arm.com>2019-09-26 13:40:38 +0000
committerTrustedFirmware Code Review <review@review.trustedfirmware.org>2019-09-26 13:40:38 +0000
commit69ef7b7ffe66b64bdffee0a387774e7088022503 (patch)
tree976b35b009ee6f13cfcc0a00267b47de7f4b348e /docs
parent80a624d1a3d7e052df1c7848aa275f1ac09a743b (diff)
parentdeb330cb3837cddf251cea5d804634ad75d48c19 (diff)
Merge changes I0283fc2e,Ib476d024,Iada05f7c into integration
* changes: hikey: fix to load FIP by partition table. hikey960: fix to load FIP by partition table drivers: partition: support different block size
Diffstat (limited to 'docs')
-rw-r--r--docs/getting_started/porting-guide.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/getting_started/porting-guide.rst b/docs/getting_started/porting-guide.rst
index 5786dd38..97ed1fa4 100644
--- a/docs/getting_started/porting-guide.rst
+++ b/docs/getting_started/porting-guide.rst
@@ -546,6 +546,13 @@ optionally be defined:
PLAT_PARTITION_MAX_ENTRIES := 12
$(eval $(call add_define,PLAT_PARTITION_MAX_ENTRIES))
+- **PLAT_PARTITION_BLOCK_SIZE**
+ The size of partition block. It could be either 512 bytes or 4096 bytes.
+ The default value is 512.
+ `For example, define the build flag in platform.mk`_:
+ PLAT_PARTITION_BLOCK_SIZE := 4096
+ $(eval $(call add_define,PLAT_PARTITION_BLOCK_SIZE))
+
The following constant is optional. It should be defined to override the default
behaviour of the ``assert()`` function (for example, to save memory).