]> git.ipfire.org Git - thirdparty/u-boot.git/blame - include/pwrseq.h
configs: ls2080ardb: Make BOOT command access flash memory as per spi-mem
[thirdparty/u-boot.git] / include / pwrseq.h
CommitLineData
83d290c5 1/* SPDX-License-Identifier: GPL-2.0+ */
5fd6badb
SG
2/*
3 * Copyright (c) 2013 Google, Inc
5fd6badb
SG
4 */
5
6#ifndef __pwrseq_h
7#define __pwrseq_h
8
9struct pwrseq_ops {
10 int (*set_power)(struct udevice *dev, bool enable);
11};
12
13#define pwrseq_get_ops(dev) ((struct pwrseq_ops *)(dev)->driver->ops)
14
15int pwrseq_set_power(struct udevice *dev, bool enable);
16
17#endif