Skip to content

Commit

Permalink
firmware: Add nop to reduce bus traffic.
Browse files Browse the repository at this point in the history
All the non-boot harts run in a tight loop which may cause a heavy load
on the memory bus. This may delay the boot hart to complete the cold boot
process.

Introduce few nop that will ease up the traffic.

Signed-off-by: Atish Patra <atish.patra@wdc.com>
  • Loading branch information
atishp04 committed Mar 6, 2019
1 parent 130273a commit e1e5848
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions firmware/fw_base.S
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,9 @@ _fdt_reloc_done:
_wait_for_boot_hart:
la a4, _boot_hart_done
REG_L a5, (a4)
nop
nop
nop
beqz a5, _wait_for_boot_hart

_start_warm:
Expand Down

0 comments on commit e1e5848

Please sign in to comment.