diff options
author | Tom Rini | 2017-05-22 13:15:16 -0500 |
---|---|---|
committer | Tom Rini | 2017-05-22 14:20:28 -0500 |
commit | 711391131c84398d1b8256ab5a8cfa2969ad57c7 (patch) | |
tree | 0abea0dbe3971e5420557828a145275bb07bd9f9 /Kconfig | |
parent | a4b0d83b66f1cef9a93b403e4c11424b5b43b09f (diff) | |
parent | 80b51b5aa91b75d83323fd1fdd253d5f67621784 (diff) | |
download | u-boot-711391131c84398d1b8256ab5a8cfa2969ad57c7.tar.gz u-boot-711391131c84398d1b8256ab5a8cfa2969ad57c7.tar.xz u-boot-711391131c84398d1b8256ab5a8cfa2969ad57c7.zip |
Merge git://git.denx.de/u-boot-sunxi
trini: Make Kconfig SPL_xxx entires only show if SPL, so that we don't
get Kconfig errors on platforms without SPL, ie sandbox (without SPL).
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'Kconfig')
-rw-r--r-- | Kconfig | 26 |
1 files changed, 25 insertions, 1 deletions
@@ -220,18 +220,22 @@ config FIT_IMAGE_POST_PROCESS | |||
220 | injected into the FIT creation (i.e. the blobs would have been pre- | 220 | injected into the FIT creation (i.e. the blobs would have been pre- |
221 | processed before being added to the FIT image). | 221 | processed before being added to the FIT image). |
222 | 222 | ||
223 | if SPL | ||
224 | |||
223 | config SPL_FIT | 225 | config SPL_FIT |
224 | bool "Support Flattened Image Tree within SPL" | 226 | bool "Support Flattened Image Tree within SPL" |
225 | depends on SPL | 227 | depends on SPL |
228 | select SPL_OF_LIBFDT | ||
226 | 229 | ||
227 | config SPL_FIT_SIGNATURE | 230 | config SPL_FIT_SIGNATURE |
228 | bool "Enable signature verification of FIT firmware within SPL" | 231 | bool "Enable signature verification of FIT firmware within SPL" |
229 | depends on SPL_FIT | ||
230 | depends on SPL_DM | 232 | depends on SPL_DM |
233 | select SPL_FIT | ||
231 | select SPL_RSA | 234 | select SPL_RSA |
232 | 235 | ||
233 | config SPL_LOAD_FIT | 236 | config SPL_LOAD_FIT |
234 | bool "Enable SPL loading U-Boot as a FIT" | 237 | bool "Enable SPL loading U-Boot as a FIT" |
238 | select SPL_FIT | ||
235 | help | 239 | help |
236 | Normally with the SPL framework a legacy image is generated as part | 240 | Normally with the SPL framework a legacy image is generated as part |
237 | of the build. This contains U-Boot along with information as to | 241 | of the build. This contains U-Boot along with information as to |
@@ -254,6 +258,26 @@ config SPL_FIT_IMAGE_POST_PROCESS | |||
254 | injected into the FIT creation (i.e. the blobs would have been pre- | 258 | injected into the FIT creation (i.e. the blobs would have been pre- |
255 | processed before being added to the FIT image). | 259 | processed before being added to the FIT image). |
256 | 260 | ||
261 | config SPL_FIT_SOURCE | ||
262 | string ".its source file for U-Boot FIT image" | ||
263 | depends on SPL_FIT | ||
264 | help | ||
265 | Specifies a (platform specific) FIT source file to generate the | ||
266 | U-Boot FIT image. This could specify further image to load and/or | ||
267 | execute. | ||
268 | |||
269 | config SPL_FIT_GENERATOR | ||
270 | string ".its file generator script for U-Boot FIT image" | ||
271 | depends on SPL_FIT | ||
272 | default "board/sunxi/mksunxi_fit_atf.sh" if SPL_LOAD_FIT && ARCH_SUNXI | ||
273 | help | ||
274 | Specifies a (platform specific) script file to generate the FIT | ||
275 | source file used to build the U-Boot FIT image file. This gets | ||
276 | passed a list of supported device tree file stub names to | ||
277 | include in the generated image. | ||
278 | |||
279 | endif # SPL | ||
280 | |||
257 | endif # FIT | 281 | endif # FIT |
258 | 282 | ||
259 | config OF_BOARD_SETUP | 283 | config OF_BOARD_SETUP |