Fix s25fl256s position in spi_flash_ids list
authorVsevolod Gribov <vgribov@larch-networks.com>
Fri, 15 Sep 2017 14:21:07 +0000 (17:21 +0300)
committerJagan Teki <jagan@amarulasolutions.com>
Mon, 25 Sep 2017 07:30:34 +0000 (13:00 +0530)
commitdb10809c17c7cd8960d0c45248bbef6e76251ad7
tree1dd6c588f8840e859e3537cad775086d15ca0da3
parent545a43822226d151701f3bf9b668298a124fefc0
Fix s25fl256s position in spi_flash_ids list

Spansion S25FS256S and S25FL256S flashes have equal JEDEC ID and ext ID.
As far as S25FL256S occures in spi_flash_ids before S25FS256S, U-Boot
incorrectly detects FS flash as FL. Thus its better to compare with
S25FS256S first.

Signed-off-by: Vsevolod Gribov <vgribov@larch-networks.com>
[Added S-o-b]
Signed-off-by: Jagan Teki <jagan@openedev.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
drivers/mtd/spi/spi_flash_ids.c