Formatting large partitions on devices with small transfer buffers did not work before since format used a strange path through the code to send data. It now uses the normal path. Also cleaned up a bit. FS code now lives in a separate file and the custom path for format is gone. Change-Id: If4e01cabc2e250b7c02ca7ce8c268e51d49e1529
12 lines
240 B
C
12 lines
240 B
C
#ifndef _FS_H_
|
|
#define _FH_H_
|
|
|
|
#include <stdint.h>
|
|
|
|
struct fs_generator;
|
|
|
|
const struct fs_generator* fs_get_generator(const char* name);
|
|
int fs_generator_generate(const struct fs_generator* gen, int tmpFileNo, long long partSize);
|
|
|
|
#endif
|
|
|