]> Git Repo - J-u-boot.git/commit
riscv: andes_plic: init plic by scanning each cpu node
authorRick Chen <[email protected]>
Wed, 21 Aug 2019 03:26:50 +0000 (11:26 +0800)
committerAndes <[email protected]>
Tue, 3 Sep 2019 01:30:54 +0000 (09:30 +0800)
commitd58b0a6ee10710b259412fdeaf0eb24474af8401
treeb481330acf56a96c36593d70c3daa3b3e2082e74
parentf6cb427fdc1d2c4236f0a9bc97068c30ca228282
riscv: andes_plic: init plic by scanning each cpu node

Initialize plic driver by ofnode_for_each_subnode() instead
of cpu_get_count().

This way can support to skip some harts which maybe marked as
unavailable, but the cpu node exists indeed.

Signed-off-by: Rick Chen <[email protected]>
Cc: KC Lin <[email protected]>
Reviewed-by: Bin Meng <[email protected]>
arch/riscv/lib/andes_plic.c
This page took 0.030892 seconds and 4 git commands to generate.