board/ctrl: add BOARDCTL_UNIQUEKEY support

Add unique key to support get trusted data from the trusted field

Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
chao.an
2021-07-07 17:06:33 +08:00
committed by Alan Carvalho de Assis
parent d4ce70979e
commit 441b03c61c
4 changed files with 60 additions and 0 deletions
+1
View File
@@ -200,6 +200,7 @@
#define BOARDIOC_NXTERM _BOARDIOC(0x000f)
#define BOARDIOC_NXTERM_IOCTL _BOARDIOC(0x0010)
#define BOARDIOC_TESTSET _BOARDIOC(0x0011)
#define BOARDIOC_UNIQUEKEY _BOARDIOC(0x0012)
/* If CONFIG_BOARDCTL_IOCTL=y, then board-specific commands will be support.
* In this case, all commands not recognized by boardctl() will be forwarded