mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-21 06:31:31 +00:00
riscv: Add board_quiesce_devices stub
This patch adds an empty stub for board_quiesce_devices() which allows boards to quiesce their devices before we boot into an OS in a platform agnostic way. Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
parent
493d1e88b6
commit
b66babda45
2 changed files with 5 additions and 0 deletions
|
@ -16,5 +16,6 @@ int cleanup_before_linux(void);
|
|||
|
||||
/* board/.../... */
|
||||
int board_init(void);
|
||||
void board_quiesce_devices(void);
|
||||
|
||||
#endif /* _U_BOOT_RISCV_H_ */
|
||||
|
|
|
@ -15,6 +15,10 @@
|
|||
|
||||
DECLARE_GLOBAL_DATA_PTR;
|
||||
|
||||
__weak void board_quiesce_devices(void)
|
||||
{
|
||||
}
|
||||
|
||||
int arch_fixup_fdt(void *blob)
|
||||
{
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue