From 3e71dc88f36de0f76a6f5e672cfaee39a539b137 Mon Sep 17 00:00:00 2001 From: heyuanjie87 Date: Wed, 19 Sep 2018 10:09:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9=E8=AE=B8=E5=8F=AF=E4=BF=A1?= =?UTF-8?q?=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/drivers/mtd/mtd.c | 15 +++++++++++++++ components/drivers/mtd/mtdnand.c | 15 +++++++++++++++ components/drivers/mtd/mtdnor.c | 27 +++++++++------------------ 3 files changed, 39 insertions(+), 18 deletions(-) diff --git a/components/drivers/mtd/mtd.c b/components/drivers/mtd/mtd.c index 38af5c85e9..4d36ea0b0b 100644 --- a/components/drivers/mtd/mtd.c +++ b/components/drivers/mtd/mtd.c @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2006-2018, RT-Thread Development Team + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/* + * File : mtd.c + * + * Change Logs: + * Date Author Notes + 2018-09-10 heyuanjie87 first version + + */ + #include static rt_mtd_t* mtd_part_alloc(rt_mtd_t *master, const struct mtd_part *part) diff --git a/components/drivers/mtd/mtdnand.c b/components/drivers/mtd/mtdnand.c index cb5cf4e734..48d1870af1 100644 --- a/components/drivers/mtd/mtdnand.c +++ b/components/drivers/mtd/mtdnand.c @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2006-2018, RT-Thread Development Team + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/* + * File : mtdnand.c + * + * Change Logs: + * Date Author Notes + 2018-09-10 heyuanjie87 first version + + */ + #include #define MTDTONAND(x) ((rt_nand_t*)(x)) diff --git a/components/drivers/mtd/mtdnor.c b/components/drivers/mtd/mtdnor.c index 34c9ad6a4a..e97f48e65c 100644 --- a/components/drivers/mtd/mtdnor.c +++ b/components/drivers/mtd/mtdnor.c @@ -1,25 +1,16 @@ /* - * File : mtdnor.c - * This file is part of RT-Thread RTOS - * COPYRIGHT (C) 2012, Shanghai Real-Thread Technology Co., Ltd + * 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 + */ + +/* + * File : mtdnor.c * * Change Logs: - * Date Author Notes - * 2018-8-30 heyuanjie the first version + * Date Author Notes + 2018-09-10 heyuanjie87 first version + */ #include -- GitLab