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:
@@ -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
|
||||
|
Reference in New Issue
Block a user