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