summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
Diffstat (limited to 'components')
-rw-r--r--components/drivers/mtd/mtd.c15
-rw-r--r--components/drivers/mtd/mtdnand.c15
-rw-r--r--components/drivers/mtd/mtdnor.c27
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 <drivers/mtd.h>
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 <rtdevice.h>
#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 <drivers/mtdnor.h>