boot.c 387 B

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