Home
last modified time | relevance | path

Searched refs:NANDFLASH_BLOCK_SIZE (Results 1 – 2 of 2) sorted by relevance

/bsp/bouffalo_lab/libraries/bl_mcu_sdk/drivers/soc/bl702/std/src/
A Dbl702_snflash.c743 blockNum = addr / NANDFLASH_BLOCK_SIZE; in Nandflash_BlockErase()
844 startBlockNum = addr / NANDFLASH_BLOCK_SIZE; in Nandflash_Disk_Write()
845 endBlockNum = (addr + len - 1) / NANDFLASH_BLOCK_SIZE; in Nandflash_Disk_Write()
852 if (addr + len >= NANDFLASH_BLOCK_SIZE) { in Nandflash_Disk_Write()
853 writeLen = (absoluteBlockNum + 1) * NANDFLASH_BLOCK_SIZE - addr; in Nandflash_Disk_Write()
858 writeLen = NANDFLASH_BLOCK_SIZE; in Nandflash_Disk_Write()
860 writeLen = (addr + len) - (endBlockNum * NANDFLASH_BLOCK_SIZE); in Nandflash_Disk_Write()
864 … Nandflash_PageReadToPsram(absoluteBlockNum * NANDFLASH_BLOCK_SIZE, NANDFLASH_BLOCK_SIZE); in Nandflash_Disk_Write()
866 Nandflash_PageWriteToPsram(buff, beginAddr % NANDFLASH_BLOCK_SIZE, writeLen); in Nandflash_Disk_Write()
868 Nandflash_BlockErase(&nfCfg, absoluteBlockNum * NANDFLASH_BLOCK_SIZE); in Nandflash_Disk_Write()
[all …]
/bsp/bouffalo_lab/libraries/bl_mcu_sdk/drivers/soc/bl702/std/include/
A Dbl702_snflash.h77 #define NANDFLASH_BLOCK_SIZE (128 * 1024) macro

Completed in 5 milliseconds