mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-22 18:09:03 +09:00
![Ovidiu Panait](/assets/img/avatar_default.png)
Add a return value to api_init and use it directly in the post-relocation init sequence, rather than using a wrapper stub. Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com> Reviewed-by: Simon Glass <sjg@chromium.org>
21 lines
427 B
C
21 lines
427 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Copyright (c) 2017 Google, Inc
|
|
* Written by Simon Glass <sjg@chromium.org>
|
|
*/
|
|
|
|
#ifndef __API_H
|
|
#define __API_H
|
|
|
|
/**
|
|
* 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);
|
|
|
|
#endif
|