summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2018-10-21 16:13:43 +0800
committerGitHub <[email protected]>2018-10-21 16:13:43 +0800
commit1ddde2799a18a4e0b4ab4fb9f80984715f9d2eea (patch)
tree25eb9fe78b8678cf339ecf61b76263a15668cd6e
parentbeff9104be7978e69920143ca073e97b5e736815 (diff)
parent9c2f2e855ba88824d7a7227c20be2c8854b88cfd (diff)
Merge pull request #1916 from RT-Thread/change_license
[BSP][IMXRT] change license to Apache license v2.0
-rw-r--r--bsp/imxrt/Libraries/imxrt1050/drivers/drv_cache.c8
-rw-r--r--bsp/imxrt/Libraries/imxrt1050/drivers/drv_codec.c8
-rw-r--r--bsp/imxrt/Libraries/imxrt1050/drivers/drv_codec.h17
-rw-r--r--bsp/imxrt/Libraries/imxrt1050/drivers/drv_eth.c8
-rw-r--r--bsp/imxrt/Libraries/imxrt1050/drivers/drv_eth_fire.c8
-rw-r--r--bsp/imxrt/Libraries/imxrt1050/drivers/drv_ft5406.c18
-rw-r--r--bsp/imxrt/Libraries/imxrt1050/drivers/drv_hwtimer.c22
-rw-r--r--bsp/imxrt/Libraries/imxrt1050/drivers/drv_hwtimer.h22
-rw-r--r--bsp/imxrt/Libraries/imxrt1050/drivers/drv_i2c.c17
-rw-r--r--bsp/imxrt/Libraries/imxrt1050/drivers/drv_i2c.h8
-rw-r--r--bsp/imxrt/Libraries/imxrt1050/drivers/drv_lcd.c8
-rw-r--r--bsp/imxrt/Libraries/imxrt1050/drivers/drv_lcd.h8
-rw-r--r--bsp/imxrt/Libraries/imxrt1050/drivers/drv_pcf8574.c8
-rw-r--r--bsp/imxrt/Libraries/imxrt1050/drivers/drv_pcf8574.h8
-rw-r--r--bsp/imxrt/Libraries/imxrt1050/drivers/drv_pin.c8
-rw-r--r--bsp/imxrt/Libraries/imxrt1050/drivers/drv_pin.h8
-rw-r--r--bsp/imxrt/Libraries/imxrt1050/drivers/drv_rtc.c8
-rw-r--r--bsp/imxrt/Libraries/imxrt1050/drivers/drv_rtc.h8
-rw-r--r--bsp/imxrt/Libraries/imxrt1050/drivers/drv_sdio.c18
-rw-r--r--bsp/imxrt/Libraries/imxrt1050/drivers/drv_sdram.c8
-rw-r--r--bsp/imxrt/Libraries/imxrt1050/drivers/drv_spi_bus.c8
-rw-r--r--bsp/imxrt/Libraries/imxrt1050/drivers/drv_spi_bus.h8
-rw-r--r--bsp/imxrt/Libraries/imxrt1050/drivers/drv_spi_flash.c8
-rw-r--r--bsp/imxrt/Libraries/imxrt1050/drivers/drv_spi_flash.h8
-rw-r--r--bsp/imxrt/Libraries/imxrt1050/drivers/drv_uart.c11
-rw-r--r--bsp/imxrt/Libraries/imxrt1050/drivers/drv_uart.h12
-rw-r--r--bsp/imxrt/Libraries/imxrt1050/drivers/drv_usbd.c8
27 files changed, 71 insertions, 218 deletions
diff --git a/bsp/imxrt/Libraries/imxrt1050/drivers/drv_cache.c b/bsp/imxrt/Libraries/imxrt1050/drivers/drv_cache.c
index 5cc68c50dc..4f88e769c4 100644
--- a/bsp/imxrt/Libraries/imxrt1050/drivers/drv_cache.c
+++ b/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
diff --git a/bsp/imxrt/Libraries/imxrt1050/drivers/drv_codec.c b/bsp/imxrt/Libraries/imxrt1050/drivers/drv_codec.c
index fe1924fed4..8d5d657f18 100644
--- a/bsp/imxrt/Libraries/imxrt1050/drivers/drv_codec.c
+++ b/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>
diff --git a/bsp/imxrt/Libraries/imxrt1050/drivers/drv_codec.h b/bsp/imxrt/Libraries/imxrt1050/drivers/drv_codec.h
index 6ee6c354e9..4fd3869e53 100644
--- a/bsp/imxrt/Libraries/imxrt1050/drivers/drv_codec.h
+++ b/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)
diff --git a/bsp/imxrt/Libraries/imxrt1050/drivers/drv_eth.c b/bsp/imxrt/Libraries/imxrt1050/drivers/drv_eth.c
index 6ea1e16d6e..6ef0af44bc 100644
--- a/bsp/imxrt/Libraries/imxrt1050/drivers/drv_eth.c
+++ b/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
diff --git a/bsp/imxrt/Libraries/imxrt1050/drivers/drv_eth_fire.c b/bsp/imxrt/Libraries/imxrt1050/drivers/drv_eth_fire.c
index 673f0061b8..a7445c02c0 100644
--- a/bsp/imxrt/Libraries/imxrt1050/drivers/drv_eth_fire.c
+++ b/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
diff --git a/bsp/imxrt/Libraries/imxrt1050/drivers/drv_ft5406.c b/bsp/imxrt/Libraries/imxrt1050/drivers/drv_ft5406.c
index df81f2e52a..ab5a8baa39 100644
--- a/bsp/imxrt/Libraries/imxrt1050/drivers/drv_ft5406.c
+++ b/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
diff --git a/bsp/imxrt/Libraries/imxrt1050/drivers/drv_hwtimer.c b/bsp/imxrt/Libraries/imxrt1050/drivers/drv_hwtimer.c
index 41ef5d4b5b..b7e5412c2c 100644
--- a/bsp/imxrt/Libraries/imxrt1050/drivers/drv_hwtimer.c
+++ b/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.
diff --git a/bsp/imxrt/Libraries/imxrt1050/drivers/drv_hwtimer.h b/bsp/imxrt/Libraries/imxrt1050/drivers/drv_hwtimer.h
index b37d586c96..6e157c2332 100644
--- a/bsp/imxrt/Libraries/imxrt1050/drivers/drv_hwtimer.h
+++ b/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.
diff --git a/bsp/imxrt/Libraries/imxrt1050/drivers/drv_i2c.c b/bsp/imxrt/Libraries/imxrt1050/drivers/drv_i2c.c
index edd65cb1ac..3a428b0644 100644
--- a/bsp/imxrt/Libraries/imxrt1050/drivers/drv_i2c.c
+++ b/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
diff --git a/bsp/imxrt/Libraries/imxrt1050/drivers/drv_i2c.h b/bsp/imxrt/Libraries/imxrt1050/drivers/drv_i2c.h
index 4743225c37..53e77e2ce7 100644
--- a/bsp/imxrt/Libraries/imxrt1050/drivers/drv_i2c.h
+++ b/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
diff --git a/bsp/imxrt/Libraries/imxrt1050/drivers/drv_lcd.c b/bsp/imxrt/Libraries/imxrt1050/drivers/drv_lcd.c
index 911b8d0786..209fc7787a 100644
--- a/bsp/imxrt/Libraries/imxrt1050/drivers/drv_lcd.c
+++ b/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
diff --git a/bsp/imxrt/Libraries/imxrt1050/drivers/drv_lcd.h b/bsp/imxrt/Libraries/imxrt1050/drivers/drv_lcd.h
index cdde135c78..a465909935 100644
--- a/bsp/imxrt/Libraries/imxrt1050/drivers/drv_lcd.h
+++ b/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
diff --git a/bsp/imxrt/Libraries/imxrt1050/drivers/drv_pcf8574.c b/bsp/imxrt/Libraries/imxrt1050/drivers/drv_pcf8574.c
index 165b75a562..398013ea6a 100644
--- a/bsp/imxrt/Libraries/imxrt1050/drivers/drv_pcf8574.c
+++ b/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
diff --git a/bsp/imxrt/Libraries/imxrt1050/drivers/drv_pcf8574.h b/bsp/imxrt/Libraries/imxrt1050/drivers/drv_pcf8574.h
index 7c8274f2d0..266ce0239a 100644
--- a/bsp/imxrt/Libraries/imxrt1050/drivers/drv_pcf8574.h
+++ b/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
diff --git a/bsp/imxrt/Libraries/imxrt1050/drivers/drv_pin.c b/bsp/imxrt/Libraries/imxrt1050/drivers/drv_pin.c
index 3acc6ae609..f1a63fd120 100644
--- a/bsp/imxrt/Libraries/imxrt1050/drivers/drv_pin.c
+++ b/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
diff --git a/bsp/imxrt/Libraries/imxrt1050/drivers/drv_pin.h b/bsp/imxrt/Libraries/imxrt1050/drivers/drv_pin.h
index 6c0574ec0f..55e09ebc10 100644
--- a/bsp/imxrt/Libraries/imxrt1050/drivers/drv_pin.h
+++ b/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
diff --git a/bsp/imxrt/Libraries/imxrt1050/drivers/drv_rtc.c b/bsp/imxrt/Libraries/imxrt1050/drivers/drv_rtc.c
index 0c1dea21eb..06cb2e9094 100644
--- a/bsp/imxrt/Libraries/imxrt1050/drivers/drv_rtc.c
+++ b/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
diff --git a/bsp/imxrt/Libraries/imxrt1050/drivers/drv_rtc.h b/bsp/imxrt/Libraries/imxrt1050/drivers/drv_rtc.h
index e7cf53902c..c31cd80687 100644
--- a/bsp/imxrt/Libraries/imxrt1050/drivers/drv_rtc.h
+++ b/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
diff --git a/bsp/imxrt/Libraries/imxrt1050/drivers/drv_sdio.c b/bsp/imxrt/Libraries/imxrt1050/drivers/drv_sdio.c
index 732077df7c..27f58643f5 100644
--- a/bsp/imxrt/Libraries/imxrt1050/drivers/drv_sdio.c
+++ b/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
diff --git a/bsp/imxrt/Libraries/imxrt1050/drivers/drv_sdram.c b/bsp/imxrt/Libraries/imxrt1050/drivers/drv_sdram.c
index 2560caab5e..f54b448779 100644
--- a/bsp/imxrt/Libraries/imxrt1050/drivers/drv_sdram.c
+++ b/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
diff --git a/bsp/imxrt/Libraries/imxrt1050/drivers/drv_spi_bus.c b/bsp/imxrt/Libraries/imxrt1050/drivers/drv_spi_bus.c
index 4460fafe41..eb7e39dcf2 100644
--- a/bsp/imxrt/Libraries/imxrt1050/drivers/drv_spi_bus.c
+++ b/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
diff --git a/bsp/imxrt/Libraries/imxrt1050/drivers/drv_spi_bus.h b/bsp/imxrt/Libraries/imxrt1050/drivers/drv_spi_bus.h
index b5016a4ebf..f9068893c3 100644
--- a/bsp/imxrt/Libraries/imxrt1050/drivers/drv_spi_bus.h
+++ b/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
diff --git a/bsp/imxrt/Libraries/imxrt1050/drivers/drv_spi_flash.c b/bsp/imxrt/Libraries/imxrt1050/drivers/drv_spi_flash.c
index 98927396b8..65d5bb3e22 100644
--- a/bsp/imxrt/Libraries/imxrt1050/drivers/drv_spi_flash.c
+++ b/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
diff --git a/bsp/imxrt/Libraries/imxrt1050/drivers/drv_spi_flash.h b/bsp/imxrt/Libraries/imxrt1050/drivers/drv_spi_flash.h
index ede2c53111..3cf2837063 100644
--- a/bsp/imxrt/Libraries/imxrt1050/drivers/drv_spi_flash.h
+++ b/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
diff --git a/bsp/imxrt/Libraries/imxrt1050/drivers/drv_uart.c b/bsp/imxrt/Libraries/imxrt1050/drivers/drv_uart.c
index ca076ab19a..c56c33d0af 100644
--- a/bsp/imxrt/Libraries/imxrt1050/drivers/drv_uart.c
+++ b/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 */
diff --git a/bsp/imxrt/Libraries/imxrt1050/drivers/drv_uart.h b/bsp/imxrt/Libraries/imxrt1050/drivers/drv_uart.h
index ca9fb423a1..edfb1084f0 100644
--- a/bsp/imxrt/Libraries/imxrt1050/drivers/drv_uart.h
+++ b/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
diff --git a/bsp/imxrt/Libraries/imxrt1050/drivers/drv_usbd.c b/bsp/imxrt/Libraries/imxrt1050/drivers/drv_usbd.c
index 29e9913141..3482130ed2 100644
--- a/bsp/imxrt/Libraries/imxrt1050/drivers/drv_usbd.c
+++ b/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