From patchwork Fri Aug 2 13:07:19 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Patrick DELAUNAY X-Patchwork-Id: 1141199 X-Patchwork-Delegate: patrick.delaunay73@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=st.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=st.com header.i=@st.com header.b="qw3fV3HK"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 460SF32pJFz9sBF for ; Fri, 2 Aug 2019 23:09:59 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 0CA09C21E8A; Fri, 2 Aug 2019 13:08:29 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 43C99C21ED6; Fri, 2 Aug 2019 13:07:57 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 496E3C21E1A; Fri, 2 Aug 2019 13:07:55 +0000 (UTC) Received: from mx07-00178001.pphosted.com (mx08-00178001.pphosted.com [91.207.212.93]) by lists.denx.de (Postfix) with ESMTPS id 0A554C21C2C for ; Fri, 2 Aug 2019 13:07:55 +0000 (UTC) Received: from pps.filterd (m0046660.ppops.net [127.0.0.1]) by mx08-00178001.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x72D3QYY012599; Fri, 2 Aug 2019 15:07:50 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=STMicroelectronics; bh=lk4z3VSeQQYrfdaU2sZivJA0yhcLehKOBThiL7Tl4E0=; b=qw3fV3HKb1q2EubwlBpch6/vtJDiHX9UycReNKg52GIXAaB4WVgsAi2xpicZXMCdNdtI BIvfyNN3mfHcIQBokc3stRUXsWk8YW19W9crFd/0vdA8c3Fc+egMMGPyCsA7Hv53Oz4a xqayLReUv2tKjyGjuchZrs4TLyHdC3RqSZBaedjQRvUqAcbxMX1VjaFEJnEhL8l+WwzI 64lifjvRPnlveckxltwRZADJmqxirBs4j7+iUk+V1TPgbe/FIONq0nHKVSAV1bE206wS vRODmBFEldKrETzVnrlxKmsQrdrmzCq4A0BHHMAM1fcwlqngGbNjQ3mPI+CjsbeWfxJC 7g== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2u0braga05-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 02 Aug 2019 15:07:50 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 7F76242; Fri, 2 Aug 2019 13:07:48 +0000 (GMT) Received: from Webmail-eu.st.com (Safex1hubcas24.st.com [10.75.90.94]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 65C762C35C1; Fri, 2 Aug 2019 15:07:48 +0200 (CEST) Received: from SAFEX1HUBCAS22.st.com (10.75.90.93) by Safex1hubcas24.st.com (10.75.90.94) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 2 Aug 2019 15:07:48 +0200 Received: from localhost (10.201.23.85) by Webmail-ga.st.com (10.75.90.48) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 2 Aug 2019 15:07:47 +0200 From: Patrick Delaunay To: Date: Fri, 2 Aug 2019 15:07:19 +0200 Message-ID: <1564751242-683-3-git-send-email-patrick.delaunay@st.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1564751242-683-1-git-send-email-patrick.delaunay@st.com> References: <1564751242-683-1-git-send-email-patrick.delaunay@st.com> MIME-Version: 1.0 X-Originating-IP: [10.201.23.85] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-08-02_06:, , signatures=0 Cc: Ryder Lee , Loic PALLARDY , Tien Fong Chee , Fabien Dessenne , U-Boot STM32 , Julius Werner , Eugeniu Rosca , Chris Packham Subject: [U-Boot] [PATCH 2/5] image: add new "copro" image type X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Define new image type for coprocessor images. It is used in FIT to identify the files loaded with remoteproc command (elf or bin). Signed-off-by: Loic Pallardy Signed-off-by: Patrick Delaunay Reviewed-by: Simon Glass --- common/image.c | 1 + include/image.h | 1 + 2 files changed, 2 insertions(+) diff --git a/common/image.c b/common/image.c index 4958831..f65c3e9 100644 --- a/common/image.c +++ b/common/image.c @@ -174,6 +174,7 @@ static const table_entry_t uimage_type[] = { { IH_TYPE_PMMC, "pmmc", "TI Power Management Micro-Controller Firmware",}, { IH_TYPE_STM32IMAGE, "stm32image", "STMicroelectronics STM32 Image" }, { IH_TYPE_MTKIMAGE, "mtk_image", "MediaTek BootROM loadable Image" }, + { IH_TYPE_COPRO, "copro", "Coprocessor Image"}, { -1, "", "", }, }; diff --git a/include/image.h b/include/image.h index 27d7cb9..64a694f 100644 --- a/include/image.h +++ b/include/image.h @@ -283,6 +283,7 @@ enum { IH_TYPE_MTKIMAGE, /* MediaTek BootROM loadable Image */ IH_TYPE_IMX8MIMAGE, /* Freescale IMX8MBoot Image */ IH_TYPE_IMX8IMAGE, /* Freescale IMX8Boot Image */ + IH_TYPE_COPRO, /* Coprocessor Image for remoteproc*/ IH_TYPE_COUNT, /* Number of image types */ };