From: Maxime Ripard Date: Wed, 23 Aug 2017 16:06:55 +0200 Subject: [U-Boot] [PATCH] sunxi: Enable random UUIDs when GPT is enabled Message-ID: <20170823140655.3899-1-maxime.ripard@free-electrons.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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, -- 2.13.5