From 99c836445951e024695f76a53a0c001357d2f4b3 Mon Sep 17 00:00:00 2001 From: Siva Durga Prasad Paladugu Date: Tue, 3 Nov 2015 13:01:44 +0530 Subject: [PATCH] qspi: zynqmp: Write baud rate divisor to config register Write the calculated baud rate divisor to config register the baud rate divisor is calculated based on frequency provided as a part of argument during sf probe Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- drivers/spi/zynqmp_qspi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/spi/zynqmp_qspi.c b/drivers/spi/zynqmp_qspi.c index 3752fa178bd..bca107b9f09 100644 --- a/drivers/spi/zynqmp_qspi.c +++ b/drivers/spi/zynqmp_qspi.c @@ -287,6 +287,7 @@ static int zynqmp_qspi_set_speed(struct udevice *bus, uint speed) } confr &= ~ZYNQMP_QSPI_BAUD_DIV_MASK; confr |= (baud_rate_val << 3); + writel(confr, ®s->confr); priv->freq = speed; -- 2.47.3