lib: sbi: Use heap for root domain creation
authorAnup Patel <apatel@ventanamicro.com>
Fri, 21 Apr 2023 08:18:37 +0000 (13:48 +0530)
committerAnup Patel <anup@brainfault.org>
Mon, 5 Jun 2023 10:20:33 +0000 (15:50 +0530)
commitef4542dc1363038676e688cf3cb5edd174f65d76
tree3643ee0b6ec5947e60dcc7baa4fc8c3fb8d61918
parentbbff53fe3b6cdd3c9bc084d489640d7ee2a3f831
lib: sbi: Use heap for root domain creation

Let's use heap allocation in root domain creation instead of using
a fixed size global array.

Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
lib/sbi/sbi_domain.c