]> Git Repo - J-u-boot.git/blame - test/dm/firmware.c
Merge branch 'master' of git://git.denx.de/u-boot-sh
[J-u-boot.git] / test / dm / firmware.c
CommitLineData
31b8217e
RV
1// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Copyright (C) 2018 Xilinx, Inc.
4 */
5
6#include <common.h>
7#include <dm.h>
8#include <syscon.h>
9#include <asm/test.h>
10#include <dm/test.h>
11#include <test/ut.h>
12
13/* Base test of firmware probe */
14static int dm_test_firmware_probe(struct unit_test_state *uts)
15{
16 struct udevice *dev;
17
18 ut_assertok(uclass_get_device_by_name(UCLASS_FIRMWARE,
19 "sandbox-firmware", &dev));
20 return 0;
21}
22DM_TEST(dm_test_firmware_probe, DM_TESTF_SCAN_FDT);
This page took 0.029514 seconds and 4 git commands to generate.