]>
Commit | Line | Data |
---|---|---|
31b8217e RV |
1 | // SPDX-License-Identifier: GPL-2.0+ |
2 | /* | |
3 | * Copyright (C) 2018 Xilinx, Inc. | |
4 | */ | |
5 | ||
d678a59d | 6 | #include <common.h> |
31b8217e RV |
7 | #include <dm.h> |
8 | #include <syscon.h> | |
9 | #include <asm/test.h> | |
10 | #include <dm/test.h> | |
0e1fad43 | 11 | #include <test/test.h> |
31b8217e RV |
12 | #include <test/ut.h> |
13 | ||
14 | /* Base test of firmware probe */ | |
15 | static int dm_test_firmware_probe(struct unit_test_state *uts) | |
16 | { | |
17 | struct udevice *dev; | |
18 | ||
19 | ut_assertok(uclass_get_device_by_name(UCLASS_FIRMWARE, | |
20 | "sandbox-firmware", &dev)); | |
21 | return 0; | |
22 | } | |
e180c2b1 | 23 | DM_TEST(dm_test_firmware_probe, UT_TESTF_SCAN_FDT); |