Message ID | 20190708191856.138863-3-sjg@chromium.org |
---|---|
State | Accepted |
Commit | 08b7bc3c3afd20b9fc62dd356c0e961e6dba5f26 |
Delegated to: | Simon Glass |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> 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=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="Bn0lYU7A"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 45jFfr6Tw4z9sDB for <incoming@patchwork.ozlabs.org>; Tue, 9 Jul 2019 05:21:08 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 57D4CC21DD9; Mon, 8 Jul 2019 19:21:05 +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=RCVD_IN_MSPIKE_H2, 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 0777DC21C51; Mon, 8 Jul 2019 19:21:04 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 9F640C21C4A; Mon, 8 Jul 2019 19:21:02 +0000 (UTC) Received: from mail-io1-f68.google.com (mail-io1-f68.google.com [209.85.166.68]) by lists.denx.de (Postfix) with ESMTPS id 1BB5BC21BE5 for <u-boot@lists.denx.de>; Mon, 8 Jul 2019 19:21:02 +0000 (UTC) Received: by mail-io1-f68.google.com with SMTP id u19so37798488ior.9 for <u-boot@lists.denx.de>; Mon, 08 Jul 2019 12:21:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=64cJsR3lvwB6FMFI66yDV0/b/TpejNatThLhX1P7tvE=; b=Bn0lYU7A7hrT8UDweJ9nkLVPapsRudeiy1/rkaeXhSxMK3GDsWcrqAHSLzErnsHUXG b2Hlyi4XbI3gYbm7G+piBG89y9cAI31IsfjyiuTmq+XY6pCXL+tnyQVxMBTNTpQyzx6H nMJs1QkSkqDQugjVJKQPrgQJOb8GXOrJFfoW0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=64cJsR3lvwB6FMFI66yDV0/b/TpejNatThLhX1P7tvE=; b=PqFjnOu9W6gdO6sj82lwBCt2PflTEF2QMCybbvdLu2A+G3II6UJUJscnk1IzzEfjJz L6hZFTnNloe/rcENw9PSIT7I4ixn5AxJjpsuzHRrA2FbruE5hfoCPPFQvT1vwTWFX0fi twtW9Gwc58kh9XWHefR1buaQNGXS51sce3U9w8PcenxalAl7sQT4G/6WGxOzov0x0O/z D7R+yZkAFTdV5LInepGeLbJih5NKnfTHyuoha0jVhKxXWNNTsj9DmrK9LN6yVeZAqiMs T5IKP26ThrDpyr6TrRSWOv9BsqGOMvboFQraMXKXGOKgxEwB92oZ1P6qkQ2Z2RWHJ1J6 26ww== X-Gm-Message-State: APjAAAWevenSZat+hlOz1U2icexm2fx1NU2YRp4OwHWNuyT40Tfm+L1T R93Aev69BV0/pcuFQKQyKGJ0/lTGYd0= X-Google-Smtp-Source: APXvYqx3uWXGr6MrjiORwS3f2Z/iIHNOI33rgkehS8O1R4d2IyLEmQKCl6nzjzmSb6eooxp6o8QPew== X-Received: by 2002:a6b:7b01:: with SMTP id l1mr5533182iop.60.1562613660804; Mon, 08 Jul 2019 12:21:00 -0700 (PDT) Received: from kiwi.bld.corp.google.com ([2620:15c:183:0:8223:87c:a681:66aa]) by smtp.gmail.com with ESMTPSA id j1sm15545094iop.14.2019.07.08.12.21.00 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 08 Jul 2019 12:21:00 -0700 (PDT) From: Simon Glass <sjg@chromium.org> To: U-Boot Mailing List <u-boot@lists.denx.de> Date: Mon, 8 Jul 2019 13:18:21 -0600 Message-Id: <20190708191856.138863-3-sjg@chromium.org> X-Mailer: git-send-email 2.22.0.410.gd8fdbe21b5-goog In-Reply-To: <20190708191856.138863-1-sjg@chromium.org> References: <20190708191856.138863-1-sjg@chromium.org> MIME-Version: 1.0 Cc: Stefan Reinauer <reinauer@chromium.org> Subject: [U-Boot] [PATCH v2 02/37] cbfs: Add an enum and comment for the magic number X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <http://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> |
Series |
binman: Add CBFS support
|
expand
|
diff --git a/include/cbfs.h b/include/cbfs.h index bd1bf75bbfc..f2ede25f517 100644 --- a/include/cbfs.h +++ b/include/cbfs.h @@ -40,6 +40,17 @@ enum cbfs_filetype { CBFS_TYPE_CMOS_LAYOUT = 0x01aa }; +enum { + CBFS_HEADER_MAGIC = 0x4f524243, +}; + +/** + * struct cbfs_header - header at the start of a CBFS region + * + * All fields use big-endian format. + * + * @magic: Magic number (CBFS_HEADER_MAGIC) + */ struct cbfs_header { u32 magic; u32 version;
This field is not commented in the original file. Add a comment. Signed-off-by: Simon Glass <sjg@chromium.org> --- Changes in v2: None include/cbfs.h | 11 +++++++++++ 1 file changed, 11 insertions(+)