plat/st/common/stm32mp_dt.c
/*******************************************************************************
 * This function reads a value of a node property (generic use of fdt
 * library).
 * Returns value if success, and a default value if property not found.
 * Default value is passed as parameter.
 ******************************************************************************/
This function reads a value of a node property (generic use of fdt
library).
Returns value if success, and a default value if property not found.
Default value is passed as parameter.
This function reads a value of a node property ( generic use of fdt library ) . Returns value if success and a default value if property not found . Default value is passed as parameter .
uint32_t fdt_read_uint32_default(int node, const char *prop_name,
				 uint32_t dflt_value)
{
	const fdt32_t *cuint;
	int lenp;
	cuint = fdt_getprop(fdt, node, prop_name, &lenp);
	if (cuint == NULL) {
		return dflt_value;
	}
	return fdt32_to_cpu(*cuint);
}
uint32_t fdt_read_uint32_default ( int node , const char * prop_name , uint32_t dflt_value ) { const fdt32_t * cuint ; int lenp ; cuint = fdt_getprop ( fdt , node , prop_name , & lenp ) ; if ( cuint == NULL ) { return dflt_value ; } return fdt32_to_cpu ( * cuint ) ; }
This function reads a value of a node property (generic use of fdt
 library).
This function reads a value of a node property ( generic use of fdt library ) .