avionic design with actual uboot and tooling
submodule of avionic design uboot bootloader and with included tools to get you started , read readme.md and readme-tk1-loader.md
This commit is contained in:
18
u-boot/include/pwrseq.h
Normal file
18
u-boot/include/pwrseq.h
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
* 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
|
||||
Reference in New Issue
Block a user