]>
Commit | Line | Data |
---|---|---|
b5a62990 JP |
1 | config BR2_TARGET_ARM_TRUSTED_FIRMWARE |
2 | bool "ARM Trusted Firmware (ATF)" | |
9dbc9342 EC |
3 | depends on (BR2_ARM_CPU_ARMV8A || BR2_ARM_CPU_ARMV7A) && \ |
4 | BR2_TARGET_UBOOT | |
b5a62990 JP |
5 | help |
6 | Enable this option if you want to build the ATF for your ARM | |
7 | based embedded device. | |
8 | ||
9 | https://github.com/ARM-software/arm-trusted-firmware | |
10 | ||
11 | if BR2_TARGET_ARM_TRUSTED_FIRMWARE | |
12 | choice | |
13 | prompt "ATF Version" | |
14 | help | |
15 | Select the specific ATF version you want to use | |
16 | ||
17 | config BR2_TARGET_ARM_TRUSTED_FIRMWARE_LATEST_VERSION | |
08aa8176 | 18 | bool "v1.4" |
b5a62990 | 19 | |
f6a6eca4 MŁ |
20 | config BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION |
21 | bool "Custom version" | |
22 | help | |
23 | This option allows to use a specific official versions | |
24 | ||
b5a62990 JP |
25 | config BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL |
26 | bool "Custom tarball" | |
27 | ||
28 | config BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_GIT | |
29 | bool "Custom Git repository" | |
30 | ||
31 | endchoice | |
32 | ||
33 | if BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL | |
34 | ||
35 | config BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL_LOCATION | |
36 | string "URL of custom ATF tarball" | |
37 | ||
38 | endif | |
39 | ||
f6a6eca4 MŁ |
40 | config BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE |
41 | string "ATF version" | |
42 | depends on BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION | |
43 | ||
b5a62990 JP |
44 | config BR2_TARGET_ARM_TRUSTED_FIRMWARE_VERSION |
45 | string | |
08aa8176 | 46 | default "v1.4" if BR2_TARGET_ARM_TRUSTED_FIRMWARE_LATEST_VERSION |
b5a62990 JP |
47 | default "custom" if BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL |
48 | default BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_VERSION \ | |
49 | if BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_GIT | |
f6a6eca4 MŁ |
50 | default BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE \ |
51 | if BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION | |
b5a62990 JP |
52 | |
53 | if BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_GIT | |
54 | ||
55 | config BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_URL | |
56 | string "URL of custom repository" | |
57 | ||
58 | config BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_VERSION | |
59 | string "Custom repository version" | |
60 | help | |
61 | Revision to use in the typical format used by Git | |
62 | E.G. a sha id, a tag, .. | |
63 | ||
64 | endif | |
65 | ||
66 | config BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM | |
67 | string "ATF platform" | |
68 | help | |
69 | Target plaform to build for. | |
70 | ||
543dbf2d TP |
71 | config BR2_TARGET_ARM_TRUSTED_FIRMWARE_FIP |
72 | bool "Build FIP image" | |
73 | help | |
74 | This option enables building the FIP image (Firmware Image | |
75 | Package). This is typically the image format used by | |
76 | platforms were ATF encapsulates the second stage bootloader | |
77 | (such as U-Boot). | |
78 | ||
96844591 TP |
79 | config BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31 |
80 | bool "Build BL31 image" | |
81 | help | |
82 | This option enables building the BL31 image. This is | |
83 | typically used on platforms where another bootloader (e.g | |
84 | U-Boot) encapsulates ATF BL31. | |
85 | ||
61447331 LC |
86 | config BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31_UBOOT |
87 | bool "Build BL31 U-Boot image" | |
88 | select BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31 | |
89 | help | |
90 | Generates a U-Boot image named atf-uboot.ub containing | |
91 | bl31.bin. This is used for example by the Xilinx version of | |
92 | U-Boot SPL to load ATF on the ZynqMP SoC. | |
93 | ||
6959d628 EC |
94 | choice |
95 | prompt "BL32" | |
96 | default BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL32_DEFAULT | |
97 | help | |
98 | Select BL32 stage for the trusted firmware | |
99 | ||
100 | config BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL32_DEFAULT | |
101 | bool "Default" | |
102 | help | |
103 | With this option selected, ATF will not use any BL32 stage, | |
104 | unless if one is explicitly chosen using the SPD (for | |
105 | AArch64) or AARCH32_SP (for AArch32) variables, which can be | |
106 | passed through | |
107 | BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_VARIABLES. | |
108 | ||
109 | config BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL32_OPTEE | |
110 | bool "OP-TEE OS" | |
111 | depends on BR2_TARGET_OPTEE_OS | |
112 | help | |
113 | This option allows to embed OP-TEE OS as the BL32 part of | |
114 | the ARM Trusted Firmware boot sequence. | |
115 | ||
116 | endchoice | |
117 | ||
3f64b08f TP |
118 | config BR2_TARGET_ARM_TRUSTED_FIRMWARE_UBOOT_AS_BL33 |
119 | bool "Use U-Boot as BL33" | |
120 | depends on BR2_TARGET_UBOOT | |
121 | help | |
122 | This option allows to embed u-boot.bin as the BL33 part of | |
123 | the ARM Trusted Firmware. It ensures that the u-boot package | |
124 | gets built before ATF, and that the appropriate BL33 | |
125 | variable pointing to u-boot.bin is passed when building ATF. | |
126 | ||
8ef18c3b JH |
127 | if BR2_TARGET_ARM_TRUSTED_FIRMWARE_UBOOT_AS_BL33 |
128 | ||
129 | config BR2_TARGET_ARM_TRUSTED_FIRMWARE_UBOOT_BL33_IMAGE | |
130 | string "U-Boot BL33 image name" | |
131 | default "u-boot.bin" | |
132 | help | |
133 | Name of the U-Boot BL33 image to include in ATF, it must | |
134 | have been installed to BINARIES_DIR by the U-Boot package. | |
135 | ||
136 | endif | |
137 | ||
05b8c7da GF |
138 | config BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_TARGETS |
139 | string "Additional ATF make targets" | |
140 | help | |
141 | Additional targets for the ATF build | |
142 | E.G. When using the QorIQ custom ATF repository from NXP, | |
143 | the target 'pbl' can be used to build the pbl binary. | |
144 | ||
b5a62990 JP |
145 | config BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_VARIABLES |
146 | string "Additional ATF build variables" | |
147 | help | |
148 | Additional parameters for the ATF build | |
149 | E.G. 'DEBUG=1 LOG_LEVEL=20' | |
150 | ||
afd6ee3f EC |
151 | config BR2_TARGET_ARM_TRUSTED_FIRMWARE_DEBUG |
152 | bool "Build in debug mode" | |
153 | help | |
154 | Enable this option to build ATF with DEBUG=1. | |
155 | ||
e4d276c3 SM |
156 | config BR2_TARGET_ARM_TRUSTED_FIRMWARE_IMAGES |
157 | string "Binary boot images" | |
158 | default "*.bin" | |
159 | help | |
160 | Names of generated image files that are installed in the | |
161 | output images/ directory. | |
162 | ||
b5a62990 | 163 | endif |