mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 17:53:56 -06:00
hw/arm/allwinner: add Security Identifier device
The Security Identifier device found in various Allwinner System on Chip designs gives applications a per-board unique identifier. This commit adds support for the Allwinner Security Identifier using a 128-bit UUID value as input. Signed-off-by: Niek Linnenbank <nieklinnenbank@gmail.com> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Message-id: 20200311221854.30370-8-nieklinnenbank@gmail.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
d26af5ded9
commit
6556617ce1
7 changed files with 254 additions and 1 deletions
|
@ -42,6 +42,7 @@
|
|||
#include "hw/misc/allwinner-h3-ccu.h"
|
||||
#include "hw/misc/allwinner-cpucfg.h"
|
||||
#include "hw/misc/allwinner-h3-sysctrl.h"
|
||||
#include "hw/misc/allwinner-sid.h"
|
||||
#include "target/arm/cpu.h"
|
||||
|
||||
/**
|
||||
|
@ -59,6 +60,7 @@ enum {
|
|||
AW_H3_SRAM_A2,
|
||||
AW_H3_SRAM_C,
|
||||
AW_H3_SYSCTRL,
|
||||
AW_H3_SID,
|
||||
AW_H3_EHCI0,
|
||||
AW_H3_OHCI0,
|
||||
AW_H3_EHCI1,
|
||||
|
@ -114,6 +116,7 @@ typedef struct AwH3State {
|
|||
AwH3ClockCtlState ccu;
|
||||
AwCpuCfgState cpucfg;
|
||||
AwH3SysCtrlState sysctrl;
|
||||
AwSidState sid;
|
||||
GICState gic;
|
||||
MemoryRegion sram_a1;
|
||||
MemoryRegion sram_a2;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue