mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-25 06:00:43 +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>
76 lines
2 KiB
Text
76 lines
2 KiB
Text
CONFIG_ARM=y
|
|
CONFIG_POSITION_INDEPENDENT=y
|
|
CONFIG_ARCH_MEDIATEK=y
|
|
CONFIG_SYS_TEXT_BASE=0x4C000000
|
|
CONFIG_SYS_MALLOC_F_LEN=0x4000
|
|
CONFIG_NR_DRAM_BANKS=1
|
|
CONFIG_ENV_SIZE=0x1000
|
|
CONFIG_DM_GPIO=y
|
|
CONFIG_DEFAULT_DEVICE_TREE="mt8516-pumpkin"
|
|
CONFIG_TARGET_MT8516=y
|
|
CONFIG_DEBUG_UART_BASE=0x11005000
|
|
CONFIG_DEBUG_UART_CLOCK=26000000
|
|
# CONFIG_PSCI_RESET is not set
|
|
CONFIG_DEBUG_UART=y
|
|
CONFIG_FIT=y
|
|
# CONFIG_SHA256 is not set
|
|
# CONFIG_ARCH_FIXUP_FDT_MEMORY is not set
|
|
CONFIG_DEFAULT_FDT_FILE="mt8516-pumpkin"
|
|
# CONFIG_DISPLAY_BOARDINFO is not set
|
|
CONFIG_BOARD_LATE_INIT=y
|
|
CONFIG_HUSH_PARSER=y
|
|
# CONFIG_CMD_BDI is not set
|
|
# CONFIG_CMD_CONSOLE is not set
|
|
# CONFIG_CMD_BOOTD is not set
|
|
# CONFIG_CMD_BOOTI is not set
|
|
# CONFIG_CMD_ELF is not set
|
|
# CONFIG_CMD_GO is not set
|
|
# CONFIG_CMD_IMI is not set
|
|
# CONFIG_CMD_XIMG is not set
|
|
# CONFIG_CMD_EXPORTENV is not set
|
|
# CONFIG_CMD_IMPORTENV is not set
|
|
# CONFIG_CMD_EDITENV is not set
|
|
# CONFIG_CMD_ENV_EXISTS is not set
|
|
# CONFIG_CMD_CRC32 is not set
|
|
# CONFIG_CMD_MEMORY is not set
|
|
CONFIG_CMD_GPT=y
|
|
# CONFIG_RANDOM_UUID is not set
|
|
# CONFIG_CMD_LOADB is not set
|
|
# CONFIG_CMD_LOADS is not set
|
|
CONFIG_CMD_MMC=y
|
|
CONFIG_CMD_PART=y
|
|
# CONFIG_CMD_ITEST is not set
|
|
# CONFIG_CMD_SOURCE is not set
|
|
# CONFIG_CMD_SETEXPR is not set
|
|
# CONFIG_CMD_BLOCK_CACHE is not set
|
|
# CONFIG_CMD_SLEEP is not set
|
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
|
CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
|
|
CONFIG_CLK=y
|
|
CONFIG_USB_FUNCTION_FASTBOOT=y
|
|
CONFIG_FASTBOOT_BUF_ADDR=0x4d000000
|
|
CONFIG_FASTBOOT_BUF_SIZE=0x4000000
|
|
CONFIG_FASTBOOT_FLASH=y
|
|
CONFIG_FASTBOOT_FLASH_MMC_DEV=0
|
|
CONFIG_FASTBOOT_MMC_BOOT_SUPPORT=y
|
|
CONFIG_FASTBOOT_MMC_USER_SUPPORT=y
|
|
# CONFIG_INPUT is not set
|
|
# CONFIG_MMC_QUIRKS is not set
|
|
CONFIG_MMC_MTK=y
|
|
CONFIG_PINCTRL=y
|
|
CONFIG_PINCONF=y
|
|
CONFIG_PINCTRL_MT8516=y
|
|
CONFIG_RAM=y
|
|
CONFIG_BAUDRATE=921600
|
|
CONFIG_DM_SERIAL=y
|
|
CONFIG_DEBUG_UART_ANNOUNCE=y
|
|
CONFIG_MTK_SERIAL=y
|
|
CONFIG_USB=y
|
|
CONFIG_USB_MUSB_GADGET=y
|
|
CONFIG_USB_MUSB_MT85XX=y
|
|
CONFIG_USB_GADGET=y
|
|
CONFIG_USB_GADGET_VENDOR_NUM=0x0e8d
|
|
CONFIG_USB_GADGET_PRODUCT_NUM=0x201c
|
|
CONFIG_WDT=y
|
|
CONFIG_WDT_MTK=y
|
|
# CONFIG_EFI_LOADER is not set
|