blob: 2f39ea274d6556b50ba936f1aa2bfb1eb1f36f85 [file] [log] [blame]
Jimmy Brissona48f5072020-04-02 15:19:16 -05001Porting
2=======
3
4.. toctree::
5 :maxdepth: 1
6
7 requirements
8 storage
9 build-flags
10 mandatory-mods
11 optional-mods
12
13Porting the TF-A Tests to a new platform involves making some mandatory and
14optional modifications for both the cold and warm boot paths. Modifications
15consist 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
21The platform-specific functions and variables are all declared in
22``include/plat/common/platform.h``. The framework provides a default
23implementation of variables and functions to fulfill the optional requirements.
24These implementations are all weakly defined; they are provided to ease the
25porting effort. Each platform port can override them with its own implementation
26if the default implementation is inadequate.
27
28--------------
29
30*Copyright (c) 2019, Arm Limited. All rights reserved.*