boot.c 357 B

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