Flash Translation Layer
1.0
|
generic flash control interfaces More...
#include <stdlib.h>
#include <errno.h>
#include "include/module.h"
#include "include/flash.h"
#include "include/log.h"
Functions | |
int | flash_module_init (struct flash_device **__flash, uint64_t flags) |
initialize the flash module More... | |
int | flash_module_exit (struct flash_device *flash) |
free resources in the flash module More... | |
generic flash control interfaces
int flash_module_exit | ( | struct flash_device * | flash | ) |
free resources in the flash module
flash | pointer of the flash device information |
int flash_module_init | ( | struct flash_device ** | __flash, |
uint64_t | flags | ||
) |
initialize the flash module
__flash | double pointer of the flash device information |
flags | flags for flash module and submodule |