Jimmy Brisson | a48f507 | 2020-04-02 15:19:16 -0500 | [diff] [blame] | 1 | Porting |
| 2 | ======= |
| 3 | |
| 4 | .. toctree:: |
| 5 | :maxdepth: 1 |
| 6 | |
| 7 | requirements |
| 8 | storage |
| 9 | build-flags |
| 10 | mandatory-mods |
| 11 | optional-mods |
| 12 | |
| 13 | Porting the TF-A Tests to a new platform involves making some mandatory and |
| 14 | optional modifications for both the cold and warm boot paths. Modifications |
| 15 | consist of: |
| 16 | |
| 17 | * Implementing a platform-specific function or variable, |
| 18 | * Setting up the execution context in a certain way, or |
| 19 | * Defining certain constants (for example #defines). |
| 20 | |
| 21 | The platform-specific functions and variables are all declared in |
| 22 | ``include/plat/common/platform.h``. The framework provides a default |
| 23 | implementation of variables and functions to fulfill the optional requirements. |
| 24 | These implementations are all weakly defined; they are provided to ease the |
| 25 | porting effort. Each platform port can override them with its own implementation |
| 26 | if the default implementation is inadequate. |
| 27 | |
| 28 | -------------- |
| 29 | |
| 30 | *Copyright (c) 2019, Arm Limited. All rights reserved.* |