浏览代码

Merge pull request #1916 from RT-Thread/change_license

[BSP][IMXRT] change license to Apache license v2.0
Bernard Xiong 6 年之前
父节点
当前提交
1ddde2799a
共有 27 个文件被更改,包括 71 次插入218 次删除
  1. 2 6
      bsp/imxrt/Libraries/imxrt1050/drivers/drv_cache.c
  2. 8 0
      bsp/imxrt/Libraries/imxrt1050/drivers/drv_codec.c
  3. 8 9
      bsp/imxrt/Libraries/imxrt1050/drivers/drv_codec.h
  4. 2 6
      bsp/imxrt/Libraries/imxrt1050/drivers/drv_eth.c
  5. 2 6
      bsp/imxrt/Libraries/imxrt1050/drivers/drv_eth_fire.c
  6. 2 16
      bsp/imxrt/Libraries/imxrt1050/drivers/drv_ft5406.c
  7. 4 18
      bsp/imxrt/Libraries/imxrt1050/drivers/drv_hwtimer.c
  8. 4 18
      bsp/imxrt/Libraries/imxrt1050/drivers/drv_hwtimer.h
  9. 2 15
      bsp/imxrt/Libraries/imxrt1050/drivers/drv_i2c.c
  10. 2 6
      bsp/imxrt/Libraries/imxrt1050/drivers/drv_i2c.h
  11. 2 6
      bsp/imxrt/Libraries/imxrt1050/drivers/drv_lcd.c
  12. 2 6
      bsp/imxrt/Libraries/imxrt1050/drivers/drv_lcd.h
  13. 2 6
      bsp/imxrt/Libraries/imxrt1050/drivers/drv_pcf8574.c
  14. 2 6
      bsp/imxrt/Libraries/imxrt1050/drivers/drv_pcf8574.h
  15. 2 6
      bsp/imxrt/Libraries/imxrt1050/drivers/drv_pin.c
  16. 2 6
      bsp/imxrt/Libraries/imxrt1050/drivers/drv_pin.h
  17. 2 6
      bsp/imxrt/Libraries/imxrt1050/drivers/drv_rtc.c
  18. 2 6
      bsp/imxrt/Libraries/imxrt1050/drivers/drv_rtc.h
  19. 2 16
      bsp/imxrt/Libraries/imxrt1050/drivers/drv_sdio.c
  20. 2 6
      bsp/imxrt/Libraries/imxrt1050/drivers/drv_sdram.c
  21. 2 6
      bsp/imxrt/Libraries/imxrt1050/drivers/drv_spi_bus.c
  22. 2 6
      bsp/imxrt/Libraries/imxrt1050/drivers/drv_spi_bus.h
  23. 2 6
      bsp/imxrt/Libraries/imxrt1050/drivers/drv_spi_flash.c
  24. 2 6
      bsp/imxrt/Libraries/imxrt1050/drivers/drv_spi_flash.h
  25. 2 9
      bsp/imxrt/Libraries/imxrt1050/drivers/drv_uart.c
  26. 3 9
      bsp/imxrt/Libraries/imxrt1050/drivers/drv_uart.h
  27. 2 6
      bsp/imxrt/Libraries/imxrt1050/drivers/drv_usbd.c

+ 2 - 6
bsp/imxrt/Libraries/imxrt1050/drivers/drv_cache.c

@@ -1,11 +1,7 @@
 /*
- * File      : drv_cache.c
- * This file is part of RT-Thread RTOS
- * COPYRIGHT (C) 2006, RT-Thread Development Team
+ * Copyright (c) 2006-2018, RT-Thread Development Team
  *
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- * http://www.rt-thread.org/license/LICENSE
+ * SPDX-License-Identifier: Apache-2.0
  *
  * Change Logs:
  * Date           Author       Notes

+ 8 - 0
bsp/imxrt/Libraries/imxrt1050/drivers/drv_codec.c

@@ -1,3 +1,11 @@
+/*
+ * Copyright (c) 2006-2018, RT-Thread Development Team
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ *
+ * Change Logs:
+ * Date           Author       Notes
+ */
 #include <rthw.h>
 #include <rtthread.h>
 #include <rtdevice.h>

+ 8 - 9
bsp/imxrt/Libraries/imxrt1050/drivers/drv_codec.h

@@ -1,3 +1,11 @@
+/*
+ * Copyright (c) 2006-2018, RT-Thread Development Team
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ *
+ * Change Logs:
+ * Date           Author       Notes
+ */
 #ifndef __DRV_CODEC_H__
 #define __DRV_CODEC_H__
 
