upstream u-boot with additional patches for our devices/boards:
https://lists.denx.de/pipermail/u-boot/2017-March/282789.html (AXP crashes) ;
Gbit ethernet patch for some LIME2 revisions ;
with SPI flash support
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
567 B
28 lines
567 B
10 years ago
|
/*
|
||
|
* 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>
|
||
|
|
||
|
DECLARE_GLOBAL_DATA_PTR;
|
||
|
|
||
|
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,
|
||
|
};
|