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

Bin Meng bmeng.cn at gmail.com
Thu Aug 22 06:45:02 UTC 2019


On Thu, Aug 22, 2019 at 2:35 PM Andes <uboot at andestech.com> wrote:
>
> From: Rick Chen <rick at andestech.com>
>
> 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 <rick at andestech.com>
> Cc: KC Lin <kclin at andestech.com>
> ---
>  arch/riscv/lib/andes_plic.c | 36 +++++++++++++++++++++++++-----------
>  1 file changed, 25 insertions(+), 11 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>

I am not sure why you sent two patches that do the same?
http://patchwork.ozlabs.org/patch/1150686/


More information about the U-Boot mailing list