1
0
mirror of git://projects.qi-hardware.com/xburst-tools.git synced 2024-11-22 12:54:59 +02:00

change the FORCEERASE to 0

This commit is contained in:
Xiangfu Liu 2009-12-23 23:43:07 +08:00
parent 20477f631c
commit 1022f9e3fc

View File

@ -43,7 +43,7 @@ NAND_BUSWIDTH = 8 #The width of the NAND flash chip in bits (8|16|32)
NAND_ROWCYCLES = 3 #The row address cycles (2|3) NAND_ROWCYCLES = 3 #The row address cycles (2|3)
NAND_PAGESIZE = 4096 #The page size of the NAND chip in bytes(512|2048|4096) NAND_PAGESIZE = 4096 #The page size of the NAND chip in bytes(512|2048|4096)
NAND_PAGEPERBLOCK = 128 #The page number per block NAND_PAGEPERBLOCK = 128 #The page number per block
NAND_FORCEERASE = 1 #The force to erase flag (0|1) NAND_FORCEERASE = 0 #The force to erase flag (0|1)
NAND_OOBSIZE = 128 #oob size in byte NAND_OOBSIZE = 128 #oob size in byte
NAND_ECCPOS = 12 #Specify the ECC offset inside the oob data (0-[oobsize-1]) NAND_ECCPOS = 12 #Specify the ECC offset inside the oob data (0-[oobsize-1])
NAND_BADBLOCKPOS = 0 #Specify the badblock flag offset inside the oob (0-[oobsize-1]) NAND_BADBLOCKPOS = 0 #Specify the badblock flag offset inside the oob (0-[oobsize-1])