acpi: Add IORT helper functions
[coreboot2.git] / util / cbfstool / fmap_from_fmd.h
blobcb727e76b04af3274a8f6a1789578ca0cbb7e95a
1 /* fmap_from_fmd.h, tool to distill flashmap descriptors into raw FMAP sections */
2 /* SPDX-License-Identifier: GPL-2.0-only */
4 #ifndef FMAP_FROM_FMD_H_
5 #define FMAP_FROM_FMD_H_
7 #include "flashmap/fmap.h"
8 #include "fmd.h"
10 /**
11 * @param desc The descriptor tree serving as a data source
12 * @return The FMAP section, which is also owned by the caller and must
13 * later be released with a call to fmap_destroy()
15 struct fmap *fmap_from_fmd(const struct flashmap_descriptor *desc);
17 #endif