rick | b841b6e | 2017-05-18 14:37:53 +0800 | [diff] [blame] | 1 | /* |
2 | * Copyright (C) 2011 Andes Technology Corporation | ||||
3 | * Rick Chen, Andes Technology Corporation <rick@andestech.com> | ||||
4 | * | ||||
5 | * SPDX-License-Identifier: GPL-2.0+ | ||||
6 | */ | ||||
7 | |||||
8 | |||||
9 | #include <common.h> | ||||
10 | #include <command.h> | ||||
11 | |||||
rick | b841b6e | 2017-05-18 14:37:53 +0800 | [diff] [blame] | 12 | unsigned long do_go_exec(ulong (*entry)(int, char * const []), |
13 | int argc, char * const argv[]) | ||||
14 | { | ||||
15 | cleanup_before_linux(); | ||||
16 | |||||
17 | return entry(argc, argv); | ||||
18 | } |