forked from Mirrors/opensbi
		
	lib: utils: Make fdt_get_node_addr_size() public function
The fdt_get_node_addr_size() will be useful in FDT based simple driver frameworks so we make it a public function. Signed-off-by: Anup Patel <anup.patel@wdc.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
This commit is contained in:
		@@ -59,8 +59,8 @@ int fdt_find_match(void *fdt, const struct fdt_match *match_table,
 | 
			
		||||
	return SBI_ENODEV;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
static int fdt_get_node_addr_size(void *fdt, int node, unsigned long *addr,
 | 
			
		||||
				  unsigned long *size)
 | 
			
		||||
int fdt_get_node_addr_size(void *fdt, int node, unsigned long *addr,
 | 
			
		||||
			   unsigned long *size)
 | 
			
		||||
{
 | 
			
		||||
	int parent, len, i;
 | 
			
		||||
	int cell_addr, cell_size;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user