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.
23 lines
394 B
23 lines
394 B
// SPDX-License-Identifier: GPL-2.0+
|
|
/*
|
|
* Copyright (c) 2015 Google, Inc
|
|
*/
|
|
|
|
#include <common.h>
|
|
#include <dm.h>
|
|
#include <pwrseq.h>
|
|
|
|
int pwrseq_set_power(struct udevice *dev, bool enable)
|
|
{
|
|
struct pwrseq_ops *ops = pwrseq_get_ops(dev);
|
|
|
|
if (!ops->set_power)
|
|
return -ENOSYS;
|
|
|
|
return ops->set_power(dev, enable);
|
|
}
|
|
|
|
UCLASS_DRIVER(pwrseq) = {
|
|
.id = UCLASS_PWRSEQ,
|
|
.name = "pwrseq",
|
|
};
|
|
|