1 // SPDX-License-Identifier: GPL-2.0+ 2 /* 3 * Copyright 2021 Google LLC 4 * Written by Simon Glass <sjg@chromium.org> 5 */ 6 7 #include <image.h> 8 #include <os.h> 9 #include <spl.h> 10 #include <test/spl.h> 11 #include <test/ut.h> 12 spl_test_load(struct unit_test_state * uts)13static int spl_test_load(struct unit_test_state *uts) 14 { 15 struct spl_image_info image; 16 char fname[256]; 17 18 ut_assertok(sandbox_spl_load_fit(fname, sizeof(fname), &image)); 19 20 return 0; 21 } 22 SPL_TEST(spl_test_load, 0); 23 24