mtd: spi: Convert is_locked callback to is_unlocked
[platform/kernel/u-boot.git] / include / distro.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 __distro_h
8 #define __distro_h
9
10 #define DISTRO_FNAME    "extlinux/extlinux.conf"
11
12 /**
13  * struct distro_info - useful information for distro_getfile()
14  *
15  * @dev: bootmethod device being used to boot
16  * @bflow: bootflow being booted
17  */
18 struct distro_info {
19         struct udevice *dev;
20         struct bootflow *bflow;
21         struct cmd_tbl *cmdtp;
22 };
23
24 #endif