mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-11 07:24:46 +00:00

Upstream overlays like the ARM64 TI k3-am625-beagleplay-csi2-tevi-ov5640.dtso can easily have more then 32 characters. Increase the overlay length to 64 characters to apply overlays with longer names. Signed-off-by: Daniel Schultz <d.schultz@phytec.de> Acked-by: Kory Maincent <kory.maincent@bootlin.com>
33 lines
828 B
C
33 lines
828 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
|
|
|
|
#include <linux/list.h>
|
|
|
|
struct extension {
|
|
struct list_head list;
|
|
char name[32];
|
|
char owner[32];
|
|
char version[32];
|
|
char overlay[64];
|
|
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 */
|