diff options
author | Michal Simek <michal.simek@amd.com> | 2022-09-19 14:21:04 +0200 |
---|---|---|
committer | Michal Simek <michal.simek@amd.com> | 2022-09-26 14:23:29 +0200 |
commit | 23896472257a0480da68cd7c6a0de061e1461f71 (patch) | |
tree | 5da2e42fa4f82ecabada767d4d6e66b798e235a2 | |
parent | 1e681448a38dcaf95a58592410382c3324c2cc00 (diff) | |
download | u-boot-23896472257a0480da68cd7c6a0de061e1461f71.zip u-boot-23896472257a0480da68cd7c6a0de061e1461f71.tar.gz u-boot-23896472257a0480da68cd7c6a0de061e1461f71.tar.bz2 |
spi: zynqmp_gqspi: Add support for Versal NET
Add support for Versal NET platform.
Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/f374e9a81f2d85de1240029f3ba5f6423cfa0680.1663589964.git.michal.simek@amd.com
-rw-r--r-- | drivers/spi/zynqmp_gqspi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/spi/zynqmp_gqspi.c b/drivers/spi/zynqmp_gqspi.c index 4e718c5..d3cc855 100644 --- a/drivers/spi/zynqmp_gqspi.c +++ b/drivers/spi/zynqmp_gqspi.c @@ -308,7 +308,8 @@ void zynqmp_qspi_set_tapdelay(struct udevice *bus, u32 baudrateval) debug("%s, req_hz:%d, clk_rate:%d, baudrateval:%d\n", __func__, reqhz, clk_rate, baudrateval); - if (!IS_ENABLED(CONFIG_ARCH_VERSAL)) { + if (!(IS_ENABLED(CONFIG_ARCH_VERSAL) || + IS_ENABLED(CONFIG_ARCH_VERSAL_NET))) { if (reqhz <= GQSPI_FREQ_40MHZ) { tapdlybypass = TAP_DLY_BYPASS_LQSPI_RX_VALUE << TAP_DLY_BYPASS_LQSPI_RX_SHIFT; |