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 /include | |
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 'include')
-rw-r--r-- | include/sbi/sbi_platform.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/include/sbi/sbi_platform.h b/include/sbi/sbi_platform.h index 837a75d..6736169 100644 --- a/include/sbi/sbi_platform.h +++ b/include/sbi/sbi_platform.h @@ -92,8 +92,6 @@ struct sbi_platform_operations { */ int (*misa_get_xlen)(void); - /** Get platform specific root domain memory regions */ - struct sbi_domain_memregion *(*domains_root_regions)(void); /** Initialize (or populate) domains for the platform */ int (*domains_init)(void); @@ -485,22 +483,6 @@ static inline int sbi_platform_misa_xlen(const struct sbi_platform *plat) } /** - * Get platform specific root domain memory regions - * - * @param plat pointer to struct sbi_platform - * - * @return an array of memory regions terminated by a region with order zero - * or NULL for no memory regions - */ -static inline struct sbi_domain_memregion * -sbi_platform_domains_root_regions(const struct sbi_platform *plat) -{ - if (plat && sbi_platform_ops(plat)->domains_root_regions) - return sbi_platform_ops(plat)->domains_root_regions(); - return NULL; -} - -/** * Initialize (or populate) domains for the platform * * @param plat pointer to struct sbi_platform |