Commit 11a9662ba9ed40829fd10acb3a0c75d148159921
Committed by
Simon Glass
1 parent
31d2b4fd90
Exists in
v2017.01-smarct4x
and in
37 other branches
configs: Move CONFIG_FIT_SIGNATURE to defconfig
For the platforms which use,CONFIG_FIT_SIGNATURE, the required configs are moved to the platform's defconfig file. Selecting CONFIG_FIT_SIGNATURE using defconfig automatically resolves the dependencies for signature verification. The RSA library gets automatically selected and user does not have to define CONFIG_RSA manually. Signed-off-by: Ruchika Gupta <ruchika.gupta@freescale.com> CC: Simon Glass <sjg@chromium.org> Acked-by: Simon Glass <sjg@chromium.org>
Showing 13 changed files with 28 additions and 14 deletions Side-by-side Diff
- configs/ids8313_defconfig
- configs/sandbox_defconfig
- configs/zynq_microzed_defconfig
- configs/zynq_zc70x_defconfig
- configs/zynq_zc770_xm010_defconfig
- configs/zynq_zc770_xm012_defconfig
- configs/zynq_zc770_xm013_defconfig
- configs/zynq_zed_defconfig
- configs/zynq_zybo_defconfig
- include/configs/am335x_evm.h
- include/configs/ids8313.h
- include/configs/sandbox.h
- include/configs/zynq-common.h
configs/ids8313_defconfig
configs/sandbox_defconfig
configs/zynq_microzed_defconfig
configs/zynq_zc70x_defconfig
configs/zynq_zc770_xm010_defconfig
configs/zynq_zc770_xm012_defconfig
configs/zynq_zc770_xm013_defconfig
configs/zynq_zed_defconfig
configs/zynq_zybo_defconfig
include/configs/am335x_evm.h
include/configs/ids8313.h
... | ... | @@ -575,12 +575,9 @@ |
575 | 575 | |
576 | 576 | #define CONFIG_VERSION_VARIABLE |
577 | 577 | |
578 | -#define CONFIG_FIT | |
579 | -#define CONFIG_FIT_SIGNATURE | |
580 | 578 | #define CONFIG_IMAGE_FORMAT_LEGACY |
581 | 579 | #define CONFIG_CMD_FDT |
582 | 580 | #define CONFIG_CMD_HASH |
583 | -#define CONFIG_RSA | |
584 | 581 | #define CONFIG_SHA1 |
585 | 582 | #define CONFIG_SHA256 |
586 | 583 |
include/configs/sandbox.h
include/configs/zynq-common.h
... | ... | @@ -276,16 +276,10 @@ |
276 | 276 | #define CONFIG_OF_LIBFDT |
277 | 277 | |
278 | 278 | /* FIT support */ |
279 | -#define CONFIG_FIT | |
280 | -#define CONFIG_FIT_VERBOSE 1 /* enable fit_format_{error,warning}() */ | |
281 | 279 | #define CONFIG_IMAGE_FORMAT_LEGACY /* enable also legacy image format */ |
282 | 280 | |
283 | 281 | /* FDT support */ |
284 | 282 | #define CONFIG_DISPLAY_BOARDINFO_LATE |
285 | - | |
286 | -/* RSA support */ | |
287 | -#define CONFIG_FIT_SIGNATURE | |
288 | -#define CONFIG_RSA | |
289 | 283 | |
290 | 284 | /* Extend size of kernel image for uncompression */ |
291 | 285 | #define CONFIG_SYS_BOOTM_LEN (60 * 1024 * 1024) |