plat/st/common/stm32mp_dt.c
/*******************************************************************************
 * This function retrieve the generic information from DT.
 * Returns node on success and a negative FDT error code on failure.
 ******************************************************************************/
This function retrieve the generic information from DT.
Returns node on success and a negative FDT error code on failure.
This function retrieve the generic information from DT . Returns node on success and a negative FDT error code on failure .
int dt_get_node(struct dt_node_info *info, int offset, const char *compat)
{
	int node;
	node = fdt_node_offset_by_compatible(fdt, offset, compat);
	if (node < 0) {
		return -FDT_ERR_NOTFOUND;
	}
	dt_fill_device_info(info, node);
	return node;
}
int dt_get_node ( struct dt_node_info * info , int offset , const char * compat ) { int node ; node = fdt_node_offset_by_compatible ( fdt , offset , compat ) ; if ( node < 0 ) { return - FDT_ERR_NOTFOUND ; } dt_fill_device_info ( info , node ) ; return node ; }
This function retrieve the generic information from DT.
This function retrieve the generic information from DT .