From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Tue, 20 Apr 2021 10:19:50 -0400 Subject: [PATCH] Fix IDE commands issued, fix endian issues, fix non MMIO In-Reply-To: <20210224164442.28247-1-reinoud@NetBSD.org> References: <20210224164442.28247-1-reinoud@NetBSD.org> Message-ID: <20210420141950.GS1310@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Tested-by: Heinrich Schuchardt Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: