mirror of
https://github.com/revyos/th1520-vendor-uboot.git
synced 2026-09-18 05:12:09 +02:00
Linux_SDK_V2.0.2
Signed-off-by: devops_admin <devops_admin@alibabacloud.com>
This commit is contained in:
23
include/mcu/mcu-uclass.h
Executable file
23
include/mcu/mcu-uclass.h
Executable file
@@ -0,0 +1,23 @@
|
||||
#ifndef __MCU_H
|
||||
#define __MCU_H
|
||||
|
||||
struct mcu_ops {
|
||||
int (*shutdown)(struct udevice *dev);
|
||||
int (*poweron)(struct udevice *dev);
|
||||
};
|
||||
|
||||
/**
|
||||
* mcu_shutdown() - power off supplies
|
||||
*
|
||||
* @return 0 on success or negative value of errno.
|
||||
*/
|
||||
int mcu_shutdown(void);
|
||||
|
||||
/**
|
||||
* mcu_poweron() - power on supplies
|
||||
*
|
||||
* @return 0 on success or negative value of errno.
|
||||
*/
|
||||
int mcu_poweron(void);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user