aboutsummaryrefslogtreecommitdiff
path: root/include/distro.h
blob: 2ee145871b2569f9fdb25477496f338224d6a0e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* SPDX-License-Identifier: GPL-2.0+ */
/*
 * Copyright 2021 Google LLC
 * Written by Simon Glass <sjg@chromium.org>
 */

#ifndef __distro_h
#define __distro_h

#define DISTRO_FNAME	"extlinux/extlinux.conf"

/**
 * struct distro_info - useful information for distro_getfile()
 *
 * @dev: bootmethod device being used to boot
 * @bflow: bootflow being booted
 */
struct distro_info {
	struct udevice *dev;
	struct bootflow *bflow;
	struct cmd_tbl *cmdtp;
};

#endif