RTEMS
6.1-rc6
Loading...
Searching...
No Matches
bsps
include
dev
nand
Macros
|
Functions
xnandpsu_bbm.h File Reference
#include "
xnandpsu.h
"
Go to the source code of this file.
Macros
#define
XNANDPSU_BBM_H
/* by using protection macros */
#define
XNANDPSU_BLOCK_GOOD
0x0U
#define
XNANDPSU_BLOCK_BAD
0x1U
#define
XNANDPSU_BLOCK_RESERVED
0x2U
#define
XNANDPSU_BLOCK_FACTORY_BAD
0x3U
#define
XNANDPSU_FLASH_BLOCK_GOOD
0x3U
#define
XNANDPSU_FLASH_BLOCK_BAD
0x2U
#define
XNANDPSU_FLASH_BLOCK_RESERVED
0x1U
#define
XNANDPSU_FLASH_BLOCK_FAC_BAD
0x0U
#define
XNANDPSU_BBT_SCAN_2ND_PAGE
0x00000001U
#define
XNANDPSU_BBT_DESC_PAGE_OFFSET
0U
#define
XNANDPSU_BBT_DESC_SIG_OFFSET
8U
#define
XNANDPSU_BBT_DESC_VER_OFFSET
12U
#define
XNANDPSU_NO_OOB_BBT_DESC_SIG_OFFSET
0U
#define
XNANDPSU_NO_OOB_BBT_DESC_VER_OFFSET
4U
#define
XNANDPSU_BBT_DESC_SIG_LEN
4U
#define
XNANDPSU_BBT_DESC_MAX_BLOCKS
64U
#define
XNANDPSU_BBT_BLOCK_SHIFT
2U
#define
XNANDPSU_BBT_ENTRY_NUM_BLOCKS
4U
#define
XNANDPSU_BB_PTRN_OFF_SML_PAGE
5U
#define
XNANDPSU_BB_PTRN_LEN_SML_PAGE
1U
#define
XNANDPSU_BB_PTRN_OFF_LARGE_PAGE
0U
#define
XNANDPSU_BB_PTRN_LEN_LARGE_PAGE
2U
#define
XNANDPSU_BB_PATTERN
0xFFU
#define
XNANDPSU_BLOCK_TYPE_MASK
0x03U
#define
XNANDPSU_BLOCK_SHIFT_MASK
0x06U
#define
XNANDPSU_ONDIE_SIG_OFFSET
0x4U
#define
XNANDPSU_ONDIE_VER_OFFSET
0x14U
#define
XNANDPSU_BBT_VERSION_LENGTH
1U
#define
XNANDPSU_BBT_SIG_LENGTH
4U
#define
XNANDPSU_BBT_BUF_LENGTH
#define
XNandPsu_BbtBlockShift
(Block) (u8)(((Block) * 2U) &
XNANDPSU_BLOCK_SHIFT_MASK
)
Functions
void
XNandPsu_InitBbtDesc
(
XNandPsu
*InstancePtr)
s32
XNandPsu_IsBlockBad
(
XNandPsu
*InstancePtr, u32 Block)
Generated by
1.9.6