xref: /aosp_15_r20/external/coreboot/payloads/libpayload/include/fmap.h (revision b9411a12aaaa7e1e6a6fb7c5e057f44ee179a49c)
1 /* SPDX_License-Identifier: BSD-3-Clause */
2 
3 #ifndef _FMAP_H
4 #define _FMAP_H
5 
6 #include <commonlib/bsd/cb_err.h>
7 #include <stddef.h>
8 
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);
11 
12 #endif /* _FMAP_H */
13