1f1910cc1SGovindraj RajaInternal Build Options 2f1910cc1SGovindraj Raja====================== 3f1910cc1SGovindraj Raja 4f1910cc1SGovindraj Raja|TF-A| internally uses certain options that are not exposed directly through 5f1910cc1SGovindraj Raja:ref:`build-options <build options>` but enabled or disabled indirectly and 6f1910cc1SGovindraj Rajadepends on certain options to be enabled or disabled. 7f1910cc1SGovindraj Raja 8f1910cc1SGovindraj Raja.. _build_options_internal: 9f1910cc1SGovindraj Raja 10f1910cc1SGovindraj Raja- ``CTX_INCLUDE_EL2_REGS``: This boolean option provides context save/restore 11f1910cc1SGovindraj Raja operations when entering/exiting an EL2 execution context. This is of primary 12f1910cc1SGovindraj Raja interest when Armv8.4-SecEL2 or RME extension is implemented. 13f1910cc1SGovindraj Raja Default is 0 (disabled). This option will be set to 1 (enabled) when ``SPD=spmd`` 14f1910cc1SGovindraj Raja and ``SPMD_SPM_AT_SEL2`` is set or when ``ENABLE_RME`` is set to 1 (enabled). 15*f87e54f7SManish Pandey 16*f87e54f7SManish Pandey- ``FFH_SUPPORT``: This boolean option provides support to enable Firmware First 17*f87e54f7SManish Pandey handling (FFH) of External aborts and SError interrupts originating from lower 18*f87e54f7SManish Pandey ELs which gets trapped in EL3. This option will be set to 1 (enabled) if 19*f87e54f7SManish Pandey ``HANDLE_EA_EL3_FIRST_NS`` is set. Currently only NS world routes EA to EL3 but 20*f87e54f7SManish Pandey in future when Secure/Realm wants to use FFH then they can introduce new macros 21*f87e54f7SManish Pandey which will enable this option implicitly. 22