blob: 7d9500aa91d57c0c18770bf2cb3e0ac6b6eaa64c [file] [log] [blame]
Roger Quadros2c120372022-10-20 16:30:46 +03001// 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
12static 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
21DM_TEST(dm_test_memory, UT_TESTF_SCAN_FDT);