mvebu: support UART boot image
authorBaruch Siach <baruch@tkos.co.il>
Mon, 18 Jun 2018 18:56:26 +0000 (21:56 +0300)
committerStefan Roese <sr@denx.de>
Mon, 6 Aug 2018 12:07:23 +0000 (14:07 +0200)
The kwboot utility can use the generated image to boot mvebu SoCs from
UART.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Stefan Roese <sr@denx.de>
arch/arm/mach-mvebu/Kconfig
arch/arm/mach-mvebu/Makefile

index e1b70c54fca4a74e36a82e470b26dbead242c462..d1f71338ac2a015a961f15e179912f4b0d4503d4 100644 (file)
@@ -193,6 +193,9 @@ config MVEBU_SPL_BOOT_DEVICE_MMC
        bool "SDIO/MMC card"
        select SPL_LIBDISK_SUPPORT
 
+config MVEBU_SPL_BOOT_DEVICE_UART
+       bool "UART"
+
 endchoice
 
 config MVEBU_EFUSE
index d907fac3752d449028316c74f72fd17dff99849c..ee2eca91348483fbd0f81ee990ae211ddb8ffd4c 100644 (file)
@@ -35,6 +35,9 @@ endif
 ifneq ($(CONFIG_MVEBU_SPL_BOOT_DEVICE_MMC),)
        KWB_CFG_BOOT_FROM=sdio
 endif
+ifneq ($(CONFIG_MVEBU_SPL_BOOT_DEVICE_UART),)
+       KWB_CFG_BOOT_FROM=uart
+endif
 
 ifneq ($(CONFIG_SECURED_MODE_IMAGE),)
 KWB_REPLACE += CSK_INDEX