diff options
Diffstat (limited to 'roms/opensbi/include/sbi_utils/sys/sifive_test.h')
-rw-r--r-- | roms/opensbi/include/sbi_utils/sys/sifive_test.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/roms/opensbi/include/sbi_utils/sys/sifive_test.h b/roms/opensbi/include/sbi_utils/sys/sifive_test.h new file mode 100644 index 000000000..958622e6a --- /dev/null +++ b/roms/opensbi/include/sbi_utils/sys/sifive_test.h @@ -0,0 +1,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 |