oleavr-rgl-a500-mini-linux-.../drivers/char/sunxi-sysinfo/sunxi-sysinfo-user.h

27 lines
718 B
C
Raw Normal View History

2022-05-07 01:01:45 +02:00
/*
* The interface define of sysinfo dev for userspace.
*
* Copyright (C) 2016 Allwinner.
*
* Matteo <duanmintao@allwinnertech.com>
*
* This file is licensed under the terms of the GNU General Public
* License version 2. This program is licensed "as is" without any
* warranty of any kind, whether express or implied.
*/
#ifndef __SUNXI_SYSINFO_USER_H__
#define __SUNXI_SYSINFO_USER_H__
#define CHECK_SOC_SECURE_ATTR 0x00
#define CHECK_SOC_VERSION 0x01
#define CHECK_SOC_BONDING 0x03
#define CHECK_SECURE_BOOT_ATTR 0x04
#define CHECK_SOC_CUSTOMER_ID 0x05
#define CHECK_SOC_ROTPK 0x06
#define CHECK_SOC_MEDIA_ID 0x07
#define SYS_EFUSE_GET_SN 0xe0
#endif /* end of __SUNXI_SYSINFO_USER_H__ */