aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-mvebu
diff options
context:
space:
mode:
authorBaruch Siach <baruch@tkos.co.il>2018-06-18 21:56:26 +0300
committerStefan Roese <sr@denx.de>2018-08-06 14:07:23 +0200
commit72c4e67d08fe2389754b4ce874d76b1bbd9fef24 (patch)
treea2eb2e640608ac6bc814ed703de5e084ff87e6a2 /arch/arm/mach-mvebu
parentca1a4c863232ddc6bc2463569dedfefe992ff418 (diff)
downloadu-boot-72c4e67d08fe2389754b4ce874d76b1bbd9fef24.zip
u-boot-72c4e67d08fe2389754b4ce874d76b1bbd9fef24.tar.gz
u-boot-72c4e67d08fe2389754b4ce874d76b1bbd9fef24.tar.bz2
mvebu: support UART boot image
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>
Diffstat (limited to 'arch/arm/mach-mvebu')
-rw-r--r--arch/arm/mach-mvebu/Kconfig3
-rw-r--r--arch/arm/mach-mvebu/Makefile3
2 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-mvebu/Kconfig b/arch/arm/mach-mvebu/Kconfig
index e1b70c5..d1f7133 100644
--- a/arch/arm/mach-mvebu/Kconfig
+++ b/arch/arm/mach-mvebu/Kconfig
@@ -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
diff --git a/arch/arm/mach-mvebu/Makefile b/arch/arm/mach-mvebu/Makefile
index d907fac..ee2eca9 100644
--- a/arch/arm/mach-mvebu/Makefile
+++ b/arch/arm/mach-mvebu/Makefile
@@ -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