blob: 42b15a13a234748682c54bf1d7276c0c674dc4d6 [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
Rick Chen8bbb2902017-12-26 13:55:49 +08002/*
3 * Copyright (C) 2017 Andes Technology Corporation
4 * Rick Chen, Andes Technology Corporation <rick@andestech.com>
Rick Chen8bbb2902017-12-26 13:55:49 +08005 */
6
7#include <common.h>
8#include <command.h>
9
Rick Chen8bbb2902017-12-26 13:55:49 +080010unsigned long do_go_exec(ulong (*entry)(int, char * const []),
11 int argc, char * const argv[])
12{
13 cleanup_before_linux();
14
15 return entry(argc, argv);
16}