From patchwork Sun Sep 10 11:21:19 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Clark X-Patchwork-Id: 812096 X-Patchwork-Delegate: agraf@suse.de 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; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="OxtH22QM"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3xqpZm5sDFz9sDB for ; Sun, 10 Sep 2017 21:23:11 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 4FE3AC21E55; Sun, 10 Sep 2017 11:22:22 +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=FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, 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 4C9A9C21E97; Sun, 10 Sep 2017 11:22:20 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id D42F1C21DBD; Sun, 10 Sep 2017 11:22:12 +0000 (UTC) Received: from mail-qt0-f195.google.com (mail-qt0-f195.google.com [209.85.216.195]) by lists.denx.de (Postfix) with ESMTPS id C7CF3C21C39 for ; Sun, 10 Sep 2017 11:22:08 +0000 (UTC) Received: by mail-qt0-f195.google.com with SMTP id k2so4079721qte.5 for ; Sun, 10 Sep 2017 04:22:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=C8brqXExN7NxaVnn/oz5yvzer5LRFsZ1dCKpKCuxfPE=; b=OxtH22QMXFmmnsCUMjTO1s3UFqnde641ZYCx+TEKbCbNNHuNofzZvuVWIss/JGf2MZ Hj5cN3Rqn6WYQ9uvXx7PooF+GBsablV5sWCy1vJg94jBUU5JMqJhtQqOrabDwHZug/w3 MCOYSiPxchs1gz5/SfsTpoDdiXsuGgJOlp38n3HNYJ8tQGx7W3IXX2ed0lfcujtG7h8G Wb5jJPYvhQ7iSdQ093MppHKBdUUl8/1iAWO5VEMp6+xfWydX7hmqHFLYXl88tFZQBnxn z/O+fBRETEwnsO3aKHPbzT5HevPQh7hpfaxAy/0oki9Op9T2Bb1q832iQQYgg7r1PV/a sYPw== 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=C8brqXExN7NxaVnn/oz5yvzer5LRFsZ1dCKpKCuxfPE=; b=Dem4YyrKzCA6ABV1t2R2ZXcC9wnfCpKJ1G3WEXkmZfQtl2jJUUjC3818MQRJENn2F6 ABtjgFaNq8eVmh/AdyJ9TfCu0jjA8RML1Dk3FFXzN9y793znzmWZ+ykcHftiU9UU+/AM 87oUX2rAU2pRQ+yjngIGExDsDbCckeJTruZnI3mFsyEWfDU+/52oTPQa2B8s1qsImTtn ThFaZ7KcEhHnzdX2bUR8VgpRQICAjIAvvBZXJFebf5LzRAnZxBMuVx531x8IM2hT8+8B ksY4rZEM63nB2ZD2BVTj1uicVL6vXcayyUk0oOSsc6uDSg7R2AzC/w8sgjqXMRbtSQ+B wQEA== X-Gm-Message-State: AHPjjUi4ZyFRMIL2m8B3xq4+r9sYwydOjHJ0A8IQXkUXLbTuhMY0bgjT kGwRLboUtAdxYc3eT+o= X-Google-Smtp-Source: AOwi7QAMofl65zLW7N1QwwA82gBkLgH+L420pzjDodxjErsr/WWq59kaAwTOapJSyF9AoiikwNTwHg== X-Received: by 10.200.8.225 with SMTP id y30mr11565952qth.239.1505042527390; Sun, 10 Sep 2017 04:22:07 -0700 (PDT) Received: from localhost ([2601:184:4780:aac0:25f8:dd96:a084:785a]) by smtp.gmail.com with ESMTPSA id c7sm471997qtg.30.2017.09.10.04.22.06 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 10 Sep 2017 04:22:06 -0700 (PDT) From: Rob Clark To: U-Boot Mailing List Date: Sun, 10 Sep 2017 07:21:19 -0400 Message-Id: <20170910112149.21358-3-robdclark@gmail.com> X-Mailer: git-send-email 2.13.5 In-Reply-To: <20170910112149.21358-1-robdclark@gmail.com> References: <20170910112149.21358-1-robdclark@gmail.com> Cc: Petr Kulhavy , Heinrich Schuchardt , Alison Chaiken , Steve Rae , Maxime Ripard Subject: [U-Boot] [PATCH v2 01/21] part: move efi_guid_t 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: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Prep work for next patch. Signed-off-by: Rob Clark Acked-by: Heinrich Schuchardt Reviewed-by: Simon Glass --- include/efi.h | 4 ++++ include/part.h | 3 ++- include/part_efi.h | 4 ---- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/include/efi.h b/include/efi.h index 02b78b31b1..87b0b43f20 100644 --- a/include/efi.h +++ b/include/efi.h @@ -28,6 +28,10 @@ struct efi_device_path; +typedef struct { + u8 b[16]; +} efi_guid_t; + #define EFI_BITS_PER_LONG BITS_PER_LONG /* diff --git a/include/part.h b/include/part.h index 86117a7ce5..b2e820ef8a 100644 --- a/include/part.h +++ b/include/part.h @@ -280,8 +280,9 @@ struct part_driver { #define U_BOOT_PART_TYPE(__name) \ ll_entry_declare(struct part_driver, __name, part_driver) -#if CONFIG_IS_ENABLED(EFI_PARTITION) #include + +#if CONFIG_IS_ENABLED(EFI_PARTITION) /* disk/part_efi.c */ /** * write_gpt_table() - Write the GUID Partition Table to disk diff --git a/include/part_efi.h b/include/part_efi.h index 317c044795..31e6bc6e14 100644 --- a/include/part_efi.h +++ b/include/part_efi.h @@ -58,10 +58,6 @@ /* linux/include/efi.h */ typedef u16 efi_char16_t; -typedef struct { - u8 b[16]; -} efi_guid_t; - /* based on linux/include/genhd.h */ struct partition { u8 boot_ind; /* 0x80 - active */