2 * Copyright (c) 2015 Google, Inc
3 * Written by Simon Glass <sjg@chromium.org>
5 * SPDX-License-Identifier: GPL-2.0+
15 DECLARE_GLOBAL_DATA_PTR
;
17 static const struct udevice_id sandbox_syscon_ids
[] = {
18 { .compatible
= "sandbox,syscon0", .data
= SYSCON0
},
19 { .compatible
= "sandbox,syscon1", .data
= SYSCON1
},
23 U_BOOT_DRIVER(sandbox_syscon
) = {
24 .name
= "sandbox_syscon",
26 .of_match
= sandbox_syscon_ids
,