u-boot-brain/drivers/block
Reinoud Zandijk 0a527fda78 Fix IDE commands issued, fix endian issues, fix non MMIO
Fixes IDE issues found on the Malta board under Qemu:

1) DMA implied commands were sent to the controller in stead of the PIO
variants. The rest of the code is DMA free and written for PIO operation.

2) direct pointer access was used to read and write the registers instead
of the inb/inw/outb/outw functions/macros. Registers don't have to be
memory mapped and ATA_CURR_BASE() does not have to return an offset from
address zero.

3) Endian isues in ide_ident() and reading/writing data in general. Names
were corrupted and sizes misreported.

Tested malta_defconfig and maltael_defconfig to work again in Qemu.

Signed-off-by: Reinoud Zandijk <reinoud@NetBSD.org>
Tested-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
2021-04-20 07:31:12 -04:00
..
Kconfig blk: Allow control of the block cache in TPL 2019-07-10 16:52:58 -06:00
Makefile blk: Make use of CONFIG_HAVE_BLOCK_DEVICE more 2019-12-03 08:43:24 -05:00
blk-uclass.c dm: treewide: Rename 'platdata' variables to just 'plat' 2020-12-13 16:51:08 -07:00
blk_legacy.c common: Drop part.h from common header 2020-05-18 17:33:33 -04:00
blkcache.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
ide.c Fix IDE commands issued, fix endian issues, fix non MMIO 2021-04-20 07:31:12 -04:00
sandbox.c sandbox: Provide a way to bind fixed/removeable devices 2021-03-27 15:04:31 +13:00