aboutsummaryrefslogtreecommitdiff
path: root/drivers/serial
diff options
context:
space:
mode:
authorTom Rini2021-02-23 10:45:55 -0500
committerTom Rini2021-02-23 10:45:55 -0500
commitcbe607b920bc0827d8fe379ed4f5ae4e2058513e (patch)
treeb8cdbb8856766675f37bb92f27ab9c662fa647f9 /drivers/serial
parent8f7a16aac36c2a38956bd04b53cb7b94b7a70180 (diff)
parentd9aa19efa8a6c20d51b7884de0a7f8dae3f835d2 (diff)
Merge tag 'xilinx-for-v2021.04-rc3' of https://gitlab.denx.de/u-boot/custodians/u-boot-microblaze
Xilinx changes for v2021.04-rc3 qspi: - Support for dual/quad mode - Fix speed handling clk: - Add clock enable function for zynq/zynqmp/versal gem: - Enable clock for Versal - Fix error path - Fix mdio deregistration path fpga: - Fix buffer alignment for ZynqMP xilinx: - Fix reset reason clearing in ZynqMP - Show silicon version in SPL for Zynq/ZynqMP - Fix DTB selection for ZynqMP - Rename zc1275 to zcu1275 to match DT name
Diffstat (limited to 'drivers/serial')
-rw-r--r--drivers/serial/serial_zynq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/serial_zynq.c b/drivers/serial/serial_zynq.c
index 2883e2466f8..799d5240473 100644
--- a/drivers/serial/serial_zynq.c
+++ b/drivers/serial/serial_zynq.c
@@ -127,7 +127,7 @@ static int zynq_serial_setbrg(struct udevice *dev, int baudrate)
debug("%s: CLK %ld\n", __func__, clock);
ret = clk_enable(&clk);
- if (ret && ret != -ENOSYS) {
+ if (ret) {
dev_err(dev, "failed to enable clock\n");
return ret;
}