All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] sunxi: Enable random UUIDs when GPT is enabled
@ 2017-08-23 14:06 Maxime Ripard
  2017-08-24  2:37 ` Tom Rini
  0 siblings, 1 reply; 2+ messages in thread
From: Maxime Ripard @ 2017-08-23 14:06 UTC (permalink / raw)
  To: 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 <maxime.ripard@free-electrons.com>
---
 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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] [PATCH] sunxi: Enable random UUIDs when GPT is enabled
  2017-08-23 14:06 [U-Boot] [PATCH] sunxi: Enable random UUIDs when GPT is enabled Maxime Ripard
@ 2017-08-24  2:37 ` Tom Rini
  0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2017-08-24  2:37 UTC (permalink / raw)
  To: u-boot

On Wed, Aug 23, 2017 at 04:06:55PM +0200, Maxime Ripard wrote:

> 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 <maxime.ripard@free-electrons.com>
> ---
>  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,

Can you please add a Kconfig entry for RANDOM_UUID in cmd/Kconfig under
CMD_GPT (the only user of the code) ?  Thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170823/88ecadd5/attachment.sig>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-08-24  2:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-23 14:06 [U-Boot] [PATCH] sunxi: Enable random UUIDs when GPT is enabled Maxime Ripard
2017-08-24  2:37 ` Tom Rini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.