summaryrefslogtreecommitdiff
path: root/drivers/misc/spltest_sandbox.c
blob: 6b9701a06aee68aec7b981fdba3971831f421941 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// SPDX-License-Identifier: GPL-2.0+
/*
 * Copyright (c) 2016 Google, Inc
 * Written by Simon Glass <sjg@chromium.org>
 */

#include <common.h>
#include <dm.h>
#include <dt-structs.h>

static const struct udevice_id sandbox_spl_ids[] = {
	{ .compatible = "sandbox,spl-test", },
	{}  /* sentinel */
};

U_BOOT_DRIVER(sandbox_spl_test) = {
	.name	= "sandbox_spl_test",
	.id	= UCLASS_MISC,
	.of_match = sandbox_spl_ids,
	.flags	= DM_FLAG_PRE_RELOC,
};