nandpsu
Vitis Drivers API Documentation
 All Data Structures Files Functions Variables Enumerations Enumerator Groups Pages
xnandpsu_bbm.c File Reference
#include <string.h>
#include "xil_types.h"
#include "xnandpsu.h"
#include "xnandpsu_bbm.h"
#include "xil_mem.h"

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...