coreboot-kgpe-d16/util/ifdtool
Maximilian Brune 794d1d7f6c util/ifdtool/ifdtool.c: Add NULL check for fmapname
Some boards (e.g. prodrive/hermes) that do not provide their own FMAP
and therefore have been generated by the build system (+ ifdtool)
experience a failure when trying to build with an IFD that contains
regions which do not have equivalent fmap names (set to NULL).

Therefore add a NULL check for the fmapname and ignore the region if we
do not have an fmapname.

Test: compile prodrive/hermes

Signed-off-by: Maximilian Brune <maximilian.brune@9elements.com>
Change-Id: Ib4589b7fdbd11d644214ca5601536e9aeb26882f
Reviewed-on: https://review.coreboot.org/c/coreboot/+/79010
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Lean Sheng Tan <sheng.tan@9elements.com>
2023-11-16 23:09:11 +00:00
..
.gitignore
Makefile
Makefile.inc util/ifdtool/Makefile.inc: Respect LDFLAGS from environment 2022-12-12 01:29:41 +00:00
description.md
ifdtool.c util/ifdtool/ifdtool.c: Add NULL check for fmapname 2023-11-16 23:09:11 +00:00
ifdtool.h util/ifdtool: Add support for Intel 800 series chipset 2023-05-27 04:01:45 +00:00