Prepare v2023.10
[platform/kernel/u-boot.git] / include / extlinux.h
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * Copyright 2021 Google LLC
4  * Written by Simon Glass <sjg@chromium.org>
5  */
6
7 #ifndef __extlinux_h
8 #define __extlinux_h
9
10 #define EXTLINUX_FNAME  "extlinux/extlinux.conf"
11
12 /**
13  * struct extlinux_info - useful information for extlinux_getfile()
14  *
15  * @dev: bootmethod device being used to boot
16  * @bflow: bootflow being booted
17  */
18 struct extlinux_info {
19         struct udevice *dev;
20         struct bootflow *bflow;
21         struct cmd_tbl *cmdtp;
22 };
23
24 #endif