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

Simon Glass sjg at chromium.org
Wed May 17 01:34:01 UTC 2017


Hi Tom.

On 15 May 2017 at 12:04, Tom Rini <trini at konsulko.com> wrote:
> On Mon, May 15, 2017 at 04:57:44AM -0600, Simon Glass wrote:
>
>> This converts the following to Kconfig:
>>    CONFIG_CMD_HASH
>>
>> Signed-off-by: Simon Glass <sjg at chromium.org>
>> ---
>>
>>  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 ++++++++
> [snip]
>
> This needs to go under board/freescale/common/Kconfig and imply CMD_HASH

I don't think that has the same effect. For one thing this command is
generic (e.g. it is used by sandbox and exynos). Also, implying it for
all freescale boards will turn it on for additional boards.

Finally, since I cannot move the Kconfig I'm not sure how to imply it
in that Kconfig. If I use 'default y' in that file it stuffs up the
other imply lines, I think because now the option appears in that file
before it is defined in cmd/Kconfig.

Ideas welcome :-)

Regards,
Simon


More information about the U-Boot mailing list