summaryrefslogtreecommitdiff
path: root/drivers/spmi
diff options
context:
space:
mode:
authorRick Chen <rick@andestech.com>2019-08-21 06:26:50 +0300
committerAndes <uboot@andestech.com>2019-09-03 04:30:54 +0300
commitd58b0a6ee10710b259412fdeaf0eb24474af8401 (patch)
treeb481330acf56a96c36593d70c3daa3b3e2082e74 /drivers/spmi
parentf6cb427fdc1d2c4236f0a9bc97068c30ca228282 (diff)
downloadu-boot-d58b0a6ee10710b259412fdeaf0eb24474af8401.tar.xz
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>
Diffstat (limited to 'drivers/spmi')
0 files changed, 0 insertions, 0 deletions