2018-05-06 21:58:06 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0+
|
2016-07-04 17:58:01 +00:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2016 Google, Inc
|
|
|
|
* Written by Simon Glass <sjg@chromium.org>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <common.h>
|
|
|
|
#include <dm.h>
|
|
|
|
#include <dt-structs.h>
|
|
|
|
|
2020-12-19 17:39:55 +00:00
|
|
|
static const struct udevice_id sandbox_spl_ids[] = {
|
|
|
|
{ .compatible = "sandbox,spl-test", },
|
|
|
|
{} /* sentinel */
|
|
|
|
};
|
|
|
|
|
2016-07-04 17:58:01 +00:00
|
|
|
U_BOOT_DRIVER(sandbox_spl_test) = {
|
|
|
|
.name = "sandbox_spl_test",
|
|
|
|
.id = UCLASS_MISC,
|
2020-12-19 17:39:55 +00:00
|
|
|
.of_match = sandbox_spl_ids,
|
2016-07-04 17:58:01 +00:00
|
|
|
.flags = DM_FLAG_PRE_RELOC,
|
|
|
|
};
|