zephyr/arch/arc/soc/quark_se_c1000_ss/soc.c

33 lines
643 B
C

/* system.c - system/hardware module for quark_se_ss BSP */
/*
* Copyright (c) 2014-2015 Wind River Systems, Inc.
*
* SPDX-License-Identifier: Apache-2.0
*/
/**
* This module provides routines to initialize and support board-level hardware
* for the Quark SE platform.
*/
#include <kernel.h>
#include "soc.h"
#include <init.h>
#include <quark_se/shared_mem.h>
/**
* @brief perform basic hardware initialization
*
* RETURNS: N/A
*/
static int quark_se_arc_init(struct device *arg)
{
ARG_UNUSED(arg);
shared_data->flags |= ARC_READY;
return 0;
}
SYS_INIT(quark_se_arc_init, POST_KERNEL, CONFIG_KERNEL_INIT_PRIORITY_DEFAULT);