Hello Stefan Tauner, Paul Menzel, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/20268
to look at the new patch set (#2).
Change subject: Drop redundant `enum msglevel`
......................................................................
Drop redundant `enum msglevel`
Use `enum flashrom_log_level` instead to avoid further confusion.
Change-Id: I1895cb8f60da3abf70c9c2953f52414cd2cc10a9
Signed-off-by: Nico Huber <nico.huber(a)secunet.com>
---
M cli_classic.c
M cli_output.c
M flash.h
M ichspi.c
M libflashrom.c
M libflashrom.h
6 files changed, 38 insertions(+), 45 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/68/20268/2
--
To view, visit https://review.coreboot.org/20268
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: staging
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I1895cb8f60da3abf70c9c2953f52414cd2cc10a9
Gerrit-Change-Number: 20268
Gerrit-PatchSet: 2
Gerrit-Owner: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: Stefan Tauner <stefan.tauner(a)gmx.at>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Nico Huber has submitted this change and it was merged. ( https://review.coreboot.org/20265 )
Change subject: fixup! Make read_ich_descriptors_from_dump() available in flashrom
......................................................................
fixup! Make read_ich_descriptors_from_dump() available in flashrom
Add a guard around read_ich_descriptors_via_fdo() which uses raw
hardware access and is only called from `ichspi`.
Fixes linking in case `NEED_RAW_ACCESS != 1`.
Change-Id: I5a35c607df44cdbcbacb960f8922c1bf9f1f2002
Signed-off-by: Nico Huber <nico.huber(a)secunet.com>
Reviewed-on: https://review.coreboot.org/20265
Reviewed-by: David Hendricks <david.hendricks(a)gmail.com>
Tested-by: build bot (Jenkins) <no-reply(a)coreboot.org>
---
M ich_descriptors.c
1 file changed, 3 insertions(+), 0 deletions(-)
Approvals:
David Hendricks: Looks good to me, approved
build bot (Jenkins): Verified
diff --git a/ich_descriptors.c b/ich_descriptors.c
index 34100cb..a12022c 100644
--- a/ich_descriptors.c
+++ b/ich_descriptors.c
@@ -847,6 +847,8 @@
return (1 << (19 + size_enc));
}
+/* Only used by ichspi.c */
+#if CONFIG_INTERNAL == 1 && (defined(__i386__) || defined(__x86_64__))
static uint32_t read_descriptor_reg(uint8_t section, uint16_t offset, void *spibar)
{
uint32_t control = 0;
@@ -918,6 +920,7 @@
msg_pdbg2(" done.\n");
return ICH_RET_OK;
}
+#endif
/**
* @brief Read a layout from the dump of an Intel ICH descriptor.
--
To view, visit https://review.coreboot.org/20265
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: staging
Gerrit-MessageType: merged
Gerrit-Change-Id: I5a35c607df44cdbcbacb960f8922c1bf9f1f2002
Gerrit-Change-Number: 20265
Gerrit-PatchSet: 3
Gerrit-Owner: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: David Hendricks <david.hendricks(a)gmail.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Nico Huber has posted comments on this change. ( https://review.coreboot.org/19187 )
Change subject: Make coreboot.org the upstream server
......................................................................
Patch Set 5:
(2 comments)
NVM, the change to the upstream_pattern makes sense.
https://review.coreboot.org/#/c/19187/5/util/getrevision.sh
File util/getrevision.sh:
https://review.coreboot.org/#/c/19187/5/util/getrevision.sh@35
PS5, Line 35: upstream_url="https://review.coreboot.org/flashrom.git"
This is unnecessary, I guess.
https://review.coreboot.org/#/c/19187/5/util/getrevision.sh@36
PS5, Line 36: upstream_patterns="github\.com.flashrom/flashrom(\.git)?|flashrom\.org.git/flashrom(\.git)?|coreboot\.org.*/flashrom(\.git)?"
I agree here.
The pattern could be condensed though, it always ends in `/flashrom(\.git)?`.
--
To view, visit https://review.coreboot.org/19187
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: staging
Gerrit-MessageType: comment
Gerrit-Change-Id: I9461dc4d2d461fff253392c4a1249a8835d5c9a4
Gerrit-Change-Number: 19187
Gerrit-PatchSet: 5
Gerrit-Owner: David Hendricks <david.hendricks(a)gmail.com>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: Philippe Mathieu-Daudé <philippe.mathieu.daude(a)gmail.com>
Gerrit-Reviewer: Stefan Tauner <stefan.tauner(a)gmx.at>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Tue, 20 Jun 2017 10:46:04 +0000
Gerrit-HasComments: Yes
Nico Huber has posted comments on this change. ( https://review.coreboot.org/19187 )
Change subject: Make coreboot.org the upstream server
......................................................................
Patch Set 5:
Does this still matter? the repos are sync'ed anyway, aren't they?
--
To view, visit https://review.coreboot.org/19187
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: staging
Gerrit-MessageType: comment
Gerrit-Change-Id: I9461dc4d2d461fff253392c4a1249a8835d5c9a4
Gerrit-Change-Number: 19187
Gerrit-PatchSet: 5
Gerrit-Owner: David Hendricks <david.hendricks(a)gmail.com>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: Philippe Mathieu-Daudé <philippe.mathieu.daude(a)gmail.com>
Gerrit-Reviewer: Stefan Tauner <stefan.tauner(a)gmx.at>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Tue, 20 Jun 2017 10:40:45 +0000
Gerrit-HasComments: No
Nico Huber has posted comments on this change. ( https://review.coreboot.org/19206 )
Change subject: Convert flashrom to git
......................................................................
Patch Set 6:
(8 comments)
Only some nits and simple things it getrevision.sh.
https://review.coreboot.org/#/c/19206/6//COMMIT_MSG
Commit Message:
https://review.coreboot.org/#/c/19206/6//COMMIT_MSG@13
PS6, Line 13: - Remove djgpp-dos target (it is not different to other x-compilations).
I was just wondering, why I didn't nag earlier, you can keep
the change in or remove this line...
https://review.coreboot.org/#/c/19206/6//COMMIT_MSG@15
PS6, Line 15: anything else from the code dump when we export the respective variable.
Nit, line is too long.
https://review.coreboot.org/#/c/19206/6//COMMIT_MSG@26
PS6, Line 26: f5dd7ce1
This sha will probably get lost. Linking to the mailing list
archive might be better.
https://review.coreboot.org/#/c/19206/6//COMMIT_MSG@28
PS6, Line 28: pushing to the review server.
Maybe also mention, that you split out the complex version
string.
https://review.coreboot.org/#/c/19206/6/util/getrevision.sh
File util/getrevision.sh:
https://review.coreboot.org/#/c/19206/6/util/getrevision.sh@140
PS6, Line 140: local svn_base=$(git log --grep=git-svn-id -1 --format='%h')
: if [ "$svn_base" != "" ] ; then
: local diff_to_svn=$(git rev-list --count ${svn_base}..${r})
: if [ "$diff_to_svn" -gt 0 ] ; then
: r="$r-$diff_to_svn"
: fi
: fi
Looks like we don't have git-svn-id any more. A simple `git describe
${r}` might do? We already have tags in git, for me it shows something
like:
v0.9.9-22-gfb2996c1
https://review.coreboot.org/#/c/19206/6/util/getrevision.sh@168
PS6, Line 168: sed 's/.*@/r/;s/[[:blank:]].*//')
Same here, maybe just drop the --upstream command?
https://review.coreboot.org/#/c/19206/6/util/git-hooks/pre-push
File util/git-hooks/pre-push:
https://review.coreboot.org/#/c/19206/6/util/git-hooks/pre-push@46
PS6, Line 46: else
: range="$remote_sha..$local_sha"
Nit, actually I don't like the `else` here, it's not directly
related to the `if` (i.e. could just move below the `fi`).
Now I also wonder why we need this variable at all (only used
in one place).
https://review.coreboot.org/#/c/19206/6/util/git-hooks/pre-push@55
PS6, Line 55: " or \"Acked-by\" lines, not pushing." >&2
Sounds good.
--
To view, visit https://review.coreboot.org/19206
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: staging
Gerrit-MessageType: comment
Gerrit-Change-Id: I64eef21982cac0a0a7419bcd2c8a936672ae9cb2
Gerrit-Change-Number: 19206
Gerrit-PatchSet: 6
Gerrit-Owner: David Hendricks <david.hendricks(a)gmail.com>
Gerrit-Reviewer: David Hendricks <david.hendricks(a)gmail.com>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: Philippe Mathieu-Daudé <philippe.mathieu.daude(a)gmail.com>
Gerrit-Reviewer: Stefan Tauner <stefan.tauner(a)gmx.at>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Reviewer: david.hendricks(a)gmail.com
Gerrit-Comment-Date: Tue, 20 Jun 2017 10:39:00 +0000
Gerrit-HasComments: Yes