File tree Expand file tree Collapse file tree
supervisor/shared/external_flash Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -226,18 +226,6 @@ void supervisor_flash_init(void) {
226226 while (jedec_id_response [0 ] == 0xff ) {
227227 spi_flash_read_command (CMD_READ_JEDEC_ID , jedec_id_response , 3 );
228228 }
229-
230- for (uint8_t i = 0 ; i < EXTERNAL_FLASH_DEVICE_COUNT ; i ++ ) {
231- const external_flash_device * possible_device = & possible_devices [i ];
232- if (jedec_id_response [0 ] == possible_device -> manufacturer_id &&
233- jedec_id_response [1 ] == possible_device -> memory_type &&
234- jedec_id_response [2 ] == possible_device -> capacity ) {
235- flash_device = possible_device ;
236- break ;
237- }
238- }
239- #endif
240-
241229 for (uint8_t i = 0 ; i < EXTERNAL_FLASH_DEVICE_COUNT ; i ++ ) {
242230 const external_flash_device * possible_device = & possible_devices [i ];
243231 if (jedec_id_response [0 ] == possible_device -> manufacturer_id &&
You can’t perform that action at this time.
0 commit comments