2018-05-06 17:58:06 -04:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0+ */
|
2017-05-17 08:22:40 -06:00
|
|
|
/*
|
|
|
|
|
* Copyright (c) 2017 Google, Inc
|
|
|
|
|
* Written by Simon Glass <sjg@chromium.org>
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#ifndef __API_H
|
|
|
|
|
#define __API_H
|
|
|
|
|
|
2020-11-28 10:43:16 +02:00
|
|
|
/**
|
|
|
|
|
* api_init() - Initialize API for external applications
|
|
|
|
|
*
|
|
|
|
|
* Initialize API for external (standalone) applications running on top of
|
|
|
|
|
* U-Boot. It is called during the generic post-relocation init sequence.
|
|
|
|
|
*
|
|
|
|
|
* Return: 0 if OK
|
|
|
|
|
*/
|
|
|
|
|
int api_init(void);
|
2017-05-17 08:22:40 -06:00
|
|
|
|
|
|
|
|
#endif
|