From patchwork Wed Aug 23 14:06:55 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 805013 X-Patchwork-Delegate: jagannadh.teki@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=) Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3xcq4k2mJtz9ryv for ; Thu, 24 Aug 2017 00:07:34 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 0F1E1C21DF7; Wed, 23 Aug 2017 14:07:27 +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=none 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 A54BEC21DE1; Wed, 23 Aug 2017 14:07:24 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 2B626C21E31; Wed, 23 Aug 2017 14:07:09 +0000 (UTC) Received: from mail.free-electrons.com (mail.free-electrons.com [62.4.15.54]) by lists.denx.de (Postfix) with ESMTP id F1E8CC21C35 for ; Wed, 23 Aug 2017 14:07:08 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 110) id F283C20A57; Wed, 23 Aug 2017 16:07:07 +0200 (CEST) Received: from localhost (LStLambert-657-1-97-87.w90-63.abo.wanadoo.fr [90.63.216.87]) by mail.free-electrons.com (Postfix) with ESMTPSA id CAE5B209CB; Wed, 23 Aug 2017 16:06:57 +0200 (CEST) From: Maxime Ripard To: Jagan Teki Date: Wed, 23 Aug 2017 16:06:55 +0200 Message-Id: <20170823140655.3899-1-maxime.ripard@free-electrons.com> X-Mailer: git-send-email 2.13.5 Cc: u-boot@lists.denx.de, Maxime Ripard Subject: [U-Boot] [PATCH] sunxi: Enable random UUIDs when GPT is enabled 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" We can create GPT partitions without a UUID, but we need to have RANDOM_UUID enabled to do that. Enable it. Signed-off-by: Maxime Ripard --- include/configs/sunxi-common.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h index 07c7ffd7f204..75bf668ecdb3 100644 --- a/include/configs/sunxi-common.h +++ b/include/configs/sunxi-common.h @@ -270,6 +270,10 @@ extern int soft_i2c_gpio_scl; /* GPIO */ #define CONFIG_SUNXI_GPIO +#ifdef CONFIG_EFI_PARTITION +#define CONFIG_RANDOM_UUID 1 +#endif + #ifdef CONFIG_VIDEO /* * The amount of RAM to keep free at the top of RAM when relocating u-boot,