treewide: Move device_tree to commonlib
[coreboot2.git] / payloads / libpayload / include / fmap.h
blob02705c23b8c8a880cdb3c131a1b48cfbdf3b5c61
1 /* SPDX_License-Identifier: BSD-3-Clause */
3 #ifndef _FMAP_H
4 #define _FMAP_H
6 #include <commonlib/bsd/cb_err.h>
7 #include <stddef.h>
9 /* Looks for area with |name| in FlashMap. Requires lib_sysinfo.fmap_cache. */
10 enum cb_err fmap_locate_area(const char *name, size_t *offset, size_t *size);
12 #endif /* _FMAP_H */