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