blob: 9d8e43e394269883bec2883bb1e0e94334473419 [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Rick Chen6020faf2017-12-26 13:55:51 +08002/*
3 * Copyright (C) 2017 Andes Technology Corporation
4 * Rick Chen, Andes Technology Corporation <rick@andestech.com>
Rick Chen6020faf2017-12-26 13:55:51 +08005 */
6
7#ifndef __ASM_RISCV_SYSTEM_H
8#define __ASM_RISCV_SYSTEM_H
9
Simon Glass7fe32b32022-03-04 08:43:05 -070010struct event;
11
Rick Chen6020faf2017-12-26 13:55:51 +080012/*
13 * Interrupt configuring macros.
14 *
15 * TODO
16 *
17 */
18
Simon Glass7fe32b32022-03-04 08:43:05 -070019/* Hook to set up the CPU (called from SPL too) */
20int riscv_cpu_setup(void *ctx, struct event *event);
21
Rick Chen6020faf2017-12-26 13:55:51 +080022#endif /* __ASM_RISCV_SYSTEM_H */