blob: da2fd36a16c4b50b059a32c2474681b8df91ebed [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
rickf1113c92017-05-18 14:37:53 +08002/*
3 * Copyright (C) 2011 Andes Technology Corporation
4 * Rick Chen, Andes Technology Corporation <rick@andestech.com>
rickf1113c92017-05-18 14:37:53 +08005 */
6
7
8#include <common.h>
9#include <command.h>
10
rickf1113c92017-05-18 14:37:53 +080011unsigned long do_go_exec(ulong (*entry)(int, char * const []),
Simon Glassed38aef2020-05-10 11:40:03 -060012 int argc, char *const argv[])
rickf1113c92017-05-18 14:37:53 +080013{
14 cleanup_before_linux();
15
16 return entry(argc, argv);
17}