Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Simon Glass | ac53a5c | 2017-05-17 08:22:40 -0600 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (c) 2017 Google, Inc |
| 4 | * Written by Simon Glass <sjg@chromium.org> |
Simon Glass | ac53a5c | 2017-05-17 08:22:40 -0600 | [diff] [blame] | 5 | */ |
| 6 | |
| 7 | #ifndef __API_H |
| 8 | #define __API_H |
| 9 | |
Ovidiu Panait | 4119ea43 | 2020-11-28 10:43:16 +0200 | [diff] [blame] | 10 | /** |
| 11 | * api_init() - Initialize API for external applications |
| 12 | * |
| 13 | * Initialize API for external (standalone) applications running on top of |
| 14 | * U-Boot. It is called during the generic post-relocation init sequence. |
| 15 | * |
| 16 | * Return: 0 if OK |
| 17 | */ |
| 18 | int api_init(void); |
Simon Glass | ac53a5c | 2017-05-17 08:22:40 -0600 | [diff] [blame] | 19 | |
| 20 | #endif |