From: Stefan Roese <sr@denx.de>
Date: Mon, 20 Jul 2015 09:20:37 +0000 (+0200)
Subject: kwbimage: Add support for SDIO/MMC boot device selection
X-Git-Tag: v2025.01-rc5-pxa1908~12489
X-Git-Url: http://git.dujemihanovic.xyz/img/static/html/index.html?a=commitdiff_plain;h=1bbe63c3f2b88cbe07c62c801d648d1d82b09d2e;p=u-boot.git

kwbimage: Add support for SDIO/MMC boot device selection

This patch adds support to select the "sdio" as boot device in the
kwbimage.cfg file. This line selects this SDIO device:

BOOT_FROM  sdio

Tested on Marvell DB-88F6820-GP board.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Luka Perkov <luka.perkov@sartura.hr>
Cc: Dirk Eibach <eibach@gdsys.de>
---

diff --git a/tools/kwbimage.c b/tools/kwbimage.c
index 1ff17cab26..91e0990ad6 100644
--- a/tools/kwbimage.c
+++ b/tools/kwbimage.c
@@ -115,6 +115,7 @@ struct boot_mode boot_modes[] = {
 	{ 0x78, "sata" },
 	{ 0x9C, "pex"  },
 	{ 0x69, "uart" },
+	{ 0xAE, "sdio" },
 	{},
 };