1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-02 09:12:08 +02:00

common: board_r: Drop initr_api wrapper

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>
This commit is contained in:
Ovidiu Panait
2020-11-28 10:43:16 +02:00
committed by Tom Rini
parent 0154858039
commit ce41e73523
4 changed files with 15 additions and 14 deletions

View File

@@ -7,6 +7,14 @@
#ifndef __API_H
#define __API_H
void api_init(void);
/**
* 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