@@ -58,7 +66,6 @@
 #define ADC_OVERRUN_IRQ_EN	1
 #define ADC_FIFO_FLUSH		0
 
-
 /*DAC_MIXER_CTRL: 0x20*/
 #define DAC_AG_R_EN		31  /* dac right enable bit */
 #define DAC_AG_L_EN		30  /* dac left enable bit */
@@ -154,8 +161,6 @@
 #define ADDA_PR_RDAT		0
 
 
-
-/* 时钟配置相关寄存器 */
 #define R6_REG_CCU_BASE         0x01c20000
 #define R6_REG_PLL_AUDIO_CTRL   (R6_REG_CCU_BASE + 0x008)
 #define R6_REG_BUS_CLK_GATING_0 (R6_REG_CCU_BASE + 0x060)
@@ -166,7 +171,6 @@
 #define R6_REG_BUS_SOFT_RST_1   (R6_REG_CCU_BASE + 0x02C4)
 #define R6_REG_BUS_SOFT_RST_2   (R6_REG_CCU_BASE + 0x02D0)
 
-/* GPIO配置相关寄存器 */
 #define R6_REG_PIO_BASE         0x01c20800
 #define R6_REG_PD_CFG0          (R6_REG_PIO_BASE + (3 * 0x24 + 0X00))
 #define R6_REG_PD_CFG1          (R6_REG_PIO_BASE + (3 * 0x24 + 0X04))
@@ -178,8 +182,6 @@
 #define R6_REG_PD_PUL0          (R6_REG_PIO_BASE + (3 * 0x24 + 0X1c))
 #define R6_REG_PD_PUL1          (R6_REG_PIO_BASE + (3 * 0x24 + 0X20))
 
-
-/* AUDIO配置相关寄存器 */
 #define R6_REG_AC_BASE          0x01c23c00
 #define R6_REG_AC_DAC_DPC       (R6_REG_AC_BASE + 0x00)
 #define R6_REG_AC_DAC_FIFOC     (R6_REG_AC_BASE + 0x04)
@@ -192,7 +194,6 @@
 #define R6_REG_ADC_MIXER_CTRL   (R6_REG_AC_BASE + 0x24)
 #define R6_REG_AC_DAC_CNT       (R6_REG_AC_BASE + 0x40)
 
-/* DMA配置相关寄存器 */
 #define R6_REG_NDMA_0_BASE      (0x01c02000 + 0x100 + 0 * 0x20)
 
 #define R6_REG_DMA_INT_CTRL     (0x01c02000 + 0x00)
@@ -202,8 +203,6 @@
 #define REG_NDMA_SRC_ADR        (0x4)
 #define REG_NDMA_DES_ADR        (0x8)
 #define REG_NDMA_BYTE_CNT       (0xc)
-// #define REG_NDMA_PAR         (0x300 + 0x1c)
-
 
 #define NDMA_CFG_SRC_DRQ_IR_RX    (0x00 << 0)
 #define NDMA_CFG_SRC_DRQ_NONE     (0x01 << 0)

+ 2 - 6
bsp/imxrt/Libraries/imxrt1050/drivers/drv_eth.c

