| /* SPDX-License-Identifier: GPL-2.0+ */ |
| * Copyright (c) 2016 Google, Inc |
| #define CONFIG_SPL_BOARD_LOAD_IMAGE |
| * sandbox_find_next_phase() - Find the next phase of U-Boot |
| * This function is intended to be called from within sandbox SPL. It uses |
| * a few rules to find the filename of the next U-Boot phase. See also |
| * @fname: place to put full path to U-Boot |
| * @maxlen: maximum size of @fname |
| * @use_img: select the 'u-boot.img' file instead of the 'u-boot' ELF file |
| int sandbox_find_next_phase(char *fname, int maxlen, bool use_img); |