Skip to content

Commit

Permalink
fix GFX frame buffer memory corruption during secondary boot
Browse files Browse the repository at this point in the history
  • Loading branch information
rutigl committed Oct 23, 2023
1 parent 31a3b9f commit ef86e36
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plat/nuvoton/common/nuvoton_helpers.S
Original file line number Diff line number Diff line change
Expand Up @@ -151,11 +151,12 @@ func plat_wait_for_warm_boot
*/
bl plat_my_core_pos
lsl x0, x0, #3
mov x8, x0
mov_imm x2, PLAT_NPCM_TM_HOLD_BASE
add x0, x0, x2
mov x8, x0
mov_imm x2, PLAT_NPCM_TRUSTED_NOTIFICATION_BASE
add x8, x8, x2

/*
* This code runs way before requesting the warmboot of this core,
* so it is possible to clear the mailbox before getting a request
Expand Down

0 comments on commit ef86e36

Please sign in to comment.