@@ -1,11 +1,7 @@
 /*
- * File      : application.c
- * This file is part of RT-Thread RTOS
- * COPYRIGHT (C) 2006, RT-Thread Development Team
+ * Copyright (c) 2006-2018, RT-Thread Development Team
  *
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- * http://www.rt-thread.org/license/LICENSE
+ * SPDX-License-Identifier: Apache-2.0
  *
  * Change Logs:
  * Date           Author       Notes

+ 2 - 6
bsp/imxrt/Libraries/imxrt1050/drivers/drv_eth_fire.c

@@ -1,11 +1,7 @@
 /*
- * File      : application.c
- * This file is part of RT-Thread RTOS
- * COPYRIGHT (C) 2006, RT-Thread Development Team
+ * Copyright (c) 2006-2018, RT-Thread Development Team
  *
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- * http://www.rt-thread.org/license/LICENSE
+ * SPDX-License-Identifier: Apache-2.0
  *
  * Change Logs:
  * Date           Author       Notes

+ 2 - 16
bsp/imxrt/Libraries/imxrt1050/drivers/drv_ft5406.c

@@ -1,21 +1,7 @@
 /*
- * File      : drv_ft5406.c
- *             FT5406 touch driver
- * COPYRIGHT (C) 2006 - 2017, RT-Thread Development Team
+ * Copyright (c) 2006-2018, RT-Thread Development Team
  *
- *  This program is free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation; either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  This program is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  You should have received a copy of the GNU General Public License along
- *  with this program; if not, write to the Free Software Foundation, Inc.,
- *  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ * SPDX-License-Identifier: Apache-2.0
  *
  * Change Logs:
  * Date           Author       Notes

+ 4 - 18
bsp/imxrt/Libraries/imxrt1050/drivers/drv_hwtimer.c

@@ -1,22 +1,8 @@
 /*
-* File      : drv_hwtimer.c
-* This file is part of RT-Thread RTOS
-* COPYRIGHT (C) 2017, RT-Thread Development Team
-*
-*  This program is free software; you can redistribute it and/or modify
-*  it under the terms of the GNU General Public License as published by
-*  the Free Software Foundation; either version 2 of the License, or
-*  (at your option) any later version.
-*
-*  This program is distributed in the hope that it will be useful,
-*  but WITHOUT ANY WARRANTY; without even the implied warranty of
-*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-*  GNU General Public License for more details.
-*
-*  You should have received a copy of the GNU General Public License along
-*  with this program; if not, write to the Free Software Foundation, Inc.,
-*  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-*
+ * Copyright (c) 2006-2018, RT-Thread Development Team
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ *
 * Change Logs:
 * Date           Author       Notes
 * 2018-04-17     WangBing     the first version.

+ 4 - 18
bsp/imxrt/Libraries/imxrt1050/drivers/drv_hwtimer.h

@@ -1,22 +1,8 @@
 /*
-* File      : drv_hwtimer.h
-* This file is part of RT-Thread RTOS
-* COPYRIGHT (C) 2017, RT-Thread Development Team
-*
-*  This program is free software; you can redistribute it and/or modify
-*  it under the terms of the GNU General Public License as published by
-*  the Free Software Foundation; either version 2 of the License, or
-*  (at your option) any later version.
-*
-*  This program is distributed in the hope that it will be useful,
-*  but WITHOUT ANY WARRANTY; without even the implied warranty of
-*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-*  GNU General Public License for more details.
-*
-*  You should have received a copy of the GNU General Public License along
-*  with this program; if not, write to the Free Software Foundation, Inc.,
-*  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-*
+ * Copyright (c) 2006-2018, RT-Thread Development Team
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ *
 * Change Logs:
 * Date           Author       Notes
 * 2018-04-17     WangBing     the first version.

+ 2 - 15
bsp/imxrt/Libraries/imxrt1050/drivers/drv_i2c.c

@@ -1,20 +1,7 @@
 /*
- * File      : drv_i2c.c
- * COPYRIGHT (C) 2006 - 2017, RT-Thread Development Team
+ * Copyright (c) 2006-2018, RT-Thread Development Team
  *
- *  This program is free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation; either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  This program is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  You should have received a copy of the GNU General Public License along
- *  with this program; if not, write to the Free Software Foundation, Inc.,
- *  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ * SPDX-License-Identifier: Apache-2.0
  *
  * Change Logs:
  * Date           Author       Notes

+ 2 - 6
bsp/imxrt/Libraries/imxrt1050/drivers/drv_i2c.h

@@ -1,11 +1,7 @@
 /*
- * File      : drv_i2c.h
- * This file is part of RT-Thread RTOS
- * COPYRIGHT (C) 2009, RT-Thread Development Team
+ * Copyright (c) 2006-2018, RT-Thread Development Team
  *
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- * http://www.rt-thread.org/license/LICENSE
+ * SPDX-License-Identifier: Apache-2.0
  *
  * Change Logs:
  * Date           Author       Notes

+ 2 - 6
bsp/imxrt/Libraries/imxrt1050/drivers/drv_lcd.c

@@ -1,11 +1,7 @@
 /*
- * File      : drv_lcd.c
- * This file is part of RT-Thread RTOS
- * COPYRIGHT (C) 2006-2013, RT-Thread Development Team
+ * Copyright (c) 2006-2018, RT-Thread Development Team
  *
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- * http://www.rt-thread.org/license/LICENSE
+ * SPDX-License-Identifier: Apache-2.0
  *
  * Change Logs:
  * Date           Author       Notes

+ 2 - 6
bsp/imxrt/Libraries/imxrt1050/drivers/drv_lcd.h

@@ -1,11 +1,7 @@
 /*
- * File      : drv_lcd2.c
- * This file is part of RT-Thread RTOS
- * COPYRIGHT (C) 2006-2013, RT-Thread Development Team
+ * Copyright (c) 2006-2018, RT-Thread Development Team
  *
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- * http://www.rt-thread.org/license/LICENSE
+ * SPDX-License-Identifier: Apache-2.0
  *
  * Change Logs:
  * Date           Author       Notes

+ 2 - 6
bsp/imxrt/Libraries/imxrt1050/drivers/drv_pcf8574.c

@@ -1,11 +1,7 @@
 /*
- * File      : drv_pcf8574.c
- * This file is part of RT-Thread RTOS
- * COPYRIGHT (C) 2006-2013, RT-Thread Development Team
+ * Copyright (c) 2006-2018, RT-Thread Development Team
  *
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- * http://www.rt-thread.org/license/LICENSE
+ * SPDX-License-Identifier: Apache-2.0
  *
  * Change Logs:
  * Date           Author       Notes

+ 2 - 6
bsp/imxrt/Libraries/imxrt1050/drivers/drv_pcf8574.h

@@ -1,11 +1,7 @@
 /*
- * File      : drv_pcf8574.h
- * This file is part of RT-Thread RTOS
- * COPYRIGHT (C) 2006-2013, RT-Thread Development Team
+ * Copyright (c) 2006-2018, RT-Thread Development Team
  *
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- * http://www.rt-thread.org/license/LICENSE
+ * SPDX-License-Identifier: Apache-2.0
  *
  * Change Logs:
  * Date           Author       Notes

+ 2 - 6
bsp/imxrt/Libraries/imxrt1050/drivers/drv_pin.c

@@ -1,11 +1,7 @@
 /*
- * File      : drv_pin.c
- * This file is part of RT-Thread RTOS
- * COPYRIGHT (C) 2006-2013, RT-Thread Development Team
+ * Copyright (c) 2006-2018, RT-Thread Development Team
  *
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- * http://www.rt-thread.org/license/LICENSE
+ * SPDX-License-Identifier: Apache-2.0
  *
  * Change Logs:
  * Date           Author       Notes

+ 2 - 6
bsp/imxrt/Libraries/imxrt1050/drivers/drv_pin.h

@@ -1,11 +1,7 @@
 /*
- * File      : drv_pin.h
- * This file is part of RT-Thread RTOS
- * COPYRIGHT (C) 2006-2013, RT-Thread Development Team
+ * Copyright (c) 2006-2018, RT-Thread Development Team
  *
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- * http://www.rt-thread.org/license/LICENSE
+ * SPDX-License-Identifier: Apache-2.0
  *
  * Change Logs:
  * Date           Author       Notes

+ 2 - 6
bsp/imxrt/Libraries/imxrt1050/drivers/drv_rtc.c

@@ -1,11 +1,7 @@
 /*
- * File      : drv_rtc.c
- * This file is part of RT-Thread RTOS
- * COPYRIGHT (C) 2006-2013, RT-Thread Development Team
+ * Copyright (c) 2006-2018, RT-Thread Development Team
  *
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- * http://www.rt-thread.org/license/LICENSE
+ * SPDX-License-Identifier: Apache-2.0
  *
  * Change Logs:
  * Date           Author       Notes

+ 2 - 6
bsp/imxrt/Libraries/imxrt1050/drivers/drv_rtc.h

@@ -1,11 +1,7 @@
 /*
- * File      : drv_rtc.h
- * This file is part of RT-Thread RTOS
- * COPYRIGHT (C) 2006-2013, RT-Thread Development Team
+ * Copyright (c) 2006-2018, RT-Thread Development Team
  *
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- * http://www.rt-thread.org/license/LICENSE
+ * SPDX-License-Identifier: Apache-2.0
  *
  * Change Logs:
  * Date           Author       Notes

+ 2 - 16
bsp/imxrt/Libraries/imxrt1050/drivers/drv_sdio.c

@@ -1,21 +1,7 @@
 /*
- * File      : syscall_write.c
- * This file is part of RT-Thread RTOS
- * COPYRIGHT (C) 2006 - 2015, RT-Thread Development Team
+ * Copyright (c) 2006-2018, RT-Thread Development Team
  *
- *  This program is free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation; either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  This program is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  You should have received a copy of the GNU General Public License along
- *  with this program; if not, write to the Free Software Foundation, Inc.,
- *  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ * SPDX-License-Identifier: Apache-2.0
  *
  * Change Logs:
  * Date           Author       Notes

+ 2 - 6
bsp/imxrt/Libraries/imxrt1050/drivers/drv_sdram.c

@@ -1,11 +1,7 @@
 /*
- * File      : board.c
- * This file is part of RT-Thread RTOS
- * COPYRIGHT (C) 2009 RT-Thread Develop Team
+ * Copyright (c) 2006-2018, RT-Thread Development Team
  *
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- * http://www.rt-thread.org/license/LICENSE
+ * SPDX-License-Identifier: Apache-2.0
  *
  * Change Logs:
  * Date           Author       Notes

+ 2 - 6
bsp/imxrt/Libraries/imxrt1050/drivers/drv_spi_bus.c

@@ -1,11 +1,7 @@
 /*
- * File      : drv_spi_bus.c
- * This file is part of RT-Thread RTOS
- * COPYRIGHT (C) 2006-2013, RT-Thread Development Team
+ * Copyright (c) 2006-2018, RT-Thread Development Team
  *
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- * http://www.rt-thread.org/license/LICENSE
+ * SPDX-License-Identifier: Apache-2.0
  *
  * Change Logs:
  * Date           Author       Notes

+ 2 - 6
bsp/imxrt/Libraries/imxrt1050/drivers/drv_spi_bus.h

@@ -1,11 +1,7 @@
 /*
- * File      : drv_spi_bus.h
- * This file is part of RT-Thread RTOS
- * COPYRIGHT (C) 2006-2013, RT-Thread Development Team
+ * Copyright (c) 2006-2018, RT-Thread Development Team
  *
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- * http://www.rt-thread.org/license/LICENSE
+ * SPDX-License-Identifier: Apache-2.0
  *
  * Change Logs:
  * Date           Author       Notes

+ 2 - 6
bsp/imxrt/Libraries/imxrt1050/drivers/drv_spi_flash.c

@@ -1,11 +1,7 @@
 /*
- * File      : drv_spi_flash.c
- * This file is part of RT-Thread RTOS
- * COPYRIGHT (C) 2006-2013, RT-Thread Development Team
+ * Copyright (c) 2006-2018, RT-Thread Development Team
  *
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- * http://www.rt-thread.org/license/LICENSE
+ * SPDX-License-Identifier: Apache-2.0
  *
  * Change Logs:
  * Date           Author       Notes

+ 2 - 6
bsp/imxrt/Libraries/imxrt1050/drivers/drv_spi_flash.h

@@ -1,11 +1,7 @@
 /*
- * File      : drv_spi_flash.c
- * This file is part of RT-Thread RTOS
- * COPYRIGHT (C) 2006-2013, RT-Thread Development Team
+ * Copyright (c) 2006-2018, RT-Thread Development Team
  *
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- * http://www.rt-thread.org/license/LICENSE
+ * SPDX-License-Identifier: Apache-2.0
  *
  * Change Logs:
  * Date           Author       Notes

+ 2 - 9
bsp/imxrt/Libraries/imxrt1050/drivers/drv_uart.c

@@ -1,11 +1,7 @@
 /*
- * File      : drv_uart.c
- * This file is part of RT-Thread RTOS
- * COPYRIGHT (C) 2006-2013, RT-Thread Development Team
+ * Copyright (c) 2006-2018, RT-Thread Development Team
  *
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- * http://www.rt-thread.org/license/LICENSE
+ * SPDX-License-Identifier: Apache-2.0
  *
  * Change Logs:
  * Date           Author       Notes
@@ -30,11 +26,8 @@
     !defined(RT_USING_UART5) && !defined(RT_USING_UART6) && \
     !defined(RT_USING_UART7) && !defined(RT_USING_UART8)
 #error "Please define at least one UARTx"
-
 #endif
 
-
-
 #include <rtdevice.h>
 
 /* imxrt uart driver */

