amdfwtool: Remove the initial alignment on newer SoCs
commit225b4b3279aa0bbbb2528a26751d5cb0f52d24de
authorKarthikeyan Ramasubramanian <kramasub@google.com>
Wed, 8 Mar 2023 17:24:50 +0000 (8 10:24 -0700)
committerPaul Fagerburg <pfagerburg@chromium.org>
Wed, 15 Mar 2023 17:30:12 +0000 (15 17:30 +0000)
treedb7a25efb237f3575e86271d35ffdccf5ef040a7
parent742b65bdf6e0fc6dd46b30c8c91eae5d1efff828
amdfwtool: Remove the initial alignment on newer SoCs

On newer SoCs the initial alignment is not required. So skip initial
alignment. This saves 64 KiB flash space on each firmware slots. This
also saves ~5 ms while loading amdfw.rom

BUG=b:240696002
TEST=Build and boot to OS in Skyrim.

Change-Id: I27cbfde2d7d58b62a4c0039c60babc3fb3bd95fa
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/73654
Reviewed-by: Martin Roth <martin.roth@amd.corp-partner.google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Fred Reitberger <reitbergerfred@gmail.com>
util/amdfwtool/amdfwtool.c