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"
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
);