From 90560e87c584f5a6a16a42aa6205ecfefb4e935f Mon Sep 17 00:00:00 2001 From: 0xcccccccccccc <0xcccc@bupt.edu.cn> Date: Fri, 11 Dec 2020 00:45:58 +0800 Subject: [PATCH] - Copyright information added. --- bsp/ls2kdev/drivers/drv_spi.c | 14 ++++++++++++++ bsp/ls2kdev/drivers/drv_spi.h | 14 ++++++++++++++ 2 files changed, 28 insertions(+) diff --git a/bsp/ls2kdev/drivers/drv_spi.c b/bsp/ls2kdev/drivers/drv_spi.c index 2fa90ef121..3f3ad90802 100644 --- a/bsp/ls2kdev/drivers/drv_spi.c +++ b/bsp/ls2kdev/drivers/drv_spi.c @@ -1,3 +1,16 @@ +/* + * Copyright (c) 2006-2020, RT-Thread Development Team + * + * SPDX-License-Identifier: Apache-2.0 + * + * Change Logs: + * Date Author Notes + * 2020-10-28 0xcccccccccccc Initial Version + */ +/** + * @addtogroup ls2k + */ +/*@{*/ #include #include #include @@ -214,3 +227,4 @@ static int loongson_spi_init() INIT_BOARD_EXPORT(loongson_spi_init); #endif +/*@}*/ diff --git a/bsp/ls2kdev/drivers/drv_spi.h b/bsp/ls2kdev/drivers/drv_spi.h index cbc3bee924..0b254d4fc2 100644 --- a/bsp/ls2kdev/drivers/drv_spi.h +++ b/bsp/ls2kdev/drivers/drv_spi.h @@ -1,3 +1,16 @@ +/* + * Copyright (c) 2006-2020, RT-Thread Development Team + * + * SPDX-License-Identifier: Apache-2.0 + * + * Change Logs: + * Date Author Notes + * 2020-10-28 0xcccccccccccc Initial Version + */ +/** + * @addtogroup ls2k + */ +/*@{*/ #ifndef LS2K_DRV_SPI_H #define LS2K_DRV_SPI_H @@ -30,3 +43,4 @@ #define GET_SPI(addr) KSEG1_LOAD8(SPI_BASE+addr) #endif +/*@}*/