All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Fix MIPS/Malta target and its IDE work
@ 2021-02-22 17:05 Reinoud Zandijk
  2021-02-22 17:05 ` [PATCH 1/2] Re-embed the FDTs for the Malta targets Reinoud Zandijk
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Reinoud Zandijk @ 2021-02-22 17:05 UTC (permalink / raw)
  To: u-boot

Patch 0001 re-enables FDT inclusion into the u-boot binary to make them boot
again. The code might not have adjusted well enough in the past to handle the
separate one.

Patch 0002 fixes IDE issues found on the Malta board:

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.

With the fixes, malta_defconfig and maltael_defconfig work again in Qemu.

Reinoud Zandijk (2):
  Re-embed the FDTs for the Malta targets.
  Fix IDE commands issued, fix endian issues, fix non MMIO

 configs/malta64_defconfig   |   1 +
 configs/malta64el_defconfig |   1 +
 configs/malta_defconfig     |   1 +
 configs/maltael_defconfig   |   1 +
 drivers/block/ide.c         | 143 ++++++++++--------------------------
 include/ata.h               |   3 +-
 6 files changed, 46 insertions(+), 104 deletions(-)

Signed-off-by: Reinoud Zandijk <reinoud@NetBSD.org>

-- 
2.29.2

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2021-02-23 20:46 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-22 17:05 [PATCH 0/2] Fix MIPS/Malta target and its IDE work Reinoud Zandijk
2021-02-22 17:05 ` [PATCH 1/2] Re-embed the FDTs for the Malta targets Reinoud Zandijk
2021-02-22 19:03   ` Heinrich Schuchardt
2021-02-22 17:05 ` [PATCH 2/2] Fix IDE commands issued, fix endian issues, fix non MMIO Reinoud Zandijk
2021-02-22 18:59   ` Heinrich Schuchardt
2021-02-22 18:23 ` [PATCH 0/2] Fix MIPS/Malta target and its IDE work Daniel Schwierzeck
2021-02-22 19:56   ` Reinoud Zandijk
2021-02-23  0:03     ` Daniel Schwierzeck
2021-02-23 14:19       ` Reinoud Zandijk
2021-02-23 14:26         ` Tom Rini
2021-02-23 14:31           ` Tom Rini
2021-02-23 18:06         ` Daniel Schwierzeck
2021-02-23 20:46           ` Heinrich Schuchardt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.