From patchwork Sat Nov 19 05:21:31 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Kristiansson X-Patchwork-Id: 126520 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 B7BD9B7235 for ; Sat, 19 Nov 2011 16:24:37 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 9862A2896F; Sat, 19 Nov 2011 06:24:32 +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 gJ1Xrx1KA4ZZ; Sat, 19 Nov 2011 06:24:32 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 52EEB2898B; Sat, 19 Nov 2011 06:24:17 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 68214289E9 for ; Sat, 19 Nov 2011 06:24:15 +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 2ddTZPiuyphZ for ; Sat, 19 Nov 2011 06:24:14 +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 smtp-68.nebula.fi (smtp-68.nebula.fi [83.145.220.68]) by theia.denx.de (Postfix) with ESMTPS id A9B0E2898B for ; Sat, 19 Nov 2011 06:24:02 +0100 (CET) Received: from wonka.TeleWell.gateway (nblzone-224-141.nblnetworks.fi [83.145.224.141]) by smtp-68.nebula.fi (Postfix) with ESMTP id 0C6F143F04C8; Sat, 19 Nov 2011 07:24:01 +0200 (EET) From: Stefan Kristiansson To: u-boot@lists.denx.de Date: Sat, 19 Nov 2011 07:21:31 +0200 Message-Id: <1321680098-31121-3-git-send-email-stefan.kristiansson@saunalahti.fi> X-Mailer: git-send-email 1.7.5.4 In-Reply-To: <1321680098-31121-1-git-send-email-stefan.kristiansson@saunalahti.fi> References: <1321680098-31121-1-git-send-email-stefan.kristiansson@saunalahti.fi> Subject: [U-Boot] [PATCH 2/9] openrisc: Add architecture image support 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: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de Signed-off-by: Stefan Kristiansson --- common/image.c | 1 + include/image.h | 1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/common/image.c b/common/image.c index 555d9d9..564dee1 100644 --- a/common/image.c +++ b/common/image.c @@ -94,6 +94,7 @@ static const table_entry_t uimage_arch[] = { { IH_ARCH_BLACKFIN, "blackfin", "Blackfin", }, { IH_ARCH_AVR32, "avr32", "AVR32", }, { IH_ARCH_NDS32, "nds32", "NDS32", }, + { IH_ARCH_OPENRISC, "or1k", "OpenRISC 1000",}, { -1, "", "", }, }; diff --git a/include/image.h b/include/image.h index c56a18d..dffa3cd 100644 --- a/include/image.h +++ b/include/image.h @@ -108,6 +108,7 @@ #define IH_ARCH_ST200 18 /* STMicroelectronics ST200 */ #define IH_ARCH_SANDBOX 19 /* Sandbox architecture (test only) */ #define IH_ARCH_NDS32 19 /* ANDES Technology - NDS32 */ +#define IH_ARCH_OPENRISC 21 /* OpenRISC 1000 */ /* * Image Types