2021-06-25 20:38:11 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2021 Microchip Technology Inc.
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <sys/__assert.h>
|
|
|
|
#include <device.h>
|
|
|
|
#include <init.h>
|
|
|
|
#include <soc.h>
|
|
|
|
#include <kernel.h>
|
|
|
|
#include <arch/cpu.h>
|
|
|
|
#include <arch/arm/aarch32/cortex_m/cmsis.h>
|
|
|
|
|
|
|
|
static int soc_init(const struct device *dev)
|
|
|
|
{
|
|
|
|
ARG_UNUSED(dev);
|
|
|
|
|
2021-07-10 22:39:23 +08:00
|
|
|
return 0;
|
2021-06-25 20:38:11 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
SYS_INIT(soc_init, PRE_KERNEL_1, CONFIG_KERNEL_INIT_PRIORITY_DEFAULT);
|