summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Jones <marcj303@gmail.com>2016-09-20 22:55:54 -0600
committerMartin Roth <martinroth@google.com>2016-11-02 18:39:53 +0100
commit350630aefbcebee7edb9941fe2ba1846fca8b793 (patch)
treee42ef7be93145f94d9fb86d5014d4af02e8b05d5
parent90099b68036f89991af7d31f478e9c6b08c7ac93 (diff)
downloadcoreboot-350630aefbcebee7edb9941fe2ba1846fca8b793.tar.xz
util/amdfwtool: Increase space used for structures
Double the space for psp2dir to 0x200. Based on advice from AMD, increase the region containing the signature to 4K. Original-Signed-off-by: Marc Jones <marcj303@gmail.com> Original-Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com> (cherry picked from commit e03a9402711c3a210816d0aa32865491a0523639) Change-Id: If60132f913928bab0c2fe4aacedf342080929599 Signed-off-by: Marc Jones <marcj303@gmail.com> Reviewed-on: https://review.coreboot.org/17148 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Martin Roth <martinroth@google.com> Reviewed-by: Zheng Bao <fishbaozi@gmail.com>
-rw-r--r--util/amdfwtool/amdfwtool.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/amdfwtool/amdfwtool.c b/util/amdfwtool/amdfwtool.c
index 3af0078ae3..ef8795bc34 100644
--- a/util/amdfwtool/amdfwtool.c
+++ b/util/amdfwtool/amdfwtool.c
@@ -538,7 +538,7 @@ int main(int argc, char **argv)
}
}
- current = ALIGN(current, 0x100);
+ current = ALIGN(current, 0x1000);
current = integrate_firmwares(rom, current, amd_romsig, amd_fw_table);
if (pspflag == 1) {
@@ -555,7 +555,7 @@ int main(int argc, char **argv)
current = ALIGN(current, 0x10000); /* PSP2 dir */
psp2dir = rom + current;
amd_romsig[5] = current + ROM_BASE_ADDRESS;
- current += 0x100; /* Add conservative size of psp2dir. */
+ current += 0x200; /* Add conservative size of psp2dir. */
#if PSP_COMBO
/* TODO: remove the hardcode. */