mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-07 21:54:45 +00:00
eb5171ddec
Originally CONFIG_FIT_SHAxxx enabled specific SHA algos for and only
for hash_calculate() in common/image-fit.c. However, since commit
14f061dcb1
("image: Drop IMAGE_ENABLE_SHAxxx"),
the correct selector was changed to CONFIG_SHAxxx.
The extra "_FIT_" variants are neither used, nor needed. Remove them.
One defconfig disables FIT_SHA256, which is now changed to 'SHA256'.
CMD_MVEBU_BUBT needs to select select SHA256 to avoid undefined
references to "sha256_*()". bubt.c needs sha256, so this selection is
correct. It is not clear why this problem did not manifest before.
Note that SHA selection in SPL is broken for this exact reason. There
is no corresponding SPL_SHAxxx. Fixing this is is beyond the scope of
this change.
Also note that we make CONFIG_FIT now imply SHA256, to make up for
FIT_SHA256 previously being a default y option.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
[trini: Add imply SHA256 to FIT]
Signed-off-by: Tom Rini <trini@konsulko.com>
59 lines
1.5 KiB
Text
59 lines
1.5 KiB
Text
menu "MVEBU commands"
|
|
depends on ARCH_MVEBU
|
|
|
|
config CMD_MVEBU_BUBT
|
|
bool "bubt"
|
|
default n
|
|
select SHA256 if ARMADA_3700
|
|
help
|
|
bubt - Burn a u-boot image to flash
|
|
For details about bubt command please see the documentation
|
|
in doc/mvebu/cmd/bubt.txt
|
|
|
|
choice
|
|
prompt "Flash for image"
|
|
default MVEBU_SPI_BOOT
|
|
|
|
config MVEBU_NAND_BOOT
|
|
bool "NAND flash boot"
|
|
depends on NAND_PXA3XX
|
|
help
|
|
Enable boot from NAND flash.
|
|
Allow usage of NAND flash as a target for "bubt" command
|
|
For details about bubt command please see the documentation
|
|
in doc/mvebu/cmd/bubt.txt
|
|
|
|
config MVEBU_SPI_BOOT
|
|
bool "SPI flash boot"
|
|
depends on SPI_FLASH
|
|
help
|
|
Enable boot from SPI flash.
|
|
Allow usage of SPI flash as a target for "bubt" command
|
|
For details about bubt command please see the documentation
|
|
in doc/mvebu/cmd/bubt.txt
|
|
|
|
config MVEBU_MMC_BOOT
|
|
bool "eMMC flash boot"
|
|
depends on MVEBU_MMC || MMC_SDHCI_XENON
|
|
help
|
|
Enable boot from eMMC boot partition
|
|
Allow usage of eMMC/SD device as a target for "bubt" command
|
|
For details about bubt command please see the documentation
|
|
in doc/mvebu/cmd/bubt.txt
|
|
|
|
endchoice
|
|
|
|
config MVEBU_UBOOT_DFLT_NAME
|
|
string "Default image name for bubt command"
|
|
default "flash-image.bin"
|
|
help
|
|
This option should contain a default file name to be used with
|
|
MVEBU "bubt" command if the source file name is omitted
|
|
|
|
config CMD_MVEBU_COMPHY_RX_TRAINING
|
|
bool "mvebu_comphy_rx_training"
|
|
depends on ARMADA_8K
|
|
help
|
|
Perform COMPHY RX training sequence
|
|
|
|
endmenu
|