Browse Source

- Copyright information added.

0xcccccccccccc 4 years ago
parent
commit
90560e87c5
2 changed files with 28 additions and 0 deletions
  1. 14 0
      bsp/ls2kdev/drivers/drv_spi.c
  2. 14 0
      bsp/ls2kdev/drivers/drv_spi.h

+ 14 - 0
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 <stdio.h>
 #include <stdlib.h>
 #include <ctype.h>
@@ -214,3 +227,4 @@ static int loongson_spi_init()
 INIT_BOARD_EXPORT(loongson_spi_init);
 
 #endif
+/*@}*/

+ 14 - 0
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
+/*@}*/