u-boot/drivers/block
Michal Simek 4408f6f445 dm: blk: Fix get_desc to return block device descriptor
Current get_desc() implementation is not able to succesfully
finish and return pointer to block device descriptor.

Also function always return non zero value even device is found.

The patch fills block device descriptor and return 0 if device is found.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2016-12-02 20:53:19 -07:00
..
ahci-uclass.c dm: Rename disk uclass to ahci 2016-05-17 09:54:43 -06:00
ahci.c ahci: Make ahci_port_base() non-static to enable overwrite 2016-09-27 17:29:54 +02:00
blk-uclass.c dm: blk: Fix get_desc to return block device descriptor 2016-12-02 20:53:19 -07:00
blk_legacy.c dm: blk: Add a legacy block interface 2016-05-17 09:54:43 -06:00
blkcache.c drivers: block: add block device cache 2016-04-01 17:18:27 -04:00
dwc_ahsata.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
dwc_ahsata.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
fsl_sata.c Fix typo: commmand -> command. 2015-12-05 18:22:21 -05:00
fsl_sata.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
ftide020.c Merge branch 'master' of git://git.denx.de/u-boot-nds32 2013-07-25 08:51:51 -04:00
ftide020.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
Kconfig dm: blk: Enable CONFIG_BLK if DM_MMC is enabled 2016-10-11 10:15:53 -06:00
libata.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
Makefile dm: blk: Add a legacy block interface 2016-05-17 09:54:43 -06:00
mvsata_ide.c Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
mxc_ata.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
pata_bfin.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
pata_bfin.h blackfin: include <linux/compiler.h> rather than define __iomem 2014-12-08 09:35:46 -05:00
sandbox.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
sandbox_scsi.c sandbox: Add dummy SCSI functions 2016-05-17 09:54:43 -06:00
sata_ceva.c block: Add support for Ceva sata 2016-04-04 20:28:39 +02:00
sata_dwc.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
sata_dwc.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
sata_mv.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
sata_sandbox.c sandbox: Add dummy SATA functions 2016-05-17 09:54:43 -06:00
sata_sil.c Merge branch 'master' of git://www.denx.de/git/u-boot-imx 2014-11-24 12:02:12 -05:00
sata_sil.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
sata_sil3114.c sata: implement reset_sata for dwc_ahsata 2014-11-24 11:59:59 +01:00
sata_sil3114.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
sil680.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
sym53c8xx.c drivers: squash lines for immediate return 2016-09-23 17:53:54 -04:00
systemace.c dm: systemace: Add driver-mode block-device support 2016-05-17 09:54:43 -06:00