diff options
author | Anup Patel <anup.patel@wdc.com> | 2020-12-13 15:37:34 +0530 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2020-12-16 10:10:25 +0530 |
commit | 6fc1986f5024196e46a46aa979cc2c884319af28 (patch) | |
tree | f287751ffbd953019eab0bfceb2ff56633fe1812 /include | |
parent | 7baccfca790c429b85cf30ae83d06c6e8b934e86 (diff) |
lib: utils: Remove fdt_domain_get() function
The fdt_domain_get() function is now redundant because the
fdt_domains_populate() function can explicitly register new
domains using the sbi_domain_register() function.
Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/sbi_utils/fdt/fdt_domain.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/include/sbi_utils/fdt/fdt_domain.h b/include/sbi_utils/fdt/fdt_domain.h index 68daacc..5448eb4 100644 --- a/include/sbi_utils/fdt/fdt_domain.h +++ b/include/sbi_utils/fdt/fdt_domain.h @@ -59,17 +59,6 @@ int fdt_iterate_each_memregion(void *fdt, int domain_offset, void *opaque, void fdt_domain_fixup(void *fdt); /** - * Get domain instance for given HART - * - * Note: Domains should be populated before using this function. - * - * @param hartid the HART for which domain instance is needed - * - * @return pointer to domain instance on success and NULL on failure - */ -struct sbi_domain *fdt_domain_get(u32 hartid); - -/** * Populate domains from device tree * * It is recommended that platform support call this function in |