mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-25 12:33:41 +00:00
185f812c41
Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
31 lines
803 B
C
31 lines
803 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* (C) Copyright 2021
|
|
* Köry Maincent, Bootlin, <kory.maincent@bootlin.com>
|
|
*/
|
|
|
|
#ifndef __EXTENSION_SUPPORT_H
|
|
#define __EXTENSION_SUPPORT_H
|
|
|
|
struct extension {
|
|
struct list_head list;
|
|
char name[32];
|
|
char owner[32];
|
|
char version[32];
|
|
char overlay[32];
|
|
char other[32];
|
|
};
|
|
|
|
/**
|
|
* extension_board_scan - Add system-specific function to scan extension board.
|
|
* @param extension_list List of extension board information to update.
|
|
* Return: the number of extension.
|
|
*
|
|
* This function is called if CONFIG_CMD_EXTENSION is defined.
|
|
* Needs to fill the list extension_list with elements.
|
|
* Each element need to be allocated to an extension structure.
|
|
*
|
|
*/
|
|
int extension_board_scan(struct list_head *extension_list);
|
|
|
|
#endif /* __EXTENSION_SUPPORT_H */
|