blob: fe9f287f8c7d254f2f8660929868734e4a04fa94 [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}
Simon Glass1a92f832024-08-22 07:57:48 -060019DM_TEST(dm_test_fpga, UTF_SCAN_FDT);