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

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