mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-16 18:04:48 +00:00

As part of bringing the master branch back in to next, we need to allow for all of these changes to exist here. Reported-by: Jonas Karlman <jonas@kwiboo.se> Signed-off-by: Tom Rini <trini@konsulko.com>
23 lines
518 B
C
23 lines
518 B
C
// SPDX-License-Identifier: GPL-2.0+
|
|
/*
|
|
* Copyright (c) 2015 Google, Inc
|
|
* Written by Simon Glass <sjg@chromium.org>
|
|
*/
|
|
|
|
#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,
|
|
};
|