Debian Codegraph @

util/cbfstool/fmap_from_fmd.h

raw symbols SCIP
1 /* fmap_from_fmd.h, tool to distill flashmap descriptors into raw FMAP sections */
2 /* SPDX-License-Identifier: GPL-2.0-only */
3
4 #ifndef FMAP_FROM_FMD_H_
5 #define FMAP_FROM_FMD_H_
6
7 #include "flashmap/fmap.h"
8 #include "fmd.h"
9
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()
14 */
15 struct fmap *fmap_from_fmd(const struct flashmap_descriptor *desc);
16
17 #endif