1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2019 Intel Corporation <www.intel.com>
10 static int dm_test_reset(struct unit_test_state *uts)
12 struct udevice *dev_cache;
15 ut_assertok(uclass_get_device(UCLASS_CACHE, 0, &dev_cache));
16 ut_assertok(cache_get_info(dev, &info));
17 ut_assertok(cache_enable(dev));
18 ut_assertok(cache_disable(dev));
22 DM_TEST(dm_test_reset, UT_TESTF_SCAN_FDT);