[coreboot-gerrit] New patch to review for coreboot: util/amdfwtool: Add PSP2 options to optstring

Marc Jones (marc@marcjonesconsulting.com) gerrit at coreboot.org
Wed Oct 26 05:14:37 CEST 2016


Marc Jones (marc at marcjonesconsulting.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/17147

-gerrit

commit 02937a84d3ed8f8cafda2aa4b4c59c07e6a0dd01
Author: Marc Jones <marcj303 at gmail.com>
Date:   Tue Sep 20 21:05:45 2016 -0600

    util/amdfwtool: Add PSP2 options to optstring
    
    Original-Signed-off-by: Marc Jones <marcj303 at gmail.com>
    Original-Signed-off-by: Marshall Dawson <marshalldawson3rd at gmail.com>
    (cherry picked from commit 482b65c219b932fd374f2ac469a023db219a66de)
    
    Change-Id: I0a24a0aa4c7d9f4a8cc3ee9b7da60ea7704e6f17
    Signed-off-by: Marc Jones <marcj303 at gmail.com>
---
 util/amdfwtool/amdfwtool.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/util/amdfwtool/amdfwtool.c b/util/amdfwtool/amdfwtool.c
index 1106304..ccddfec 100644
--- a/util/amdfwtool/amdfwtool.c
+++ b/util/amdfwtool/amdfwtool.c
@@ -300,7 +300,12 @@ uint32_t integrate_psp_firmwares(void *base, uint32_t pos, uint32_t *pspdir, amd
 	return pos;
 }
 
-static const char *optstring  = "x:i:g:p:b:s:r:k:o:n:d:t:u:w:m:h";
+#if PSP2
+static const char *optstring  = "x:i:g:p:b:s:r:k:c:n:d:t:u:w:m:P:B:S:R:K:C:N:D:T:U:W:M:o:h";
+#else
+static const char *optstring  = "x:i:g:p:b:s:r:k:c:n:d:t:u:w:m:o:h";
+#endif
+
 static struct option long_options[] = {
 	{"xhci",         required_argument, 0, 'x' },
 	{"imc",          required_argument, 0, 'i' },



More information about the coreboot-gerrit mailing list