|
|
@@ -39,11 +39,9 @@
|
|
|
int fal_init(void);
|
|
|
|
|
|
/* flash device operator API */
|
|
|
-int fal_flash_init(void);
|
|
|
const struct fal_flash_dev *fal_flash_device_find(const char *name);
|
|
|
|
|
|
/* partition operator API */
|
|
|
-int fal_partition_init(void);
|
|
|
const struct fal_partition *fal_partition_find(const char *name);
|
|
|
const struct fal_partition *fal_get_partition_table(size_t *len);
|
|
|
int fal_partition_read(const struct fal_partition *part, uint32_t addr, uint8_t *buf, size_t size);
|