From patchwork Wed Sep 13 22:05:24 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Clark X-Patchwork-Id: 813637 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="tyqY7LEP"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3xswkY3WRkz9sNw for ; Thu, 14 Sep 2017 08:07:17 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id EAAA0C225E2; Wed, 13 Sep 2017 22:06:11 +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 2B2B3C2250A; Wed, 13 Sep 2017 22:06:06 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 91FC4C22534; Wed, 13 Sep 2017 22:05:57 +0000 (UTC) Received: from mail-qt0-f194.google.com (mail-qt0-f194.google.com [209.85.216.194]) by lists.denx.de (Postfix) with ESMTPS id 16273C223DA for ; Wed, 13 Sep 2017 22:05:54 +0000 (UTC) Received: by mail-qt0-f194.google.com with SMTP id b1so955243qtc.0 for ; Wed, 13 Sep 2017 15:05:54 -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=tyqY7LEPxEDYuZqlY8P4V59dHn8cxJrMqVD+L1MI9Oazg4g9GMhNP7ZMK/PPutVfic A387l/PaQURAIynYP2oLUCh51yUVzs/k+NVeq2QVUP4NkzNKiqKcMEIbORpq/yKpck5R LVmwQ67k1DwPJ234IAR4NDSZkYnUyEoiP8/LAYTV9lnV9hZOeNNwZeg0DZTAel2gOv15 O0kxniHPzkltTDrO9x79ziL+AJj+Fka67Q9H5MbuG3d6WtwisUzFdoLOHatquBVy8JTm nIXzFsv3DsVmqjbBNnNdfb+DDVsc/TI59txzJ+etr3gVGW9Esj1IJ8L8FoCPmxeoca7W HOkw== 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=JcUKABbXhYDGpiFgb6UM5U96LGQmCTQ/38PD/zXeVt8N7yU20DrZPWgZyvdalIIqMH hj+69l3ddhuPlKAhAIRNrDLGHDVrCPkHxSkrmmzlHRGs7m9KvNi6b/N/08hsui8KXC39 DpXn7enyfrAvXWdDXSE7/XaUCx8C4/8XR8StY5hEQuvd9qAiiISjXPPMEjWvLAGZiruJ 7od8Al5DFUWsPtaSy94UTQfAUwB4gGYjaNvZo98qb6Z6ayHryKDGrmc6tebtC5HeBCue 1Tzt8KcUqEY+3p0P4LYAB4Ev8JmQXVDYZS5Xpm/lQtmnr+PRdEtmJYlkz1WLPHwu1NFe VEvg== X-Gm-Message-State: AHPjjUiKtHmu2syb47F16pR70q/vYhbLt+JVGXnR3DOXcDzSdbP8x2bC wmf5uMQE4p/iW9m21R8= X-Google-Smtp-Source: AOwi7QAI4ZXPFuTi2BNELdf6Yv/V5E4wY0fsGNcIIEwmw3DUL2zKYMByqLRtkKHcNC3krGhdKkSdAw== X-Received: by 10.200.52.232 with SMTP id x37mr29035974qtb.85.1505340352791; Wed, 13 Sep 2017 15:05:52 -0700 (PDT) Received: from localhost ([2601:184:4780:aac0:25f8:dd96:a084:785a]) by smtp.gmail.com with ESMTPSA id h58sm10265626qta.82.2017.09.13.15.05.51 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 13 Sep 2017 15:05:51 -0700 (PDT) From: Rob Clark To: U-Boot Mailing List Date: Wed, 13 Sep 2017 18:05:24 -0400 Message-Id: <20170913220546.19560-2-robdclark@gmail.com> X-Mailer: git-send-email 2.13.5 In-Reply-To: <20170913220546.19560-1-robdclark@gmail.com> References: <20170913220546.19560-1-robdclark@gmail.com> Cc: Petr Kulhavy , Heinrich Schuchardt , Alison Chaiken , Steve Rae , Maxime Ripard Subject: [U-Boot] [PATCH v3 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 Reviewed-by: Heinrich Schuchardt --- 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 */