]> Git Repo - J-u-boot.git/blame - include/extension_board.h
board: rockchip: add support for Qnap TS433 devices
[J-u-boot.git] / include / extension_board.h
CommitLineData
2f84e9cf
KM
1/* SPDX-License-Identifier: GPL-2.0+ */
2/*
3 * (C) Copyright 2021
4 * Köry Maincent, Bootlin, <[email protected]>
5 */
6
7#ifndef __EXTENSION_SUPPORT_H
8#define __EXTENSION_SUPPORT_H
9
03de305e
TR
10#include <linux/list.h>
11
2f84e9cf
KM
12struct extension {
13 struct list_head list;
14 char name[32];
15 char owner[32];
16 char version[32];
38cf6819 17 char overlay[64];
2f84e9cf
KM
18 char other[32];
19};
20
21/**
22 * extension_board_scan - Add system-specific function to scan extension board.
23 * @param extension_list List of extension board information to update.
185f812c 24 * Return: the number of extension.
2f84e9cf
KM
25 *
26 * This function is called if CONFIG_CMD_EXTENSION is defined.
27 * Needs to fill the list extension_list with elements.
28 * Each element need to be allocated to an extension structure.
29 *
30 */
31int extension_board_scan(struct list_head *extension_list);
32
33#endif /* __EXTENSION_SUPPORT_H */
This page took 0.121989 seconds and 4 git commands to generate.