1
0
mirror of git://projects.qi-hardware.com/xburst-tools.git synced 2024-11-01 10:12:48 +02:00

cleanup the output message

Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
This commit is contained in:
Xiangfu Liu 2010-08-10 14:07:17 +08:00 committed by Xiangfu Liu
parent 71ed21efe5
commit b21d2e4ce5

View File

@ -497,7 +497,7 @@ int nand_program_file(struct nand_in *nand_in,
return -1;
if (start_page - nand_in->start > hand.nand_ppb)
printf(" Skip a old bad block !\n");
printf(" Info - skip bad block!\n");
nand_in->start = start_page;
#ifdef CONFIG_NAND_OUT
@ -529,7 +529,7 @@ int nand_program_file(struct nand_in *nand_in,
return -1;
if (start_page - nand_in->start > hand.nand_ppb)
printf(" Skip a old bad block !");
printf(" Info - skip bad block!");
#ifdef CONFIG_NAND_OUT
for (i=0; i < nand_in->max_chip; i++) {
@ -578,7 +578,6 @@ int nand_prog(void)
" \t-e:\twith oob and ecc\n";
if (com_argc != 6) {
printf(" arguments count error.\n");
printf("%s", help);
return 0;
}
@ -657,7 +656,6 @@ int nand_query(void)
printf(" Plane ID :0x%x \n",(unsigned char)ret[4]);
usb_read_data_from_ingenic(&ingenic_dev, ret, 8);
printf(" Operation status: Success!\n");
return 1;
}