coreboot/util/amdfwtool
Patrick Rudolph 8e04206f28 amdfwtool: mark AMD_BIOS_APOB_NV BIOS directory entry as writable
When using ROM Armor, the AMD_BIOS_APOB_NV BIOS directory table
entry needs to be marked as writable. Add support for marking
BIOS directory table entries as writable and set all BIOS directory
files to RO, except for AMD_BIOS_APOB_NV (type 0x63), which is
written at end of coreboot based on the FMAP.

TEST=ROM Armor 3 enabled system can write APOB through PSP mailbox
     interface. When the writable bit is not set cannot write APOB
     through mailbox interface.

Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Change-Id: Idce7f4afbdd2246a5c0fc96d27c3c721e4a5b03a
Reviewed-on: https://review.coreboot.org/c/coreboot/+/91700
Reviewed-by: Maximilian Brune <maximilian.brune@9elements.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2026-03-21 18:25:39 +00:00
..
.gitignore
amdfwread.c util/amdfwtool: Use enum values for address mode 2026-01-24 17:01:41 +00:00
amdfwtool.c amdfwtool: mark AMD_BIOS_APOB_NV BIOS directory entry as writable 2026-03-21 18:25:39 +00:00
amdfwtool.h amdfwtool: mark AMD_BIOS_APOB_NV BIOS directory entry as writable 2026-03-21 18:25:39 +00:00
data_parse.c util/amdfwtool: rename Faegan SoC to Krackan2e 2026-03-19 19:36:21 +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: rename Faegan SoC to Krackan2e 2026-03-19 19:36:21 +00:00