[U-Boot] [PATCH v2 29/48] Convert CONFIG_CMD_HASH to Kconfig

Simon Glass sjg at chromium.org
Wed May 17 03:29:54 UTC 2017


Hi Tom,

On 16 May 2017 at 20:24, Tom Rini <trini at konsulko.com> wrote:
> On Tue, May 16, 2017 at 05:38:49PM -0600, Simon Glass wrote:
>
>> This converts the following to Kconfig:
>>    CONFIG_CMD_HASH
>>
>> Signed-off-by: Simon Glass <sjg at chromium.org>
>> ---
>>
>> Changes in v2: None
>>
>>  README                                    | 6 ------
>>  arch/Kconfig                              | 1 +
>>  arch/arm/Kconfig                          | 1 +
>>  arch/arm/cpu/armv7/ls102xa/Kconfig        | 1 +
>>  arch/arm/cpu/armv8/fsl-layerscape/Kconfig | 4 ++++
>>  arch/arm/include/asm/fsl_secure_boot.h    | 1 -
>>  arch/arm/mach-exynos/Kconfig              | 1 +
>>  arch/powerpc/Kconfig                      | 1 +
>>  cmd/Kconfig                               | 8 ++++++++
>
> Ah, I see how I was unclear last time, sorry.  What I mean is that the
> changes to arch/arm/cpu/armv7/ls102xa/Kconfig and
> arch/arm/cpu/armv8/fsl-layerscape/Kconfig should be done in
> board/freescale/common/Kconfig as CHAIN_OF_TRUST needs to imply
> CMD_HASH, to replicate what arch/arm/include/asm/fsl_secure_boot.h was
> doing.  With that, we probably shouldn't need any further imply's under
> arch/arm/cpu/, thanks!

OK. If I understand you correctly that involves dropping CMD_HASH for
these defconfigs, but I suppose that is OK:

configs/ls1021aiot_qspi_defconfig
configs/ls1021aiot_sdcard_defconfig
configs/ls1021aqds_ddr4_nor_defconfig
configs/ls1021aqds_ddr4_nor_lpuart_defconfig
configs/ls1021aqds_nand_defconfig
configs/ls1021aqds_nor_defconfig
configs/ls1021aqds_nor_lpuart_defconfig
configs/ls1021aqds_qspi_defconfig
configs/ls1021aqds_sdcard_ifc_defconfig
configs/ls1021aqds_sdcard_qspi_defconfig
configs/ls1021atwr_nor_defconfig
configs/ls1021atwr_nor_lpuart_defconfig
configs/ls1021atwr_qspi_defconfig
configs/ls1021atwr_sdcard_ifc_defconfig
configs/ls1021atwr_sdcard_qspi_defconfig
configs/ls1043aqds_defconfig
configs/ls1043aqds_lpuart_defconfig
configs/ls1043aqds_nand_defconfig
configs/ls1043aqds_nor_ddr3_defconfig
configs/ls1043aqds_qspi_defconfig
configs/ls1043aqds_sdcard_ifc_defconfig
configs/ls1043aqds_sdcard_qspi_defconfig
configs/ls1043ardb_defconfig
configs/ls1043ardb_nand_defconfig
configs/ls1043ardb_sdcard_defconfig
configs/ls1046aqds_defconfig
configs/ls1046aqds_lpuart_defconfig
configs/ls1046aqds_nand_defconfig
configs/ls1046aqds_qspi_defconfig
configs/ls1046aqds_sdcard_ifc_defconfig
configs/ls1046aqds_sdcard_qspi_defconfig
configs/ls1046ardb_emmc_defconfig
configs/ls1046ardb_qspi_defconfig
configs/ls1046ardb_sdcard_defconfig
configs/ls2080a_emu_defconfig
configs/ls2080a_simu_defconfig
configs/ls2080aqds_defconfig
configs/ls2080aqds_nand_defconfig
configs/ls2080aqds_qspi_defconfig
configs/ls2080ardb_defconfig
configs/ls2080ardb_nand_defconfig

Regards,
Simon


More information about the U-Boot mailing list