blob: 6b9701a06aee68aec7b981fdba3971831f421941 [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
Simon Glassbab82332016-07-04 11:58:01 -06002/*
3 * Copyright (c) 2016 Google, Inc
4 * Written by Simon Glass <sjg@chromium.org>
Simon Glassbab82332016-07-04 11:58:01 -06005 */
6
7#include <common.h>
8#include <dm.h>
9#include <dt-structs.h>
10
Simon Glassb0603332020-12-19 10:39:55 -070011static const struct udevice_id sandbox_spl_ids[] = {
12 { .compatible = "sandbox,spl-test", },
13 {} /* sentinel */
14};
15
Simon Glassbab82332016-07-04 11:58:01 -060016U_BOOT_DRIVER(sandbox_spl_test) = {
17 .name = "sandbox_spl_test",
18 .id = UCLASS_MISC,
Simon Glassb0603332020-12-19 10:39:55 -070019 .of_match = sandbox_spl_ids,
Simon Glassbab82332016-07-04 11:58:01 -060020 .flags = DM_FLAG_PRE_RELOC,
Simon Glassbab82332016-07-04 11:58:01 -060021};