FLASH_REGION_INFO_FLAGS (Compact 2013)
3/26/2014
This enumeration defines flags that describe the features supported by a flash part.
Syntax
enum FLASH_REGION_INFO_FLAGS {
FLASH_FLAG_NAND = 0x00000001,
FLASH_FLAG_NOR = 0x00000002,
FLASH_FLAG_REQUIRE_SEQ_PAGE_PROGRAM = 0x00000004,
FLASH_FLAG_SUPPORTS_COPY = 0x00000008,
FLASH_FLAG_SUPPORTS_XIP = 0x00000010,
FLASH_FLAG_SUPPORTS_LOCKING = 0x00000020,
};
Elements
- FLASH_FLAG_NAND
Indicates that the flash part is NAND.
- FLASH_FLAG_NOR
Indicates that the flash part is NOR.
- FLASH_FLAG_REQUIRE_SEQ_PAGE_PROGRAM
Indicates that a region requires sequential page programming and does not allow out-of-order sector writes within a block. For example, multi-level cell (MLC) NAND.
- FLASH_FLAG_SUPPORTS_COPY
Indicates that the flash media driver platform-dependent driver (PDD) implements IOCTL_FLASH_PDD_COPY_PHYSICAL_SECTORS.
- FLASH_FLAG_SUPORTS_XIP
Indicates that the flash part supports XIP. The PDD must implement IOCTL_FLASH_PDD_GET_PHYSICAL_SECTOR_ADDRESS for XIP support.
- FLASH_FLAG_SUPPORTS_LOCKING
Indicates that the flash part supports block level locking and unlocking. The PDD must implement IOCTL_FLASH_PDD_LOCK_BLOCKS for block locking and unlocking support.
Requirements
Header |
FlashCommon.h |