1// SPDX-License-Identifier: GPL-2.0+ 2/* 3 * Copyright (c) 2016 Google, Inc 4 * Written by Simon Glass <sjg@chromium.org> 5 */ 6 7#include <common.h> 8#include <dm.h> 9#include <dt-structs.h> 10 11static const struct udevice_id sandbox_spl_ids[] = { 12 { .compatible = "sandbox,spl-test", }, 13 {} /* sentinel */ 14}; 15 16U_BOOT_DRIVER(sandbox_spl_test) = { 17 .name = "sandbox_spl_test", 18 .id = UCLASS_MISC, 19 .of_match = sandbox_spl_ids, 20 .flags = DM_FLAG_PRE_RELOC, 21}; 22