2015-11-26 23:39:47 +08:00
|
|
|
/* system.c - system/hardware module for quark_se_ss BSP */
|
2015-11-22 20:23:41 +08:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Copyright (c) 2014-2015 Wind River Systems, Inc.
|
|
|
|
*
|
2017-01-19 09:01:01 +08:00
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
2015-11-22 20:23:41 +08:00
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* This module provides routines to initialize and support board-level hardware
|
|
|
|
* for the Quark SE platform.
|
|
|
|
*/
|
|
|
|
|
2016-12-23 21:35:34 +08:00
|
|
|
#include <kernel.h>
|
2015-12-17 21:54:35 +08:00
|
|
|
#include "soc.h"
|
2015-11-22 20:23:41 +08:00
|
|
|
#include <init.h>
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @brief perform basic hardware initialization
|
|
|
|
*
|
|
|
|
* RETURNS: N/A
|
|
|
|
*/
|
|
|
|
static int quark_se_arc_init(struct device *arg)
|
|
|
|
{
|
|
|
|
ARG_UNUSED(arg);
|
|
|
|
|
2016-12-22 05:26:17 +08:00
|
|
|
_quark_se_ss_ready();
|
|
|
|
|
2015-11-22 20:23:41 +08:00
|
|
|
return 0;
|
|
|
|
}
|
2016-01-29 04:16:31 +08:00
|
|
|
|
2016-11-15 23:19:00 +08:00
|
|
|
SYS_INIT(quark_se_arc_init, POST_KERNEL, CONFIG_KERNEL_INIT_PRIORITY_DEFAULT);
|