[U-Boot] [PATCH v5 6/6] trats/trats2: enable CONFIG_RANDOM_UUID

Przemyslaw Marczak p.marczak at samsung.com
Tue Apr 1 16:30:43 CEST 2014


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 <p.marczak at samsung.com>
Cc: Minkyu Kang <mk7.kang at samsung.com>
Cc: Piotr Wilczek <p.wilczek at samsung.com>
Cc: Stephen Warren <swarren at nvidia.com>
Cc: Lukasz Majewski <l.majewski at samsung.com>
Cc: trini at ti.com

---

Changes v5:
- add commit message
---
 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 c00d60a..1ed4b9f 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 59896b1..6d89ca9 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
 
-- 
1.9.0



More information about the U-Boot mailing list