summaryrefslogtreecommitdiff
path: root/components/drivers/mtd
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2018-10-14 19:37:18 +0800
committerBernard Xiong <[email protected]>2018-10-14 19:37:18 +0800
commit2c0640a17872cd0e2a4fc8dc8a301a77dae6cc0d (patch)
tree8b4894fa67e7e8cfd144fb18d87657ea42f55a21 /components/drivers/mtd
parent9064b28c2a7503a96fe69adcf55f604a7d25b5de (diff)
[license] Change license to Apache.
Diffstat (limited to 'components/drivers/mtd')
-rw-r--r--components/drivers/mtd/mtd.c4
-rw-r--r--components/drivers/mtd/mtd_nand.c18
-rw-r--r--components/drivers/mtd/mtd_nor.c20
-rw-r--r--components/drivers/mtd/mtdnand.c7
-rw-r--r--components/drivers/mtd/mtdnor.c4
5 files changed, 6 insertions, 47 deletions
diff --git a/components/drivers/mtd/mtd.c b/components/drivers/mtd/mtd.c
index 4d36ea0b0b..3e7b4f2b54 100644
--- a/components/drivers/mtd/mtd.c
+++ b/components/drivers/mtd/mtd.c
@@ -2,10 +2,6 @@
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
- */
-
-/*
- * File : mtd.c
*
* Change Logs:
* Date Author Notes
diff --git a/components/drivers/mtd/mtd_nand.c b/components/drivers/mtd/mtd_nand.c
index bf22d889ce..3e4582ceaf 100644
--- a/components/drivers/mtd/mtd_nand.c
+++ b/components/drivers/mtd/mtd_nand.c
@@ -1,21 +1,7 @@
/*
- * File : mtd_core.c
- * This file is part of RT-Thread RTOS
- * COPYRIGHT (C) 2006 - 2012, 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.
- *
- * 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
*
* Change Logs:
* Date Author Notes
diff --git a/components/drivers/mtd/mtd_nor.c b/components/drivers/mtd/mtd_nor.c
index 8f37e95f09..b941f9236d 100644
--- a/components/drivers/mtd/mtd_nor.c
+++ b/components/drivers/mtd/mtd_nor.c
@@ -1,21 +1,7 @@
/*
- * File : mtd_nor.c
- * This file is part of RT-Thread RTOS
- * COPYRIGHT (C) 2012, Shanghai Real-Thread Technology Co., Ltd
- *
- * 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.
+ * COPYRIGHT (C) 2018, Real-Thread Information Technology Ltd
+ *
+ * SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
diff --git a/components/drivers/mtd/mtdnand.c b/components/drivers/mtd/mtdnand.c
index c209ea3279..50012219fb 100644
--- a/components/drivers/mtd/mtdnand.c
+++ b/components/drivers/mtd/mtdnand.c
@@ -2,15 +2,10 @@
* 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
-
+ * 2018-09-10 heyuanjie87 first version
*/
#include <rtdevice.h>
diff --git a/components/drivers/mtd/mtdnor.c b/components/drivers/mtd/mtdnor.c
index e97f48e65c..481d26167e 100644
--- a/components/drivers/mtd/mtdnor.c
+++ b/components/drivers/mtd/mtdnor.c
@@ -2,10 +2,6 @@
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
- */
-
-/*
- * File : mtdnor.c
*
* Change Logs:
* Date Author Notes