[U-Boot] [RFC PATCH v1 0/1] Migrate IMAGE_FORMAT_LEGACY to Kconfig

Alex Kiernan alex.kiernan at gmail.com
Thu Apr 19 04:52:30 UTC 2018


On the face of it, this is a straightforward moveconfig, but because
of how CONFIG_FIT_SIGNATURE, CONFIG_IMAGE_FORMAT_LEGACY and
CONFIG_DISABLE_IMAGE_LEGACY interacted when you enabled
CONFIG_FIT_SIGNATURE, you got CONFIG_IMAGE_FORMAT_LEGACY disabled
immediately unless you had some way of explicitly enabling it
elsewhere.

Kconfig doesn't give us this - CONFIG_IMAGE_FORMAT_LEGACY starts off
enabled, CONFIG_FIT_SIGNATURE starts off disabled and if you enable
CONFIG_FIT_SIGNATURE then CONFIG_IMAGE_FORMAT_LEGACY stays enabled.

Is there some way to preserve the existing behaviour through Kconfig
that I've failed to figure out?

Green Travis build:

https://travis-ci.org/akiernan/u-boot/builds/368366062


Alex Kiernan (1):
  Migrate IMAGE_FORMAT_LEGACY to Kconfig

 Kconfig                                | 10 ++++++++++
 README                                 | 13 -------------
 configs/ids8313_defconfig              |  1 +
 configs/imx6dl_icore_nand_defconfig    |  1 +
 configs/imx6q_icore_nand_defconfig     |  1 +
 configs/imx6qdl_icore_mipi_defconfig   |  1 +
 configs/imx6qdl_icore_mmc_defconfig    |  1 +
 configs/imx6qdl_icore_nand_defconfig   |  1 +
 configs/imx6qdl_icore_rqs_defconfig    |  1 +
 configs/imx6ul_geam_mmc_defconfig      |  1 +
 configs/imx6ul_geam_nand_defconfig     |  1 +
 configs/imx6ul_isiot_emmc_defconfig    |  1 +
 configs/imx6ul_isiot_nand_defconfig    |  1 +
 configs/syzygy_hub_defconfig           |  1 +
 configs/zynq_cc108_defconfig           |  1 +
 configs/zynq_microzed_defconfig        |  1 +
 configs/zynq_z_turn_defconfig          |  1 +
 configs/zynq_zc702_defconfig           |  1 +
 configs/zynq_zc706_defconfig           |  1 +
 configs/zynq_zc770_xm010_defconfig     |  1 +
 configs/zynq_zc770_xm011_defconfig     |  1 +
 configs/zynq_zc770_xm011_x16_defconfig |  1 +
 configs/zynq_zc770_xm012_defconfig     |  1 +
 configs/zynq_zc770_xm013_defconfig     |  1 +
 configs/zynq_zed_defconfig             |  1 +
 configs/zynq_zybo_defconfig            |  1 +
 include/config_fallbacks.h             |  8 --------
 include/configs/ids8313.h              |  2 --
 include/configs/imx6-engicam.h         |  5 -----
 include/configs/wb50n.h                |  2 --
 include/configs/zynq-common.h          |  3 ---
 scripts/config_whitelist.txt           |  2 --
 32 files changed, 34 insertions(+), 35 deletions(-)

-- 
2.7.4



More information about the U-Boot mailing list