[PATCH] Fix IDE commands issued, fix endian issues, fix non MMIO

Tom Rini trini at konsulko.com
Tue Apr 20 16:19:50 CEST 2021

On Wed, Feb 24, 2021 at 05:44:42PM +0100, Reinoud Zandijk wrote:

> 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 at NetBSD.org>
> Tested-by: Heinrich Schuchardt <xypron.glpk at gmx.de>

Applied to u-boot/master, thanks!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210420/50578eac/attachment.sig>

More information about the U-Boot mailing list