2018-05-06 21:58:06 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0+ */
|
2017-12-26 05:55:51 +00:00
|
|
|
/*
|
|
|
|
* (C) Copyright 2002
|
|
|
|
* Sysgo Real-Time Solutions, GmbH <www.elinos.com>
|
|
|
|
* Marius Groeger <mgroeger@sysgo.de>
|
|
|
|
*
|
|
|
|
* Copyright (C) 2017 Andes Technology Corporation
|
|
|
|
* Rick Chen, Andes Technology Corporation <rick@andestech.com>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _U_BOOT_RISCV_H_
|
|
|
|
#define _U_BOOT_RISCV_H_ 1
|
|
|
|
|
|
|
|
/* cpu/.../cpu.c */
|
|
|
|
int cleanup_before_linux(void);
|
|
|
|
|
|
|
|
/* board/.../... */
|
|
|
|
int board_init(void);
|
2018-04-23 05:59:46 +00:00
|
|
|
void board_quiesce_devices(void);
|
2020-04-21 18:15:01 +00:00
|
|
|
int riscv_board_reserved_mem_fixup(void *fdt);
|
|
|
|
int riscv_fdt_copy_resv_mem_node(const void *src_fdt, void *dest_fdt);
|
2017-12-26 05:55:51 +00:00
|
|
|
|
|
|
|
#endif /* _U_BOOT_RISCV_H_ */
|