2021-11-12 14:45:29 +01:00
|
|
|
/* SPDX_License-Identifier: BSD-3-Clause */
|
|
|
|
|
|
|
|
#ifndef _FMAP_H
|
|
|
|
#define _FMAP_H
|
|
|
|
|
|
|
|
#include <commonlib/bsd/cb_err.h>
|
|
|
|
#include <stddef.h>
|
|
|
|
|
|
|
|
/* Looks for area with |name| in FlashMap. Requires lib_sysinfo.fmap_cache. */
|
2022-03-05 02:49:56 +01:00
|
|
|
enum cb_err fmap_locate_area(const char *name, size_t *offset, size_t *size);
|
2021-11-12 14:45:29 +01:00
|
|
|
|
|
|
|
#endif /* _FMAP_H */
|