| 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 */ |