summaryrefslogtreecommitdiff
path: root/arch/riscv/lib/interrupts.c
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut+renesas@mailbox.org>2024-08-31 22:31:47 +0200
committerMarek Vasut <marek.vasut+renesas@mailbox.org>2024-09-09 01:10:33 +0200
commitd5162463243da66b27ac7ea96fcffb5da4c9a639 (patch)
treee515fe6a1e4504870fc11c6cc3c6fa1251f81b11 /arch/riscv/lib/interrupts.c
parentc90795076b30c33a95bcaf6d89979543d31fdde1 (diff)
mtd: spi: renesas: Configure RPC PHY timing registers
Make sure RPC PHY timing registers are configured before performing bus access. These registers might have been left unconfigured or may have been configured by a prior stage bootloader and leaving them unconfigured or misconfigured would interfere with U-Boot operation. Set PHYOFFSET1 DDRTMG field to 3 which enables DDR timing adjustment when SPIDRE or DRDRE = 0 and set PHYOFFSET2 OCTTMG field to 4 which makes the interface operate in Serial flash or HyperFlash mode. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Diffstat (limited to 'arch/riscv/lib/interrupts.c')
0 files changed, 0 insertions, 0 deletions