Blame SOURCES/0336-include-grub-file.h-Add-device-tree-file-type.patch

5975ab
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
5975ab
From: Leif Lindholm <leif.lindholm@linaro.org>
5975ab
Date: Wed, 14 Nov 2018 19:29:16 +0000
5975ab
Subject: [PATCH] include/grub/file.h: Add device tree file type
5975ab
5975ab
The API change of grub_file_open() for adding verifiers did not include
5975ab
a type for device tree blobs. Add GRUB_FILE_TYPE_DEVICE_TREE_IMAGE to
5975ab
the grub_file_type enum.
5975ab
5975ab
Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
5975ab
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
5975ab
(cherry picked from commit 7453c2cc32525a5eebe3b268433d0dfc73622917)
5975ab
Signed-off-by: Daniel Axtens <dja@axtens.net>
5975ab
---
5975ab
 include/grub/file.h | 2 ++
5975ab
 1 file changed, 2 insertions(+)
5975ab
5975ab
diff --git a/include/grub/file.h b/include/grub/file.h
030dc3
index 19dda67f68b..9aae463557a 100644
5975ab
--- a/include/grub/file.h
5975ab
+++ b/include/grub/file.h
5975ab
@@ -69,6 +69,8 @@ enum grub_file_type
5975ab
 
5975ab
     GRUB_FILE_TYPE_EFI_CHAINLOADED_IMAGE,
5975ab
 
5975ab
+    GRUB_FILE_TYPE_DEVICE_TREE_IMAGE,
5975ab
+
5975ab
     /* File holding signature.  */
5975ab
     GRUB_FILE_TYPE_SIGNATURE,
5975ab
     /* File holding public key to verify signature once.  */