blob: 721ba46371cc14183ce89c7ad78ba9ab2730a9b1 [file] [log] [blame]
Simon Glass31aefaf2022-04-24 23:31:13 -06001/* SPDX-License-Identifier: GPL-2.0+ */
2/*
3 * Copyright 2021 Google LLC
4 * Written by Simon Glass <sjg@chromium.org>
5 */
6
Simon Glass79f66352023-05-10 16:34:46 -06007#ifndef __extlinux_h
8#define __extlinux_h
Simon Glass31aefaf2022-04-24 23:31:13 -06009
Simon Glass79f66352023-05-10 16:34:46 -060010#define EXTLINUX_FNAME "extlinux/extlinux.conf"
Simon Glass31aefaf2022-04-24 23:31:13 -060011
12/**
Simon Glass79f66352023-05-10 16:34:46 -060013 * struct extlinux_info - useful information for extlinux_getfile()
Simon Glass31aefaf2022-04-24 23:31:13 -060014 *
15 * @dev: bootmethod device being used to boot
16 * @bflow: bootflow being booted
17 */
Simon Glass79f66352023-05-10 16:34:46 -060018struct extlinux_info {
Simon Glass31aefaf2022-04-24 23:31:13 -060019 struct udevice *dev;
20 struct bootflow *bflow;
21 struct cmd_tbl *cmdtp;
22};
23
24#endif