commit | eaae83bdbd5317494b5a4a70716db9464257150b | [log] [tgz] |
---|---|---|
author | Rick Chen <rick@andestech.com> | Wed Aug 21 11:26:50 2019 +0800 |
committer | Andes <uboot@andestech.com> | Tue Sep 03 09:30:54 2019 +0800 |
tree | b481330acf56a96c36593d70c3daa3b3e2082e74 | |
parent | b9ad45db58fc8520a46cbd8e0e602519110bef7d [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 <rick@andestech.com> Cc: KC Lin <kclin@andestech.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>