plat/st/common/stm32mp_dt.c
/*******************************************************************************
 * This function retrieves board model from DT
 * Returns string taken from model node, NULL otherwise
 ******************************************************************************/
This function retrieves board model from DT
Returns string taken from model node, NULL otherwise
This function retrieves board model from DT Returns string taken from model node NULL otherwise
const char *dt_get_board_model(void)
{
	int node = fdt_path_offset(fdt, "/");
	if (node < 0) {
		return NULL;
	}
	return (const char *)fdt_getprop(fdt, node, "model", NULL);
}
const char * dt_get_board_model ( void ) { int node = fdt_path_offset ( fdt , " " ) ; if ( node < 0 ) { return NULL ; } return ( const char * ) fdt_getprop ( fdt , node , " " , NULL ) ; }
This function retrieves board model from DT
 Returns string taken from model node, NULL otherwise
This function retrieves board model from DT Returns string taken from model node NULL otherwise