]> git.dujemihanovic.xyz Git - u-boot.git/commit
mtd: spi: renesas: Add 4 bytes address mode support
authorCong Dang <cong.dang.xn@renesas.com>
Wed, 24 Aug 2022 23:06:54 +0000 (06:06 +0700)
committerMarek Vasut <marek.vasut+renesas@mailbox.org>
Sat, 10 Jun 2023 09:50:45 +0000 (11:50 +0200)
commit2e6a1f9fde934ac15eab28fa46495e8d31a29bce
tree1cb2e1448a6ff1f81e7c1dd8ae0430196d49d024
parent8e8cb7e1a845a36e73ff839732328c76d2cc0e99
mtd: spi: renesas: Add 4 bytes address mode support

This patch adds 4-byte address mode support. Because traditional access
based on FIFO/shift register, it's complex to specify information like
opcode, address length, dummy bytes etc to flash. Replace the traditional
access by spi-mem layer which is essential to make 4-byte address mode
support possible.

Reviewed-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Signed-off-by: Cong Dang <cong.dang.xn@renesas.com>
Signed-off-by: Hai Pham <hai.pham.ud@renesas.com>
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
drivers/spi/renesas_rpc_spi.c