]> git.ipfire.org Git - people/ms/u-boot.git/commit
sf: dataflash: Move flash id detection into jedec_probe
authorJagan Teki <jagan@openedev.com>
Sun, 30 Oct 2016 17:46:28 +0000 (23:16 +0530)
committerJagan Teki <jagan@openedev.com>
Sat, 19 Nov 2016 03:11:53 +0000 (08:41 +0530)
commit1835302d3cb15ed67e06ee5e44fff1c611fbd467
tree2071f349a7cfd09e46fecbb7832d8ca42ee6908d
parentdc19b06ff23fb8f97e445f1c94dd5ae43046ea61
sf: dataflash: Move flash id detection into jedec_probe

Flash id detection should be the first step to enumerate
the connected flash on the board, once ie done checking
with respective id codes locally in the driver all this
should be part of jedec_probe instead of id detection and
validated through flash_info{} table separatly.

Cc: Bin Meng <bmeng.cn@gmail.com>
Cc: York Sun <york.sun@nxp.com>
Signed-off-by: Jagan Teki <jagan@openedev.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Jagan Teki <jagan@openedev.com>
drivers/mtd/spi/sf_dataflash.c