From 6e06b31244c1ac38dfde0c8a86b322c35503996a Mon Sep 17 00:00:00 2001 From: guozhanxin Date: Sat, 29 Dec 2018 21:37:02 +0800 Subject: [PATCH] [bsp][imxrt] change lisense --- .../imxrt1050/drivers/drv_flexspi_hyper.c | 20 ++----------- .../imxrt1050/drivers/drv_flexspi_nor.c | 20 ++----------- .../imxrt1050-ArchMix/drivers/drv_flexspi.c | 11 +++++++- .../imxrt1050-ArchMix/drivers/drv_flexspi.h | 10 +++++++ .../drivers/ports/ef_fal_port.c | 28 ++++--------------- .../drivers/ports/ef_update.c | 10 ++++++- .../drivers/ports/fal_flash_init.c | 10 +++++++ .../ports/fal_flexspi_nor_flash_port.c | 1 + bsp/imxrt/imxrt1050-evk/drivers/drv_flexspi.c | 11 +++++++- bsp/imxrt/imxrt1050-evk/drivers/drv_flexspi.h | 10 +++++++ 10 files changed, 71 insertions(+), 60 deletions(-) diff --git a/bsp/imxrt/Libraries/imxrt1050/drivers/drv_flexspi_hyper.c b/bsp/imxrt/Libraries/imxrt1050/drivers/drv_flexspi_hyper.c index 1db7f743e9..aa851f7b39 100644 --- a/bsp/imxrt/Libraries/imxrt1050/drivers/drv_flexspi_hyper.c +++ b/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 */ diff --git a/bsp/imxrt/Libraries/imxrt1050/drivers/drv_flexspi_nor.c b/bsp/imxrt/Libraries/imxrt1050/drivers/drv_flexspi_nor.c index e9efbfd724..c48e43c2e0 100644 --- a/bsp/imxrt/Libraries/imxrt1050/drivers/drv_flexspi_nor.c +++ b/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 */ diff --git a/bsp/imxrt/imxrt1050-ArchMix/drivers/drv_flexspi.c b/bsp/imxrt/imxrt1050-ArchMix/drivers/drv_flexspi.c index 8bd49adc03..e8bcef3d96 100644 --- a/bsp/imxrt/imxrt1050-ArchMix/drivers/drv_flexspi.c +++ b/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 #include INIT_PREV_EXPORT(rt_hw_flexspi_init); - diff --git a/bsp/imxrt/imxrt1050-ArchMix/drivers/drv_flexspi.h b/bsp/imxrt/imxrt1050-ArchMix/drivers/drv_flexspi.h index b209b47a70..0131494324 100644 --- a/bsp/imxrt/imxrt1050-ArchMix/drivers/drv_flexspi.h +++ b/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" diff --git a/bsp/imxrt/imxrt1050-ArchMix/drivers/ports/ef_fal_port.c b/bsp/imxrt/imxrt1050-ArchMix/drivers/ports/ef_fal_port.c index 7d6213675d..7ba3517423 100644 --- a/bsp/imxrt/imxrt1050-ArchMix/drivers/ports/ef_fal_port.c +++ b/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, + * 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 diff --git a/bsp/imxrt/imxrt1050-ArchMix/drivers/ports/ef_update.c b/bsp/imxrt/imxrt1050-ArchMix/drivers/ports/ef_update.c index 7274a633c7..87428e8323 100644 --- a/bsp/imxrt/imxrt1050-ArchMix/drivers/ports/ef_update.c +++ b/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 #include diff --git a/bsp/imxrt/imxrt1050-ArchMix/drivers/ports/fal_flash_init.c b/bsp/imxrt/imxrt1050-ArchMix/drivers/ports/fal_flash_init.c index 745ff77685..a22d75e59a 100644 --- a/bsp/imxrt/imxrt1050-ArchMix/drivers/ports/fal_flash_init.c +++ b/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 #include #include diff --git a/bsp/imxrt/imxrt1050-ArchMix/drivers/ports/fal_flexspi_nor_flash_port.c b/bsp/imxrt/imxrt1050-ArchMix/drivers/ports/fal_flexspi_nor_flash_port.c index 5275fad230..8c7a232556 100644 --- a/bsp/imxrt/imxrt1050-ArchMix/drivers/ports/fal_flexspi_nor_flash_port.c +++ b/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 #include #include diff --git a/bsp/imxrt/imxrt1050-evk/drivers/drv_flexspi.c b/bsp/imxrt/imxrt1050-evk/drivers/drv_flexspi.c index 8bd49adc03..e8bcef3d96 100644 --- a/bsp/imxrt/imxrt1050-evk/drivers/drv_flexspi.c +++ b/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 #include INIT_PREV_EXPORT(rt_hw_flexspi_init); - diff --git a/bsp/imxrt/imxrt1050-evk/drivers/drv_flexspi.h b/bsp/imxrt/imxrt1050-evk/drivers/drv_flexspi.h index 83291c8275..6d52601ca1 100644 --- a/bsp/imxrt/imxrt1050-evk/drivers/drv_flexspi.h +++ b/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" -- GitLab