[U-Boot] [PATCH 3/3] imximage: Sort bootops alphabetically

Dirk Behme dirk.behme at de.bosch.com
Thu Jan 12 10:28:32 CET 2012


Signed-off-by: Dirk Behme <dirk.behme at de.bosch.com>
CC: Fabio Estevam <festevam at gmail.com>
CC: Stefano Babic <sbabic at denx.de>
CC: Jason Liu <jason.hui at linaro.org>
---
Note: This was requested by Wolfgang in
      http://www.mail-archive.com/u-boot@lists.denx.de/msg71842.html

 tools/imximage.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/tools/imximage.c b/tools/imximage.c
index f3da139..1e0f5d4 100644
--- a/tools/imximage.c
+++ b/tools/imximage.c
@@ -47,12 +47,12 @@ static table_entry_t imximage_cmds[] = {
  * this is needed to set the correct flash offset
  */
 static table_entry_t imximage_bootops[] = {
-	{FLASH_OFFSET_SPI,	"spi",		"SPI Flash",	},
-	{FLASH_OFFSET_NAND,	"nand",		"NAND Flash",	},
-	{FLASH_OFFSET_SD,	"sd",		"SD Card",	},
 	{FLASH_OFFSET_ONENAND,	"onenand",	"OneNAND Flash",},
+	{FLASH_OFFSET_NAND,	"nand",		"NAND Flash",	},
 	{FLASH_OFFSET_NOR,	"nor",		"NOR Flash",	},
 	{FLASH_OFFSET_SATA,	"sata",		"SATA Disk",	},
+	{FLASH_OFFSET_SD,	"sd",		"SD Card",	},
+	{FLASH_OFFSET_SPI,	"spi",		"SPI Flash",	},
 	{-1,			"",		"Invalid",	},
 };
 
-- 
1.7.0.4



More information about the U-Boot mailing list