+ 3 - 9
bsp/imxrt/Libraries/imxrt1050/drivers/drv_uart.h

@@ -1,11 +1,7 @@
 /*
- * File      : drv_uart.h
- * This file is part of RT-Thread RTOS
- * COPYRIGHT (C) 2009, RT-Thread Development Team
+ * Copyright (c) 2006-2018, RT-Thread Development Team
  *
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- * http://www.rt-thread.org/license/LICENSE
+ * SPDX-License-Identifier: Apache-2.0
  *
  * Change Logs:
  * Date           Author       Notes
@@ -15,8 +11,6 @@
 #ifndef __DRV_UART_H__
 #define __DRV_UART_H__
 
-#include <rthw.h>
-#include <rtthread.h>
-
+int imxrt_hw_uart_init(void);
 
 #endif

+ 2 - 6
bsp/imxrt/Libraries/imxrt1050/drivers/drv_usbd.c

@@ -1,11 +1,7 @@
 /*
- * File      : drv_usbc.c
- * This file is part of RT-Thread RTOS
- * COPYRIGHT (C) 2009 RT-Thread Develop Team
+ * Copyright (c) 2006-2018, RT-Thread Development Team
  *
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- * http://www.rt-thread.org/license/LICENSE
+ * SPDX-License-Identifier: Apache-2.0
  *
  * Change Logs:
  * Date           Author       Notes