diff mbox

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

Message ID 1326360512-5569-3-git-send-email-dirk.behme@de.bosch.com
State Accepted
Commit bd25864cc7612919cf806f5705fe6a83beec8f8d
Delegated to: Stefano Babic
Headers show

Commit Message

Dirk Behme Jan. 12, 2012, 9:28 a.m. UTC
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>
---
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(-)

Comments

Jason Liu Jan. 16, 2012, 1:55 p.m. UTC | #1
On Thu, Jan 12, 2012 at 5:28 PM, Dirk Behme <dirk.behme@de.bosch.com> wrote:
> 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>
> ---
> 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",      },
>  };

Yes, this looks better.

Acked-by: Jason Liu <jason.hui@linaro.org>

>
> --
> 1.7.0.4
>
Stefano Babic Jan. 17, 2012, 9:32 a.m. UTC | #2
On 12/01/2012 10:28, Dirk Behme wrote:
> 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>
> ---

Applied to u-boot-imx, thanks.

Best regards,
Stefano Babic
diff mbox

Patch

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",	},
 };