RTEMS CPU Kit with SuperCore
4.11.3
|
JFFS2 flash device control. More...
#include <jffs2.h>
Data Fields | |
uint32_t | block_size |
The size in bytes of the erasable unit of the flash device. | |
uint32_t | flash_size |
The size in bytes of the flash device. More... | |
rtems_jffs2_flash_read | read |
Read from flash operation. | |
rtems_jffs2_flash_write | write |
Write to flash operation. | |
rtems_jffs2_flash_erase | erase |
Flash erase operation. | |
rtems_jffs2_flash_destroy | destroy |
Flash destroy operation. More... | |
dev_t | device_identifier |
The device identifier of the flash device. More... | |
JFFS2 flash device control.
rtems_jffs2_flash_destroy rtems_jffs2_flash_control::destroy |
Flash destroy operation.
This operation is optional and the pointer may be NULL
.
dev_t rtems_jffs2_flash_control::device_identifier |
The device identifier of the flash device.
It is used in combination with the inode number to uniquely identify a file system node in the system.
uint32_t rtems_jffs2_flash_control::flash_size |
The size in bytes of the flash device.
It must be an integral multiple of the block size. The flash device must have at least five blocks.