Hello build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/flashrom/+/33306
to look at the new patch set (#2).
Change subject: libflashrom: Add CPP guard to fix big-endian builds
......................................................................
libflashrom: Add CPP guard to fix big-endian builds
Calm a compiler warning on big-endian builds about the unused static
flashrom_layout_parse_fmap(). The guard is ugly but gets the job done.
We should forbid endian-specific code in the future, I guess.
Change-Id: Id3f4a57e027f88cc469ed50312adddcc8af71a63
Signed-off-by: Nico Huber <nico.h(a)gmx.de>
---
M libflashrom.c
1 file changed, 2 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/06/33306/2
--
To view, visit https://review.coreboot.org/c/flashrom/+/33306
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: Id3f4a57e027f88cc469ed50312adddcc8af71a63
Gerrit-Change-Number: 33306
Gerrit-PatchSet: 2
Gerrit-Owner: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: newpatchset
Nico Huber has submitted this change and it was merged. ( https://review.coreboot.org/c/flashrom/+/33305 )
Change subject: Makefile: Also blacklist J-Link SPI for DOS
......................................................................
Makefile: Also blacklist J-Link SPI for DOS
libjaylink will probably never be available.
Change-Id: Ie9222f82e16fe4c76fe7dd0f9aac7de6a862ab98
Signed-off-by: Nico Huber <nico.h(a)gmx.de>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/33305
Tested-by: build bot (Jenkins) <no-reply(a)coreboot.org>
Reviewed-by: Angel Pons <th3fanbus(a)gmail.com>
---
M Makefile
1 file changed, 6 insertions(+), 0 deletions(-)
Approvals:
build bot (Jenkins): Verified
Angel Pons: Looks good to me, approved
diff --git a/Makefile b/Makefile
index 4d23c39..e08a3f6 100644
--- a/Makefile
+++ b/Makefile
@@ -190,6 +190,12 @@
else
override CONFIG_CH341A_SPI = no
endif
+# libjaylink is also not available for DOS
+ifeq ($(CONFIG_JLINK_SPI), yes)
+UNSUPPORTED_FEATURES += CONFIG_JLINK_SPI=yes
+else
+override CONFIG_JLINK_SPI = no
+endif
endif
# FIXME: Should we check for Cygwin/MSVC as well?
--
To view, visit https://review.coreboot.org/c/flashrom/+/33305
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: Ie9222f82e16fe4c76fe7dd0f9aac7de6a862ab98
Gerrit-Change-Number: 33305
Gerrit-PatchSet: 2
Gerrit-Owner: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: merged
Nico Huber has uploaded this change for review. ( https://review.coreboot.org/c/flashrom/+/33296
Change subject: Makefile: Also blacklist J-Link SPI for DOS
......................................................................
Makefile: Also blacklist J-Link SPI for DOS
libjaylink will probably never be available.
Change-Id: Ie9222f82e16fe4c76fe7dd0f9aac7de6a862ab98
Signed-off-by: Nico Huber <nico.h(a)gmx.de>
---
M Makefile
1 file changed, 6 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/96/33296/1
diff --git a/Makefile b/Makefile
index 4d23c39..e08a3f6 100644
--- a/Makefile
+++ b/Makefile
@@ -190,6 +190,12 @@
else
override CONFIG_CH341A_SPI = no
endif
+# libjaylink is also not available for DOS
+ifeq ($(CONFIG_JLINK_SPI), yes)
+UNSUPPORTED_FEATURES += CONFIG_JLINK_SPI=yes
+else
+override CONFIG_JLINK_SPI = no
+endif
endif
# FIXME: Should we check for Cygwin/MSVC as well?
--
To view, visit https://review.coreboot.org/c/flashrom/+/33296
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: 1.1.x
Gerrit-Change-Id: Ie9222f82e16fe4c76fe7dd0f9aac7de6a862ab98
Gerrit-Change-Number: 33296
Gerrit-PatchSet: 1
Gerrit-Owner: Nico Huber <nico.h(a)gmx.de>
Gerrit-MessageType: newchange
Arthur Heymans has uploaded this change for review. ( https://review.coreboot.org/c/flashrom/+/31244
Change subject: layout.c: Use the the libflashrom function for included arguments
......................................................................
layout.c: Use the the libflashrom function for included arguments
Use the libflashrom function to determine whether included regions are
present in the layout file.
Change-Id: I5e9375baad763612e179262973413a7161acba8b
Signed-off-by: Arthur Heymans <arthur(a)aheymans.xyz>
---
M layout.c
1 file changed, 6 insertions(+), 11 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/44/31244/1
diff --git a/layout.c b/layout.c
index e10bb73..384a513 100644
--- a/layout.c
+++ b/layout.c
@@ -135,24 +135,19 @@
return 0;
}
-/* returns the index of the entry (or a negative value if it is not found) */
+/* returns -1 if an entry is not found, 0 if found. */
static int find_romentry(struct flashrom_layout *const l, char *name)
{
- int i;
-
if (l->num_entries == 0)
return -1;
msg_gspew("Looking for region \"%s\"... ", name);
- for (i = 0; i < l->num_entries; i++) {
- if (!strcmp(l->entries[i].name, name)) {
- l->entries[i].included = 1;
- msg_gspew("found.\n");
- return i;
- }
+ if (flashrom_layout_include_region(l, name)) {
+ msg_gspew("not found.\n");
+ return -1;
}
- msg_gspew("not found.\n");
- return -1;
+ msg_gspew("found.\n");
+ return 0;
}
/* process -i arguments
--
To view, visit https://review.coreboot.org/c/flashrom/+/31244
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I5e9375baad763612e179262973413a7161acba8b
Gerrit-Change-Number: 31244
Gerrit-PatchSet: 1
Gerrit-Owner: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-MessageType: newchange