nandpsu
Vitis Drivers API Documentation
xnandpsu_bbm.c File Reference

Functions

void XNandPsu_InitBbtDesc (XNandPsu *InstancePtr)
 This function initializes the Bad Block Table(BBT) descriptors with a predefined pattern for searching Bad Block Table(BBT) in flash. More...
 
s32 XNandPsu_ScanBbt (XNandPsu *InstancePtr)
 This function reads the Bad Block Table(BBT) if present in flash. More...
 
s32 XNandPsu_IsBlockBad (XNandPsu *InstancePtr, u32 Block)
 This function checks whether a block is bad or not. More...
 
s32 XNandPsu_MarkBlockBad (XNandPsu *InstancePtr, u32 Block)
 This function marks a block as bad in the RAM based Bad Block Table(BBT). More...