From aafd2c5ddb9078c425c2edb8a6b5f5017895bea3 Mon Sep 17 00:00:00 2001
From: Przemyslaw Marczak
Date: Wed, 2 Apr 2014 10:20:07 +0200
Subject: [PATCH] trats/trats2: enable CONFIG_RANDOM_UUID
This change enables automatically uuid generation by command gpt.
In case of updating partitions layout user don't need to care about
generate uuid manually.
Signed-off-by: Przemyslaw Marczak
Cc: Minkyu Kang
Cc: Piotr Wilczek
Cc: Stephen Warren
Cc: Lukasz Majewski
Cc: trini@ti.com
---
include/configs/trats.h | 1 +
include/configs/trats2.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/include/configs/trats.h b/include/configs/trats.h
index c00d60a618..1ed4b9f252 100644
--- a/include/configs/trats.h
+++ b/include/configs/trats.h
@@ -276,6 +276,7 @@
/* GPT */
#define CONFIG_EFI_PARTITION
#define CONFIG_PARTITION_UUIDS
+#define CONFIG_RANDOM_UUID
#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_LOAD_ADDR - GENERATED_GBL_DATA_SIZE)
#define CONFIG_SYS_CACHELINE_SIZE 32
diff --git a/include/configs/trats2.h b/include/configs/trats2.h
index 59896b162e..6d89ca93f2 100644
--- a/include/configs/trats2.h
+++ b/include/configs/trats2.h
@@ -283,6 +283,7 @@
#define CONFIG_ENV_OFFSET ((32 - 4) << 10) /* 32KiB - 4KiB */
#define CONFIG_EFI_PARTITION
#define CONFIG_PARTITION_UUIDS
+#define CONFIG_RANDOM_UUID
#define CONFIG_BOARD_EARLY_INIT_F
--
2.39.5