From patchwork Thu Jan 12 09:28:32 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dirk Behme X-Patchwork-Id: 135600 X-Patchwork-Delegate: sbabic@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 6A730B6EF7 for ; Thu, 12 Jan 2012 20:28:51 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id A506E28655; Thu, 12 Jan 2012 10:28:49 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NKelLajZ+oTN; Thu, 12 Jan 2012 10:28:49 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 47F9E2865F; Thu, 12 Jan 2012 10:28:48 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id AA3A92865F for ; Thu, 12 Jan 2012 10:28:46 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bHHJYYxRyGFD for ; Thu, 12 Jan 2012 10:28:46 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from smtp2-v.fe.bosch.de (smtp2-v.fe.bosch.de [139.15.237.6]) by theia.denx.de (Postfix) with ESMTPS id E9C4E28655 for ; Thu, 12 Jan 2012 10:28:44 +0100 (CET) Received: from vsmta13.fe.internet.bosch.com (unknown [10.4.98.30]) by imta23.fe.bosch.de (Postfix) with ESMTP id 09819582080A for ; Thu, 12 Jan 2012 10:28:44 +0100 (CET) Received: from localhost (vsgw3.fe.internet.bosch.com [10.4.98.16]) by vsmta13.fe.internet.bosch.com (Postfix) with SMTP id 07CBB5CA0414 for ; Thu, 12 Jan 2012 10:28:44 +0100 (CET) Received: from FE-HUB1001.de.bosch.com (10.4.103.109) by si-hub05.de.bosch.com (10.3.153.47) with Microsoft SMTP Server (TLS) id 8.3.213.0; Thu, 12 Jan 2012 10:28:42 +0100 Received: from hi-z5661.hi.de.bosch.com (10.34.217.179) by FE-HUB1001.de.bosch.com (10.4.103.109) with Microsoft SMTP Server id 14.1.355.2; Thu, 12 Jan 2012 10:28:40 +0100 Received: from localhost.localdomain (localhost [127.0.0.1]) by hi-z5661.hi.de.bosch.com (Postfix) with ESMTP id C7C804003C; Thu, 12 Jan 2012 10:28:40 +0100 (CET) From: Dirk Behme To: Date: Thu, 12 Jan 2012 10:28:32 +0100 Message-ID: <1326360512-5569-3-git-send-email-dirk.behme@de.bosch.com> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: <1326360512-5569-1-git-send-email-dirk.behme@de.bosch.com> References: <1326360512-5569-1-git-send-email-dirk.behme@de.bosch.com> MIME-Version: 1.0 Cc: Jason Liu , Dirk Behme Subject: [U-Boot] [PATCH 3/3] imximage: Sort bootops alphabetically X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de Signed-off-by: Dirk Behme CC: Fabio Estevam CC: Stefano Babic CC: Jason Liu Acked-by: Jason Liu --- 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", }, };