u-boot-brain/drivers/block
Michal Simek e8a016b537 dm: Add support for scsi/sata based devices
All sata based drivers are bind and corresponding block
device is created. Based on this find_scsi_device() is able
to get back block device based on scsi_curr_dev pointer.

intr_scsi() is commented now but it can be replaced by calling
find_scsi_device() and scsi_scan().

scsi_dev_desc[] is commented out but common/scsi.c heavily depends on
it. That's why CONFIG_SYS_SCSI_MAX_DEVICE is hardcoded to 1 and symbol
is reassigned to a block description allocated by uclass.
There is only one block description by device now but it doesn't need to
be correct when more devices are present.

scsi_bind() ensures corresponding block device creation.
uclass post_probe (scsi_post_probe()) is doing low level init.

SCSI/SATA DM based drivers requires to have 64bit base address as
the first entry in platform data structure to setup mmio_base.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2016-12-20 09:15:27 +01:00
..
ahci-uclass.c dm: Rename disk uclass to ahci 2016-05-17 09:54:43 -06:00
ahci.c dm: Add support for scsi/sata based devices 2016-12-20 09:15:27 +01:00
blk_legacy.c dm: blk: Add a legacy block interface 2016-05-17 09:54:43 -06:00
blk-uclass.c dm: Add support for scsi/sata based devices 2016-12-20 09:15:27 +01: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: Add support for scsi/sata based devices 2016-12-20 09:15:27 +01:00
libata.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
Makefile dm: Add support for scsi/sata based devices 2016-12-20 09:15:27 +01: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_scsi.c sandbox: Add dummy SCSI functions 2016-05-17 09:54:43 -06:00
sandbox.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
sata_ceva.c Revert "Merge branch 'master' of git://www.denx.de/git/u-boot-microblaze" 2016-12-09 07:56:54 -05: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 sata: sata_mv: Fix misaligned cache warnings 2016-12-05 13:53:42 +01: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
scsi-uclass.c dm: Add support for scsi/sata based devices 2016-12-20 09:15:27 +01: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