Commit 94fa029a6d1fcf58c4cecc46326f766425bdb918
Committed by
Tom Rini
1 parent
eb1f09e007
Exists in
master
and in
55 other branches
remove CONFIG_SC3 from cmd_ide.c
There is no difference in codepath with CONFIG_SC3 enabled, so just remove it Signed-off-by: Pavel Herrmann <morpheus.ibis@gmail.com>
Showing 1 changed file with 0 additions and 7 deletions Side-by-side Diff
common/cmd_ide.c
... | ... | @@ -400,9 +400,6 @@ |
400 | 400 | unsigned char c; |
401 | 401 | int i, bus; |
402 | 402 | |
403 | -#if defined(CONFIG_SC3) | |
404 | - unsigned int ata_reset_time = ATA_RESET_TIME; | |
405 | -#endif | |
406 | 403 | #ifdef CONFIG_IDE_8xx_PCCARD |
407 | 404 | extern int pcmcia_on(void); |
408 | 405 | extern int ide_devices_found; /* Initialized in check_ide_device() */ |
409 | 406 | |
... | ... | @@ -502,11 +499,7 @@ |
502 | 499 | |
503 | 500 | c = ide_inb(dev, ATA_STATUS); |
504 | 501 | i++; |
505 | -#if defined(CONFIG_SC3) | |
506 | - if (i > (ata_reset_time * 100)) { | |
507 | -#else | |
508 | 502 | if (i > (ATA_RESET_TIME * 100)) { |
509 | -#endif | |
510 | 503 | puts("** Timeout **\n"); |
511 | 504 | /* LED's off */ |
512 | 505 | ide_led((LED_IDE1 | LED_IDE2), 0); |