imximage: Sort bootops alphabetically
authorDirk Behme <dirk.behme@de.bosch.com>
Wed, 11 Jan 2012 23:28:32 +0000 (23:28 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sun, 12 Feb 2012 09:11:25 +0000 (10:11 +0100)
Signed-off-by: Dirk Behme <dirk.behme@de.bosch.com>
CC: Fabio Estevam <festevam@gmail.com>
CC: Stefano Babic <sbabic@denx.de>
CC: Jason Liu <jason.hui@linaro.org>
Acked-by: Jason Liu <jason.hui@linaro.org>
tools/imximage.c

index f3da139578b6fc85e4ffa8d02a053b7780ccc324..1e0f5d4e55eb10f78acbcf9fa4ef177851b7a2a8 100644 (file)
@@ -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",      },
 };