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.
u-boot/include/pwrseq.h

19 lines
333 B

/*
* Copyright (c) 2013 Google, Inc
*
* SPDX-License-Identifier: GPL-2.0+
*/
#ifndef __pwrseq_h
#define __pwrseq_h
struct pwrseq_ops {
int (*set_power)(struct udevice *dev, bool enable);
};
#define pwrseq_get_ops(dev) ((struct pwrseq_ops *)(dev)->driver->ops)
int pwrseq_set_power(struct udevice *dev, bool enable);
#endif