commit | d04893267e86891e7da44180043bd04bf771c26d | [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 | aec5dc7cbde8658078072f3a0cf746bf27767d60 [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>