commit | 16be2bc72e1c1ce188214b71ba5c7c9d990e6021 | [log] [tgz] |
---|---|---|
author | Marek Vasut <marek.vasut+renesas@mailbox.org> | Wed Aug 23 02:18:18 2023 +0200 |
committer | Tom Rini <trini@konsulko.com> | Wed Aug 30 17:56:21 2023 -0400 |
tree | 0ae1671e0c09afa5537a8b1e0f2e8ed09b4a6bd1 | |
parent | d223dcf31ad04e3b363770f2e20a36f1c7716568 [diff] |
drivers/mtd/nvmxip: Rework the read accessor to support 32bit systems Get rid of nvmxip_mmio_rawread() and just implement the readl()/readq() reader loop within nvmxip_blk_read(). Cast the destination buffer as needed and increment the read by either 4 or 8 bytes depending on if this is systemd with 32bit or 64bit physical address. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>