From 85f362e9b6ec69ead84f22d5cf0f5f1995d08b6d Mon Sep 17 00:00:00 2001 From: zbao Date: Mon, 7 Dec 2015 05:17:23 -0500 Subject: amdfwtool: Fill the first 3 romsig entries as 0 I didn't go back through the development guide for this. But based on test, if the empty entry is filled as 0xFFFFFFFF, instead of 0, the USB3 port can not be used. Leave the entries of PSP and PSP2 as 0xFFFFFFFF to be compliant with the case before the amdfwtool is used. Change-Id: Icd5f9891e541279dbd551bbceaf091488d22bfef Signed-off-by: Zheng Bao Reviewed-on: https://review.coreboot.org/12665 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth --- util/amdfwtool/amdfwtool.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/util/amdfwtool/amdfwtool.c b/util/amdfwtool/amdfwtool.c index f958abae9a..b08a961964 100644 --- a/util/amdfwtool/amdfwtool.c +++ b/util/amdfwtool/amdfwtool.c @@ -377,6 +377,9 @@ int main(int argc, char **argv) current = AMD_ROMSIG_OFFSET; amd_romsig = rom + AMD_ROMSIG_OFFSET; amd_romsig[0] = 0x55AA55AA; /* romsig */ + amd_romsig[1] = 0; + amd_romsig[2] = 0; + amd_romsig[3] = 0; current += 0x20; /* size of ROMSIG */ -- cgit v1.2.3