mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-09 03:21:51 +00:00
test: spl: Add a test for the MMC load method
Add a test for the MMC load method. This shows the general shape of tests to come: The main test function calls do_spl_test_load with an appropriate callback to write the image to the medium. Signed-off-by: Sean Anderson <seanga2@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
6c5d0d9398
commit
6ba8ecaa96
6 changed files with 137 additions and 5 deletions
|
@ -673,6 +673,10 @@ static inline const char *spl_loader_name(const struct spl_image_loader *loader)
|
|||
}
|
||||
#endif
|
||||
|
||||
#define SPL_LOAD_IMAGE_GET(_priority, _boot_device, _method) \
|
||||
ll_entry_get(struct spl_image_loader, \
|
||||
_boot_device ## _priority ## _method, spl_image_loader)
|
||||
|
||||
/* SPL FAT image functions */
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue