Files
u-boot/include/legacy_api.h
Simon Glass ae1f0f13e4 api: Rename api_init() to legacy_api_init()
Complete the rename of this API so that it is clear it is considered
deprecated.

Signed-off-by: Simon Glass <sjg@chromium.org>
2025-09-05 07:02:54 -06:00

23 lines
498 B
C

/* SPDX-License-Identifier: GPL-2.0+ */
/*
* Copyright (c) 2017 Google, Inc
* Written by Simon Glass <sjg@chromium.org>
*/
#ifndef __LEGACY_API_H
#define __LEGACY_API_H
/**
* legacy_api_init() - Initialize legacy 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.
*
* Note that this is deprecated.
*
* Return: 0 if OK
*/
int legacy_api_init(void);
#endif