[U-Boot] [PATCH] riscv: andes_plic: init plic by scanning each cpu node

2019-08-21 Thread Andes
From: Rick Chen Initialize plic driver by ofnode_for_each_subnode() instead of cpu_get_count(). This way can support to skip some harts which maybe mark as unavailable, but the cpu node exist indeed. Signed-off-by: Rick Chen Cc: KC Lin --- arch/riscv/lib/andes_plic.c | 36 +++

Re: [U-Boot] [PATCH] riscv: andes_plic: init plic by scanning each cpu node

2019-08-21 Thread Bin Meng
On Thu, Aug 22, 2019 at 2:35 PM Andes wrote: > > From: Rick Chen > > Initialize plic driver by ofnode_for_each_subnode() instead > of cpu_get_count(). > > This way can support to skip some harts which maybe mark as > unavailable, but the cpu node exist indeed. > > Signed-off-by: Rick Chen > Cc:

Re: [U-Boot] [PATCH] riscv: andes_plic: init plic by scanning each cpu node

2019-08-21 Thread Bin Meng
On Thu, Aug 22, 2019 at 2:45 PM Bin Meng wrote: > > On Thu, Aug 22, 2019 at 2:35 PM Andes wrote: > > > > From: Rick Chen > > > > Initialize plic driver by ofnode_for_each_subnode() instead > > of cpu_get_count(). > > > > This way can support to skip some harts which maybe mark as which may be m