diff options
author | Dimitris Papastamos <dimitris.papastamos@arm.com> | 2018-06-27 12:59:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-27 12:59:47 +0100 |
commit | d48f193d11b4d4dca2675646ad76147f2d4765f2 (patch) | |
tree | fa244bab3de716b1895dbfdca539db263bc2c39b /docs | |
parent | 86e07ae6eca000a17575ff1e5013effbf4a1d5b2 (diff) | |
parent | bb00ea5b00b2f17cfb16684ecee3a9094457450a (diff) | |
download | platform_external_arm-trusted-firmware-d48f193d11b4d4dca2675646ad76147f2d4765f2.tar.gz platform_external_arm-trusted-firmware-d48f193d11b4d4dca2675646ad76147f2d4765f2.tar.bz2 platform_external_arm-trusted-firmware-d48f193d11b4d4dca2675646ad76147f2d4765f2.zip |
Merge pull request #1429 from jeenu-arm/mmu-direct
Enable MMU without stack for xlat v2/DynamIQ
Diffstat (limited to 'docs')
-rw-r--r-- | docs/porting-guide.rst | 19 | ||||
-rw-r--r-- | docs/user-guide.rst | 4 |
2 files changed, 23 insertions, 0 deletions
diff --git a/docs/porting-guide.rst b/docs/porting-guide.rst index a737cf4e6..5462cc1ec 100644 --- a/docs/porting-guide.rst +++ b/docs/porting-guide.rst @@ -1997,6 +1997,25 @@ state. This function must return a pointer to the ``entry_point_info`` structure (that was copied during ``bl31_early_platform_setup()``) if the image exists. It should return NULL otherwise. +Function : bl31_plat_enable_mmu [optional] +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +:: + + Argument : uint32_t + Return : void + +This function enables the MMU. The boot code calls this function with MMU and +caches disabled. This function should program necessary registers to enable +translation, and upon return, the MMU on the calling PE must be enabled. + +The function must honor flags passed in the first argument. These flags are +defined by the translation library, and can be found in the file +``include/lib/xlat_tables/xlat_mmu_helpers.h``. + +On DynamIQ systems, this function must not use stack while enabling MMU, which +is how the function in xlat table library version 2 is implementated. + Function : plat\_get\_syscnt\_freq2() [mandatory] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/docs/user-guide.rst b/docs/user-guide.rst index a40615dbf..68a74edd5 100644 --- a/docs/user-guide.rst +++ b/docs/user-guide.rst @@ -454,6 +454,10 @@ Common build options management operations. This option defaults to 0 and if it is enabled, then it implies ``WARMBOOT_ENABLE_DCACHE_EARLY`` is also enabled. + Note that, when ``HW_ASSISTED_COHERENCY`` is enabled, version 2 of + translation library (xlat tables v2) must be used; version 1 of translation + library is not supported. + - ``JUNO_AARCH32_EL3_RUNTIME``: This build flag enables you to execute EL3 runtime software in AArch32 mode, which is required to run AArch32 on Juno. By default this flag is set to '0'. Enabling this flag builds BL1 and BL2 in |