@@ -196,7 +196,7 @@ __ramfunc struct spi_flash_params *spiflash_scan(void)
196196 }
197197
198198 if (i == ARRAY_SIZE (spi_flash_spec_table )) {
199- LOG_INF ("SF: Unsupported manufacture %04x\n" , manufacturer_id );
199+ LOG_ERR ("SF: Unsupported manufacture %04x\n" , manufacturer_id );
200200 return NULL ;
201201 }
202202
@@ -211,7 +211,7 @@ __ramfunc struct spi_flash_params *spiflash_scan(void)
211211 }
212212
213213 if (i == spi_spec -> table_num ) {
214- LOG_INF ("SF: Unsupported ID %04x %04x\n" , jedec , ext_jedec );
214+ LOG_ERR ("SF: Unsupported ID %04x %04x\n" , jedec , ext_jedec );
215215 return NULL ;
216216 } else {
217217 return params ;
@@ -575,7 +575,7 @@ __ramfunc int spiflash_cmd_erase(struct spi_flash *flash,
575575
576576 dummp = offset % flash -> sector_size ;
577577 if (dummp ) {
578- LOG_INF ("SF: Erase offset/length not multiple of erase size\n" );
578+ LOG_ERR ("SF: Erase offset/length not multiple of erase size\n" );
579579 return -1 ;
580580 }
581581
@@ -840,7 +840,7 @@ int __attribute__ ((optimize("-O0"))) spiflash_cmd_program_sec(struct spi_flash
840840 }
841841
842842 if (ret < 0 ) {
843- LOG_INF ("SF: enabling write failed \n" );
843+ LOG_ERR ("SF: enabling write failed \n" );
844844 return ret ;
845845 }
846846
@@ -863,7 +863,7 @@ int __attribute__ ((optimize("-O0"))) spiflash_cmd_program_sec(struct spi_flash
863863 spiflash_write_page_sec (flash , cmd_desc , 2 ,
864864 ((char * )buf + actual ), chunk_len );
865865 if (ret < 0 ) {
866- LOG_INF ("SF: write failed\n" );
866+ LOG_ERR ("SF: write failed\n" );
867867 break ;
868868 }
869869
0 commit comments