]> git.sur5r.net Git - u-boot/blob - arch/riscv/lib/boot.c
39ba9b49ff69814d5e07d2f98563c6294cecd718
[u-boot] / arch / riscv / lib / boot.c
1 /*
2  * Copyright (C) 2017 Andes Technology Corporation
3  * Rick Chen, Andes Technology Corporation <rick@andestech.com>
4  *
5  * SPDX-License-Identifier:     GPL-2.0+
6  */
7
8 #include <common.h>
9 #include <command.h>
10
11 DECLARE_GLOBAL_DATA_PTR;
12
13 unsigned long do_go_exec(ulong (*entry)(int, char * const []),
14                          int argc, char * const argv[])
15 {
16         cleanup_before_linux();
17
18         return entry(argc, argv);
19 }