]> git.dujemihanovic.xyz Git - u-boot.git/commit
sf: dataflash: Fix add_dataflash return logic
authorJagan Teki <jagan@openedev.com>
Sun, 30 Oct 2016 17:46:29 +0000 (23:16 +0530)
committerJagan Teki <jagan@openedev.com>
Sat, 19 Nov 2016 03:11:54 +0000 (08:41 +0530)
commit11b93228a7c537b7a36f1d96b3061f5d74f01320
tree8004147435cb0e5a8f6b10460489530eabea3d18
parent1835302d3cb15ed67e06ee5e44fff1c611fbd467
sf: dataflash: Fix add_dataflash return logic

This patch fixed the add_dataflash return logic,
so-that it can handle both jedec and older chips
same as Linux.

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