api.h 427 B

1234567891011121314151617181920
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * Copyright (c) 2017 Google, Inc
  4. * Written by Simon Glass <sjg@chromium.org>
  5. */
  6. #ifndef __API_H
  7. #define __API_H
  8. /**
  9. * api_init() - Initialize API for external applications
  10. *
  11. * Initialize API for external (standalone) applications running on top of
  12. * U-Boot. It is called during the generic post-relocation init sequence.
  13. *
  14. * Return: 0 if OK
  15. */
  16. int api_init(void);
  17. #endif