| # SPDX-License-Identifier: GPL-2.0+ |
| # Copyright (C) 2023 Sean Anderson <seanga2@gmail.com> |
| |
| config SPL_UT_LOAD |
| bool "Unit tests for SPL load methods" |
| depends on SPL_UNIT_TEST |
| default y if SANDBOX |
| help |
| Test various SPL load methods. |
| |
| if SPL_UT_LOAD |
| |
| config SPL_UT_LOAD_FS |
| bool "Unit tests for filesystems" |
| depends on SANDBOX && SPL_OF_REAL |
| depends on FS_LOADER |
| depends on SPL_FS_FAT |
| depends on SPL_FS_EXT4 |
| depends on SPL_MMC_WRITE |
| default y |
| help |
| Test filesystems in SPL. |
| |
| config SPL_UT_LOAD_OS |
| bool "Test loading from the host OS" |
| depends on SANDBOX && SPL_LOAD_FIT |
| default y |
| help |
| Smoke test to ensure that loading U-boot works in sandbox. |
| |
| endif |