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