blob: e6be1b829f33a141211ef6a33b170bb0f55f7f8f [file] [log] [blame]
Sean Andersondcd91b12023-10-14 16:47:57 -04001# SPDX-License-Identifier: GPL-2.0+
2# Copyright (C) 2023 Sean Anderson <seanga2@gmail.com>
3
4config SPL_UT_LOAD
5 bool "Unit tests for SPL load methods"
6 depends on SPL_UNIT_TEST
7 default y if SANDBOX
8 help
9 Test various SPL load methods.
10
11if SPL_UT_LOAD
12
Sean Anderson2d3ffa32023-10-14 16:48:00 -040013config SPL_UT_LOAD_FS
14 bool "Unit tests for filesystems"
15 depends on SANDBOX && SPL_OF_REAL
16 depends on FS_LOADER
Sean Anderson156e31c2023-10-14 16:48:01 -040017 depends on SPL_BLK_FS
Sean Anderson2d3ffa32023-10-14 16:48:00 -040018 depends on SPL_FS_FAT
19 depends on SPL_FS_EXT4
20 depends on SPL_MMC_WRITE
Sean Anderson576295d2023-10-14 16:48:02 -040021 depends on SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR
Sean Anderson2d3ffa32023-10-14 16:48:00 -040022 default y
23 help
Sean Anderson156e31c2023-10-14 16:48:01 -040024 Test filesystems and the various load methods which use them.
Sean Anderson2d3ffa32023-10-14 16:48:00 -040025
Sean Andersondcd91b12023-10-14 16:47:57 -040026config SPL_UT_LOAD_OS
27 bool "Test loading from the host OS"
28 depends on SANDBOX && SPL_LOAD_FIT
29 default y
30 help
31 Smoke test to ensure that loading U-boot works in sandbox.
32
33endif