]> git.sur5r.net Git - u-boot/blobdiff - drivers/serial/serial_linflexuart.c
fastboot: Refactor fastboot_okay/fail to take response
[u-boot] / drivers / serial / serial_linflexuart.c
index fbb39592d6ce7a76352539a964184cd12c30e9ef..83dc96c449ca4949176eaa49bf9ca42e75e8907e 100644 (file)
@@ -1,7 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * (C) Copyright 2013-2016 Freescale Semiconductor, Inc.
- *
- * SPDX-License-Identifier:     GPL-2.0+
  */
 
 #include <common.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
-#ifndef CONFIG_DM_SERIAL
-#error "The linflex serial driver does not have non-DM support."
-#endif
-
 static void _linflex_serial_setbrg(struct linflex_fsl *base, int baudrate)
 {
        u32 clk = mxc_get_clock(MXC_UART_CLK);