plat/st/common/stm32mp_dt.c
/*******************************************************************************
 * This function checks device tree file with its header.
 * Returns 0 on success and a negative FDT error code on failure.
 ******************************************************************************/
This function checks device tree file with its header.
Returns 0 on success and a negative FDT error code on failure.
This function checks device tree file with its header . Returns 0 on success and a negative FDT error code on failure .
int dt_open_and_check(void)
{
	int ret = fdt_check_header(fdt);
	if (ret == 0) {
		fdt_checked = 1;
	}
	return ret;
}
int dt_open_and_check ( void ) { int ret = fdt_check_header ( fdt ) ; if ( ret == 0 ) { fdt_checked = 1 ; } return ret ; }
This function checks device tree file with its header.
This function checks device tree file with its header .