blob: 3011a22927135b6a7a2c49979d7c2f15301b8ec2 [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
Simon Glass750c4822016-07-04 11:58:01 -06007#include <dm.h>
8#include <dt-structs.h>
9
Simon Glasse5b6d5f2020-12-19 10:39:55 -070010static const struct udevice_id sandbox_spl_ids[] = {
11 { .compatible = "sandbox,spl-test", },
12 {} /* sentinel */
13};
14
Simon Glass750c4822016-07-04 11:58:01 -060015U_BOOT_DRIVER(sandbox_spl_test) = {
16 .name = "sandbox_spl_test",
17 .id = UCLASS_MISC,
Simon Glasse5b6d5f2020-12-19 10:39:55 -070018 .of_match = sandbox_spl_ids,
Simon Glass750c4822016-07-04 11:58:01 -060019 .flags = DM_FLAG_PRE_RELOC,
Simon Glass750c4822016-07-04 11:58:01 -060020};