Browse Source

[bsp][imxrt] change lisense

guozhanxin 6 years ago
parent
commit
6e06b31244

+ 3 - 17
bsp/imxrt/Libraries/imxrt1050/drivers/drv_flexspi_hyper.c

@@ -1,23 +1,9 @@
 /*
- * File      : code_run.c
- * This file is part of RT-Thread RTOS
- * COPYRIGHT (C) 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.
+ * SPDX-License-Identifier: Apache-2.0
  *
- *  This program is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERsrcANTABILITY 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.
- *
- * srcange Logs:
+ * Change Logs:
  * Date           Author       Notes
  * 2018-07-05     ZYH    the first version
  */

+ 3 - 17
bsp/imxrt/Libraries/imxrt1050/drivers/drv_flexspi_nor.c

@@ -1,23 +1,9 @@
 /*
- * File      : code_run.c
- * This file is part of RT-Thread RTOS
- * COPYRIGHT (C) 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.
+ * SPDX-License-Identifier: Apache-2.0
  *
- *  This program is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERsrcANTABILITY 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.
- *
- * srcange Logs:
+ * Change Logs:
  * Date           Author       Notes
  * 2018-07-05     ZYH    the first version
  */

+ 10 - 1
bsp/imxrt/imxrt1050-ArchMix/drivers/drv_flexspi.c

@@ -1,5 +1,14 @@
+/*
+ * Copyright (c) 2006-2018, RT-Thread Development Team
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ *
+ * Change Logs:
+ * Date           Author       Notes
+ * 2018-12-29     flybreak     first implementation
+ */
+
 #include <rtthread.h>
 #include <drv_flexspi.h>
 
 INIT_PREV_EXPORT(rt_hw_flexspi_init);
-

+ 10 - 0
bsp/imxrt/imxrt1050-ArchMix/drivers/drv_flexspi.h

@@ -1,3 +1,13 @@
+/*
+ * Copyright (c) 2006-2018, RT-Thread Development Team
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ *
+ * Change Logs:
+ * Date           Author       Notes
+ * 2018-12-29     flybreak     first implementation
+ */
+
 #ifndef __DRV_FLEXSPI_H__
 #define __DRV_FLEXSPI_H__
 #include "fsl_flexspi.h"

+ 5 - 23
bsp/imxrt/imxrt1050-ArchMix/drivers/ports/ef_fal_port.c

@@ -1,29 +1,11 @@
 /*
- * This file is part of the EasyFlash Library.
+ * Copyright (c) 2006-2018, RT-Thread Development Team
  *
- * Copyright (c) 2015, Armink, <armink.ztl@gmail.com>
+ * SPDX-License-Identifier: Apache-2.0
  *
- * Permission is hereby granted, free of charge, to any person obtaining
- * a copy of this software and associated documentation files (the
- * 'Software'), to deal in the Software without restriction, including
- * without limitation the rights to use, copy, modify, merge, publish,
- * distribute, sublicense, and/or sell copies of the Software, and to
- * permit persons to whom the Software is furnished to do so, subject to
- * the following conditions:
- *
- * The above copyright notice and this permission notice shall be
- * included in all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
- * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
- * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
- * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
- * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
- *
- * Function: Portable interface for FAL (Flash Abstraction Layer) partition.
- * Created on: 2018-05-19
+ * Change Logs:
+ * Date           Author       Notes
+ * 2018-05-19     armink       the first version
  */
 
 #include <easyflash.h>

+ 9 - 1
bsp/imxrt/imxrt1050-ArchMix/drivers/ports/ef_update.c

@@ -1,4 +1,12 @@
-
+/*
+ * Copyright (c) 2006-2018, RT-Thread Development Team
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ *
+ * Change Logs:
+ * Date           Author       Notes
+ * 2018-12-29     flybreak     first implementation
+ */
 
 #include <easyflash.h>
 #include <rtthread.h>

+ 10 - 0
bsp/imxrt/imxrt1050-ArchMix/drivers/ports/fal_flash_init.c

@@ -1,3 +1,13 @@
+/*
+ * Copyright (c) 2006-2018, RT-Thread Development Team
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ *
+ * Change Logs:
+ * Date           Author       Notes
+ * 2018-12-29     flybreak     first implementation
+ */
+
 #include <rtthread.h>
 #include <fal.h>
 #include <easyflash.h>

+ 1 - 0
bsp/imxrt/imxrt1050-ArchMix/drivers/ports/fal_flexspi_nor_flash_port.c

@@ -6,6 +6,7 @@
  * Date           Author       Notes
  * 2018-01-26     armink       the first version
  */
+
 #include <rtthread.h>
 #include <fal.h>
 #include <drv_flexspi.h>

+ 10 - 1
bsp/imxrt/imxrt1050-evk/drivers/drv_flexspi.c

@@ -1,5 +1,14 @@
+/*
+ * Copyright (c) 2006-2018, RT-Thread Development Team
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ *
+ * Change Logs:
+ * Date           Author       Notes
+ * 2018-12-29     flybreak     first implementation
+ */
+
 #include <rtthread.h>
 #include <drv_flexspi.h>
 
 INIT_PREV_EXPORT(rt_hw_flexspi_init);
-

+ 10 - 0
bsp/imxrt/imxrt1050-evk/drivers/drv_flexspi.h

@@ -1,3 +1,13 @@
+/*
+ * Copyright (c) 2006-2018, RT-Thread Development Team
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ *
+ * Change Logs:
+ * Date           Author       Notes
+ * 2018-12-29     flybreak     first implementation
+ */
+
 #ifndef __DRV_FLEXSPI_H__
 #define __DRV_FLEXSPI_H__
 #include "fsl_flexspi.h"