lib: sbi: Make the root domain instance global variable
authorAnup Patel <anup.patel@wdc.com>
Sat, 10 Apr 2021 03:39:00 +0000 (09:09 +0530)
committerAnup Patel <anup@brainfault.org>
Tue, 13 Apr 2021 05:26:45 +0000 (10:56 +0530)
commitfc37c9712d50a8900a13eacae64bc4e640e528e9
tree6919857e381d2a3c64550b6ca7a511e38d90a3bc
parent8b569803475e130b85987b97fdd47c19e900bf82
lib: sbi: Make the root domain instance global variable

We make the the root domain instance global variable so that
platform support and drivers can iterate over the root domain
regions.

Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Xiang W <wxjstz@126.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
include/sbi/sbi_domain.h
lib/sbi/sbi_domain.c