mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-30 08:07:59 +00:00

As part of bringing the master branch back in to next, we need to allow for all of these changes to exist here. Reported-by: Jonas Karlman <jonas@kwiboo.se> Signed-off-by: Tom Rini <trini@konsulko.com>
16 lines
370 B
C
16 lines
370 B
C
// SPDX-License-Identifier: GPL-2.0+
|
|
/*
|
|
* Copyright (C) 2017 Andes Technology Corporation
|
|
* Rick Chen, Andes Technology Corporation <rick@andestech.com>
|
|
*/
|
|
|
|
#include <linux/types.h>
|
|
#include <asm/u-boot-riscv.h>
|
|
|
|
unsigned long do_go_exec(ulong (*entry)(int, char * const []),
|
|
int argc, char *const argv[])
|
|
{
|
|
cleanup_before_linux();
|
|
|
|
return entry(argc, argv);
|
|
}
|