Roger Quadros | 2c12037 | 2022-10-20 16:30:46 +0300 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
2 | /* | ||||
3 | * (C) Copyright 2022 | ||||
4 | * Texas Instruments Incorporated, <www.ti.com> | ||||
5 | */ | ||||
6 | |||||
7 | #include <dm.h> | ||||
8 | #include <dm/test.h> | ||||
9 | #include <test/test.h> | ||||
10 | #include <test/ut.h> | ||||
11 | |||||
12 | static int dm_test_memory(struct unit_test_state *uts) | ||||
13 | { | ||||
14 | struct udevice *dev; | ||||
15 | |||||
16 | ut_assertok(uclass_first_device_err(UCLASS_MEMORY, &dev)); | ||||
17 | |||||
18 | return 0; | ||||
19 | } | ||||
20 | |||||
21 | DM_TEST(dm_test_memory, UT_TESTF_SCAN_FDT); |