1
0
mirror of git://projects.qi-hardware.com/xburst-tools.git synced 2024-11-22 13:41:32 +02:00

make the 2gb nand cfg as the default configure

This commit is contained in:
Xiangfu Liu 2009-09-09 17:07:33 +08:00
parent 845ae95905
commit 6b31e71e8e
3 changed files with 7 additions and 7 deletions

View File

@ -41,11 +41,11 @@ DEBUGOPS = 0
# [NAND]
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_PAGESIZE = 2048 #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_FORCEERASE = 1 #The force to erase flag (0|1)
NAND_OOBSIZE = 64 #oob size in byte
NAND_ECCPOS = 6 #Specify the ECC offset inside the oob data (0-[oobsize-1])
NAND_OOBSIZE = 128 #oob size in byte
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_BADBLOCKPAGE = 127 #Specify the page number of badblock flag inside a block(0-[PAGEPERBLOCK-1])
NAND_PLANENUM = 1 #The planes number of target nand flash

View File

@ -41,11 +41,11 @@ DEBUGOPS = 0
# [NAND]
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_PAGESIZE = 4096 #The page size of the NAND chip in bytes(512|2048|4096)
NAND_PAGESIZE = 2048 #The page size of the NAND chip in bytes(512|2048|4096)
NAND_PAGEPERBLOCK = 128 #The page number per block
NAND_FORCEERASE = 1 #The force to erase flag (0|1)
NAND_OOBSIZE = 128 #oob size in byte
NAND_ECCPOS = 12 #Specify the ECC offset inside the oob data (0-[oobsize-1])
NAND_OOBSIZE = 64 #oob size in byte
NAND_ECCPOS = 6 #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_BADBLOCKPAGE = 127 #Specify the page number of badblock flag inside a block(0-[PAGEPERBLOCK-1])
NAND_PLANENUM = 1 #The planes number of target nand flash

View File

@ -164,7 +164,7 @@ int usb_get_ingenic_cpu(struct ingenic_dev *ingenic_dev)
}
ingenic_dev->cpu_info_buff[8] = '\0';
/* printf(" CPU data: %s\n", ingenic_dev->cpu_info_buff); */
printf(" CPU data: %s\n", ingenic_dev->cpu_info_buff);
if (!strcmp(ingenic_dev->cpu_info_buff,"JZ4740V1")) return 1;
if (!strcmp(ingenic_dev->cpu_info_buff,"JZ4750V1")) return 2;