forked from Mirrors/opensbi
		
	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>
This commit is contained in:
		@@ -58,17 +58,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
 | 
			
		||||
 *
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user