forked from Mirrors/opensbi

Instead of having system_reset_check() and system_reset() callbacks in platform operations, it will be much simpler for reset driver to directly register these operations as a device to the sbi_system implementation. Signed-off-by: Anup Patel <anup.patel@wdc.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
18 lines
306 B
C
18 lines
306 B
C
/*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*
|
|
* Copyright (c) 2010-2020, The Regents of the University of California
|
|
* (Regents). All Rights Reserved.
|
|
*/
|
|
|
|
#ifndef __SYS_HTIF_H__
|
|
#define __SYS_HTIF_H__
|
|
|
|
#include <sbi/sbi_types.h>
|
|
|
|
int htif_serial_init(void);
|
|
|
|
int htif_system_reset_init(void);
|
|
|
|
#endif
|