mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-27 21:43:45 +00: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>
20 lines
427 B
C
20 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
|