printf("Reading bank %u:\n", bank);
for (i = 0; i < cnt; i++, word++) {
if (!(i % 4))
- printf("\nWord 0x%.8x:", word);
+ printf("\nWord 0x%08x:", word);
ret = fuse_read(bank, word, &val);
if (ret)
goto err;
- printf(" %.8x", val);
+ printf(" %08x", val);
}
putc('\n');
} else if (!strcmp(op, "sense")) {
printf("Sensing bank %u:\n", bank);
for (i = 0; i < cnt; i++, word++) {
if (!(i % 4))
- printf("\nWord 0x%.8x:", word);
+ printf("\nWord 0x%08x:", word);
ret = fuse_sense(bank, word, &val);
if (ret)
goto err;
- printf(" %.8x", val);
+ printf(" %08x", val);
}
putc('\n');
} else if (!strcmp(op, "prog")) {
if (strtou32(argv[i], 16, &val))
return CMD_RET_USAGE;
- printf("Programming bank %u word 0x%.8x to 0x%.8x...\n",
+ printf("Programming bank %u word 0x%08x to 0x%08x...\n",
bank, word, val);
if (!confirmed && !confirm_prog())
return CMD_RET_FAILURE;
if (strtou32(argv[i], 16, &val))
return CMD_RET_USAGE;
- printf("Overriding bank %u word 0x%.8x with "
- "0x%.8x...\n", bank, word, val);
+ printf("Overriding bank %u word 0x%08x with 0x%08x...\n",
+ bank, word, val);
ret = fuse_override(bank, word, val);
if (ret)
goto err;