Pārlūkot izejas kodu

更改许可信息

heyuanjie87 6 gadi atpakaļ
vecāks
revīzija
3e71dc88f3

+ 15 - 0
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 <drivers/mtd.h>
 
 static rt_mtd_t* mtd_part_alloc(rt_mtd_t *master, const struct mtd_part *part)

+ 15 - 0
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 <rtdevice.h>
 
 #define MTDTONAND(x)    ((rt_nand_t*)(x))

+ 9 - 18
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 <drivers/mtdnor.h>