2022-04-25 05:31:13 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
|
|
/*
|
|
|
|
* Copyright 2021 Google LLC
|
|
|
|
* Written by Simon Glass <sjg@chromium.org>
|
|
|
|
*/
|
|
|
|
|
2023-05-10 22:34:46 +00:00
|
|
|
#ifndef __extlinux_h
|
|
|
|
#define __extlinux_h
|
2022-04-25 05:31:13 +00:00
|
|
|
|
2023-05-10 22:34:46 +00:00
|
|
|
#define EXTLINUX_FNAME "extlinux/extlinux.conf"
|
2022-04-25 05:31:13 +00:00
|
|
|
|
|
|
|
/**
|
2023-05-10 22:34:46 +00:00
|
|
|
* struct extlinux_info - useful information for extlinux_getfile()
|
2022-04-25 05:31:13 +00:00
|
|
|
*
|
|
|
|
* @dev: bootmethod device being used to boot
|
|
|
|
* @bflow: bootflow being booted
|
|
|
|
*/
|
2023-05-10 22:34:46 +00:00
|
|
|
struct extlinux_info {
|
2022-04-25 05:31:13 +00:00
|
|
|
struct udevice *dev;
|
|
|
|
struct bootflow *bflow;
|
|
|
|
struct cmd_tbl *cmdtp;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|