Commit 67ce5a76 authored by Cheng Yang's avatar Cheng Yang Committed by Anup Patel
Browse files

platform: generic: Add support for specify coldboot harts in DT



Added support for the generic platform to specify the set of coldboot
hart in DT. If not specified in DT, all harts are allowed to coldboot
as before.

The functions related to sbi_hartmask are not available before coldboot,
so I used bitmap, and added a new bitmap_test() function to test whether
a certain bit of the bitmap is set.

Signed-off-by: default avatarCheng Yang <yangcheng.work@foxmail.com>
Reviewed-by: default avatarAnup Patel <anup@brainfault.org>
parent 9c8b18eb
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment