mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-26 06:30:39 +00:00
37e3a36a54
This patch basically adds two new commands for loadig secure images. 1. zynq rsa adds support to load secure image which can be both authenticated or encrypted or both authenticated and encrypted image in xilinx bootimage(BOOT.bin) format. 2. zynq aes command adds support to decrypt and load encrypted image back to DDR as per destination address. The image has to be encrypted using xilinx bootgen tool and to get only the encrypted image from tool use -split option while invoking bootgen. Signed-off-by: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
63 lines
1.7 KiB
Text
63 lines
1.7 KiB
Text
CONFIG_ARM=y
|
|
CONFIG_SYS_CONFIG_NAME="zynq_cse"
|
|
CONFIG_ARCH_ZYNQ=y
|
|
CONFIG_SYS_TEXT_BASE=0xFFFC0000
|
|
CONFIG_SPL=y
|
|
CONFIG_DEBUG_UART_BASE=0x0
|
|
CONFIG_DEBUG_UART_CLOCK=0
|
|
CONFIG_SPL_STACK_R_ADDR=0x200000
|
|
# CONFIG_ZYNQ_DDRC_INIT is not set
|
|
# CONFIG_CMD_ZYNQ is not set
|
|
CONFIG_DEFAULT_DEVICE_TREE="zynq-cse-qspi-single"
|
|
CONFIG_DEBUG_UART=y
|
|
CONFIG_DISTRO_DEFAULTS=y
|
|
# CONFIG_ARCH_FIXUP_FDT_MEMORY is not set
|
|
CONFIG_BOOTDELAY=-1
|
|
# CONFIG_USE_BOOTCOMMAND is not set
|
|
# CONFIG_DISPLAY_CPUINFO is not set
|
|
# CONFIG_ARCH_EARLY_INIT_R is not set
|
|
CONFIG_SPL_STACK_R=y
|
|
CONFIG_SPL_SPI_LOAD=y
|
|
CONFIG_SYS_PROMPT="Zynq> "
|
|
# CONFIG_CMD_BDI is not set
|
|
# CONFIG_CMD_CONSOLE is not set
|
|
# CONFIG_CMD_BOOTD is not set
|
|
# CONFIG_CMD_BOOTM is not set
|
|
# CONFIG_CMD_ELF is not set
|
|
# CONFIG_CMD_GO is not set
|
|
# CONFIG_CMD_RUN is not set
|
|
# CONFIG_CMD_IMI is not set
|
|
# CONFIG_CMD_XIMG is not set
|
|
# CONFIG_CMD_SPL is not set
|
|
# CONFIG_CMD_EXPORTENV is not set
|
|
# CONFIG_CMD_IMPORTENV is not set
|
|
# CONFIG_CMD_EDITENV is not set
|
|
# CONFIG_CMD_SAVEENV is not set
|
|
# CONFIG_CMD_CRC32 is not set
|
|
# CONFIG_CMD_CLK is not set
|
|
# CONFIG_CMD_DM is not set
|
|
# CONFIG_CMD_FLASH is not set
|
|
# CONFIG_CMD_LOADB is not set
|
|
# CONFIG_CMD_LOADS is not set
|
|
CONFIG_CMD_SF=y
|
|
# CONFIG_CMD_ECHO is not set
|
|
# CONFIG_CMD_ITEST is not set
|
|
# CONFIG_CMD_SOURCE is not set
|
|
# CONFIG_CMD_SETEXPR is not set
|
|
# CONFIG_CMD_MISC is not set
|
|
# CONFIG_PARTITIONS is not set
|
|
CONFIG_OF_EMBED=y
|
|
# CONFIG_NET is not set
|
|
# CONFIG_DM_WARN is not set
|
|
# CONFIG_DM_DEVICE_REMOVE is not set
|
|
CONFIG_SPL_DM_SEQ_ALIAS=y
|
|
# CONFIG_MMC is not set
|
|
CONFIG_SPI_FLASH=y
|
|
CONFIG_SPI_FLASH_BAR=y
|
|
CONFIG_SPI_FLASH_MACRONIX=y
|
|
CONFIG_SPI_FLASH_SPANSION=y
|
|
CONFIG_SPI_FLASH_STMICRO=y
|
|
CONFIG_SPI_FLASH_WINBOND=y
|
|
CONFIG_DEBUG_UART_ARM_DCC=y
|
|
CONFIG_ZYNQ_QSPI=y
|
|
# CONFIG_EFI_LOADER is not set
|