From: Tom Rini Date: Wed, 24 Feb 2021 14:41:18 -0500 Subject: [PATCH] Fix IDE commands issued, fix endian issues, fix non MMIO In-Reply-To: <1d3dd19f-b8e5-64fe-cdb7-707f5ab24b05@gmx.de> References: <20210224164442.28247-1-reinoud@NetBSD.org> <1d3dd19f-b8e5-64fe-cdb7-707f5ab24b05@gmx.de> Message-ID: <20210224194118.GO10169@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 06:57:08PM +0100, Heinrich Schuchardt wrote: > On 24.02.21 17:44, 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. > > It is preferable to have each issue fixed in a separate patch. > > > > > Tested malta_defconfig and maltael_defconfig to work again in Qemu. > > What about the other architectures which can use the driver? > > @Simon: > Can we get rid of U_BOOT_LEGACY_BLK(ide)? The various "remove ..." board series I've been sending cover the block case too, so after v2021.04 and once I've applied the "remove ..." series stuff, yes, I think so. -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: