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