config AICUPG_ARTINCHIP bool "ArtInChip Firmware Upgrade Module" depends on ARCH_ARTINCHIP imply CMD_AICUPG if AICUPG_ARTINCHIP config AICUPG_MMC_ARTINCHIP bool "MMC device support" depends on MMC default y config AICUPG_NAND_ARTINCHIP bool "NAND device support" depends on MTD_UBI default y config AICUPG_NOR_ARTINCHIP bool "SPI NOR device support" depends on SPI_FLASH default y config AICUPG_SINGLE_TRANS_BURN_CRC32_VERIFY bool "CRC32 verify transfer data" default n config AICUPG_FORCE_USBUPG_SUPPORT bool "Force USB upgrading check during boot" default n config AICUPG_FIRMWARE_SECURITY bool "Secure transfer firmware and burn" default n depends on ARTINCHIP_SPIENC config AICUPG_LOG_BUFFER_SUPPORT bool "Support to get log buffer from device" default y endif if AICUPG_LOG_BUFFER_SUPPORT config AICUPG_LOG_BUFFER_ADDR hex "Log buffer start address" default 0x100000 if TARGET_D211 default 0x0 if !TARGET_D211 config AICUPG_LOG_BUFFER_SIZE hex "Log buffer size" default 0x3000 if TARGET_D211 default 0x0 if !TARGET_D211 endif