blob: 8bb3535853243a3bb5ca12e39431e7baa99e0a90 [file] [log] [blame]
Alexander Dahl6ac319d2022-09-30 14:04:30 +02001// 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
11static 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
20DM_TEST(dm_test_fpga, UT_TESTF_SCAN_FDT);