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

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