File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 11
11
#include "jtag.h"
12
12
#include "version.h"
13
13
#include "clock.h"
14
- #include "spi_flash.h"
15
14
#include <stdio.h>
16
15
17
16
int main ()
Original file line number Diff line number Diff line change @@ -468,7 +468,7 @@ static int _np_cmd_nand_erase(np_prog_t *prog)
468
468
skip_bb = erase_cmd -> flags .skip_bb ;
469
469
inc_spare = erase_cmd -> flags .inc_spare ;
470
470
471
- DEBUG_PRINT ("Erase at 0x%" PRIx64 " %" PRIx64 " bytes command\r\n" , addr ,
471
+ DEBUG_PRINT ("Erase at 0x%" PRIx64 " 0x %" PRIx64 " bytes command\r\n" , addr ,
472
472
len );
473
473
474
474
pages_in_block = prog -> chip_info .block_size / prog -> chip_info .page_size ;
@@ -1056,7 +1056,7 @@ static void np_print_chip_info(np_prog_t *prog)
1056
1056
{
1057
1057
DEBUG_PRINT ("Page size: %lu\r\n" , prog -> chip_info .page_size );
1058
1058
DEBUG_PRINT ("Block size: %lu\r\n" , prog -> chip_info .block_size );
1059
- DEBUG_PRINT ("Total size: %" PRIx64 "\r\n" , prog -> chip_info .total_size );
1059
+ DEBUG_PRINT ("Total size: 0x %" PRIx64 "\r\n" , prog -> chip_info .total_size );
1060
1060
DEBUG_PRINT ("Spare size: %lu\r\n" , prog -> chip_info .spare_size );
1061
1061
DEBUG_PRINT ("Bad block mark offset: %d\r\n" , prog -> chip_info .bb_mark_off );
1062
1062
}
You can’t perform that action at this time.
0 commit comments