Skip to content

Commit 083a73a

Browse files
committed
soc: arm: gigadevice: gd32f403: cleanup soc.h
- Remove unnecessary include guard - Fix comments Signed-off-by: Gerard Marull-Paretas <[email protected]>
1 parent d6db6ba commit 083a73a

File tree

1 file changed

+1
-12
lines changed
  • soc/arm/gigadevice/gd32f403

1 file changed

+1
-12
lines changed

soc/arm/gigadevice/gd32f403/soc.h

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,7 @@
44
*/
55

66
/**
7-
* @file
8-
* @brief Board configuration macros
9-
*
10-
* This header file is used to specify and describe board-level aspects
7+
* @file SoC configuration header for the GD32F403 SoC series.
118
*/
129

1310
#ifndef _SOC__H_
@@ -16,16 +13,8 @@
1613
#include <sys/util.h>
1714

1815
#ifndef _ASMLANGUAGE
19-
20-
/* Add include for DTS generated information */
2116
#include <devicetree.h>
22-
23-
#if defined(CONFIG_SOC_SERIES_GD32F403)
2417
#include <gd32f403.h>
25-
#else
26-
#error Library does not support the specified device.
27-
#endif
28-
2918
#endif /* !_ASMLANGUAGE */
3019

3120
#endif /* _SOC__H_ */

0 commit comments

Comments
 (0)