Alexander Dahl | 6ac319d | 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 | } | ||||
Simon Glass | 1a92f83 | 2024-08-22 07:57:48 -0600 | [diff] [blame] | 19 | DM_TEST(dm_test_fpga, UTF_SCAN_FDT); |