diff options
Diffstat (limited to 'libflash/libffs.h')
-rw-r--r-- | libflash/libffs.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libflash/libffs.h b/libflash/libffs.h index faaa4bc..a0040e9 100644 --- a/libflash/libffs.h +++ b/libflash/libffs.h @@ -18,6 +18,7 @@ #include <libflash/libflash.h> #include <libflash/ffs.h> +#include <libflash/blocklevel.h> /* FFS handle, opaque */ struct ffs_handle; @@ -34,8 +35,10 @@ struct ffs_handle; #define FFS_ERR_PART_NOT_FOUND 103 #define FFS_ERR_BAD_ECC 104 -int ffs_open_flash(struct flash_chip *chip, uint32_t toc_offset, - uint32_t max_size, struct ffs_handle **ffs); +/* Init */ + +int ffs_init(uint32_t offset, uint32_t max_size, + struct blocklevel_device *bl, struct ffs_handle **ffs); /* ffs_open_image is Linux only as it uses lseek, which skiboot does not * implement */ |