mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-07-11 21:56:21 +09:00
d024236e5a
We have a large number of places where while we historically referenced gd in the code we no longer do, as well as cases where the code added that line "just in case" during development and never dropped it. Signed-off-by: Tom Rini <trini@konsulko.com>
26 lines
541 B
C
26 lines
541 B
C
/*
|
|
* Copyright (c) 2015 Google, Inc
|
|
* Written by Simon Glass <sjg@chromium.org>
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#include <common.h>
|
|
#include <dm.h>
|
|
#include <errno.h>
|
|
#include <syscon.h>
|
|
#include <asm/test.h>
|
|
#include <dm/lists.h>
|
|
|
|
static const struct udevice_id sandbox_syscon_ids[] = {
|
|
{ .compatible = "sandbox,syscon0", .data = SYSCON0 },
|
|
{ .compatible = "sandbox,syscon1", .data = SYSCON1 },
|
|
{ }
|
|
};
|
|
|
|
U_BOOT_DRIVER(sandbox_syscon) = {
|
|
.name = "sandbox_syscon",
|
|
.id = UCLASS_SYSCON,
|
|
.of_match = sandbox_syscon_ids,
|
|
};
|