diff options
| author | Rick Chen <[email protected]> | 2019-08-21 11:26:50 +0800 |
|---|---|---|
| committer | Andes <[email protected]> | 2019-09-03 09:30:54 +0800 |
| commit | d58b0a6ee10710b259412fdeaf0eb24474af8401 (patch) | |
| tree | b481330acf56a96c36593d70c3daa3b3e2082e74 /drivers/cache | |
| parent | f6cb427fdc1d2c4236f0a9bc97068c30ca228282 (diff) | |
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]>
Diffstat (limited to 'drivers/cache')
0 files changed, 0 insertions, 0 deletions
