summaryrefslogtreecommitdiff
path: root/resources/coreboot/default/patches/0017-util-ifdtool-fix-bad-patch.patch
diff options
context:
space:
mode:
Diffstat (limited to 'resources/coreboot/default/patches/0017-util-ifdtool-fix-bad-patch.patch')
-rw-r--r--resources/coreboot/default/patches/0017-util-ifdtool-fix-bad-patch.patch65
1 files changed, 0 insertions, 65 deletions
diff --git a/resources/coreboot/default/patches/0017-util-ifdtool-fix-bad-patch.patch b/resources/coreboot/default/patches/0017-util-ifdtool-fix-bad-patch.patch
deleted file mode 100644
index 223a69d8..00000000
--- a/resources/coreboot/default/patches/0017-util-ifdtool-fix-bad-patch.patch
+++ /dev/null
@@ -1,65 +0,0 @@
-From 05b8acae9a88b8dd13dd96facca30e4662399053 Mon Sep 17 00:00:00 2001
-From: Leah Rowe <leah@libreboot.org>
-Date: Sun, 19 Feb 2023 23:20:10 +0000
-Subject: [PATCH 17/18] util/ifdtool: fix bad patch
-
-i messed up the "rebase" a few lbmk commits ago
----
- util/ifdtool/ifdtool.c | 28 ++++++++++++++--------------
- 1 file changed, 14 insertions(+), 14 deletions(-)
-
-diff --git a/util/ifdtool/ifdtool.c b/util/ifdtool/ifdtool.c
-index 5509721018..89feb99536 100644
---- a/util/ifdtool/ifdtool.c
-+++ b/util/ifdtool/ifdtool.c
-@@ -1785,33 +1785,33 @@ get_region_type_string(const char *region_type_string)
- if (region_type_string == NULL)
- return -1;
- else if (!strcasecmp("Descriptor", region_type_string))
-- region_type = 0;
-+ return 0;
- else if (!strcasecmp("BIOS", region_type_string))
-- region_type = 1;
-+ return 1;
- else if (!strcasecmp("ME", region_type_string))
-- region_type = 2;
-+ return 2;
- else if (!strcasecmp("GbE", region_type_string))
-- region_type = 3;
-+ return 3;
- else if (!strcasecmp("Platform Data", region_type_string))
-- region_type = 4;
-+ return 4;
- else if (!strcasecmp("Device Exp1", region_type_string))
-- region_type = 5;
-+ return 5;
- else if (!strcasecmp("Secondary BIOS", region_type_string))
-- region_type = 6;
-+ return 6;
- else if (!strcasecmp("Reserved", region_type_string))
-- region_type = 7;
-+ return 7;
- else if (!strcasecmp("EC", region_type_string))
-- region_type = 8;
-+ return 8;
- else if (!strcasecmp("Device Exp2", region_type_string))
-- region_type = 9;
-+ return 9;
- else if (!strcasecmp("IE", region_type_string))
-- region_type = 10;
-+ return 10;
- else if (!strcasecmp("10GbE_0", region_type_string))
-- region_type = 11;
-+ return 11;
- else if (!strcasecmp("10GbE_1", region_type_string))
-- region_type = 12;
-+ return 12;
- else if (!strcasecmp("PTT", region_type_string))
-- region_type = 15;
-+ return 15;
- else
- return -1;
- }
---
-2.39.2
-