diff options
author | Anup Patel <anup.patel@wdc.com> | 2021-04-21 16:46:15 +0530 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2021-04-28 16:56:58 +0530 |
commit | a3689db92a0e83ef25c52887aa686e4527e35a22 (patch) | |
tree | c5373cd8f04ecc9b5e464313924f6553da0db6a8 /lib/sbi | |
parent | 6d1642f85693395e19b9b7087f216a2c02e4c81e (diff) |
lib: sbi: Remove domains_root_regions() platform callback
We now have sbi_domain_root_add_memregion() which allows platform
support to add root domain regions at boot-time so let's remove
the domains_root_regions() platform callback which was added
for this purpose.
Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Xiang W <wxjstz@126.com>
Diffstat (limited to 'lib/sbi')
-rw-r--r-- | lib/sbi/sbi_domain.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/sbi/sbi_domain.c b/lib/sbi/sbi_domain.c index 1b2e6e3..84f30b9 100644 --- a/lib/sbi/sbi_domain.c +++ b/lib/sbi/sbi_domain.c @@ -593,7 +593,6 @@ int sbi_domain_finalize(struct sbi_scratch *scratch, u32 cold_hartid) int sbi_domain_init(struct sbi_scratch *scratch, u32 cold_hartid) { u32 i; - struct sbi_domain_memregion *memregs; const struct sbi_platform *plat = sbi_platform_ptr(scratch); /* Root domain firmware memory region */ @@ -611,11 +610,6 @@ int sbi_domain_init(struct sbi_scratch *scratch, u32 cold_hartid) /* Root domain memory region end */ root_memregs[root_memregs_count].order = 0; - /* Use platform specific root memory regions when available */ - memregs = sbi_platform_domains_root_regions(plat); - if (memregs) - root.regions = memregs; - /* Root domain boot HART id is same as coldboot HART id */ root.boot_hartid = cold_hartid; |