diff options
author | Ovidiu Panait <ovidiu.panait@windriver.com> | 2020-11-28 10:43:16 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-01-15 14:36:12 -0500 |
commit | ce41e735231f350722221b10bb81408f88235d1d (patch) | |
tree | 10212ab9eacb8cd42bc97e0213de412999d2065c /api/api_private.h | |
parent | 0154858039fd6d184528ed6a294153bd7f4cd3e0 (diff) | |
download | u-boot-ce41e735231f350722221b10bb81408f88235d1d.tar.gz |
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>
Diffstat (limited to 'api/api_private.h')
-rw-r--r-- | api/api_private.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/api_private.h b/api/api_private.h index 07fd50ad3a3..bb23821c2c0 100644 --- a/api/api_private.h +++ b/api/api_private.h @@ -8,7 +8,7 @@ #ifndef _API_PRIVATE_H_ #define _API_PRIVATE_H_ -void api_init(void); +int api_init(void); void platform_set_mr(struct sys_info *, unsigned long, unsigned long, int); int platform_sys_info(struct sys_info *); |