blob: 1313506ed557e6df32c00e70da71740467c0eae4 [file] [log] [blame]
rickb841b6e2017-05-18 14:37:53 +08001/*
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
rickb841b6e2017-05-18 14:37:53 +080012unsigned 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}