From patchwork Wed Nov 14 19:29:16 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leif Lindholm X-Patchwork-Id: 151112 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp6085992ljp; Wed, 14 Nov 2018 11:29:43 -0800 (PST) X-Google-Smtp-Source: AJdET5dTSRGz6YBfZDn51MDWVXImGiQqHQc7EJOSMCtZFKbYCajJwgY2sdCy32hWRj3p2Yg0f5up X-Received: by 2002:ae9:e901:: with SMTP id x1mr2977851qkf.332.1542223783569; Wed, 14 Nov 2018 11:29:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542223783; cv=none; d=google.com; s=arc-20160816; b=LJRsQtlohlkLZ5XTCearObacJ9LgnXClNzXhty4ews8PqW3Z1ZRHy0VW7Zl5aJBefj bDVKqXsLC0UzI7faz4Kep1rqQoRMz+buxNzK8kQAXWOjbJbca153SXHXBV3n5o0MOium CME06sntOCuk4G6Cm+FgYJ6xNsO0j8cE3cSI5iOFdBddS5Cg1+jZNcCWLyLn0kZ8hYtO vjIoQbwLrWpkVtrY+tY2FW8fUZqd0yNsDS4MRodV+NcgBSh7rFDMc6OZmCoOyKUobtFe 7bzjsNz/eRUIS1n3dT4nOFPCW6BMM8CXf4ZlgOhGh3ZTkVPiqnmtIbXax0jCk5FICQk6 d46w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc:reply-to :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:references:in-reply-to:message-id:date:subject :to:from:dkim-signature; bh=XAl6XJa7v7zRVmurY/nnHZbyJd3mGzJWGQ3EJEmXFD8=; b=YWSbjI7uihf3ynQ57/cpG43g5UmDTZw46UaDiQe/cu/vIETYBmHuIb9kz37F1bV5Da K/Aqfuyh3WBD7VX3tWdUUgAIB222+DtDX+g53yP3ZCRji+f97A3PrpKFtShBBUAGOKY1 sl5uI+biFwxrqUe0C8cmsg6LJJPJ28yV/PQcywsf+3HTk/I/s0LwpqKO5fEWQKT/pzDE 7Hu8QmQbow82XtOQIXigWDHOegq3BwGTrxLdy5EFS8z8avd//6IYIqU7Is7Sz/HjJtcN yfBPE4mWN8eMGTp72L0NaghC+vWsJgyaCrADSVsEJAxdQLD8m0Nua2ivAFdAUmUTIb/i 0GLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=IMNlSVn1; spf=pass (google.com: domain of grub-devel-bounces+patch=linaro.org@gnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="grub-devel-bounces+patch=linaro.org@gnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id s24si6146757qta.136.2018.11.14.11.29.43 for (version=TLS1 cipher=AES128-SHA bits=128/128); Wed, 14 Nov 2018 11:29:43 -0800 (PST) Received-SPF: pass (google.com: domain of grub-devel-bounces+patch=linaro.org@gnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=IMNlSVn1; spf=pass (google.com: domain of grub-devel-bounces+patch=linaro.org@gnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="grub-devel-bounces+patch=linaro.org@gnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:33847 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gN0r8-0000js-TC for patch@linaro.org; Wed, 14 Nov 2018 14:29:42 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41173) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gN0qw-0000jW-Ho for grub-devel@gnu.org; Wed, 14 Nov 2018 14:29:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gN0qs-0004rC-94 for grub-devel@gnu.org; Wed, 14 Nov 2018 14:29:30 -0500 Received: from mail-wm1-x342.google.com ([2a00:1450:4864:20::342]:53801) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gN0qs-0004qY-3Y for grub-devel@gnu.org; Wed, 14 Nov 2018 14:29:26 -0500 Received: by mail-wm1-x342.google.com with SMTP id f10-v6so16530128wme.3 for ; Wed, 14 Nov 2018 11:29:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=6KVR067qvb5Booq3gXsoyOTOo5QFqsFGhLnB6NaK+xM=; b=IMNlSVn1mPcHhs1EB5jiZEJwXxUs0n91snogCNbU1fOA3FWuJI0ULt13mQHMnlL6l2 duYyC+3oit65FSfcUUuAU7R3MsVkT9WFAhalDkeoOiB7x+dnoJjCVEmiCbbHZLhO8z1F +iCJk0zQ0Qsviy97++z82HNqJI+8dSHmcep4A= 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; bh=6KVR067qvb5Booq3gXsoyOTOo5QFqsFGhLnB6NaK+xM=; b=S2mJidVYvx9DzCQoTZgVjlGD+kOsna4G6K0wwdLsw3wcVEZ4bls4JQFmGgCYLCm4tu PbYqtO+pHnWsJSgjNR1RVHsZDaGKK15sj+BMORGp9qYW2jtEOww+LwHWU7QZHLRZCC+G PohKpRK18BX/pMI9YvEGLCHdBjryz/HcaHwFldoTBH6Thz9ktHfkq9K87Sbr6I1BNmMa tPQvapewYpXOLY02AUHZvszGdPP4LKeq/9BQifp6+zRJF1AaWRZjL9SKZvKJx7G7TJ74 68BLep3bt0FYytkwS5Fy1pBUPqvB8jmTOw0dYKGYO/OkiQ5wKIYPt4WVs3oAvChDvAgF mgYA== X-Gm-Message-State: AGRZ1gKLaF+PQzwluKWhdTOVrJpB6axNkCkPxY2rJ+3uWwFYO1wW+o2g 8BiKaGIeRRa+DuSPbYAOuYkNOpCQCCqSiA== X-Received: by 2002:a1c:9855:: with SMTP id a82mr1686254wme.20.1542223764366; Wed, 14 Nov 2018 11:29:24 -0800 (PST) Received: from vanye.hemma.eciton.net (cpc92302-cmbg19-2-0-cust304.5-4.cable.virginm.net. [82.1.209.49]) by smtp.gmail.com with ESMTPSA id 127sm6260278wmb.4.2018.11.14.11.29.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 Nov 2018 11:29:23 -0800 (PST) From: Leif Lindholm To: grub-devel@gnu.org Subject: [PATCH 2/5] file.h: add device tree file type Date: Wed, 14 Nov 2018 19:29:16 +0000 Message-Id: <20181114192919.24655-3-leif.lindholm@linaro.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20181114192919.24655-1-leif.lindholm@linaro.org> References: <20181114192919.24655-1-leif.lindholm@linaro.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::342 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: The development of GNU GRUB Cc: dkiper@net-space.pl MIME-Version: 1.0 Errors-To: grub-devel-bounces+patch=linaro.org@gnu.org Sender: "Grub-devel" The api change of grub_file_open for adding verifiers did not include a type for device tree blobs. Add GRUB_FILE_TYPE_DEVICE_TREE_IMAGE to the grub_file_type enum. Signed-off-by: Leif Lindholm --- include/grub/file.h | 2 ++ 1 file changed, 2 insertions(+) -- 2.11.0 _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel diff --git a/include/grub/file.h b/include/grub/file.h index 19dda67f6..9aae46355 100644 --- a/include/grub/file.h +++ b/include/grub/file.h @@ -69,6 +69,8 @@ enum grub_file_type GRUB_FILE_TYPE_EFI_CHAINLOADED_IMAGE, + GRUB_FILE_TYPE_DEVICE_TREE_IMAGE, + /* File holding signature. */ GRUB_FILE_TYPE_SIGNATURE, /* File holding public key to verify signature once. */