|  | 
| 19 | 19 | /* ROM */ | 
| 20 | 20 | 
 | 
| 21 | 21 | extern int esp_rom_spiflash_config_param(uint32_t device_id, | 
| 22 |  | -                                  uint32_t chip_size, uint32_t block_size, uint32_t sector_size, | 
| 23 |  | -                                  uint32_t page_size, uint32_t status_mask); | 
| 24 |  | - | 
|  | 22 | +                                         uint32_t chip_size, uint32_t block_size, uint32_t sector_size, | 
|  | 23 | +                                         uint32_t page_size, uint32_t status_mask); | 
| 25 | 24 | 
 | 
| 26 | 25 | static uint32_t device_id_to_flash_size(uint32_t device_id) | 
| 27 | 26 | { | 
| @@ -112,15 +111,15 @@ void stub_lib_flash_info_print(const stub_lib_flash_info_t *info) | 
| 112 | 111 | { | 
| 113 | 112 |     (void)info; | 
| 114 | 113 |     STUB_LOGI("Flash info:\n" | 
| 115 |  | -        "\tid: 0x%x, size: %d KB,\n" | 
| 116 |  | -        "\tblock: %d KB (0x%x), sector: %d B (0x%x), page: %d B (0x%x),\n" | 
| 117 |  | -        "\tmode: %d, enc: %d\n", | 
| 118 |  | -        info->id, | 
| 119 |  | -        info->size / 1024, | 
| 120 |  | -        info->block_size / 1024, info->block_size, | 
| 121 |  | -        info->sector_size, info->sector_size, | 
| 122 |  | -        info->page_size, info->page_size, | 
| 123 |  | -        info->mode, | 
| 124 |  | -        info->encrypted | 
| 125 |  | -    ); | 
|  | 114 | +              "\tid: 0x%x, size: %d KB,\n" | 
|  | 115 | +              "\tblock: %d KB (0x%x), sector: %d B (0x%x), page: %d B (0x%x),\n" | 
|  | 116 | +              "\tmode: %d, enc: %d\n", | 
|  | 117 | +              info->id, | 
|  | 118 | +              info->size / 1024, | 
|  | 119 | +              info->block_size / 1024, info->block_size, | 
|  | 120 | +              info->sector_size, info->sector_size, | 
|  | 121 | +              info->page_size, info->page_size, | 
|  | 122 | +              info->mode, | 
|  | 123 | +              info->encrypted | 
|  | 124 | +             ); | 
| 126 | 125 | } | 
0 commit comments