blob: f9c1c6b3ff6310ad4e13f5997154f042a40c46af [file] [log] [blame]
rickf1113c92017-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
12DECLARE_GLOBAL_DATA_PTR;
13
14unsigned long do_go_exec(ulong (*entry)(int, char * const []),
15 int argc, char * const argv[])
16{
17 cleanup_before_linux();
18
19 return entry(argc, argv);
20}