Gigadevice was inconsistent with the convention established by other SoC families, that is, use <vnd_prefix>_<family>. For example, ST STM32 uses st_stm32. Note that GD32VF103, under soc/riscv, has already been adjusted. Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
17 lines
278 B
C
17 lines
278 B
C
/*
|
|
* Copyright (c) 2021, Teslabs Engineering S.L.
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#include <zephyr/device.h>
|
|
#include <zephyr/init.h>
|
|
#include <soc.h>
|
|
|
|
static int gd32f4xx_soc_init(void)
|
|
{
|
|
SystemInit();
|
|
|
|
return 0;
|
|
}
|
|
|
|
SYS_INIT(gd32f4xx_soc_init, PRE_KERNEL_1, 0);
|