Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Rick Chen | 76c0a24 | 2017-12-26 13:55:51 +0800 | [diff] [blame] | 2 | /* |
| 3 | * (C) Copyright 2002 |
| 4 | * Sysgo Real-Time Solutions, GmbH <www.elinos.com> |
| 5 | * Marius Groeger <mgroeger@sysgo.de> |
| 6 | * |
| 7 | * Copyright (C) 2017 Andes Technology Corporation |
| 8 | * Rick Chen, Andes Technology Corporation <rick@andestech.com> |
Rick Chen | 76c0a24 | 2017-12-26 13:55:51 +0800 | [diff] [blame] | 9 | */ |
| 10 | |
| 11 | #ifndef _U_BOOT_RISCV_H_ |
| 12 | #define _U_BOOT_RISCV_H_ 1 |
| 13 | |
| 14 | /* cpu/.../cpu.c */ |
| 15 | int cleanup_before_linux(void); |
| 16 | |
| 17 | /* board/.../... */ |
| 18 | int board_init(void); |
Alexander Graf | 7ea64b0 | 2018-04-23 07:59:46 +0200 | [diff] [blame] | 19 | void board_quiesce_devices(void); |
Atish Patra | 111b804 | 2020-04-21 11:15:01 -0700 | [diff] [blame] | 20 | int riscv_board_reserved_mem_fixup(void *fdt); |
| 21 | int riscv_fdt_copy_resv_mem_node(const void *src_fdt, void *dest_fdt); |
Rick Chen | 76c0a24 | 2017-12-26 13:55:51 +0800 | [diff] [blame] | 22 | |
| 23 | #endif /* _U_BOOT_RISCV_H_ */ |