soc: silabs: align comments with soc tree
Cosmetics changes to reflect the tree organisation. Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
This commit is contained in:
committed by
Carles Cufi
parent
66d425f571
commit
2fd081ac86
@@ -190,7 +190,7 @@ config SOC_GECKO_DEV_INIT
|
||||
configures DPLLs and manages the Energy Management Unit.
|
||||
|
||||
Disabling these services may negatively impact counter and timer
|
||||
routines in EXX32 series SoCs.
|
||||
routines in Silabs SoCs.
|
||||
|
||||
config COUNTER_GECKO_STIMER
|
||||
bool
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
/**
|
||||
* @file
|
||||
* @brief Common SoC initialization for the EXX32
|
||||
* @brief Common SoC initialization for the Silabs products
|
||||
*/
|
||||
|
||||
#include <zephyr/init.h>
|
||||
@@ -206,7 +206,7 @@ static void swo_init(void)
|
||||
*
|
||||
* @return 0
|
||||
*/
|
||||
static int silabs_exx32_init(void)
|
||||
static int silabs_init(void)
|
||||
{
|
||||
/* handle chip errata */
|
||||
CHIP_Init();
|
||||
@@ -244,4 +244,4 @@ static int silabs_exx32_init(void)
|
||||
return 0;
|
||||
}
|
||||
|
||||
SYS_INIT(silabs_exx32_init, PRE_KERNEL_1, 0);
|
||||
SYS_INIT(silabs_init, PRE_KERNEL_1, 0);
|
||||
|
||||
@@ -4,12 +4,12 @@
|
||||
*/
|
||||
|
||||
/** @file
|
||||
* @brief Silabs EXX32 MCU family General Purpose Input Output (GPIO)
|
||||
* @brief Silabs MCU family General Purpose Input Output (GPIO)
|
||||
* module HAL driver.
|
||||
*/
|
||||
|
||||
#ifndef _SILABS_EXX32_SOC_GPIO_H_
|
||||
#define _SILABS_EXX32_SOC_GPIO_H_
|
||||
#ifndef _SILABS_COMMON_SOC_GPIO_H_
|
||||
#define _SILABS_COMMON_SOC_GPIO_H_
|
||||
|
||||
#include <soc.h>
|
||||
#include <em_gpio.h>
|
||||
@@ -29,4 +29,4 @@ struct soc_gpio_pin {
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _SILABS_EXX32_SOC_GPIO_H_ */
|
||||
#endif /* _SILABS_COMMON_SOC_GPIO_H_ */
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef ZEPHYR_SOC_ARM_SILABS_EXX32_EFR32MG21_SOC_H
|
||||
#define ZEPHYR_SOC_ARM_SILABS_EXX32_EFR32MG21_SOC_H
|
||||
#ifndef _SILABS_EFR32MG21_SOC_H
|
||||
#define _SILABS_EFR32MG21_SOC_H
|
||||
|
||||
#include <zephyr/sys/util.h>
|
||||
|
||||
@@ -25,4 +25,4 @@
|
||||
|
||||
#endif /* !_ASMLANGUAGE */
|
||||
|
||||
#endif /* ZEPHYR_SOC_ARM_SILABS_EXX32_EFR32MG21_SOC_H */
|
||||
#endif /* _SILABS_EFR32MG21_SOC_H */
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
* modules to correctly configure GPIO controller.
|
||||
*/
|
||||
|
||||
#ifndef ZEPHYR_SOC_ARM_SILABS_EXX32_EFR32MG21_SOC_PINMAP_H_
|
||||
#define ZEPHYR_SOC_ARM_SILABS_EXX32_EFR32MG21_SOC_PINMAP_H_
|
||||
#ifndef _SILABS_EFR32MG21_SOC_PINMAP_H_
|
||||
#define _SILABS_EFR32MG21_SOC_PINMAP_H_
|
||||
|
||||
#include <em_gpio.h>
|
||||
|
||||
@@ -19,4 +19,4 @@
|
||||
#define PIN_SWO { gpioPortA, 3, gpioModePushPull, 1 }
|
||||
#endif /* CONFIG_LOG_BACKEND_SWO */
|
||||
|
||||
#endif /* ZEPHYR_SOC_ARM_SILABS_EXX32_EFR32MG21_SOC_PINMAP_H_ */
|
||||
#endif /* _SILABS_EFR32MG21_SOC_PINMAP_H_ */
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef ZEPHYR_SOC_ARM_SILABS_EXX32_EFR32MG24_SOC_H
|
||||
#define ZEPHYR_SOC_ARM_SILABS_EXX32_EFR32MG24_SOC_H
|
||||
#ifndef _SILABS_EFR32MG24_SOC_H
|
||||
#define _SILABS_EFR32MG24_SOC_H
|
||||
|
||||
#include <zephyr/sys/util.h>
|
||||
|
||||
@@ -27,4 +27,4 @@
|
||||
|
||||
#endif /* !_ASMLANGUAGE */
|
||||
|
||||
#endif /* ZEPHYR_SOC_ARM_SILABS_EXX32_EFR32MG24_SOC_H */
|
||||
#endif /* _SILABS_EFR32MG24_SOC_H */
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
* modules to correctly configure GPIO controller.
|
||||
*/
|
||||
|
||||
#ifndef ZEPHYR_SOC_ARM_SILABS_EXX32_EFR32MG24_SOC_PINMAP_H_
|
||||
#define ZEPHYR_SOC_ARM_SILABS_EXX32_EFR32MG24_SOC_PINMAP_H_
|
||||
#ifndef _SILABS_EFR32MG24_SOC_PINMAP_H_
|
||||
#define _SILABS_EFR32MG24_SOC_PINMAP_H_
|
||||
|
||||
#include <em_gpio.h>
|
||||
|
||||
@@ -19,4 +19,4 @@
|
||||
#define PIN_SWO { gpioPortA, 3, gpioModePushPull, 1 }
|
||||
#endif /* CONFIG_LOG_BACKEND_SWO */
|
||||
|
||||
#endif /* ZEPHYR_SOC_ARM_SILABS_EXX32_EFR32MG24_SOC_PINMAP_H_ */
|
||||
#endif /* _SILABS_EFR32MG24_SOC_PINMAP_H_ */
|
||||
|
||||
Reference in New Issue
Block a user