mirror of
https://github.com/u-boot/u-boot.git
synced 2024-12-16 00:03:26 +08:00
ce41e73523
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
|