]> git.dujemihanovic.xyz Git - u-boot.git/commit
cadence_qspi: Enable flash reset for Versal NET platform
authorAshok Reddy Soma <ashok.reddy.soma@amd.com>
Wed, 14 Jun 2023 12:04:52 +0000 (06:04 -0600)
committerMichal Simek <michal.simek@amd.com>
Fri, 21 Jul 2023 07:00:38 +0000 (09:00 +0200)
commit34dec6a443df2adb5df2c65b2c441652c5976b44
treedf626368e1be145f582cbf9462536743541a147a
parent22836f088d6027ee8e4bde17abbf71644a8388f5
cadence_qspi: Enable flash reset for Versal NET platform

Enable flash reset functionality for Versal NET platform.
In cadence_qspi.c there is weak function defined for reset, hence remove
the check for config, so that it will work for Versal and Versal NET
platforms.

Add register defines in Versal NET hardware.h for mini U-Boot flash
reset.

Add read_delay initialization for Versal NET also.

Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@amd.com>
Link: https://lore.kernel.org/r/20230614120452.21019-1-ashok.reddy.soma@amd.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
arch/arm/mach-versal-net/include/mach/hardware.h
drivers/spi/cadence_ospi_versal.c
drivers/spi/cadence_qspi.c