coreboot/util/amdfwtool
Maximilian Brune 47f1b798e4 util/amdfwtool/amdfwtool.c: Remove APOB_NV src address check
The current approach has two problems:
- Just because the source address is 0 does not mean it is no
  specifically set. A bunch of mainboards specify their APOB_NV base
  address at 0 in their FMAP files.
- There is no AMD SOC that has support for this binary, but doesn't give
  AMDFWTOOL the base address. It would also not work considering that
  AMD common/block/apob code gets the region from the FMAP.

Therefore just remove the check since no mainboard will ever enter the
else branch.

tested: binary identical for at least 1 mainboard on each SOC
generation.

Signed-off-by: Maximilian Brune <maximilian.brune@9elements.com>
Change-Id: Ic85d6b25c95ab12dbcc72d17158591891dd04e97
Reviewed-on: https://review.coreboot.org/c/coreboot/+/87292
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
2025-06-24 04:23:59 +00:00
..
.gitignore util/amdfwtool: Add amdfwread utility 2022-05-13 15:51:37 +00:00
amdfwread.c mb/*/*/*.fmd: Start flash at 0 2025-04-09 17:11:43 +00:00
amdfwtool.c util/amdfwtool/amdfwtool.c: Remove APOB_NV src address check 2025-06-24 04:23:59 +00:00
amdfwtool.h mb/*/*/*.fmd: Start flash at 0 2025-04-09 17:11:43 +00:00
data_parse.c mb/*/*/*.fmd: Start flash at 0 2025-04-09 17:11:43 +00:00
description.md
handle_file.c amdfwtool: Move the functions to handle_file.c 2024-03-04 14:50:53 +00:00
Makefile amdfwtool: Use Makefile.mk for Makefile settings 2024-02-29 02:24:09 +00:00
Makefile.mk amdfwtool: Move code related to getting options to a new file 2024-03-06 11:05:07 +00:00
opts.c util/amdfwtool: Do not attempt to continue processing --help 2025-06-04 17:33:46 +00:00
signed_psp.c util/amdfwtool: add PLATFORM_FAEGAN 2025-04-02 16:02:47 +00:00