blob: 543a1688db8fc6a10766d0f66d856644fd01758a [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 * (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 Chen6020faf2017-12-26 13:55:51 +08009 */
10
11#ifndef _U_BOOT_RISCV_H_
12#define _U_BOOT_RISCV_H_ 1
13
14/* cpu/.../cpu.c */
15int cleanup_before_linux(void);
16
17/* board/.../... */
18int board_init(void);
Alexander Grafb66babd2018-04-23 07:59:46 +020019void board_quiesce_devices(void);
Atish Patrad4ea6492020-04-21 11:15:01 -070020int riscv_board_reserved_mem_fixup(void *fdt);
21int riscv_fdt_copy_resv_mem_node(const void *src_fdt, void *dest_fdt);
Rick Chen6020faf2017-12-26 13:55:51 +080022
23#endif /* _U_BOOT_RISCV_H_ */