Skip to content

Commit

Permalink
plat-nuvoton: configuration change
Browse files Browse the repository at this point in the history
Disables DT insecure warning

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 a6f2865 commit fa24cfc
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions core/arch/arm/plat-nuvoton/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,7 @@
#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 All @@ -45,13 +41,13 @@ register_ddr(DRAM0_BASE, DRAM0_SIZE);
static void print_version(void)
{
IMSG(COLOR_MAGENTA);
IMSG(">================================================");
IMSG("==========================================");
IMSG("OP-TEE OS Version %s", core_v_str);
IMSG(">================================================");
IMSG("==========================================");
IMSG(COLOR_NORMAL);
}

void main_init_gic(void)
void primary_init_intc(void)
{
if (IS_ENABLED(CFG_NPCM_DEBUG))
print_version();
Expand Down

0 comments on commit fa24cfc

Please sign in to comment.