Alexander Dahl | 1323d08 | 2022-09-30 14:04:30 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
2 | /* | ||||
3 | * Copyright 2022 Alexander Dahl <post@lespocky.de> | ||||
4 | */ | ||||
5 | |||||
6 | #include <dm.h> | ||||
7 | #include <dm/test.h> | ||||
8 | #include <test/test.h> | ||||
9 | #include <test/ut.h> | ||||
10 | |||||
11 | static int dm_test_fpga(struct unit_test_state *uts) | ||||
12 | { | ||||
13 | struct udevice *dev; | ||||
14 | |||||
15 | ut_assertok(uclass_first_device_err(UCLASS_FPGA, &dev)); | ||||
16 | |||||
17 | return 0; | ||||
18 | } | ||||
19 | |||||
20 | DM_TEST(dm_test_fpga, UT_TESTF_SCAN_FDT); |