更改许可信息

This commit is contained in:
heyuanjie87 2018-09-19 10:09:38 +08:00
parent bc5a5f89e9
commit 3e71dc88f3
3 changed files with 39 additions and 18 deletions

View File

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

View File

@ -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> #include <rtdevice.h>
#define MTDTONAND(x) ((rt_nand_t*)(x)) #define MTDTONAND(x) ((rt_nand_t*)(x))

View File

@ -1,25 +1,16 @@
/* /*
* File : mtdnor.c * Copyright (c) 2006-2018, RT-Thread Development Team
* 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 * SPDX-License-Identifier: Apache-2.0
* 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. /*
* * File : mtdnor.c
* 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.
* *
* Change Logs: * Change Logs:
* Date Author Notes * Date Author Notes
* 2018-8-30 heyuanjie the first version 2018-09-10 heyuanjie87 first version
*/ */
#include <drivers/mtdnor.h> #include <drivers/mtdnor.h>