1
0
mirror of git://projects.qi-hardware.com/xburst-tools.git synced 2024-11-01 16:25:20 +02:00

change some output info

This commit is contained in:
xiangfu 2009-05-26 17:22:44 +00:00
parent bb5f4be354
commit 4c57b734eb
2 changed files with 11 additions and 12 deletions

View File

@ -120,14 +120,15 @@ int check_dump_cfg(struct hand *hand)
total_size / 0x100000, 2 * (hand->fw_args.bank_num + 1), total_size / 0x100000, 2 * (hand->fw_args.bank_num + 1),
16 * (2 - hand->fw_args.bus_width)); 16 * (2 - hand->fw_args.bus_width));
/* printf("\n Nand page size %d, ECC offset %d, ", printf("\n Nand page size %d, "
hand->nand_ps,hand->nand_eccpos); "ECC offset %d, "
"bad block ID %d, "
"use %d plane mode\n",
hand->nand_ps,
hand->nand_eccpos,
hand->nand_bbpage,
hand->nand_plane);
printf("bad block ID %d, ",hand->nand_bbpage);
printf("use %d plane mode",hand->nand_plane); */
printf("\n");
return 1; return 1;
} }

View File

@ -54,8 +54,9 @@ static struct option opts[] = {
int main(int argc, char **argv) int main(int argc, char **argv)
{ {
printf("inflash - (C) 2009\n" printf(" inflash - (C) 2009"
"This program is Free Software and has ABSOLUTELY NO WARRANTY\n\n"); "\n Ingenic Tools Software!"
"\n This program is Free Software and has ABSOLUTELY NO WARRANTY\n");
int command = 0; int command = 0;
char *cptr; char *cptr;
@ -86,9 +87,6 @@ int main(int argc, char **argv)
} }
} }
printf("\n Welcome!"
"\n Ingenic Tools Software!");
if ((getuid()) || (getgid())) { if ((getuid()) || (getgid())) {
fprintf(stderr, "Error - you must be root to run '%s'\n", argv[0]); fprintf(stderr, "Error - you must be root to run '%s'\n", argv[0]);
return EXIT_FAILURE; return EXIT_FAILURE;