Skip to content

Commit

Permalink
plat-nuvoton: added HUK reading
Browse files Browse the repository at this point in the history
Implements HUK reading from DME PCR0 located in PCI mailbox

Co-developed-by: Hila Miranda-Kuzi <hila.miranda.kuzi1@gmail.com>
Signed-off-by: Hila Miranda-Kuzi <hila.miranda.kuzi1@gmail.com>
Signed-off-by: Margarita Glushkin <rutigl@gmail.com>
  • Loading branch information
rutigl committed Jul 23, 2023
1 parent 30fcede commit a6f2865
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/arch/arm/plat-nuvoton/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,11 @@
#define NPCM_MEASURE_DME 0x0E0
#define NPCM_MEASURE_SIZE 64

<<<<<<< HEAD
static struct pl011_data console_data __nex_bss;
=======
static struct ns16550_data console_data __nex_bss;
>>>>>>> a48e9fe94 (plat-nuvoton: added HUK reading)

register_phys_mem_pgdir(MEM_AREA_IO_SEC, CONSOLE_UART_BASE, UART_REG_SIZE);
register_phys_mem_pgdir(MEM_AREA_IO_SEC, GICD_BASE, GIC_DIST_REG_SIZE);
Expand Down

0 comments on commit a6f2865

Please sign in to comment.