blob: da38b0e38ad8821d68576ac825f5fc631b432ece [file] [log] [blame]
/*
* Copyright (c) 2021 Tokita, Hiroshi <tokita.hiroshi@gmail.com>
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <zephyr/init.h>
#include <zephyr/irq.h>
#include <gd32vf103.h>
void soc_early_init_hook(void)
{
uint32_t key;
key = irq_lock();
SystemInit();
irq_unlock(key);
}