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 1111#include "jtag.h"
1212#include "version.h"
1313#include "clock.h"
14- #include "spi_flash.h"
1514#include <stdio.h>
1615
1716int 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)
468468 skip_bb = erase_cmd -> flags .skip_bb ;
469469 inc_spare = erase_cmd -> flags .inc_spare ;
470470
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 ,
472472 len );
473473
474474 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)
10561056{
10571057 DEBUG_PRINT ("Page size: %lu\r\n" , prog -> chip_info .page_size );
10581058 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 );
10601060 DEBUG_PRINT ("Spare size: %lu\r\n" , prog -> chip_info .spare_size );
10611061 DEBUG_PRINT ("Bad block mark offset: %d\r\n" , prog -> chip_info .bb_mark_off );
10621062}
You can’t perform that action at this time.
0 commit comments