diff options
author | davidcunado-arm <david.cunado@arm.com> | 2017-10-31 23:21:39 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-31 23:21:39 +0000 |
commit | 27b2493c6f4fe32a0fa76dff123d193dad86c315 (patch) | |
tree | fcad15004c188158a7f91f43a57292887d372e31 /docs | |
parent | a2ef56af183155465df8ed7577854cebec7522d9 (diff) | |
parent | 01f62b6d0d90a236cbfdf385aab7ec2ac11f2e65 (diff) | |
download | platform_external_arm-trusted-firmware-27b2493c6f4fe32a0fa76dff123d193dad86c315.tar.gz platform_external_arm-trusted-firmware-27b2493c6f4fe32a0fa76dff123d193dad86c315.tar.bz2 platform_external_arm-trusted-firmware-27b2493c6f4fe32a0fa76dff123d193dad86c315.zip |
Merge pull request #1141 from robertovargas-arm/boot_redundancy
Add platform hooks for boot redundancy support
Diffstat (limited to 'docs')
-rw-r--r-- | docs/porting-guide.rst | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/docs/porting-guide.rst b/docs/porting-guide.rst index 6352bb950..f0a8aaf30 100644 --- a/docs/porting-guide.rst +++ b/docs/porting-guide.rst @@ -1596,6 +1596,34 @@ BL2 is responsible for loading the normal world BL33 image (e.g. UEFI). This function isn't needed if either ``PRELOADED_BL33_BASE`` or ``EL3_PAYLOAD_BASE`` build options are used. +Function : bl2\_plat\_preload\_setup [optional] +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +:: + Argument : void + Return : void + +This optional function performs any BL2 platform initialization +required before image loading, that is not done later in +bl2\_platform\_setup(). Specifically, if support for multiple +boot sources is required, it initializes the boot sequence used by +plat\_try\_next\_boot\_source(). + +Function : plat\_try\_next\_boot\_source() [optional] +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +:: + Argument : void + Return : int + +This optional function passes to the next boot source in the redundancy +sequence. + +This function moves the current boot redundancy source to the next +element in the boot sequence. If there are no more boot sources then it +must return 0, otherwise it must return 1. The default implementation +of this always returns 0. + FWU Boot Loader Stage 2 (BL2U) ------------------------------ |