summaryrefslogtreecommitdiff
path: root/include/sbi_utils/sys/sifive_test.h
blob: 958622e6aa3b35523348dbef895d880bf4e9f6ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
 * SPDX-License-Identifier: BSD-3-Clause
 *
 * Copyright (c) 2020 Western Digital Corporation or its affiliates.
 *
 * Authors:
 *   Anup Patel <anup.patel@wdc.com>
 */

#ifndef __SYS_SIFIVE_TEST_H__
#define __SYS_SIFIVE_TEST_H__

#include <sbi/sbi_types.h>

int sifive_test_system_reset_check(u32 type, u32 reason);

void sifive_test_system_reset(u32 type, u32 reason);

int sifive_test_init(unsigned long base);

#endif